From d2286ce492f8425f5cd422909458862462173542 Mon Sep 17 00:00:00 2001 From: DreamPiggy Date: Mon, 27 Jan 2020 18:08:12 +0800 Subject: [PATCH] Removed the un-stable test case to check isProgressive (there are race condition that after setImage, the isProgressive reset to NO) --- Tests/SDWebImageWebPCoderTests.m | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Tests/SDWebImageWebPCoderTests.m b/Tests/SDWebImageWebPCoderTests.m index 9c7b6d9..5dd8556 100644 --- a/Tests/SDWebImageWebPCoderTests.m +++ b/Tests/SDWebImageWebPCoderTests.m @@ -25,11 +25,6 @@ const int64_t kAsyncTestTimeout = 5; isAnimatedImage:(BOOL)isAnimated; @end -// Internal header -@interface SDAnimatedImageView () -@property (nonatomic, assign) BOOL isProgressive; -@end - @interface SDWebPCoderFrame : NSObject @property (nonatomic, assign) NSUInteger index; // Frame index (zero based) @property (nonatomic, assign) NSUInteger blendFromIndex; // The nearest previous frame index which blend mode is WEBP_MUX_BLEND @@ -122,7 +117,6 @@ const int64_t kAsyncTestTimeout = 5; if (image) { XCTAssertTrue(image.sd_isIncremental); XCTAssertTrue([image conformsToProtocol:@protocol(SDAnimatedImage)]); - XCTAssertTrue(imageView.isProgressive); } }); } completed:^(UIImage * _Nullable image, NSError * _Nullable error, SDImageCacheType cacheType, NSURL * _Nullable imageURL) {