• Home
  • Raw
  • Download

Lines Matching refs:kBrowserId2

123   const int kBrowserId2 = 2;  in TEST()  local
129 EXPECT_EQ(0U, map.size(kBrowserId2)); in TEST()
135 EXPECT_EQ(0U, map.size(kBrowserId2)); in TEST()
141 EXPECT_EQ(0U, map.size(kBrowserId2)); in TEST()
144 map.Add(kBrowserId2, 3, obj3); in TEST()
147 EXPECT_EQ(1U, map.size(kBrowserId2)); in TEST()
150 map.Add(kBrowserId2, 4, obj4); in TEST()
153 EXPECT_EQ(2U, map.size(kBrowserId2)); in TEST()
160 EXPECT_EQ(2U, map.size(kBrowserId2)); in TEST()
164 map.clear(kBrowserId2); in TEST()
167 EXPECT_EQ(0U, map.size(kBrowserId2)); in TEST()
224 const int kBrowserId2 = 2; in TEST() local
251 MyObject nf3 = map.Find(kBrowserId2, 3, nullptr); in TEST()
255 map.Add(kBrowserId2, 3, obj3); in TEST()
258 MyObject f3 = map.Find(kBrowserId2, 3, nullptr); in TEST()
262 MyObject nf4 = map.Find(kBrowserId2, 4, nullptr); in TEST()
266 map.Add(kBrowserId2, 4, obj4); in TEST()
269 MyObject f4 = map.Find(kBrowserId2, 4, nullptr); in TEST()
277 MyObject f3b = map.Find(kBrowserId2, 3, nullptr); in TEST()
283 MyObject nf6 = map.Find(kBrowserId2, 1, nullptr); in TEST()
287 MyObject nf7 = map.Find(kBrowserId2, 5, nullptr); in TEST()
302 const int kBrowserId2 = 2; in TEST() local
313 map.Add(kBrowserId2, 3, obj3); in TEST()
316 map.Add(kBrowserId2, 4, obj4); in TEST()
320 EXPECT_EQ(2U, map.size(kBrowserId2)); in TEST()
324 map.Find(kBrowserId2, 4, &visitor); in TEST()
326 EXPECT_TRUE(visitor.Exists(kBrowserId2, 4, obj4)); in TEST()
331 EXPECT_EQ(2U, map.size(kBrowserId2)); in TEST()
341 const int kBrowserId2 = 2; in TEST() local
352 map.Add(kBrowserId2, 3, obj3); in TEST()
355 map.Add(kBrowserId2, 4, obj4); in TEST()
359 EXPECT_EQ(2U, map.size(kBrowserId2)); in TEST()
370 EXPECT_EQ(2U, map.size(kBrowserId2)); in TEST()
379 MyObject nf3 = map.Find(kBrowserId2, 3, nullptr); in TEST()
381 MyObject nf4 = map.Find(kBrowserId2, 4, nullptr); in TEST()
393 const int kBrowserId2 = 2; in TEST() local
404 map.Add(kBrowserId2, 3, obj3); in TEST()
407 map.Add(kBrowserId2, 4, obj4); in TEST()
411 EXPECT_EQ(2U, map.size(kBrowserId2)); in TEST()
419 EXPECT_TRUE(visitor.Exists(kBrowserId2, 3, obj3)); in TEST()
420 EXPECT_TRUE(visitor.Exists(kBrowserId2, 4, obj4)); in TEST()
426 EXPECT_EQ(2U, map.size(kBrowserId2)); in TEST()
436 const int kBrowserId2 = 2; in TEST() local
447 map.Add(kBrowserId2, 3, obj3); in TEST()
450 map.Add(kBrowserId2, 4, obj4); in TEST()
454 EXPECT_EQ(2U, map.size(kBrowserId2)); in TEST()
458 map.FindAll(kBrowserId2, &visitor); in TEST()
460 EXPECT_TRUE(visitor.Exists(kBrowserId2, 3, obj3)); in TEST()
461 EXPECT_TRUE(visitor.Exists(kBrowserId2, 4, obj4)); in TEST()
467 EXPECT_EQ(2U, map.size(kBrowserId2)); in TEST()
477 const int kBrowserId2 = 2; in TEST() local
488 map.Add(kBrowserId2, 3, obj3); in TEST()
491 map.Add(kBrowserId2, 4, obj4); in TEST()
495 EXPECT_EQ(2U, map.size(kBrowserId2)); in TEST()
503 EXPECT_TRUE(visitor.Exists(kBrowserId2, 3, obj3)); in TEST()
504 EXPECT_TRUE(visitor.Exists(kBrowserId2, 4, obj4)); in TEST()
510 EXPECT_EQ(0U, map.size(kBrowserId2)); in TEST()
518 const int kBrowserId2 = 2; in TEST() local
529 map.Add(kBrowserId2, 3, obj3); in TEST()
532 map.Add(kBrowserId2, 4, obj4); in TEST()
536 EXPECT_EQ(2U, map.size(kBrowserId2)); in TEST()
539 MyVisitor visitor(false, kBrowserId2, 3); in TEST()
544 EXPECT_TRUE(visitor.Exists(kBrowserId2, 3, obj3)); in TEST()
545 EXPECT_TRUE(visitor.Exists(kBrowserId2, 4, obj4)); in TEST()
551 EXPECT_EQ(1U, map.size(kBrowserId2)); in TEST()
554 MyObject nf3 = map.Find(kBrowserId2, 3, nullptr); in TEST()
562 MyObject f4 = map.Find(kBrowserId2, 4, nullptr); in TEST()
574 const int kBrowserId2 = 2; in TEST() local
585 map.Add(kBrowserId2, 3, obj3); in TEST()
588 map.Add(kBrowserId2, 4, obj4); in TEST()
592 EXPECT_EQ(2U, map.size(kBrowserId2)); in TEST()
605 EXPECT_EQ(2U, map.size(kBrowserId2)); in TEST()
614 MyObject f3 = map.Find(kBrowserId2, 3, nullptr); in TEST()
616 MyObject f4 = map.Find(kBrowserId2, 4, nullptr); in TEST()
628 const int kBrowserId2 = 2; in TEST() local
639 map.Add(kBrowserId2, 3, obj3); in TEST()
642 map.Add(kBrowserId2, 4, obj4); in TEST()
646 EXPECT_EQ(2U, map.size(kBrowserId2)); in TEST()
649 MyVisitor visitor(false, kBrowserId2, 4); in TEST()
650 map.FindAll(kBrowserId2, &visitor); in TEST()
652 EXPECT_TRUE(visitor.Exists(kBrowserId2, 3, obj3)); in TEST()
653 EXPECT_TRUE(visitor.Exists(kBrowserId2, 4, obj4)); in TEST()
659 EXPECT_EQ(1U, map.size(kBrowserId2)); in TEST()
662 MyObject nf4 = map.Find(kBrowserId2, 4, nullptr); in TEST()
670 MyObject f3 = map.Find(kBrowserId2, 3, nullptr); in TEST()