Lines Matching refs:BigPtrEntryMock
46 class BigPtrEntryMock : public BigPtrEntry class
49 BigPtrEntryMock(int count) : count_(count) in BigPtrEntryMock() function in __anon8685845e0111::BigPtrEntryMock
53 ~BigPtrEntryMock() in ~BigPtrEntryMock()
81 BigPtrEntryMock* const pbem = static_cast<BigPtrEntryMock* const>(rElem); in AddToCount()
90 …intf("bparr[%i,%i]: %i\n", i, static_cast<BigPtrEntryMock*>(bparr[i])->Position(), static_cast<Big… in dumpBigPtrArray()
99 bparr.Insert(new BigPtrEntryMock(i), bparr.Count()); in fillBigPtrArray()
113 if (static_cast<BigPtrEntryMock*>(bparr[i])->Position() != i) in checkElementPositions()
162 bparr.Insert(new BigPtrEntryMock(i), 0); in TEST_F()
170 …ASSERT_TRUE(static_cast<BigPtrEntryMock*>(bparr[i])->getCount() == j) << "test_insert_entries_at_f… in TEST_F()
192 bparr.Insert(new BigPtrEntryMock(NUM_ENTRIES), bparr.Count() / 2); in TEST_F()
196 …ASSERT_TRUE((oldCount + 1 == bparr.Count() && static_cast<BigPtrEntryMock*>(bparr[bparr.Count() / … in TEST_F()
218 bparr.Insert(new BigPtrEntryMock(j), i); in TEST_F()
226 …ASSERT_TRUE(static_cast<BigPtrEntryMock*>(bparr[i])->getCount() == j) << "test_insert_at_already_u… in TEST_F()
245 bparr.Insert(new BigPtrEntryMock(NUM_ENTRIES), bparr.Count()); in TEST_F()
247 …ASSERT_TRUE((oldCount + 1 == bparr.Count() && static_cast<BigPtrEntryMock*>(bparr[bparr.Count()-1]… in TEST_F()
277 …ASSERT_TRUE(static_cast<BigPtrEntryMock*>(bparr[j])->getCount() == k) << "test_remove_at_front fai… in TEST_F()
307 …ASSERT_TRUE(static_cast<BigPtrEntryMock*>(bparr[j])->getCount() == j) << "test_remove_at_back fail… in TEST_F()
330 int oldElement = static_cast<BigPtrEntryMock*>(bparr[bparr.Count() / 2])->getCount(); in TEST_F()
339 …ASSERT_TRUE(static_cast<BigPtrEntryMock*>(bparr[i])->getCount() != oldElement) << "test_remove_in_… in TEST_F()
410 …ASSERT_TRUE(static_cast<BigPtrEntryMock*>(bparr[i])->getCount() == (i + 1)) << "test_move_elements… in TEST_F()
413 …ASSERT_TRUE(static_cast<BigPtrEntryMock*>(bparr[NUM_ENTRIES -1])->getCount() == 0) << "test_move_e… in TEST_F()
435 …ASSERT_TRUE(static_cast<BigPtrEntryMock*>(bparr[0])->getCount() == (NUM_ENTRIES - 1)) << "test_mov… in TEST_F()
439 …ASSERT_TRUE(static_cast<BigPtrEntryMock*>(bparr[i])->getCount() == (i - 1)) << "test_move_elements… in TEST_F()
469 …ASSERT_TRUE(static_cast<BigPtrEntryMock*>(bparr[i])->getCount() == i) << "test_move_to_same_positi… in TEST_F()
492 bparr.Replace(i, new BigPtrEntryMock(j)); in TEST_F()
498 …ASSERT_TRUE(static_cast<BigPtrEntryMock*>(bparr[i])->getCount() == (NUM_ENTRIES - i - 1)) << "test… in TEST_F()
520 …ASSERT_TRUE(static_cast<BigPtrEntryMock*>(bparr[i])->getCount() == (i+1)) << "test_for_each failed… in TEST_F()
542 …ASSERT_TRUE(static_cast<BigPtrEntryMock*>(bparr[i])->getCount() == (i+1)) << "test_for_some1 faile… in TEST_F()
547 …ASSERT_TRUE(static_cast<BigPtrEntryMock*>(bparr[i])->getCount() == (i)) << "test_for_some1 failed"; in TEST_F()
569 …ASSERT_TRUE(static_cast<BigPtrEntryMock*>(bparr[i])->getCount() == (i)) << "test_for_some2 failed"; in TEST_F()
574 …ASSERT_TRUE(static_cast<BigPtrEntryMock*>(bparr[i])->getCount() == (i+1)) << "test_for_some2 faile… in TEST_F()
595 … ASSERT_TRUE(static_cast<BigPtrEntryMock*>(bparr[i])->getCount() == i) << "test_for_some3 failed"; in TEST_F()
645 bparr.Insert(new BigPtrEntryMock(i), bparr.Count()); in test_insert_at_end()
659 bparr.Insert(new BigPtrEntryMock(i), 0); in test_insert_at_front()