IGListKit/Tests/Objects
Tim Oliver 5784f6db51 Enable unit test suite for tvOS (#1649)
Summary:
## Changes in this pull request

Following up on https://github.com/instagram/IGListKit/issues/1401! This PR pulls in koenpunt's PR for tvOS test support and updates it against the latest version of IGListKit.

A few changes:

* I disabled the unit tests that require storyboards/NIBs for tvOS since we only have iOS formatted assets. We can follow this up in a future PR if need be.
* Rewrote the Travis build command for GitHub Actions
* Went through and gated any UIKit APIs that aren't available on tvOS.
* A few unit tests were failing since UICollectionView on tvOS does have a few implicit behavioral differences. I gated these for now, but if anyone using IGListKit on tvOS actually encounters these errors, please open an issue so we can track it and adjust our test suite accordingly.

### Checklist

- [x] All tests pass. Demo project builds and runs.
- [x] I added tests, an experiment, or detailed why my change isn't tested.
- [x] 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/main/.github/CONTRIBUTING.md)

Pull Request resolved: https://github.com/instagram/IGListKit/pull/1649

Reviewed By: jurmarcus

Differential Revision: D88921781

Pulled By: TimOliver

fbshipit-source-id: fb8b0becde96a504a88b651343049e51ec438b6c
2025-12-11 00:46:38 -08:00
..
IGLayoutTestDataSource.h Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00
IGLayoutTestDataSource.m Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00
IGLayoutTestItem.h Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00
IGLayoutTestItem.m Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00
IGLayoutTestSection.h Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00
IGLayoutTestSection.m Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00
IGListAdapterUpdateTester.h Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00
IGListAdapterUpdateTester.m Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00
IGListTestAdapterDataSource.h Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00
IGListTestAdapterDataSource.m Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00
IGListTestAdapterHorizontalDataSource.h Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00
IGListTestAdapterHorizontalDataSource.m Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00
IGListTestAdapterReorderingDataSource.h Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00
IGListTestAdapterReorderingDataSource.m Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00
IGListTestAdapterStoryboardDataSource.h Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00
IGListTestAdapterStoryboardDataSource.m Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00
IGListTestCollectionViewLayout.h avoid crashing when not subclassing IGListSectionController 2023-12-14 14:27:34 -08:00
IGListTestCollectionViewLayout.m avoid crashing when not subclassing IGListSectionController 2023-12-14 14:27:34 -08:00
IGListTestContainerSizeSection.h Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00
IGListTestContainerSizeSection.m Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00
IGListTestHorizontalSection.h Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00
IGListTestHorizontalSection.m Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00
IGListTestOffsettingLayout.h Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00
IGListTestOffsettingLayout.m Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00
IGListTestSection.h Provided support for iOS 13 Context Menus (#1430) 2025-10-30 21:58:06 -07:00
IGListTestSection.m Enable unit test suite for tvOS (#1649) 2025-12-11 00:46:38 -08:00
IGListTestStoryboardSection.h Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00
IGListTestStoryboardSection.m Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00
IGListTestUICollectionViewDataSource.h Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00
IGListTestUICollectionViewDataSource.m Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00
IGTestBindingSingleItemDataSource.h Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00
IGTestBindingSingleItemDataSource.m Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00
IGTestBindingWithoutDeselectionDelegate.h Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00
IGTestBindingWithoutDeselectionDelegate.m Enable unit test suite for tvOS (#1649) 2025-12-11 00:46:38 -08:00
IGTestCell.h Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00
IGTestCell.m Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00
IGTestDelegateController.h Add IGListAdapterDelegate Methods 3/n 2025-04-24 13:07:16 -07:00
IGTestDelegateController.m Add IGListAdapterDelegate Methods 3/n 2025-04-24 13:07:16 -07:00
IGTestDelegateDataSource.h Add IGListAdapterDelegate Methods 3/n 2025-04-24 13:07:16 -07:00
IGTestDelegateDataSource.m Add IGListAdapterDelegate Methods 3/n 2025-04-24 13:07:16 -07:00
IGTestDiffingDataSource.h Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00
IGTestDiffingDataSource.m Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00
IGTestDiffingObject.h Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00
IGTestDiffingObject.m Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00
IGTestDiffingSectionController.h Provided support for iOS 13 Context Menus (#1430) 2025-10-30 21:58:06 -07:00
IGTestDiffingSectionController.m Enable unit test suite for tvOS (#1649) 2025-12-11 00:46:38 -08:00
IGTestInvalidateLayoutDataSource.h Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00
IGTestInvalidateLayoutDataSource.m Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00
IGTestInvalidateLayoutObject.h Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00
IGTestInvalidateLayoutObject.m Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00
IGTestInvalidateLayoutSectionController.h Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00
IGTestInvalidateLayoutSectionController.m Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00
IGTestNibSupplementaryView.h Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00
IGTestNibSupplementaryView.m Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00
IGTestNumberBindableCell.h Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00
IGTestNumberBindableCell.m Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00
IGTestObject.h Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00
IGTestObject.m Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00
IGTestReorderableSection.h Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00
IGTestReorderableSection.m Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00
IGTestSingleItemDataSource.h Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00
IGTestSingleItemDataSource.m Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00
IGTestSingleNibItemDataSource.h Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00
IGTestSingleNibItemDataSource.m Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00
IGTestSingleStoryboardItemDataSource.h Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00
IGTestSingleStoryboardItemDataSource.m Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00
IGTestSingleWithoutDeselectionDelegate.h Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00
IGTestSingleWithoutDeselectionDelegate.m Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00
IGTestStoryboardCell.h Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00
IGTestStoryboardCell.m Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00
IGTestStoryboardSupplementarySource.h Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00
IGTestStoryboardSupplementarySource.m Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00
IGTestStoryboardSupplementaryView.h Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00
IGTestStoryboardSupplementaryView.m Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00
IGTestStoryboardViewController.h Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00
IGTestStoryboardViewController.m Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00
IGTestStringBindableCell.h Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00
IGTestStringBindableCell.m Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00
IGTestSupplementarySource.h Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00
IGTestSupplementarySource.m Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00