Commit Graph

264 Commits

Author SHA1 Message Date
DreamPiggy 0b3079d66b Fix the test case compile warning of `SDWebImageTestDiskCache` 2019-12-27 15:02:39 +08:00
DreamPiggy 5c1351a2fd Added `test47DiskCacheExtendedData` test case 2019-11-28 21:02:26 +08:00
DreamPiggy 5f2a9695d8 Add the test case for SDFileAttributeHelper, fix the issue that associated object is lost 2019-11-28 19:49:51 +08:00
DreamPiggy 983dd59e4f Add one test case for this behavior: `test14AnimatedImageViewStopPlayingWhenHidden` 2019-11-09 13:48:27 +08:00
DreamPiggy 29027a693a Update the test case for animated image view format test 2019-11-09 03:10:18 +08:00
DreamPiggy 4c7cbc6aa7 Update the test case to SDAnimatedImageView/Player 2019-11-04 12:34:36 +08:00
DreamPiggy a4888081ea Change the "Tests" iOS target name into "Tests iOS", since now we have 3 test target, to help for readability 2019-10-28 13:18:12 +08:00
DreamPiggy 0db2169665 Update tvOS available check on test case 2019-10-27 22:48:43 +08:00
DreamPiggy 77830dd4f2 Add all the Test Case on tvOS platform, using the same code as iOS 2019-10-27 22:32:53 +08:00
DreamPiggy 1442534f6d Fix the SDDisplayLink issue of default value, add test cases `testSDDisplayLink` 2019-10-27 21:47:09 +08:00
DreamPiggy 5aab84df90 Fix the test case naming and documentation 2019-10-16 17:04:03 +08:00
DreamPiggy 34e736375e Refactory to seperate the response modifier and data decryptor, one for HTTP response, one for Data decrypt. 2019-10-15 20:16:52 +08:00
DreamPiggy d6fbaaff04 Add test case `test24ThatDownloadRequestModifierWorks `, including the base64 and zlib testing for both fileURL and webURL 2019-10-15 16:40:59 +08:00
DreamPiggy e8ee90b85e Try to fix the test case `test15DownloaderLIFOExecutionOrder`, because the queue dispatch delay, we add the next 8-14 urls just after url 7 start downloading 2019-09-30 12:36:39 +08:00
DreamPiggy 902c619126 Added the test case `test15DownloaderLIFOExecutionOrder` to fix the LIFO order. See #2823 2019-09-26 22:49:31 +08:00
DreamPiggy 164409d30a Fix the iOS 13 Test case 2019-09-22 17:20:57 +08:00
DreamPiggy f80a2840c0 Fix the Travis-CI test issue for macOS 10.15 2019-09-22 16:03:45 +08:00
DreamPiggy 1a32f90f9c Add test. case for HEIC animated imaged decoding && encoding 2019-09-22 15:06:03 +08:00
DreamPiggy d20b25b72c Fix the unused code warning on test cases 2019-09-20 19:07:19 +08:00
DreamPiggy 7e83241c37 Fix the macOS SDAnimatedImageRep to match Netscape standard of GIF loop count, which should use 1 when there are no loop count information 2019-09-20 18:59:14 +08:00
DreamPiggy a7ae1053ec Fix the test case issue. The loop count test case need another PR to fix 2019-09-20 17:44:38 +08:00
DreamPiggy 113c20ad9e Add the test case for GIF image which does not have any Loop Count extension metadata 2019-09-20 16:29:26 +08:00
DreamPiggy fb6819add0 Add test case to ensure the `SDImageIOAnimatedCoder` abstract class can not be used as normal coder 2019-09-20 14:32:35 +08:00
DreamPiggy 70b8fec54a Fix the compile issue for test cases on macOS 2019-08-30 17:25:10 +08:00
DreamPiggy 1f74aea686 Add the test case for these two new properties 2019-08-27 19:41:27 +08:00
DreamPiggy 3f248552b3 Update the test case for catalyst 2019-08-13 13:22:10 +08:00
DreamPiggy 054c5186b8 Use UIImage.class for conformsToSelector detect, which fix the current Xcode 11 Beta5 's runtime behavior of UIKit for macOS 2019-08-12 20:55:07 +08:00
DreamPiggy caae8f171f Fix the test case because of cache key 2019-08-03 18:29:18 +08:00
DreamPiggy b444652412 Add more tests to ensure the callback been called, even we cancel the operation, impact the view category and prefetcher 2019-08-03 17:24:34 +08:00
DreamPiggy 4e51f1deac Merge branch 'master' of https://github.com/SDWebImage/SDWebImage into bugfix_user_cancel_guarantee_callback 2019-08-02 17:41:32 +08:00
DreamPiggy cd2e36f7a5 Add test cases for `matchAnimatedImageClass` options 2019-08-02 16:03:48 +08:00
DreamPiggy 67b29b9d07 Update all the test cases for cancel, now it should receive a completion with error code `SDWebImageErrorCancelled` 2019-08-02 13:32:08 +08:00
DreamPiggy 6f0f735d4f Update the test case for cancel behavior 2019-08-01 20:12:07 +08:00
DreamPiggy 5df70628be
Merge pull request #2780 from dreampiggy/project_upgrade_xcode_10
Follow App Store submit rule, upgrade the minimum Xcode version to Xcode 10.0
2019-07-03 16:45:56 +08:00
DreamPiggy 5c22cc73ae Update the project warning for unnecessary xcconfig files 2019-07-02 18:23:39 +08:00
DreamPiggy 6d626edaf8 Expose the memoryCache and diskCache object on `SDImageCache`, make it useful for user who have custom property beyond `SDImageCacheConfig` 2019-07-02 15:12:56 +08:00
DreamPiggy 3cd71190b3 Merge branch 'master' of https://github.com/SDWebImage/SDWebImage into remove_explicit_Tests_deployment 2019-06-30 12:07:16 +08:00
ifsnow fcaa7d6c7a Change the default value of accept request header 2019-06-27 18:42:50 +09:00
DreamPiggy df5be0e34c Update CI to use Xcode 10.2. Combine both the Example and Test Podfile into one. Make CocoaPods only generate one `Pods.xcodeproj` and fix the New Build System issue 2019-06-18 15:46:08 +08:00
DreamPiggy 8ce8a87b03 Merge branch 'master' of https://github.com/SDWebImage/SDWebImage into feature_transformer_cache_phase_1
# Conflicts:
#	Tests/Tests/SDWebImageManagerTests.m
2019-06-14 12:52:34 +08:00
DreamPiggy 4683e5a0ad Merge branch 'master' of https://github.com/SDWebImage/SDWebImage into feature_global_control_options
# Conflicts:
#	SDWebImage.xcodeproj/project.pbxproj
2019-06-13 11:50:41 +08:00
DreamPiggy f88798fe28 Add test about the store cache type && transformer cache type, make sure it works 2019-05-30 14:05:24 +08:00
DreamPiggy c66f5c90ef Replace the unavailable Demo test images with the new images from Kodak site 2019-05-29 15:12:14 +08:00
DreamPiggy 949024c2a6 Fix that all Example targets disable all NSLog output. We need to keep the log to investigate some issue from system framework 2019-05-29 14:24:01 +08:00
kinarob 3c24856541 `backgroundImageOperationKey` test should apply for SD_UIKIT only 2019-05-25 21:30:22 +08:00
kinarob 2396c2e7c0 Fix get button background image operation key bug 2019-05-24 21:09:59 +08:00
DreamPiggy 0dbcb98c6f Add test case for options manager, ensure it works 2019-05-23 21:55:39 +08:00
DreamPiggy 8adfe3faeb Add the test cases for SDImageCacheDecodeFirstFrameOnly on memory cache 2019-05-16 17:42:17 +08:00
DreamPiggy 1d5b411f3c Using the lazy property for `lock` and `runLoopMode` to ensure this will not cause crash and logic issue. Without need of checking on `setImage:` 2019-05-16 11:32:10 +08:00
DreamPiggy 63c0794ad8 Fix that SDAnimatedImageView initWithImage will skip the initialize logic and crash 2019-05-15 20:26:39 +08:00