IGListKit/Tests
Jeff Bailey 8d74b8f778 Fix for #348 - IGListStackedSectionController's children need to know numberOrItems before didUpdate is called
Summary:
The reloadData method in IGListStackedSectionController was being called too soon.  It was moved from the constructor to the `didUpdateToObject` method.  Tests were updated to reflect the change.

- [x] All tests pass. Demo project builds and runs.
- [x] I added tests, an experiment, or detailed why my change isn't tested.
- [ ] I added an entry to the `CHANGELOG.md` for any breaking changes, enhancements, or bug fixes.
- [x] I have reviewed the [contributing guide](https://github.com/Instagram/IGListKit/blob/master/.github/CONTRIBUTING.md)
Closes https://github.com/Instagram/IGListKit/pull/390

Differential Revision: D4419751

Pulled By: rnystrom

fbshipit-source-id: 7c812d306b23dd251c160425873930eb8022b1a5
2017-01-14 14:29:03 -08:00
..
Assets Support supplementaryViews created from nibs (continued) 2016-11-05 16:29:06 -07:00
Objects Add more unit tests to stack section controller 2016-12-05 17:44:02 -08:00
IGListAdapterE2ETests.m Test for section controller retain cycles 2017-01-10 11:14:02 -08:00
IGListAdapterProxyTests.m Test adapter proxy object 2016-11-18 11:13:59 -08:00
IGListAdapterStoryboardTests.m Support supplementaryViews created from storyboard 2016-11-01 10:59:21 -07:00
IGListAdapterTests.m Fix for #378 - emptyView not updated when items added 2017-01-10 14:43:57 -08:00
IGListAdapterUpdaterTests.m Add allowsBackgroundReloading Flag to ListAdapterUpdater to Give User Control of Behavior 2017-01-03 10:44:04 -08:00
IGListBatchUpdateDataTests.m Initial commit 2016-10-11 10:12:17 -04:00
IGListCollectionViewTests.m disables prefetchEnabled by default 2016-12-13 07:13:58 -08:00
IGListDiffResultTests.m Test move sorting and pointer equality 2016-11-18 13:28:59 -08:00
IGListDiffSwiftTests.swift Remove NSObject+IGListDiffable category 2016-11-21 16:59:00 -08:00
IGListDiffTests.h Initial commit 2016-10-11 10:12:17 -04:00
IGListDiffTests.m macOS support follow-up work, #270 2016-12-13 23:14:07 -08:00
IGListDisplayHandlerTests.m Initial commit 2016-10-11 10:12:17 -04:00
IGListGridCollectionViewLayoutTests.m Create a grid layout for IGList 2016-11-21 13:29:04 -08:00
IGListKitTests-Bridging-Header.h Initial commit 2016-10-11 10:12:17 -04:00
IGListSectionMapTests.m Swap NSUInteger to NSInteger Public API 2016-11-16 15:28:59 -08:00
IGListSingleNibItemControllerTests.m Rename *ItemController unit tests to *SectionController 2016-10-28 07:44:16 -07:00
IGListSingleSectionControllerTests.m Added object to single section selection delegate callback 2017-01-11 15:14:01 -08:00
IGListSingleStoryboardItemControllerTests.m Support supplementaryViews created from storyboard 2016-11-01 10:59:21 -07:00
IGListStackSectionControllerTests.m Fix for #348 - IGListStackedSectionController's children need to know numberOrItems before didUpdate is called 2017-01-14 14:29:03 -08:00
IGListWorkingRangeHandlerTests.m Fixes crash when accessing a cell within working range updates 2016-11-18 09:59:01 -08:00
IGReloadDataUpdaterTests.m Add more missing unit tests 2016-12-13 07:29:10 -08:00
Info.plist Initial commit 2016-10-11 10:12:17 -04:00