mirror of
https://github.com/HackPlan/AsyncDisplayKit.git
synced 2026-01-13 08:49:50 +08:00
[Testing] ASVideoNodeTests should not pass in an invalid combination of ASInterfaceState flags.
This commit is contained in:
@@ -140,7 +140,7 @@
|
||||
_videoNode.asset = _firstAsset;
|
||||
|
||||
[_videoNode pause];
|
||||
[_videoNode setInterfaceState:ASInterfaceStateVisible];
|
||||
[_videoNode setInterfaceState:ASInterfaceStateVisible | ASInterfaceStateDisplay];
|
||||
[_videoNode didLoad];
|
||||
|
||||
XCTAssert(![_videoNode.subnodes containsObject:_videoNode.playerNode]);
|
||||
|
||||
Reference in New Issue
Block a user