Lines Matching refs:deletion_flag

180   explicit DeletionTestValue(bool* deletion_flag) : Value(TYPE_NULL) {  in DeletionTestValue()  argument
181 Init(deletion_flag); // Separate function so that we can use ASSERT_* in DeletionTestValue()
184 void Init(bool* deletion_flag) { in Init() argument
185 ASSERT_TRUE(deletion_flag); in Init()
186 deletion_flag_ = deletion_flag; in Init()
197 bool deletion_flag = true; in TEST() local
201 list.Append(make_scoped_ptr(new DeletionTestValue(&deletion_flag))); in TEST()
202 EXPECT_FALSE(deletion_flag); in TEST()
204 EXPECT_TRUE(deletion_flag); in TEST()
208 list.Append(make_scoped_ptr(new DeletionTestValue(&deletion_flag))); in TEST()
209 EXPECT_FALSE(deletion_flag); in TEST()
211 EXPECT_TRUE(deletion_flag); in TEST()
216 list.Append(make_scoped_ptr(new DeletionTestValue(&deletion_flag))); in TEST()
217 EXPECT_FALSE(deletion_flag); in TEST()
219 EXPECT_TRUE(deletion_flag); in TEST()
224 bool deletion_flag = true; in TEST() local
229 list.Append(make_scoped_ptr(new DeletionTestValue(&deletion_flag))); in TEST()
230 EXPECT_FALSE(deletion_flag); in TEST()
239 EXPECT_FALSE(deletion_flag); in TEST()
241 EXPECT_TRUE(deletion_flag); in TEST()
245 list.Append(make_scoped_ptr(new DeletionTestValue(&deletion_flag))); in TEST()
246 EXPECT_FALSE(deletion_flag); in TEST()
248 EXPECT_TRUE(deletion_flag); in TEST()
254 scoped_ptr<DeletionTestValue> value(new DeletionTestValue(&deletion_flag)); in TEST()
257 EXPECT_FALSE(deletion_flag); in TEST()
261 EXPECT_TRUE(deletion_flag); in TEST()
268 bool deletion_flag = true; in TEST() local
272 dict.Set(key, make_scoped_ptr(new DeletionTestValue(&deletion_flag))); in TEST()
273 EXPECT_FALSE(deletion_flag); in TEST()
275 EXPECT_TRUE(deletion_flag); in TEST()
279 dict.Set(key, make_scoped_ptr(new DeletionTestValue(&deletion_flag))); in TEST()
280 EXPECT_FALSE(deletion_flag); in TEST()
282 EXPECT_TRUE(deletion_flag); in TEST()
287 dict.Set(key, make_scoped_ptr(new DeletionTestValue(&deletion_flag))); in TEST()
288 EXPECT_FALSE(deletion_flag); in TEST()
290 EXPECT_TRUE(deletion_flag); in TEST()
296 bool deletion_flag = true; in TEST() local
301 dict.Set(key, make_scoped_ptr(new DeletionTestValue(&deletion_flag))); in TEST()
302 EXPECT_FALSE(deletion_flag); in TEST()
309 EXPECT_FALSE(deletion_flag); in TEST()
311 EXPECT_TRUE(deletion_flag); in TEST()
315 dict.Set(key, make_scoped_ptr(new DeletionTestValue(&deletion_flag))); in TEST()
316 EXPECT_FALSE(deletion_flag); in TEST()
319 EXPECT_TRUE(deletion_flag); in TEST()