Commit Graph
21 Commits
Author SHA1 Message Date
Greg Bolsinga 0d7f705aaa Use ASReplaceMethodWithBlock instead of swizzling with a library (#1832)
- I tried to make these tests work with OCMock, but that only ever saw 1 call.
- All these do is count `-reloadData` calls. I'm not sure why so many other methods are recorded.
- Why we are doing this is the library targets iOS 5 and is flagged as a warning in builds.
2020-05-22 14:58:36 -07:00
Greg Bolsinga 8d6c4e67cd Update to OCMock 3.6 (#1829)
- The issues in #1038 are not explained.
- In `ASCollectionViewTests` do not mock every `collectionViewLayout`, only do it for the test that requires it. In addition, call `-stopMocking` when done. OCMock 3.6 found this code using stuff after it should have been.
- 5c42bb4e2f says the layer tests are not typically run, but they are in the project. That diff refers to ASUIViewTests being skipped, but those tests do not exist. So I've just disabled them in this diff. It is not clear how they ever worked.
2020-05-21 19:52:05 -07:00
Huy Nguyen 44aecb368f Remove BUCK support (#1632)
None of the core maintainers uses BUCK and so the build files are not maintained. Let's remove them to clean up the repo.
2019-08-22 11:13:51 -07:00
Garrett Moon 999cb6e485 Don't return non-animated GIFs for animation (update to latest PINRemoteImage beta) (#940)
* Don't return non-animated GIFs for animation

* Update to latest PINRemoteImage beta
2019-02-21 15:21:19 -08:00
Adlai Holler 9958aac5de Pin OCMock version to 3.4.1 because 3.4.2 has issues (#1038) 2018-07-17 19:51:05 -07:00
Adlai Holler 61dade6bda Raise deployment target to iOS 9 (#743)
https://github.com/TextureGroup/Texture/pull/743

Manually merged since I forgot to retarget that diff onto master before merge
2018-01-15 15:13:05 -08:00
Garrett Moon 4dbb6441d7 Animated WebP support (#605)
* Updating to support animated WebP

* Fix a deadlock with display link

* Fix playhead issue.

* Fix up timing on iOS 10 and above

* Don't redraw the same frame over and over

* Clear out layer contents if we're an animated GIF on exit range

* Clear out cover image on exit of visible range

* Don't set cover image if we're no longer in display range.

* Don't clear out image if we're not an animated image

* Only set image if we're not already animating

* Get rid of changes to podfile

* Add CHANGELOG entry

* Update license

* Update PINRemoteImage

* Remove commented out lines in example
2017-10-09 11:48:32 -07:00
Adlai Holler 5357d259fa Add new workspaces for tests for different integrations (#377) 2017-06-21 11:06:43 -07:00
Adlai Holler 69e69873cc Migrate to Latest OCMock, Demonstrate Improved Unit Testing (#347)
* Update OCMock 2.2 -> 3.4

* Clean up and port ASMultiplexImageNodeTests

* Clean up

* Be stricter about order

* Log change

* Update the licenses #important

* Update the license headers more
2017-06-11 11:41:30 -05:00
Adlai Holler 404795dc02 Remove Support for iOS 7 (#2930)
* Drop support for iOS 7

* Copy reference images

* Update deployment for sample projects

* Update version

* Update "Life Without Cocoapods"
2017-02-01 14:40:37 -08:00
Huy Nguyen 6a8cc50328 Remove Buck abstract target in Podfile (#2878) 2017-01-09 12:53:23 -08:00
Huy Nguyen be6faa107a Support Buck build (#2849)
* Support Buck build

* Simplify pod_install hook and buck-file dir's structure

* Update PINRemoteImage's BUCK

* Frameworks linking:
- Weak linking Photos and MapKit.
- Revisit //:Tests' list.
2017-01-04 14:11:28 -08:00
Adlai Holler 8add4619cf Reduce Traffic to Table/Collection View When Updating (#2496)
* Improve the call pattern when loading table/collection data

* When deleting sections, no need to delete rows first

* Clean up a couple things
2016-10-28 09:42:45 -07:00
romankl 4dca05767b switch snapshot-test-case back to the main repo (#2454)
The latest version (v2.1.4) brought back the deployment target
`s.ios.deployment_target  = '7.0'`.
2016-10-21 17:41:07 -07:00
Hannah Troisi 679f68e169 upgrade snaphot tests to support IOS 10 (#2295) 2016-09-25 20:53:27 -07:00
Levi McCallum ca2fb0bc74 Update FBSnapshotTestCase and generate @3x images 2016-06-08 13:33:03 -07:00
Nick Velloff bde4fe7e24 remove exclusive => true due to 1.0.0 changes (#1695) 2016-05-25 21:34:07 +07:00
Ethan Nagel 13f71d6672 update Podfile to require FBSnapshotCase 1.8.1 because v2.0+ requires frameworks and we haven't tried enabling them yet. 2015-07-13 14:35:54 -07:00
Nadine Salter b869d025ff [tests] ASSnapshotTestCase. 2015-03-23 14:06:38 -07:00
Arnaud Coomans 486ea1e7a3 Added source to Podfiles 2014-10-14 18:41:19 -07:00
Nadine Salter 15565873c9 Initial commit. 2014-06-26 22:32:55 -07:00