Lines Matching refs:Remove
94 EXPECT_FALSE(lrt.Remove(cookie, bad_iref)) << "unexpectedly successful removal"; in BasicTest()
112 EXPECT_TRUE(lrt.Remove(cookie, iref0)); in BasicTest()
114 EXPECT_TRUE(lrt.Remove(cookie, iref1)); in BasicTest()
116 EXPECT_TRUE(lrt.Remove(cookie, iref2)); in BasicTest()
135 ASSERT_TRUE(lrt.Remove(cookie, iref2)); in BasicTest()
137 ASSERT_TRUE(lrt.Remove(cookie, iref1)); in BasicTest()
139 ASSERT_TRUE(lrt.Remove(cookie, iref0)); in BasicTest()
157 ASSERT_TRUE(lrt.Remove(cookie, iref1)); in BasicTest()
160 ASSERT_FALSE(lrt.Remove(cookie, iref1)); in BasicTest()
167 ASSERT_TRUE(lrt.Remove(cookie, iref2)); in BasicTest()
169 ASSERT_TRUE(lrt.Remove(cookie, iref0)); in BasicTest()
188 ASSERT_TRUE(lrt.Remove(cookie, iref1)); in BasicTest()
197 ASSERT_TRUE(lrt.Remove(cookie, iref1)); in BasicTest()
199 ASSERT_TRUE(lrt.Remove(cookie, iref3)); in BasicTest()
204 ASSERT_TRUE(lrt.Remove(cookie, iref2)); in BasicTest()
206 ASSERT_TRUE(lrt.Remove(cookie, iref0)); in BasicTest()
217 ASSERT_TRUE(lrt.Remove(cookie, iref0)); in BasicTest()
223 ASSERT_FALSE(lrt.Remove(cookie, iref0)) << "mismatched del succeeded"; in BasicTest()
226 ASSERT_TRUE(lrt.Remove(cookie, iref1)) << "switched del failed"; in BasicTest()
235 ASSERT_TRUE(lrt.Remove(cookie, iref0)); in BasicTest()
242 ASSERT_FALSE(lrt.Remove(cookie, iref0)) << "temporal del succeeded"; in BasicTest()
244 ASSERT_TRUE(lrt.Remove(cookie, iref1)) << "temporal cleanup failed"; in BasicTest()
252 ASSERT_TRUE(lrt.Remove(cookie, iref0)); in BasicTest()
272 ASSERT_TRUE(lrt.Remove(cookie, manyRefs[i])) << "failed removing " << i; in BasicTest()
278 ASSERT_TRUE(lrt.Remove(cookie, iref0)) << "multi-remove final failed"; in BasicTest()
338 EXPECT_TRUE(lrt.Remove(cookie0, iref1)); in BasicHolesTest()
372 EXPECT_TRUE(lrt.Remove(cookie1, iref2)); in BasicHolesTest()
405 EXPECT_TRUE(lrt.Remove(cookie1, iref1)); in BasicHolesTest()
442 EXPECT_TRUE(lrt.Remove(cookie1, iref1)); in BasicHolesTest()
451 EXPECT_TRUE(lrt.Remove(cookie1, iref3)); in BasicHolesTest()
486 EXPECT_TRUE(lrt.Remove(cookie1, iref2)); in BasicHolesTest()
603 ASSERT_TRUE(lrt.Remove(cookie, iref)); \ in TestAddRemove()
617 ASSERT_FALSE(lrt.Remove(cookie1, iref1)); in TestAddRemove()
623 ASSERT_FALSE(lrt.Remove(cookie1, iref0)); in TestAddRemove()
627 ASSERT_FALSE(lrt.Remove(cookie1, obsolete_iref0)); in TestAddRemove()
633 ASSERT_FALSE(lrt.Remove(cookie2, iref0)); // Cannot remove from inactive segment. in TestAddRemove()
637 ASSERT_FALSE(lrt.Remove(cookie1, iref2)); // Cannot remove from popped segment. in TestAddRemove()
737 ASSERT_TRUE(lrt.Remove(cookie0, irefs[i])); in TestAddRemoveMixed()
739 ASSERT_FALSE(lrt.Remove(cookie0, irefs[i])); in TestAddRemoveMixed()
753 ASSERT_TRUE(lrt.Remove(cookie0, irefs[i])); in TestAddRemoveMixed()
755 ASSERT_FALSE(lrt.Remove(cookie0, irefs[i])); in TestAddRemoveMixed()
797 EXPECT_TRUE(lrt.Remove(cookieA, ref2a)); in TEST_F()
805 EXPECT_TRUE(lrt.Remove(cookie0, ref0)); in TEST_F()
881 ASSERT_TRUE(lrt.Remove(cookie1, refs1.back())); in TEST_F()
994 ASSERT_TRUE(lrt.Remove(cookie0, removed)); in TEST_F()