mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-09-17 09:10:30 +00:00
Add tests for enabling / disabling shouldRasterize
This commit is contained in:
parent
8a70c8d416
commit
1a8f66919b
@ -14,6 +14,12 @@
|
||||
{ \
|
||||
[ASSnapshotTestCase hackilySynchronouslyRecursivelyRenderNode:node__]; \
|
||||
FBSnapshotVerifyLayer(node__.layer, identifier__); \
|
||||
[node__ setShouldRasterizeDescendants:YES]; \
|
||||
[ASSnapshotTestCase hackilySynchronouslyRecursivelyRenderNode:node__]; \
|
||||
FBSnapshotVerifyLayer(node__.layer, identifier__); \
|
||||
[node__ setShouldRasterizeDescendants:NO]; \
|
||||
[ASSnapshotTestCase hackilySynchronouslyRecursivelyRenderNode:node__]; \
|
||||
FBSnapshotVerifyLayer(node__.layer, identifier__); \
|
||||
}
|
||||
|
||||
@interface ASSnapshotTestCase : FBSnapshotTestCase
|
||||
|
Loading…
x
Reference in New Issue
Block a user