IGListKit/Tests
Ryan Nystrom 4dec244416 Add item-level moves to IGListCollectionContext
Summary:
Adding an API to do item-level (cell) moves on the collection view. This complicates things a little bit because of all the issues that moving sections have while in batch updates (e.g. simultaneous animation UICV bugs). Thankfully we use pretty strict types so the compiler does most of the work for us.

Closes #145

- [x] Tests build and pass
- [x] Add `IGListBatchUpdateData` tests to check moves during
  - [x] ~~Moving within a reloaded section (no op)~~ can't reload sections
  - [x] Moving within a deleted section (no op)
  - [x] Moving within a moved section (convert section ops to delete+insert)
  - [x] Moving an index path that is also reloaded (convert to delete+insert path)
- [x] Add move unit tests to `IGListAdapterUpdater`
- [x] Add move unit tests to `IGListReloadDataUpdater` (mostly for code coverage...)
- [x] Add move unit tests to `IGListStackedSectionController`
- [x] Add `CHANGELOG.md` entry for 3.0.0
- [x] Test moving without batch
Closes https://github.com/Instagram/IGListKit/pull/418

Reviewed By: jessesquires

Differential Revision: D4521732

Pulled By: rnystrom

fbshipit-source-id: 99a46d1cbb0cc1f857a62ff6ca257aff6e8b7f25
2017-02-10 18:01:18 -08:00
..
Assets Support supplementaryViews created from nibs (continued) 2016-11-05 16:29:06 -07:00
Objects Revert D4521797: [IGListKit][PR] Vertical UICollectionViewLayout supporting inline sections 2017-02-10 11:33:07 -08:00
IGListAdapterE2ETests.m Add item-level moves to IGListCollectionContext 2017-02-10 18:01:18 -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 Add item-level moves to IGListCollectionContext 2017-02-10 18:01:18 -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 Add item-level moves to IGListCollectionContext 2017-02-10 18:01:18 -08: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 Convert NSUInteger to NSInteger 2017-01-22 14:44:14 -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 Add item-level moves to IGListCollectionContext 2017-02-10 18:01:18 -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 item-level moves to IGListCollectionContext 2017-02-10 18:01:18 -08:00
Info.plist Initial commit 2016-10-11 10:12:17 -04:00