IGListKit/Tests
Brandon Darin 290d592983 Clean listAdapterUpdater state if collectionView becomes nil during update
Summary:
If an `IGListAdapterUpdater` was unable to retrieve a collection view in `[IGListAdapterUpdater performBatchUpdatesWithCollectionViewBlock:]`, it would return early without cleaning state. This would sometimes cause future updates to crash, as this `IGListAdapterUpdater`'s state would now be out-of-sync.

This change also ensures that the `IGListAdapterUpdater`'s completion blocks run when `[IGListAdapterUpdater performBatchUpdatesWithCollectionViewBlock:]` and `[IGListAdapterUpdater performReloadDataWithCollectionViewBlock:]` return early due to having a nil `UICollectionView`.

Reviewed By: rnystrom

Differential Revision: D8056539

fbshipit-source-id: 1af7b675ec6805c2d8031f32d8a4c8e8929564e6
2018-05-23 15:06:17 -07:00
..
Assets Support supplementaryViews created from nibs (continued) 2016-11-05 16:29:06 -07:00
Objects Relicense to MIT 2018-05-01 14:50:56 -07:00
IGListAdapterE2ETests.m Clean listAdapterUpdater state if collectionView becomes nil during update 2018-05-23 15:06:17 -07:00
IGListAdapterProxyTests.m Relicense to MIT 2018-05-01 14:50:56 -07:00
IGListAdapterStoryboardTests.m Relicense to MIT 2018-05-01 14:50:56 -07:00
IGListAdapterTests.m Relicense to MIT 2018-05-01 14:50:56 -07:00
IGListAdapterUpdaterTests.m Add experimental collectionView getter fix 2018-05-11 08:08:44 -07:00
IGListBatchUpdateDataTests.m Relicense to MIT 2018-05-01 14:50:56 -07:00
IGListBindingSectionControllerTests.m Relicense to MIT 2018-05-01 14:50:56 -07:00
IGListCollectionScrollingTraitsTests.m give section controllers access to collection view scrolling traits 2018-05-14 14:56:54 -07:00
IGListCollectionViewLayoutTests.m Relicense to MIT 2018-05-01 14:50:56 -07:00
IGListCollectionViewTests.m Relicense to MIT 2018-05-01 14:50:56 -07:00
IGListContentInsetTests.m Add new iOS 11 api adjustedContentInset support 2017-12-18 08:51:14 -08:00
IGListDebuggerTests.m Relicense to MIT 2018-05-01 14:50:56 -07:00
IGListDiffResultTests.m Relicense to MIT 2018-05-01 14:50:56 -07:00
IGListDiffSwiftTests.swift Relicense to MIT 2018-05-01 14:50:56 -07:00
IGListDiffTests.h Initial commit 2016-10-11 10:12:17 -04:00
IGListDiffTests.m Update .travis.yml and lint.sh, try to fix #1060 and lint errors #trivial 2018-02-02 13:16:46 -08:00
IGListDisplayHandlerTests.m Init without working range size 2017-04-21 14:30:46 -07:00
IGListGenericSectionControllerTests.m Relicense to MIT 2018-05-01 14:50:56 -07:00
IGListKitTests-Bridging-Header.h Initial commit 2016-10-11 10:12:17 -04:00
IGListReorderableStackSectionControllerTests.m Relicense to MIT 2018-05-01 14:50:56 -07:00
IGListSectionMapTests.m Rename sectionIndex API to just section 2017-05-11 14:49:59 -07:00
IGListSingleNibItemControllerTests.m Relicense to MIT 2018-05-01 14:50:56 -07:00
IGListSingleSectionControllerTests.m Relicense to MIT 2018-05-01 14:50:56 -07:00
IGListSingleStoryboardItemControllerTests.m Relicense to MIT 2018-05-01 14:50:56 -07:00
IGListStackSectionControllerTests.m give section controllers access to collection view scrolling traits 2018-05-14 14:56:54 -07:00
IGListTestCase.h Relicense to MIT 2018-05-01 14:50:56 -07:00
IGListTestCase.m Relicense to MIT 2018-05-01 14:50:56 -07:00
IGListTestHelpers.h Relicense to MIT 2018-05-01 14:50:56 -07:00
IGListWorkingRangeHandlerTests.m Relicense to MIT 2018-05-01 14:50:56 -07:00
IGReloadDataUpdaterTests.m Relicense to MIT 2018-05-01 14:50:56 -07:00
Info.plist Initial commit 2016-10-11 10:12:17 -04:00