Home | History | Annotate | Download | only in tests

Lines Matching refs:Reporter

14 static void simple_test(skiatest::Reporter* reporter) {
16 REPORTER_ASSERT(reporter, 0 == heap.count());
19 REPORTER_ASSERT(reporter, 1 == heap.count());
20 REPORTER_ASSERT(reporter, 0 == heap.peek());
22 REPORTER_ASSERT(reporter, 0 == heap.count());
26 REPORTER_ASSERT(reporter, 2 == heap.count());
27 REPORTER_ASSERT(reporter, 0 == heap.peek());
29 REPORTER_ASSERT(reporter, 1 == heap.count());
30 REPORTER_ASSERT(reporter, 1 == heap.peek());
32 REPORTER_ASSERT(reporter, 0 == heap.count());
37 REPORTER_ASSERT(reporter, 3 == heap.count());
38 REPORTER_ASSERT(reporter, 0 == heap.peek());
40 REPORTER_ASSERT(reporter, 2 == heap.count());
41 REPORTER_ASSERT(reporter, 1 == heap.peek());
43 REPORTER_ASSERT(reporter, 1 == heap.count());
44 REPORTER_ASSERT(reporter, 2 == heap.peek());
46 REPORTER_ASSERT(reporter, 0 == heap.count());
52 REPORTER_ASSERT(reporter, 4 == heap.count());
53 REPORTER_ASSERT(reporter, 0 == heap.peek());
55 REPORTER_ASSERT(reporter, 3 == heap.count());
56 REPORTER_ASSERT(reporter, 1 == heap.peek());
58 REPORTER_ASSERT(reporter, 2 == heap.count());
59 REPORTER_ASSERT(reporter, 2 == heap.peek());
61 REPORTER_ASSERT(reporter, 1 == heap.count());
62 REPORTER_ASSERT(reporter, 3 == heap.peek());
64 REPORTER_ASSERT(reporter, 0 == heap.count());
81 void random_test(skiatest::Reporter* reporter) {
106 REPORTER_ASSERT(reporter, pq.count() == array.count());
109 REPORTER_ASSERT(reporter, -1 != array[j].fIndex);
117 REPORTER_ASSERT(reporter, kSentinel == array[k] ||
125 REPORTER_ASSERT(reporter, array.begin() <= top && top < array.end());
153 DEF_TEST(TDPQueueTest, reporter) {
154 simple_test(reporter);
155 random_test(reporter);