Home | History | Annotate | Download | only in tests

Lines Matching refs:Reporter

60 static void test_drawBitmap(skiatest::Reporter* reporter) {
73 REPORTER_ASSERT(reporter, 0 == *dst.getAddr32(5, 5));
77 REPORTER_ASSERT(reporter, 0xFFFFFFFF == *dst.getAddr32(5, 5));
81 REPORTER_ASSERT(reporter, 0 == *dst.getAddr32(5, 5));
85 REPORTER_ASSERT(reporter, 0 == *dst.getAddr32(5, 5));
93 REPORTER_ASSERT(reporter, 0xFFFFFFFF == *dst.getAddr32(5, 5));
96 static void test_layers(skiatest::Reporter* reporter) {
100 REPORTER_ASSERT(reporter, false == canvas.quickReject(r));
103 REPORTER_ASSERT(reporter, true == canvas.quickReject(r));
108 REPORTER_ASSERT(reporter, true == canvas.quickReject(SkRect::MakeWH(10, 10)));
109 REPORTER_ASSERT(reporter, false == canvas.quickReject(SkRect::MakeWH(60, 60)));
112 static void test_quick_reject(skiatest::Reporter* reporter) {
125 REPORTER_ASSERT(reporter, false == canvas.quickReject(r0));
126 REPORTER_ASSERT(reporter, true == canvas.quickReject(r1));
127 REPORTER_ASSERT(reporter, true == canvas.quickReject(r2));
128 REPORTER_ASSERT(reporter, false == canvas.quickReject(r3));
129 REPORTER_ASSERT(reporter, false == canvas.quickReject(r4));
130 REPORTER_ASSERT(reporter, false == canvas.quickReject(r5));
131 REPORTER_ASSERT(reporter, true == canvas.quickReject(r6));
132 REPORTER_ASSERT(reporter, true == canvas.quickReject(r7));
133 REPORTER_ASSERT(reporter, true == canvas.quickReject(r8));
134 REPORTER_ASSERT(reporter, true == canvas.quickReject(r9));
135 REPORTER_ASSERT(reporter, true == canvas.quickReject(r10));
144 REPORTER_ASSERT(reporter, false == canvas.quickReject(r11));
145 REPORTER_ASSERT(reporter, true == canvas.quickReject(r12));
146 REPORTER_ASSERT(reporter, true == canvas.quickReject(r13));
149 DEF_TEST(QuickReject, reporter) {
150 test_drawBitmap(reporter);
151 test_layers(reporter);
152 test_quick_reject(reporter);
158 DEF_TEST(QuickReject_MatrixState, reporter) {
168 REPORTER_ASSERT(reporter, filter);