Home | History | Annotate | Download | only in layers

Lines Matching refs:HasAncestor

392 TEST_F(LayerTest, HasAncestor) {
394 EXPECT_FALSE(parent->HasAncestor(parent));
399 EXPECT_FALSE(child->HasAncestor(child));
400 EXPECT_TRUE(child->HasAncestor(parent));
401 EXPECT_FALSE(parent->HasAncestor(child));
406 EXPECT_FALSE(child_child->HasAncestor(child_child));
407 EXPECT_TRUE(child_child->HasAncestor(parent));
408 EXPECT_TRUE(child_child->HasAncestor(child));
409 EXPECT_FALSE(parent->HasAncestor(child));
410 EXPECT_FALSE(parent->HasAncestor(child_child));