Lines Matching refs:MockItem

42 class MockItem : public Item {  class
44 MockItem(int i) : Item(i) {} in MockItem() function in testing::MockItem
45 ~MockItem() { Destruct(); } in ~MockItem()
50 MockItem* item1 = new MockItem(1); in TEST()
51 MockItem* item2 = new MockItem(2); in TEST()
52 MockItem* item3 = new MockItem(3); in TEST()
53 MockItem* item4 = new MockItem(4); in TEST()
54 LeakyBondedQueue<MockItem>* queue = new LeakyBondedQueue<MockItem>(3); in TEST()
66 MockItem* item2_2 = queue->Dequeue(); in TEST()
67 MockItem* item3_3 = queue->Dequeue(); in TEST()
68 MockItem* item4_4 = queue->Dequeue(); in TEST()
86 MockItem* item1 = new MockItem(1); in TEST()
87 MockItem* item2 = new MockItem(2); in TEST()
88 MockItem* item3 = new MockItem(3); in TEST()
89 MockItem* item4 = new MockItem(4); in TEST()
90 LeakyBondedQueue<MockItem>* queue = new LeakyBondedQueue<MockItem>(2); in TEST()
95 MockItem* item1_1 = queue->Dequeue(); in TEST()
108 MockItem* item4_4_4 = queue->Dequeue(); in TEST()
109 MockItem* item1_1_1 = queue->Dequeue(); in TEST()
120 MockItem* item1 = new MockItem(1); in TEST()
121 MockItem* item2 = new MockItem(2); in TEST()
122 MockItem* item3 = new MockItem(3); in TEST()
123 MockItem* item4 = new MockItem(4); in TEST()
124 LeakyBondedQueue<MockItem>* queue = new LeakyBondedQueue<MockItem>(2); in TEST()
129 MockItem* item1_1 = queue->Dequeue(); in TEST()
136 MockItem* item2_2 = queue->EnqueueWithPop(item4); in TEST()
142 MockItem* item3_3 = queue->EnqueueWithPop(item1); in TEST()
148 MockItem* item4_4_4 = queue->Dequeue(); in TEST()
149 MockItem* item1_1_1 = queue->Dequeue(); in TEST()
160 MockItem* item1 = new MockItem(1); in TEST()
161 MockItem* item2 = new MockItem(2); in TEST()
162 MockItem* item3 = new MockItem(3); in TEST()
163 MockItem* item4 = new MockItem(4); in TEST()
164 LeakyBondedQueue<MockItem>* queue = new LeakyBondedQueue<MockItem>(2); in TEST()
169 MockItem* item1_1 = queue->Dequeue(); in TEST()
189 MockItem* item1 = new MockItem(1); in TEST()
190 MockItem* item2 = new MockItem(2); in TEST()
191 MockItem* item3 = new MockItem(3); in TEST()
192 MockItem* item4 = new MockItem(4); in TEST()
193 LeakyBondedQueue<MockItem>* queue = new LeakyBondedQueue<MockItem>(2); in TEST()
198 MockItem* item1_1 = queue->Dequeue(); in TEST()
217 MockItem* item1 = nullptr; in TEST()
218 LeakyBondedQueue<MockItem>* queue = new LeakyBondedQueue<MockItem>(2); in TEST()
220 MockItem* item1_1 = queue->Dequeue(); in TEST()
225 MockItem* item1 = nullptr; in TEST()
226 MockItem* item2 = nullptr; in TEST()
227 LeakyBondedQueue<MockItem>* queue = new LeakyBondedQueue<MockItem>(1); in TEST()
230 MockItem* item2_2 = queue->Dequeue(); in TEST()
235 MockItem* item1 = nullptr; in TEST()
236 MockItem* item2 = nullptr; in TEST()
237 LeakyBondedQueue<MockItem>* queue = new LeakyBondedQueue<MockItem>(2); in TEST()