Lines Matching refs:GetRefCount
22 uint32_t GetRefCount(node* node) { return node->refcount_; } in GetRefCount() function in NodeTest
53 ASSERT_EQ(1, GetRefCount(node.get())); in TEST_F()
59 ASSERT_EQ(1, GetRefCount(parent.get())); in TEST_F()
63 ASSERT_EQ(2, GetRefCount(parent.get())); in TEST_F()
67 ASSERT_EQ(1, GetRefCount(child.get())); in TEST_F()
74 ASSERT_EQ(3, GetRefCount(node)); in TEST_F()
77 ASSERT_EQ(2, GetRefCount(node)); in TEST_F()
81 ASSERT_EQ(2, GetRefCount(node)); in TEST_F()
91 ASSERT_EQ(2, GetRefCount(parent.get())); in TEST_F()
96 ASSERT_EQ(2, GetRefCount(parent.get())); in TEST_F()
101 ASSERT_EQ(1, GetRefCount(child.get())); in TEST_F()
109 ASSERT_EQ(2, GetRefCount(parent1.get())); in TEST_F()
113 ASSERT_EQ(1, GetRefCount(parent1.get())); in TEST_F()
116 ASSERT_EQ(2, GetRefCount(parent2.get())); in TEST_F()
120 ASSERT_EQ(1, GetRefCount(child.get())); in TEST_F()
128 ASSERT_EQ(2, GetRefCount(parent1.get())); in TEST_F()
132 ASSERT_EQ(1, GetRefCount(parent1.get())); in TEST_F()
136 ASSERT_EQ(2, GetRefCount(parent2.get())); in TEST_F()
140 ASSERT_EQ(1, GetRefCount(child.get())); in TEST_F()
148 ASSERT_EQ(3, GetRefCount(parent.get())); in TEST_F()
156 ASSERT_EQ(3, GetRefCount(parent.get())); in TEST_F()
168 ASSERT_EQ(1, GetRefCount(child0.get())); in TEST_F()
169 ASSERT_EQ(1, GetRefCount(child1.get())); in TEST_F()
178 ASSERT_EQ(3, GetRefCount(parent1.get())); in TEST_F()
185 ASSERT_EQ(1, GetRefCount(parent1.get())); in TEST_F()
191 ASSERT_EQ(3, GetRefCount(parent2.get())); in TEST_F()
199 ASSERT_EQ(1, GetRefCount(child0.get())); in TEST_F()
200 ASSERT_EQ(1, GetRefCount(child1.get())); in TEST_F()
209 ASSERT_EQ(3, GetRefCount(parent1.get())); in TEST_F()
216 ASSERT_EQ(1, GetRefCount(parent1.get())); in TEST_F()
226 ASSERT_EQ(3, GetRefCount(parent2.get())); in TEST_F()
234 ASSERT_EQ(1, GetRefCount(child0.get())); in TEST_F()
235 ASSERT_EQ(1, GetRefCount(child1.get())); in TEST_F()
318 ASSERT_EQ(1, GetRefCount(child.get())); in TEST_F()
321 ASSERT_EQ(2, GetRefCount(child.get())); in TEST_F()
386 ASSERT_EQ(2, GetRefCount(parent.get())); in TEST_F()
391 ASSERT_EQ(2, GetRefCount(parent.get())); in TEST_F()
396 ASSERT_EQ(1, GetRefCount(root.get())); in TEST_F()
401 ASSERT_EQ(1, GetRefCount(root.get())); in TEST_F()