Lines Matching defs:child1
2756 // +-- child1
2766 View* child1 = new View;
2767 root.AddChildView(child1);
2773 child1->AddChildView(foo);
2780 EXPECT_EQ(1, child1->child_count());
2818 // +-- child1
2824 View* child1 = new View;
2825 root.AddChildView(child1);
2831 child1->AddChildView(foo1);
2835 EXPECT_EQ(0, root.GetIndexOf(child1));
2839 EXPECT_EQ(-1, child1->GetIndexOf(NULL));
2840 EXPECT_EQ(-1, child1->GetIndexOf(&root));
2841 EXPECT_EQ(-1, child1->GetIndexOf(child1));
2842 EXPECT_EQ(-1, child1->GetIndexOf(child2));
2843 EXPECT_EQ(0, child1->GetIndexOf(foo1));
2848 EXPECT_EQ(-1, child2->GetIndexOf(child1));