• Home
  • Raw
  • Download

Lines Matching refs:I

40   UUMap::iterator I = map.begin();  in TEST()  local
41 EXPECT_FALSE(I.valid()); in TEST()
42 EXPECT_TRUE(I == map.end()); in TEST()
47 EXPECT_TRUE(CI == I); in TEST()
80 UUMap::iterator I = map.begin(); in TEST() local
81 ASSERT_TRUE(I.valid()); in TEST()
82 EXPECT_EQ(100u, I.start()); in TEST()
83 EXPECT_EQ(150u, I.stop()); in TEST()
84 EXPECT_EQ(1u, I.value()); in TEST()
87 ++I; in TEST()
88 EXPECT_FALSE(I.valid()); in TEST()
89 EXPECT_FALSE(I == map.begin()); in TEST()
90 EXPECT_TRUE(I == map.end()); in TEST()
93 --I; in TEST()
94 ASSERT_TRUE(I.valid()); in TEST()
95 EXPECT_EQ(100u, I.start()); in TEST()
96 EXPECT_EQ(150u, I.stop()); in TEST()
97 EXPECT_EQ(1u, I.value()); in TEST()
98 EXPECT_TRUE(I == map.begin()); in TEST()
99 EXPECT_FALSE(I == map.end()); in TEST()
102 I.setValue(2); in TEST()
103 ASSERT_TRUE(I.valid()); in TEST()
104 EXPECT_EQ(100u, I.start()); in TEST()
105 EXPECT_EQ(150u, I.stop()); in TEST()
106 EXPECT_EQ(2u, I.value()); in TEST()
109 I.setStart(0); in TEST()
110 ASSERT_TRUE(I.valid()); in TEST()
111 EXPECT_EQ(0u, I.start()); in TEST()
112 EXPECT_EQ(150u, I.stop()); in TEST()
113 EXPECT_EQ(2u, I.value()); in TEST()
115 I.setStop(200); in TEST()
116 ASSERT_TRUE(I.valid()); in TEST()
117 EXPECT_EQ(0u, I.start()); in TEST()
118 EXPECT_EQ(200u, I.stop()); in TEST()
119 EXPECT_EQ(2u, I.value()); in TEST()
122 I.setStart(150); in TEST()
123 ASSERT_TRUE(I.valid()); in TEST()
124 EXPECT_EQ(150u, I.start()); in TEST()
125 EXPECT_EQ(200u, I.stop()); in TEST()
126 EXPECT_EQ(2u, I.value()); in TEST()
128 I.setStop(160); in TEST()
129 ASSERT_TRUE(I.valid()); in TEST()
130 EXPECT_EQ(150u, I.start()); in TEST()
131 EXPECT_EQ(160u, I.stop()); in TEST()
132 EXPECT_EQ(2u, I.value()); in TEST()
135 I.erase(); in TEST()
166 UUMap::iterator I = map.begin(); in TEST() local
167 EXPECT_EQ(60u, I.start()); in TEST()
168 EXPECT_EQ(89u, I.stop()); in TEST()
169 EXPECT_EQ(2u, I.value()); in TEST()
170 ++I; in TEST()
171 EXPECT_EQ(90u, I.start()); in TEST()
172 EXPECT_EQ(200u, I.stop()); in TEST()
173 EXPECT_EQ(1u, I.value()); in TEST()
174 ++I; in TEST()
175 EXPECT_FALSE(I.valid()); in TEST()
203 I = map.begin(); in TEST()
204 ASSERT_TRUE(I.valid()); in TEST()
205 EXPECT_EQ(80u, I.start()); in TEST()
206 EXPECT_EQ(210u, I.stop()); in TEST()
207 EXPECT_EQ(2u, I.value()); in TEST()
223 UUMap::iterator I = map.begin(); in TEST() local
224 EXPECT_EQ(100u, I.start()); in TEST()
225 EXPECT_EQ(110u, I.stop()); in TEST()
226 ++I; in TEST()
227 EXPECT_EQ(120u, I.start()); in TEST()
228 EXPECT_EQ(130u, I.stop()); in TEST()
229 ++I; in TEST()
230 EXPECT_EQ(140u, I.start()); in TEST()
231 EXPECT_EQ(150u, I.stop()); in TEST()
232 ++I; in TEST()
233 EXPECT_EQ(160u, I.start()); in TEST()
234 EXPECT_EQ(170u, I.stop()); in TEST()
235 ++I; in TEST()
236 EXPECT_FALSE(I.valid()); in TEST()
239 I = map.begin(); in TEST()
240 I.advanceTo(135); in TEST()
241 ASSERT_TRUE(I.valid()); in TEST()
242 EXPECT_EQ(140u, I.start()); in TEST()
243 EXPECT_EQ(150u, I.stop()); in TEST()
245 I.advanceTo(145); in TEST()
246 ASSERT_TRUE(I.valid()); in TEST()
247 EXPECT_EQ(140u, I.start()); in TEST()
248 EXPECT_EQ(150u, I.stop()); in TEST()
250 I.advanceTo(200); in TEST()
251 EXPECT_FALSE(I.valid()); in TEST()
253 I.advanceTo(300); in TEST()
254 EXPECT_FALSE(I.valid()); in TEST()
259 I = map.begin(); in TEST()
260 ASSERT_TRUE(I.valid()); in TEST()
261 EXPECT_EQ(100u, I.start()); in TEST()
262 EXPECT_EQ(115u, I.stop()); in TEST()
263 ++I; in TEST()
264 ASSERT_TRUE(I.valid()); in TEST()
265 EXPECT_EQ(120u, I.start()); in TEST()
266 EXPECT_EQ(130u, I.stop()); in TEST()
267 ++I; in TEST()
268 ASSERT_TRUE(I.valid()); in TEST()
269 EXPECT_EQ(140u, I.start()); in TEST()
270 EXPECT_EQ(150u, I.stop()); in TEST()
271 ++I; in TEST()
272 ASSERT_TRUE(I.valid()); in TEST()
273 EXPECT_EQ(160u, I.start()); in TEST()
274 EXPECT_EQ(170u, I.stop()); in TEST()
275 ++I; in TEST()
276 EXPECT_FALSE(I.valid()); in TEST()
281 I = map.begin(); in TEST()
282 ASSERT_TRUE(I.valid()); in TEST()
283 EXPECT_EQ(100u, I.start()); in TEST()
284 EXPECT_EQ(115u, I.stop()); in TEST()
285 ++I; in TEST()
286 ASSERT_TRUE(I.valid()); in TEST()
287 EXPECT_EQ(120u, I.start()); in TEST()
288 EXPECT_EQ(130u, I.stop()); in TEST()
289 ++I; in TEST()
290 ASSERT_TRUE(I.valid()); in TEST()
291 EXPECT_EQ(135u, I.start()); in TEST()
292 EXPECT_EQ(150u, I.stop()); in TEST()
293 ++I; in TEST()
294 ASSERT_TRUE(I.valid()); in TEST()
295 EXPECT_EQ(160u, I.start()); in TEST()
296 EXPECT_EQ(170u, I.stop()); in TEST()
297 ++I; in TEST()
298 EXPECT_FALSE(I.valid()); in TEST()
303 I = map.begin(); in TEST()
304 ASSERT_TRUE(I.valid()); in TEST()
305 EXPECT_EQ(100u, I.start()); in TEST()
306 EXPECT_EQ(115u, I.stop()); in TEST()
307 ++I; in TEST()
308 ASSERT_TRUE(I.valid()); in TEST()
309 EXPECT_EQ(120u, I.start()); in TEST()
310 EXPECT_EQ(150u, I.stop()); in TEST()
311 ++I; in TEST()
312 ASSERT_TRUE(I.valid()); in TEST()
313 EXPECT_EQ(160u, I.start()); in TEST()
314 EXPECT_EQ(170u, I.stop()); in TEST()
315 ++I; in TEST()
316 EXPECT_FALSE(I.valid()); in TEST()
351 UUMap::iterator I = map.begin(); in TEST() local
353 ASSERT_TRUE(I.valid()); in TEST()
354 EXPECT_EQ(10*i, I.start()); in TEST()
355 EXPECT_EQ(10*i+5, I.stop()); in TEST()
356 EXPECT_EQ(i, *I); in TEST()
357 ++I; in TEST()
359 EXPECT_FALSE(I.valid()); in TEST()
360 EXPECT_TRUE(I == map.end()); in TEST()
364 --I; in TEST()
365 ASSERT_TRUE(I.valid()); in TEST()
366 EXPECT_EQ(10*i, I.start()); in TEST()
367 EXPECT_EQ(10*i+5, I.stop()); in TEST()
368 EXPECT_EQ(i, *I); in TEST()
370 EXPECT_TRUE(I == map.begin()); in TEST()
373 I.advanceTo(20); in TEST()
374 ASSERT_TRUE(I.valid()); in TEST()
375 EXPECT_EQ(20u, I.start()); in TEST()
376 EXPECT_EQ(25u, I.stop()); in TEST()
379 I.setValue(0); in TEST()
380 ASSERT_TRUE(I.valid()); in TEST()
381 EXPECT_EQ(20u, I.start()); in TEST()
382 EXPECT_EQ(25u, I.stop()); in TEST()
383 EXPECT_EQ(0u, I.value()); in TEST()
386 I.setStop(29); in TEST()
387 ASSERT_TRUE(I.valid()); in TEST()
388 EXPECT_EQ(20u, I.start()); in TEST()
389 EXPECT_EQ(29u, I.stop()); in TEST()
390 EXPECT_EQ(0u, I.value()); in TEST()
393 I.setValue(2); in TEST()
394 ASSERT_TRUE(I.valid()); in TEST()
395 EXPECT_EQ(20u, I.start()); in TEST()
396 EXPECT_EQ(29u, I.stop()); in TEST()
397 EXPECT_EQ(2u, I.value()); in TEST()
400 I.setValue(3); in TEST()
401 ASSERT_TRUE(I.valid()); in TEST()
402 EXPECT_EQ(20u, I.start()); in TEST()
403 EXPECT_EQ(35u, I.stop()); in TEST()
404 EXPECT_EQ(3u, I.value()); in TEST()
407 I.setValue(4); in TEST()
408 ASSERT_TRUE(I.valid()); in TEST()
409 I.setStop(39); in TEST()
410 ASSERT_TRUE(I.valid()); in TEST()
411 EXPECT_EQ(20u, I.start()); in TEST()
412 EXPECT_EQ(45u, I.stop()); in TEST()
413 EXPECT_EQ(4u, I.value()); in TEST()
416 I.advanceTo(200); in TEST()
417 ASSERT_TRUE(I.valid()); in TEST()
418 EXPECT_EQ(200u, I.start()); in TEST()
419 EXPECT_EQ(205u, I.stop()); in TEST()
422 I.setStart(196); in TEST()
423 ASSERT_TRUE(I.valid()); in TEST()
424 EXPECT_EQ(196u, I.start()); in TEST()
425 EXPECT_EQ(205u, I.stop()); in TEST()
426 EXPECT_EQ(20u, I.value()); in TEST()
429 I.setValue(0); in TEST()
430 ASSERT_TRUE(I.valid()); in TEST()
431 EXPECT_EQ(196u, I.start()); in TEST()
432 EXPECT_EQ(205u, I.stop()); in TEST()
433 EXPECT_EQ(0u, I.value()); in TEST()
436 I.setValue(19); in TEST()
437 ASSERT_TRUE(I.valid()); in TEST()
438 EXPECT_EQ(190u, I.start()); in TEST()
439 EXPECT_EQ(205u, I.stop()); in TEST()
440 EXPECT_EQ(19u, I.value()); in TEST()
443 I.setValue(18); in TEST()
444 ASSERT_TRUE(I.valid()); in TEST()
445 I.setStart(186); in TEST()
446 ASSERT_TRUE(I.valid()); in TEST()
447 EXPECT_EQ(180u, I.start()); in TEST()
448 EXPECT_EQ(205u, I.stop()); in TEST()
449 EXPECT_EQ(18u, I.value()); in TEST()
452 I = map.begin(); in TEST()
454 I.erase(); in TEST()
455 EXPECT_TRUE(I == map.begin()); in TEST()
457 EXPECT_EQ(I.start(), map.start()); in TEST()
490 UUMap::iterator I = map.begin(); in TEST() local
492 ASSERT_TRUE(I.valid()); in TEST()
493 EXPECT_EQ(10*i, I.start()); in TEST()
494 EXPECT_EQ(10*i+5, I.stop()); in TEST()
495 EXPECT_EQ(i, *I); in TEST()
496 ++I; in TEST()
498 EXPECT_FALSE(I.valid()); in TEST()
499 EXPECT_TRUE(I == map.end()); in TEST()
503 --I; in TEST()
504 ASSERT_TRUE(I.valid()); in TEST()
505 EXPECT_EQ(10*i, I.start()); in TEST()
506 EXPECT_EQ(10*i+5, I.stop()); in TEST()
507 EXPECT_EQ(i, *I); in TEST()
509 EXPECT_TRUE(I == map.begin()); in TEST()
512 I.advanceTo(20); in TEST()
513 ASSERT_TRUE(I.valid()); in TEST()
514 EXPECT_EQ(20u, I.start()); in TEST()
515 EXPECT_EQ(25u, I.stop()); in TEST()
518 I.advanceTo(200); in TEST()
519 ASSERT_TRUE(I.valid()); in TEST()
520 EXPECT_EQ(200u, I.start()); in TEST()
521 EXPECT_EQ(205u, I.stop()); in TEST()
524 I.advanceTo(2000); in TEST()
525 ASSERT_TRUE(I.valid()); in TEST()
526 EXPECT_EQ(2000u, I.start()); in TEST()
527 EXPECT_EQ(2005u, I.stop()); in TEST()
530 I.advanceTo(20000); in TEST()
531 EXPECT_FALSE(I.valid()); in TEST()
534 I.advanceTo(30000); in TEST()
535 EXPECT_FALSE(I.valid()); in TEST()