• Home
  • Raw
  • Download

Lines Matching refs:child1

273   Window child1(NULL);  in TEST_F()  local
274 child1.Init(aura::WINDOW_LAYER_NOT_DRAWN); in TEST_F()
278 parent.AddChild(&child1); in TEST_F()
279 child1.AddChild(&child2); in TEST_F()
282 EXPECT_TRUE(parent.Contains(&child1)); in TEST_F()
286 EXPECT_FALSE(child1.Contains(&parent)); in TEST_F()
287 EXPECT_FALSE(child2.Contains(&child1)); in TEST_F()
646 Window child1(NULL); in TEST_F() local
647 child1.Init(aura::WINDOW_LAYER_NOT_DRAWN); in TEST_F()
651 parent.AddChild(&child1); in TEST_F()
654 EXPECT_EQ(&child1, parent.children()[0]); in TEST_F()
657 EXPECT_EQ(child1.layer(), parent.layer()->children()[0]); in TEST_F()
660 parent.StackChildAtTop(&child1); in TEST_F()
662 EXPECT_EQ(&child1, parent.children()[1]); in TEST_F()
665 EXPECT_EQ(child1.layer(), parent.layer()->children()[1]); in TEST_F()
673 Window child1(NULL); in TEST_F() local
674 child1.Init(aura::WINDOW_LAYER_NOT_DRAWN); in TEST_F()
675 child1.set_id(1); in TEST_F()
683 parent.AddChild(&child1); in TEST_F()
688 parent.StackChildBelow(&child1, &child2); in TEST_F()
691 parent.StackChildBelow(&child2, &child1); in TEST_F()
697 parent.StackChildBelow(&child3, &child1); in TEST_F()
705 Window child1(NULL); in TEST_F() local
706 child1.Init(aura::WINDOW_LAYER_NOT_DRAWN); in TEST_F()
712 parent.AddChild(&child1); in TEST_F()
716 parent.StackChildAbove(&child1, &child2); in TEST_F()
719 EXPECT_EQ(&child1, parent.children()[1]); in TEST_F()
722 EXPECT_EQ(child1.layer(), parent.layer()->children()[1]); in TEST_F()
727 parent.StackChildAbove(&child2, &child1); in TEST_F()
729 EXPECT_EQ(&child1, parent.children()[0]); in TEST_F()
733 EXPECT_EQ(child1.layer(), parent.layer()->children()[0]); in TEST_F()
738 parent.StackChildAbove(&child1, &child3); in TEST_F()
742 EXPECT_EQ(&child1, parent.children()[2]); in TEST_F()
746 EXPECT_EQ(child1.layer(), parent.layer()->children()[2]); in TEST_F()
749 parent.StackChildAbove(&child1, &child2); in TEST_F()
752 EXPECT_EQ(&child1, parent.children()[1]); in TEST_F()
756 EXPECT_EQ(child1.layer(), parent.layer()->children()[1]); in TEST_F()