DreamPiggy
974c3ff4ad
Update the test case to ensure thi silly problem will not occur again :)
2020-04-30 18:54:12 +08:00
DreamPiggy
e5adec920b
Fix the test case about encoding check, the expect expression syntax is wrong
2020-04-13 11:22:30 +08:00
DreamPiggy
774571f498
Merge pull request #2977 from dreampiggy/attempt_fix_image_io_animated_image_thread_safe
...
SDAnimatedImageView animation rendering should not use CGContext force decoding, use `kCGImageSourceShouldCacheImmediately` instead which can avoid OOM for large number of GIFs
2020-04-11 17:40:59 +08:00
DreamPiggy
d112d18088
Rename the private header `UIColor+HexString` and `NSBezierPath+SDRoundedCorners` with SD prefix, to avoid the conflict when using CocoaPods
2020-04-11 17:01:47 +08:00
DreamPiggy
b65ea693ae
Remove the time based test case for lazy decoding, because it's unstable. Now use offline manual test for this behavior
2020-04-11 16:40:55 +08:00
DreamPiggy
a5e129dac7
SDAnimatedImageView animation rendering should not use CGContext force decoding, use `kCGImageSourceShouldCacheImmediately` instead which can avoid OOM for large number of GIFs #2977
2020-04-11 16:00:22 +08:00
DreamPiggy
a8177c1327
Update the test case `test12ThatStoreCacheTypeWork` to ensure the transformed image does not inherit the image format or any attributes from original one
2020-04-08 11:18:03 +08:00
DreamPiggy
83a40c3679
Merge pull request #2973 from dreampiggy/behavior_uttype_from_unkown_format
...
Change the behavior to return the abstract type for unknown image format, this can solve the accident issue for custom coder who provide a new format
2020-04-04 16:52:53 +08:00
DreamPiggy
6316f08bb8
Remove the compression quality when have max file size limit, and update the test cases for JPEG
2020-04-04 15:53:46 +08:00
DreamPiggy
1ce44a12b0
Change the behavior to return the abstract for unknown UTI type, this can solve the accident issue for custom coder who provide a new format
2020-04-04 14:19:08 +08:00
DreamPiggy
db610363f4
Added the test case to ensure the background color encoding options on JPEG works
2020-04-04 13:07:20 +08:00
DreamPiggy
f798b89fc2
Fix the maxPixelSize for animated images, update the readme
2020-04-04 00:01:26 +08:00
DreamPiggy
dfc8fe27d9
Refactory to simplify the code to calculate the original cache key, pass null to disable this.
2020-04-02 20:15:22 +08:00
DreamPiggy
543b5c95d4
Fix the test case about the original cache key calculation rule
2020-04-02 20:15:22 +08:00
DreamPiggy
ce4eced4d4
Added the query cache type cases as well, update some documentation
2020-04-02 16:15:10 +08:00
DreamPiggy
067174b1fd
Added the test case about using the custom cache and loader with context option to manager, full pipeline testing
2020-04-02 12:49:15 +08:00
DreamPiggy
d4da82e9c3
Update the test cases about the custom ImageCache protocol
2020-04-02 12:18:12 +08:00
DreamPiggy
7f540a6296
Fix the test cases for cacheType arg
2020-04-01 17:16:33 +08:00
DreamPiggy
f415e51508
Update the test case, because previouslly we have no test case about the storeImage behavior when imageData is nil
2020-03-02 14:52:50 +08:00
DreamPiggy
cc8e80ff84
Try to fix the test case `test11ThatCancelAllDownloadWorks` to make it stable
2020-03-02 14:52:50 +08:00
DreamPiggy
d88b7d81db
Update the test case with Case 3: UIAnimatedImage without sd_imageFormat should use GIF not APNG
2020-03-02 14:52:50 +08:00
DreamPiggy
12bdd57f31
Added the test case `test42StoreCacheWithImageAndFormatWithoutImageData` to ensure this behavior
2020-03-02 14:52:50 +08:00
DreamPiggy
5c3c40288f
Merge pull request #2936 from dreampiggy/feature_better_vector_support_pdf
...
Feature - better support for vector format detection, now PDF rasterized bitmap is built-in
2020-02-26 16:02:20 +08:00
DreamPiggy
d56636e15b
Update the Example and Test case about URLSessionMetrics, expose the API in UIVIew+WebCache to make it easy to write code (or user have to write NSStringFromClass)
2020-01-30 18:33:16 +08:00
DreamPiggy
eeec6de698
Update the PDF demo and test cases
2020-01-30 15:29:57 +08:00
DreamPiggy
cde0e48a6d
Add one progressive animation test case to avoid this regression bug in the future
2020-01-18 16:46:00 +08:00
DreamPiggy
b8b7438ce9
Fix the wrong behavior of current sd_blurredImageWithRadius, which calculate the wrong box size for consolve
2020-01-15 21:35:15 +08:00
DreamPiggy
7a8407d0be
Fix the test case again because of the behavior changes for aspect ratio rect limit
2020-01-13 22:17:19 +08:00
DreamPiggy
72250f2182
Fix the test case again
2020-01-10 22:33:05 +08:00
DreamPiggy
cd1ae56f5f
Add one test case to ensure the `SDWebImageScaleDownLargeImages` is translated to thumbnail decoding
2020-01-10 19:28:39 +08:00
DreamPiggy
77283f6116
Update the test case, fix the behavior of thumbnail pixel size when aspect ratio is YES.
2020-01-10 18:23:41 +08:00
DreamPiggy
fa124b4d11
Enable the force decode test case for macOS as well
2020-01-10 11:55:01 +08:00
DreamPiggy
86e3a164dc
Fix the test case of blur radius calculation. CG and CI now match in visual
2020-01-03 14:45:13 +08:00
DreamPiggy
1afadafc78
Update all transformer test cases to support Core Image
2020-01-03 11:58:12 +08:00
DreamPiggy
eda7422c82
Fix the issue of sd_croppedImageWithRect (UIKit) and sd_rotatedImageWithAngle for CIImage
2019-12-30 22:40:06 +08:00
DreamPiggy
a7682d58b4
Add the test case testSDGraphicsImageRenderer, update the documentation
2019-12-21 20:15:59 +08:00
DreamPiggy
c49bc5c925
Change the implementation of `sd_rotatedImageWithAngle` using the UIGraphicsRenderer, avoid always using ARGB8888
2019-12-16 17:29:58 +08:00
DreamPiggy
0b12058427
Fix the test case compile warning of `SDWebImageTestDiskCache`
2019-12-16 12:44:52 +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