Update the test case for catalyst
This commit is contained in:
parent
054c5186b8
commit
3f248552b3
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue