IGListKit/Tests/Objects/IGTestDelegateDataSource.h
Maxime Ollivier 3f1a2fb0ac unit test missing section-controller fix
Summary: Lets test that the new updater (`IGListExperimentalAdapterUpdater`) can handle a missing section-controller. The old adapater `IGListAdapterUpdater` would crash.

Reviewed By: patters

Differential Revision: D23145773

fbshipit-source-id: 4589dcb11ddef5c7400947aea4b6827f1b2caaa8
2020-09-08 09:11:12 -07:00

25 lines
644 B
Objective-C

/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#import <Foundation/Foundation.h>
#import <IGListKit/IGListAdapterDataSource.h>
#import "IGListTestCase.h"
@class IGTestDelegateController;
@class IGTestObject;
extern NSObject *const kIGTestDelegateDataSourceSkipObject;
@interface IGTestDelegateDataSource : NSObject <IGListTestCaseDataSource>
@property (nonatomic, copy) NSArray <IGTestObject *> *objects;
@property (nonatomic, copy) void (^cellConfigureBlock)(IGTestDelegateController *);
@end