Lines Matching refs:parent
45 auto parent = TestUtils::createNode(0, 0, 200, 400, in TEST() local
50 TestUtils::syncHierarchyPropertiesAndDisplayList(parent); in TEST()
53 EXPECT_FALSE(parent->hasParents()) << "Root node shouldn't have any parents"; in TEST()
55 TestUtils::recordNode(*parent, [](Canvas& canvas) { in TEST()
60 EXPECT_FALSE(parent->hasParents()) << "Root node shouldn't have any parents"; in TEST()
62 TestUtils::syncHierarchyPropertiesAndDisplayList(parent); in TEST()
65 EXPECT_FALSE(parent->hasParents()) << "Root node shouldn't have any parents"; in TEST()
72 auto parent = TestUtils::createNode(0, 0, 200, 400, in TEST() local
78 EXPECT_TRUE(parent->isValid()); in TEST()
80 EXPECT_TRUE(parent->nothingToDraw()); in TEST()
82 TestUtils::syncHierarchyPropertiesAndDisplayList(parent); in TEST()
85 EXPECT_TRUE(parent->isValid()); in TEST()
87 EXPECT_FALSE(parent->nothingToDraw()); in TEST()
89 TestUtils::recordNode(*parent, [](Canvas& canvas) { in TEST()
94 EXPECT_TRUE(parent->isValid()); in TEST()
96 EXPECT_FALSE(parent->nothingToDraw()); in TEST()
98 TestUtils::syncHierarchyPropertiesAndDisplayList(parent); in TEST()
101 EXPECT_TRUE(parent->isValid()); in TEST()
103 EXPECT_FALSE(parent->nothingToDraw()); in TEST()
112 TestUtils::recordNode(*parent, in TEST()
115 TestUtils::syncHierarchyPropertiesAndDisplayList(parent); in TEST()
118 EXPECT_TRUE(parent->isValid()); in TEST()
120 EXPECT_FALSE(parent->nothingToDraw()); in TEST()
122 parent->destroyHardwareResources(); in TEST()
125 EXPECT_FALSE(parent->isValid()); in TEST()
127 EXPECT_TRUE(parent->nothingToDraw()); in TEST()