Removed the un-stable test case to check isProgressive (there are race condition that after setImage, the isProgressive reset to NO)

This commit is contained in:
DreamPiggy 2020-01-27 18:08:12 +08:00
parent dbfa17dae2
commit d2286ce492
1 changed files with 0 additions and 6 deletions

View File

@ -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) {