Lines Matching refs:OwnedBy
110 TEST_F(NodeTest, OwnedBy) { in TEST_F() argument
112 EXPECT_FALSE(n0->OwnedBy(n0)); in TEST_F()
114 EXPECT_FALSE(n0->OwnedBy(n0)); in TEST_F()
115 EXPECT_FALSE(n1->OwnedBy(n1)); in TEST_F()
116 EXPECT_TRUE(n0->OwnedBy(n1)); in TEST_F()
119 EXPECT_FALSE(n0->OwnedBy(n0)); in TEST_F()
120 EXPECT_FALSE(n1->OwnedBy(n1)); in TEST_F()
121 EXPECT_FALSE(n2->OwnedBy(n2)); in TEST_F()
122 EXPECT_FALSE(n0->OwnedBy(n1)); in TEST_F()
123 EXPECT_FALSE(n0->OwnedBy(n2)); in TEST_F()
124 EXPECT_TRUE(n1->OwnedBy(n2)); in TEST_F()
125 EXPECT_TRUE(n0->OwnedBy(n1, n2)); in TEST_F()
127 EXPECT_TRUE(n0->OwnedBy(n1)); in TEST_F()
128 EXPECT_TRUE(n1->OwnedBy(n2)); in TEST_F()
130 EXPECT_FALSE(n0->OwnedBy(n1)); in TEST_F()
131 EXPECT_FALSE(n1->OwnedBy(n2)); in TEST_F()