Home | History | Annotate | Download | only in tests

Lines Matching refs:Reporter

38     OpenLibResult(skiatest::Reporter* reporter) {
41 REPORTER_ASSERT_MESSAGE(reporter, fHandle != nullptr, "Failed to open library!");
61 DEF_TEST(CanvasState_test_complex_layers, reporter) {
80 REPORTER_ASSERT(reporter, sizeof(layerAlpha) == sizeof(flags));
85 OpenLibResult openLibResult(reporter);
93 REPORTER_ASSERT(reporter, drawFn);
121 REPORTER_ASSERT(reporter, state);
126 REPORTER_ASSERT(reporter, success);
144 REPORTER_ASSERT(reporter, bitmaps[0].getSize() == bitmaps[1].getSize());
145 REPORTER_ASSERT(reporter, !memcmp(bitmaps[0].getPixels(),
155 DEF_TEST(CanvasState_test_complex_clips, reporter) {
187 REPORTER_ASSERT(reporter, sizeof(clipOps) == sizeof(flags));
193 OpenLibResult openLibResult(reporter);
201 REPORTER_ASSERT(reporter, drawFn);
224 REPORTER_ASSERT(reporter, state);
238 REPORTER_ASSERT(reporter, success);
256 REPORTER_ASSERT(reporter, bitmaps[0].getSize() == bitmaps[1].getSize());
257 REPORTER_ASSERT(reporter, !memcmp(bitmaps[0].getPixels(),
272 DEF_TEST(CanvasState_test_draw_filters, reporter) {
281 REPORTER_ASSERT(reporter, state);
283 REPORTER_ASSERT(reporter, tmpCanvas);
285 REPORTER_ASSERT(reporter, canvas.getDrawFilter());
286 REPORTER_ASSERT(reporter, nullptr == tmpCanvas->getDrawFilter());
299 DEF_TEST(CanvasState_test_soft_clips, reporter) {
312 REPORTER_ASSERT(reporter, !state);
314 REPORTER_ASSERT(reporter, kInvalidOperation_SkError == SkGetLastError());
320 DEF_TEST(CanvasState_test_saveLayer_clip, reporter) {
344 REPORTER_ASSERT(reporter, clipStackBounds.isEmpty());
346 REPORTER_ASSERT(reporter, clipStackBounds.width() == WIDTH);
347 REPORTER_ASSERT(reporter, clipStackBounds.height() == HEIGHT);
355 REPORTER_ASSERT(reporter, clipStackBounds.width() == LAYER_WIDTH);
356 REPORTER_ASSERT(reporter, clipStackBounds.height() == LAYER_HEIGHT);