mirror of
https://github.com/HackPlan/AsyncDisplayKit.git
synced 2026-04-24 03:45:58 +08:00
Merge branch 'master' into update-objc
Conflicts: AsyncDisplayKit/ASDisplayNode+Subclasses.h
This commit is contained in:
@@ -1722,7 +1722,7 @@ static inline BOOL _CGPointEqualToPointWithEpsilon(CGPoint point1, CGPoint point
|
||||
ASTestWindow *window = [ASTestWindow new];
|
||||
[window addSubview:cellNode.view];
|
||||
XCTAssert(node.hasFetchedData);
|
||||
XCTAssert(node.interfaceState == ASInterfaceStateFetchData);
|
||||
XCTAssert(node.interfaceState == ASInterfaceStateInHierarchy);
|
||||
}
|
||||
|
||||
- (void)testInitWithViewClass
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
*/
|
||||
|
||||
#import "ASSnapshotTestCase.h"
|
||||
#import "ASDisplayNode+FrameworkPrivate.h"
|
||||
#import "ASDisplayNodeInternal.h"
|
||||
|
||||
@implementation ASSnapshotTestCase
|
||||
@@ -46,6 +47,7 @@
|
||||
|
||||
+ (void)hackilySynchronouslyRecursivelyRenderNode:(ASDisplayNode *)node
|
||||
{
|
||||
// TODO: Reconfigure this to be able to use [node recursivelyEnsureDisplay];
|
||||
[self _recursivelySetDisplaysAsynchronously:NO forNode:node];
|
||||
[self _recursivelyLayoutAndDisplayNode:node];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user