|
|
@@ -151,9 +151,13 @@ static const NSUInteger kTestGIFFrameCount = 5; // local TestImage.gif loop coun
|
|
|
imageView.image = image;
|
|
|
#if SD_MAC
|
|
|
expect(imageView.wantsUpdateLayer).beTruthy();
|
|
|
+#else
|
|
|
+#if TARGET_OS_MACCATALYST
|
|
|
+ // macOS's UIImageView seems does not setup layer.contents until render on screen
|
|
|
#else
|
|
|
expect(imageView.layer.contents).notTo.beNil();
|
|
|
#endif
|
|
|
+#endif
|
|
|
}
|
|
|
|
|
|
- (void)test13AnimatedImageViewInitWithImage {
|