Home | History | Annotate | Download | only in tests

Lines Matching refs:REPORTER_ASSERT

20     REPORTER_ASSERT(reporter, a.empty());
21 REPORTER_ASSERT(reporter, a.count() == 0);
25 REPORTER_ASSERT(reporter, !a.empty());
26 REPORTER_ASSERT(reporter, a.count() == 1);
30 REPORTER_ASSERT(reporter, a.empty());
31 REPORTER_ASSERT(reporter, a.count() == 0);
35 REPORTER_ASSERT(reporter, a.push_back() = 1);
37 REPORTER_ASSERT(reporter, !a.empty());
38 REPORTER_ASSERT(reporter, a.count() == 1);
39 REPORTER_ASSERT(reporter, a[0] == 1);
44 REPORTER_ASSERT(reporter, a.count() == SK_ARRAY_COUNT(b));
45 REPORTER_ASSERT(reporter, a[2] == 2);
46 REPORTER_ASSERT(reporter, a[4] == 4);
50 REPORTER_ASSERT(reporter, a.count() == SK_ARRAY_COUNT(b) - 1);
51 REPORTER_ASSERT(reporter, a[3] == 3);
55 REPORTER_ASSERT(reporter, a.count() == SK_ARRAY_COUNT(b) - 2);
56 REPORTER_ASSERT(reporter, a[0] == 0);
57 REPORTER_ASSERT(reporter, a[1] == 3);
58 REPORTER_ASSERT(reporter, a[2] == 2);
83 REPORTER_ASSERT(reporter, b->count() == sizeA);
84 REPORTER_ASSERT(reporter, a->count() == sizeB);
87 for (auto&& x : *b) { REPORTER_ASSERT(reporter, x == curr++); }
88 for (auto&& x : *a) { REPORTER_ASSERT(reporter, x == curr++); }
92 for (auto&& x : *a) { REPORTER_ASSERT(reporter, x == curr++); }
127 REPORTER_ASSERT(reporter, array.back()->unique());
133 REPORTER_ASSERT(reporter, !ref->unique());
135 REPORTER_ASSERT(reporter, !ref->unique());
139 REPORTER_ASSERT(reporter, ref->unique());
149 REPORTER_ASSERT(reporter, !copy[0]->unique()); \
154 REPORTER_ASSERT(reporter, move[0]->unique()); \
156 REPORTER_ASSERT(reporter, src.empty()); \
162 REPORTER_ASSERT(reporter, !copy[0]->unique()); \
168 REPORTER_ASSERT(reporter, move[0]->unique()); \
170 REPORTER_ASSERT(reporter, src.empty()); \
230 REPORTER_ASSERT(reporter, a.allocCntForTest() == 0);
234 REPORTER_ASSERT(reporter, a.allocCntForTest() == 10);
238 REPORTER_ASSERT(reporter, a.allocCntForTest() >= 1);
243 REPORTER_ASSERT(reporter, b.allocCntForTest() == 0);
249 REPORTER_ASSERT(reporter, b.allocCntForTest() == 0);
254 REPORTER_ASSERT(reporter, b.allocCntForTest() == 0);
259 REPORTER_ASSERT(reporter, b.allocCntForTest() == 0);
264 REPORTER_ASSERT(reporter, b.allocCntForTest() == 0);
269 REPORTER_ASSERT(reporter, b.allocCntForTest() == 0);
275 REPORTER_ASSERT(reporter, b.allocCntForTest() == 0);
281 REPORTER_ASSERT(reporter, b.allocCntForTest() == 0);
288 REPORTER_ASSERT(reporter, !a.empty());
289 REPORTER_ASSERT(reporter, a.count() == 1);
290 REPORTER_ASSERT(reporter, a[0] == 1);
293 REPORTER_ASSERT(reporter, !a.empty());
294 REPORTER_ASSERT(reporter, a.count() == 1);
295 REPORTER_ASSERT(reporter, a[0] == 1);
301 REPORTER_ASSERT(reporter, array->allocCntForTest() >= reserveCount);
303 REPORTER_ASSERT(reporter, array->allocCntForTest() >= reserveCount);
305 REPORTER_ASSERT(reporter, array->allocCntForTest() >= reserveCount);
313 REPORTER_ASSERT(reporter, array->allocCntForTest() >= reserveCount);