Lines Matching full:this
89 this->expectValues(this->V, this->testArray(0)); in TYPED_TEST()
93 this->V.push_back(this->TestPtrs[0]); in TYPED_TEST()
94 this->expectValues(this->V, this->testArray(1)); in TYPED_TEST()
95 this->V.push_back(this->TestPtrs[1]); in TYPED_TEST()
96 this->expectValues(this->V, this->testArray(2)); in TYPED_TEST()
97 this->V.push_back(this->TestPtrs[2]); in TYPED_TEST()
98 this->expectValues(this->V, this->testArray(3)); in TYPED_TEST()
99 this->V.push_back(this->TestPtrs[3]); in TYPED_TEST()
100 this->expectValues(this->V, this->testArray(4)); in TYPED_TEST()
101 this->V.push_back(this->TestPtrs[4]); in TYPED_TEST()
102 this->expectValues(this->V, this->testArray(5)); in TYPED_TEST()
105 this->V.pop_back(); in TYPED_TEST()
106 this->expectValues(this->V, this->testArray(4)); in TYPED_TEST()
107 this->V.pop_back(); in TYPED_TEST()
108 this->expectValues(this->V, this->testArray(3)); in TYPED_TEST()
109 this->TestPtrs[3] = this->makePtr(&this->TestValues[42]); in TYPED_TEST()
110 this->TestPtrs[4] = this->makePtr(&this->TestValues[43]); in TYPED_TEST()
111 this->V.push_back(this->TestPtrs[3]); in TYPED_TEST()
112 this->expectValues(this->V, this->testArray(4)); in TYPED_TEST()
113 this->V.push_back(this->TestPtrs[4]); in TYPED_TEST()
114 this->expectValues(this->V, this->testArray(5)); in TYPED_TEST()
116 this->V.pop_back(); in TYPED_TEST()
117 this->expectValues(this->V, this->testArray(4)); in TYPED_TEST()
118 this->V.pop_back(); in TYPED_TEST()
119 this->expectValues(this->V, this->testArray(3)); in TYPED_TEST()
120 this->V.pop_back(); in TYPED_TEST()
121 this->expectValues(this->V, this->testArray(2)); in TYPED_TEST()
122 this->V.pop_back(); in TYPED_TEST()
123 this->expectValues(this->V, this->testArray(1)); in TYPED_TEST()
124 this->V.pop_back(); in TYPED_TEST()
125 this->expectValues(this->V, this->testArray(0)); in TYPED_TEST()
127 this->appendValues(this->V, this->testArray(42)); in TYPED_TEST()
128 this->expectValues(this->V, this->testArray(42)); in TYPED_TEST()
132 this->expectValues(this->V, this->testArray(0)); in TYPED_TEST()
133 this->V.clear(); in TYPED_TEST()
134 this->expectValues(this->V, this->testArray(0)); in TYPED_TEST()
136 this->appendValues(this->V, this->testArray(1)); in TYPED_TEST()
137 this->expectValues(this->V, this->testArray(1)); in TYPED_TEST()
138 this->V.clear(); in TYPED_TEST()
139 this->expectValues(this->V, this->testArray(0)); in TYPED_TEST()
141 this->appendValues(this->V, this->testArray(42)); in TYPED_TEST()
142 this->expectValues(this->V, this->testArray(42)); in TYPED_TEST()
143 this->V.clear(); in TYPED_TEST()
144 this->expectValues(this->V, this->testArray(0)); in TYPED_TEST()
148 this->appendValues(this->V, this->testArray(42)); in TYPED_TEST()
149 TypeParam Copy(this->V); in TYPED_TEST()
150 this->expectValues(Copy, this->testArray(42)); in TYPED_TEST()
152 // This is a separate copy, and so it shouldn't destroy the original. in TYPED_TEST()
154 this->expectValues(Copy, this->testArray(0)); in TYPED_TEST()
155 this->expectValues(this->V, this->testArray(42)); in TYPED_TEST()
157 TypeParam Copy2(this->V2); in TYPED_TEST()
158 this->appendValues(Copy2, this->testArray(42)); in TYPED_TEST()
159 this->expectValues(Copy2, this->testArray(42)); in TYPED_TEST()
160 this->expectValues(this->V2, this->testArray(0)); in TYPED_TEST()
163 this->expectValues(Move, this->testArray(42)); in TYPED_TEST()
164 this->expectValues(Copy2, this->testArray(0)); in TYPED_TEST()
166 TypeParam MultipleElements(this->testArray(2)); in TYPED_TEST()
167 TypeParam SingleElement(this->testArray(1)); in TYPED_TEST()
169 this->expectValues(MultipleElements, this->testArray(1)); in TYPED_TEST()
170 this->expectValues(SingleElement, this->testArray(0)); in TYPED_TEST()
174 this->V = this->V2; in TYPED_TEST()
175 this->expectValues(this->V, this->testArray(0)); in TYPED_TEST()
176 this->expectValues(this->V2, this->testArray(0)); in TYPED_TEST()
177 this->V = std::move(this->V2); in TYPED_TEST()
178 this->expectValues(this->V, this->testArray(0)); in TYPED_TEST()
180 this->setVectors(this->testArray(1), this->testArray(0)); in TYPED_TEST()
181 this->V = this->V2; in TYPED_TEST()
182 this->expectValues(this->V, this->testArray(0)); in TYPED_TEST()
183 this->expectValues(this->V2, this->testArray(0)); in TYPED_TEST()
184 this->setVectors(this->testArray(1), this->testArray(0)); in TYPED_TEST()
185 this->V = std::move(this->V2); in TYPED_TEST()
186 this->expectValues(this->V, this->testArray(0)); in TYPED_TEST()
188 this->setVectors(this->testArray(2), this->testArray(0)); in TYPED_TEST()
189 this->V = this->V2; in TYPED_TEST()
190 this->expectValues(this->V, this->testArray(0)); in TYPED_TEST()
191 this->expectValues(this->V2, this->testArray(0)); in TYPED_TEST()
192 this->setVectors(this->testArray(2), this->testArray(0)); in TYPED_TEST()
193 this->V = std::move(this->V2); in TYPED_TEST()
194 this->expectValues(this->V, this->testArray(0)); in TYPED_TEST()
196 this->setVectors(this->testArray(42), this->testArray(0)); in TYPED_TEST()
197 this->V = this->V2; in TYPED_TEST()
198 this->expectValues(this->V, this->testArray(0)); in TYPED_TEST()
199 this->expectValues(this->V2, this->testArray(0)); in TYPED_TEST()
200 this->setVectors(this->testArray(42), this->testArray(0)); in TYPED_TEST()
201 this->V = std::move(this->V2); in TYPED_TEST()
202 this->expectValues(this->V, this->testArray(0)); in TYPED_TEST()
204 this->setVectors(this->testArray(0), this->testArray(1)); in TYPED_TEST()
205 this->V = this->V2; in TYPED_TEST()
206 this->expectValues(this->V, this->testArray(1)); in TYPED_TEST()
207 this->expectValues(this->V2, this->testArray(1)); in TYPED_TEST()
208 this->setVectors(this->testArray(0), this->testArray(1)); in TYPED_TEST()
209 this->V = std::move(this->V2); in TYPED_TEST()
210 this->expectValues(this->V, this->testArray(1)); in TYPED_TEST()
212 this->setVectors(this->testArray(0), this->testArray(2)); in TYPED_TEST()
213 this->V = this->V2; in TYPED_TEST()
214 this->expectValues(this->V, this->testArray(2)); in TYPED_TEST()
215 this->expectValues(this->V2, this->testArray(2)); in TYPED_TEST()
216 this->setVectors(this->testArray(0), this->testArray(2)); in TYPED_TEST()
217 this->V = std::move(this->V2); in TYPED_TEST()
218 this->expectValues(this->V, this->testArray(2)); in TYPED_TEST()
220 this->setVectors(this->testArray(0), this->testArray(42)); in TYPED_TEST()
221 this->V = this->V2; in TYPED_TEST()
222 this->expectValues(this->V, this->testArray(42)); in TYPED_TEST()
223 this->expectValues(this->V2, this->testArray(42)); in TYPED_TEST()
224 this->setVectors(this->testArray(0), this->testArray(42)); in TYPED_TEST()
225 this->V = std::move(this->V2); in TYPED_TEST()
226 this->expectValues(this->V, this->testArray(42)); in TYPED_TEST()
228 this->setVectors(this->testArray(1), this->testArray(1)); in TYPED_TEST()
229 this->V = this->V2; in TYPED_TEST()
230 this->expectValues(this->V, this->testArray(1)); in TYPED_TEST()
231 this->expectValues(this->V2, this->testArray(1)); in TYPED_TEST()
232 this->V = std::move(this->V2); in TYPED_TEST()
233 this->expectValues(this->V, this->testArray(1)); in TYPED_TEST()
235 this->setVectors(this->testArray(1), this->testArray(2)); in TYPED_TEST()
236 this->V = this->V2; in TYPED_TEST()
237 this->expectValues(this->V, this->testArray(2)); in TYPED_TEST()
238 this->expectValues(this->V2, this->testArray(2)); in TYPED_TEST()
239 this->setVectors(this->testArray(1), this->testArray(2)); in TYPED_TEST()
240 this->V = std::move(this->V2); in TYPED_TEST()
241 this->expectValues(this->V, this->testArray(2)); in TYPED_TEST()
243 this->setVectors(this->testArray(1), this->testArray(42)); in TYPED_TEST()
244 this->V = this->V2; in TYPED_TEST()
245 this->expectValues(this->V, this->testArray(42)); in TYPED_TEST()
246 this->expectValues(this->V2, this->testArray(42)); in TYPED_TEST()
247 this->setVectors(this->testArray(1), this->testArray(42)); in TYPED_TEST()
248 this->V = std::move(this->V2); in TYPED_TEST()
249 this->expectValues(this->V, this->testArray(42)); in TYPED_TEST()
251 this->setVectors(this->testArray(2), this->testArray(1)); in TYPED_TEST()
252 this->V = this->V2; in TYPED_TEST()
253 this->expectValues(this->V, this->testArray(1)); in TYPED_TEST()
254 this->expectValues(this->V2, this->testArray(1)); in TYPED_TEST()
255 this->setVectors(this->testArray(2), this->testArray(1)); in TYPED_TEST()
256 this->V = std::move(this->V2); in TYPED_TEST()
257 this->expectValues(this->V, this->testArray(1)); in TYPED_TEST()
259 this->setVectors(this->testArray(2), this->testArray(2)); in TYPED_TEST()
260 this->V = this->V2; in TYPED_TEST()
261 this->expectValues(this->V, this->testArray(2)); in TYPED_TEST()
262 this->expectValues(this->V2, this->testArray(2)); in TYPED_TEST()
263 this->setVectors(this->testArray(2), this->testArray(2)); in TYPED_TEST()
264 this->V = std::move(this->V2); in TYPED_TEST()
265 this->expectValues(this->V, this->testArray(2)); in TYPED_TEST()
267 this->setVectors(this->testArray(2), this->testArray(42)); in TYPED_TEST()
268 this->V = this->V2; in TYPED_TEST()
269 this->expectValues(this->V, this->testArray(42)); in TYPED_TEST()
270 this->expectValues(this->V2, this->testArray(42)); in TYPED_TEST()
271 this->setVectors(this->testArray(2), this->testArray(42)); in TYPED_TEST()
272 this->V = std::move(this->V2); in TYPED_TEST()
273 this->expectValues(this->V, this->testArray(42)); in TYPED_TEST()
275 this->setVectors(this->testArray(42), this->testArray(1)); in TYPED_TEST()
276 this->V = this->V2; in TYPED_TEST()
277 this->expectValues(this->V, this->testArray(1)); in TYPED_TEST()
278 this->expectValues(this->V2, this->testArray(1)); in TYPED_TEST()
279 this->setVectors(this->testArray(42), this->testArray(1)); in TYPED_TEST()
280 this->V = std::move(this->V2); in TYPED_TEST()
281 this->expectValues(this->V, this->testArray(1)); in TYPED_TEST()
283 this->setVectors(this->testArray(42), this->testArray(2)); in TYPED_TEST()
284 this->V = this->V2; in TYPED_TEST()
285 this->expectValues(this->V, this->testArray(2)); in TYPED_TEST()
286 this->expectValues(this->V2, this->testArray(2)); in TYPED_TEST()
287 this->setVectors(this->testArray(42), this->testArray(2)); in TYPED_TEST()
288 this->V = std::move(this->V2); in TYPED_TEST()
289 this->expectValues(this->V, this->testArray(2)); in TYPED_TEST()
291 this->setVectors(this->testArray(42), this->testArray(42)); in TYPED_TEST()
292 this->V = this->V2; in TYPED_TEST()
293 this->expectValues(this->V, this->testArray(42)); in TYPED_TEST()
294 this->expectValues(this->V2, this->testArray(42)); in TYPED_TEST()
295 this->setVectors(this->testArray(42), this->testArray(42)); in TYPED_TEST()
296 this->V = std::move(this->V2); in TYPED_TEST()
297 this->expectValues(this->V, this->testArray(42)); in TYPED_TEST()
301 this->appendValues(this->V, this->testArray(1)); in TYPED_TEST()
302 this->expectValues(this->V, this->testArray(1)); in TYPED_TEST()
303 this->V.erase(this->V.begin()); in TYPED_TEST()
304 this->expectValues(this->V, this->testArray(0)); in TYPED_TEST()
306 this->appendValues(this->V, this->testArray(42)); in TYPED_TEST()
307 this->expectValues(this->V, this->testArray(42)); in TYPED_TEST()
308 this->V.erase(this->V.begin()); in TYPED_TEST()
309 this->TestPtrs.erase(this->TestPtrs.begin()); in TYPED_TEST()
310 this->expectValues(this->V, this->testArray(41)); in TYPED_TEST()
311 this->V.erase(std::next(this->V.begin(), 1)); in TYPED_TEST()
312 this->TestPtrs.erase(std::next(this->TestPtrs.begin(), 1)); in TYPED_TEST()
313 this->expectValues(this->V, this->testArray(40)); in TYPED_TEST()
314 this->V.erase(std::next(this->V.begin(), 2)); in TYPED_TEST()
315 this->TestPtrs.erase(std::next(this->TestPtrs.begin(), 2)); in TYPED_TEST()
316 this->expectValues(this->V, this->testArray(39)); in TYPED_TEST()
317 this->V.erase(std::next(this->V.begin(), 5)); in TYPED_TEST()
318 this->TestPtrs.erase(std::next(this->TestPtrs.begin(), 5)); in TYPED_TEST()
319 this->expectValues(this->V, this->testArray(38)); in TYPED_TEST()
320 this->V.erase(std::next(this->V.begin(), 13)); in TYPED_TEST()
321 this->TestPtrs.erase(std::next(this->TestPtrs.begin(), 13)); in TYPED_TEST()
322 this->expectValues(this->V, this->testArray(37)); in TYPED_TEST()
324 typename TypeParam::iterator I = this->V.begin(); in TYPED_TEST()
326 I = this->V.erase(I); in TYPED_TEST()
327 } while (I != this->V.end()); in TYPED_TEST()
328 this->expectValues(this->V, this->testArray(0)); in TYPED_TEST()
332 this->appendValues(this->V, this->testArray(1)); in TYPED_TEST()
333 this->expectValues(this->V, this->testArray(1)); in TYPED_TEST()
334 this->V.erase(this->V.begin(), this->V.begin()); in TYPED_TEST()
335 this->expectValues(this->V, this->testArray(1)); in TYPED_TEST()
336 this->V.erase(this->V.end(), this->V.end()); in TYPED_TEST()
337 this->expectValues(this->V, this->testArray(1)); in TYPED_TEST()
338 this->V.erase(this->V.begin(), this->V.end()); in TYPED_TEST()
339 this->expectValues(this->V, this->testArray(0)); in TYPED_TEST()
341 this->appendValues(this->V, this->testArray(42)); in TYPED_TEST()
342 this->expectValues(this->V, this->testArray(42)); in TYPED_TEST()
343 this->V.erase(this->V.begin(), std::next(this->V.begin(), 1)); in TYPED_TEST()
344 this->TestPtrs.erase(this->TestPtrs.begin(), in TYPED_TEST()
345 std::next(this->TestPtrs.begin(), 1)); in TYPED_TEST()
346 this->expectValues(this->V, this->testArray(41)); in TYPED_TEST()
347 this->V.erase(std::next(this->V.begin(), 1), std::next(this->V.begin(), 2)); in TYPED_TEST()
348 this->TestPtrs.erase(std::next(this->TestPtrs.begin(), 1), in TYPED_TEST()
349 std::next(this->TestPtrs.begin(), 2)); in TYPED_TEST()
350 this->expectValues(this->V, this->testArray(40)); in TYPED_TEST()
351 this->V.erase(std::next(this->V.begin(), 2), std::next(this->V.begin(), 4)); in TYPED_TEST()
352 this->TestPtrs.erase(std::next(this->TestPtrs.begin(), 2), in TYPED_TEST()
353 std::next(this->TestPtrs.begin(), 4)); in TYPED_TEST()
354 this->expectValues(this->V, this->testArray(38)); in TYPED_TEST()
355 this->V.erase(std::next(this->V.begin(), 5), std::next(this->V.begin(), 10)); in TYPED_TEST()
356 this->TestPtrs.erase(std::next(this->TestPtrs.begin(), 5), in TYPED_TEST()
357 std::next(this->TestPtrs.begin(), 10)); in TYPED_TEST()
358 this->expectValues(this->V, this->testArray(33)); in TYPED_TEST()
359 this->V.erase(std::next(this->V.begin(), 13), std::next(this->V.begin(), 26)); in TYPED_TEST()
360 this->TestPtrs.erase(std::next(this->TestPtrs.begin(), 13), in TYPED_TEST()
361 std::next(this->TestPtrs.begin(), 26)); in TYPED_TEST()
362 this->expectValues(this->V, this->testArray(20)); in TYPED_TEST()
363 this->V.erase(std::next(this->V.begin(), 7), this->V.end()); in TYPED_TEST()
364 this->expectValues(this->V, this->testArray(7)); in TYPED_TEST()
365 this->V.erase(this->V.begin(), this->V.end()); in TYPED_TEST()
366 this->expectValues(this->V, this->testArray(0)); in TYPED_TEST()
370 this->V.insert(this->V.end(), this->TestPtrs[0]); in TYPED_TEST()
371 this->expectValues(this->V, this->testArray(1)); in TYPED_TEST()
372 this->V.clear(); in TYPED_TEST()
373 this->appendValues(this->V, this->testArray(4)); in TYPED_TEST()
374 this->expectValues(this->V, this->testArray(4)); in TYPED_TEST()
375 this->V.insert(this->V.end(), this->TestPtrs[4]); in TYPED_TEST()
376 this->expectValues(this->V, this->testArray(5)); in TYPED_TEST()
377 this->V.insert(this->V.begin(), this->TestPtrs[42]); in TYPED_TEST()
378 this->TestPtrs.insert(this->TestPtrs.begin(), this->TestPtrs[42]); in TYPED_TEST()
379 this->expectValues(this->V, this->testArray(6)); in TYPED_TEST()
380 this->V.insert(std::next(this->V.begin(), 3), this->TestPtrs[43]); in TYPED_TEST()
381 this->TestPtrs.insert(std::next(this->TestPtrs.begin(), 3), in TYPED_TEST()
382 this->TestPtrs[43]); in TYPED_TEST()
383 this->expectValues(this->V, this->testArray(7)); in TYPED_TEST()
387 this->V.insert(this->V.end(), this->TestPtrs.begin(), this->TestPtrs.begin()); in TYPED_TEST()
388 this->expectValues(this->V, this->testArray(0)); in TYPED_TEST()
389 this->V.insert(this->V.begin(), this->TestPtrs.begin(), in TYPED_TEST()
390 this->TestPtrs.begin()); in TYPED_TEST()
391 this->expectValues(this->V, this->testArray(0)); in TYPED_TEST()
392 this->V.insert(this->V.end(), this->TestPtrs.end(), this->TestPtrs.end()); in TYPED_TEST()
393 this->expectValues(this->V, this->testArray(0)); in TYPED_TEST()
394 this->V.insert(this->V.end(), this->TestPtrs.begin(), in TYPED_TEST()
395 std::next(this->TestPtrs.begin())); in TYPED_TEST()
396 this->expectValues(this->V, this->testArray(1)); in TYPED_TEST()
397 this->V.clear(); in TYPED_TEST()
398 this->V.insert(this->V.end(), this->TestPtrs.begin(), in TYPED_TEST()
399 std::next(this->TestPtrs.begin(), 2)); in TYPED_TEST()
400 this->expectValues(this->V, this->testArray(2)); in TYPED_TEST()
401 this->V.clear(); in TYPED_TEST()
402 this->V.insert(this->V.end(), this->TestPtrs.begin(), in TYPED_TEST()
403 std::next(this->TestPtrs.begin(), 42)); in TYPED_TEST()
404 this->expectValues(this->V, this->testArray(42)); in TYPED_TEST()
405 this->V.clear(); in TYPED_TEST()
406 this->V.insert(this->V.end(), in TYPED_TEST()
407 std::next(this->TestPtrs.begin(), 5), in TYPED_TEST()
408 std::next(this->TestPtrs.begin(), 13)); in TYPED_TEST()
409 this->V.insert(this->V.begin(), in TYPED_TEST()
410 std::next(this->TestPtrs.begin(), 0), in TYPED_TEST()
411 std::next(this->TestPtrs.begin(), 3)); in TYPED_TEST()
412 this->V.insert(std::next(this->V.begin(), 2), in TYPED_TEST()
413 std::next(this->TestPtrs.begin(), 2), in TYPED_TEST()
414 std::next(this->TestPtrs.begin(), 4)); in TYPED_TEST()
415 this->V.erase(std::next(this->V.begin(), 4)); in TYPED_TEST()
416 this->V.insert(std::next(this->V.begin(), 4), in TYPED_TEST()
417 std::next(this->TestPtrs.begin(), 4), in TYPED_TEST()
418 std::next(this->TestPtrs.begin(), 5)); in TYPED_TEST()
419 this->expectValues(this->V, this->testArray(13)); in TYPED_TEST()