Home | History | Annotate | Download | only in tests

Lines Matching refs:Reporter

40     OpenLibResult(skiatest::Reporter* reporter) {
43 REPORTER_ASSERT_MESSAGE(reporter, fHandle != nullptr, "Failed to open library!");
63 DEF_TEST(CanvasState_test_complex_layers, reporter) {
82 REPORTER_ASSERT(reporter, sizeof(layerAlpha) == sizeof(flags));
87 OpenLibResult openLibResult(reporter);
95 REPORTER_ASSERT(reporter, drawFn);
123 REPORTER_ASSERT(reporter, state);
128 REPORTER_ASSERT(reporter, success);
146 REPORTER_ASSERT(reporter, bitmaps[0].getSize() == bitmaps[1].getSize());
147 REPORTER_ASSERT(reporter, !memcmp(bitmaps[0].getPixels(),
157 DEF_TEST(CanvasState_test_complex_clips, reporter) {
189 REPORTER_ASSERT(reporter, sizeof(clipOps) == sizeof(flags));
195 OpenLibResult openLibResult(reporter);
203 REPORTER_ASSERT(reporter, drawFn);
226 REPORTER_ASSERT(reporter, state);
240 REPORTER_ASSERT(reporter, success);
258 REPORTER_ASSERT(reporter, bitmaps[0].getSize() == bitmaps[1].getSize());
259 REPORTER_ASSERT(reporter, !memcmp(bitmaps[0].getPixels(),
274 DEF_TEST(CanvasState_test_draw_filters, reporter) {
283 REPORTER_ASSERT(reporter, state);
285 REPORTER_ASSERT(reporter, tmpCanvas);
287 REPORTER_ASSERT(reporter, canvas.getDrawFilter());
288 REPORTER_ASSERT(reporter, nullptr == tmpCanvas->getDrawFilter());
297 DEF_TEST(CanvasState_test_soft_clips, reporter) {
308 REPORTER_ASSERT(reporter, !state);
311 DEF_TEST(CanvasState_test_saveLayer_clip, reporter) {
332 REPORTER_ASSERT(reporter, canvas.isClipRect());
333 REPORTER_ASSERT(reporter, devClip.width() == WIDTH);
334 REPORTER_ASSERT(reporter, devClip.height() == HEIGHT);
341 REPORTER_ASSERT(reporter, canvas.isClipRect());
342 REPORTER_ASSERT(reporter, devClip.width() == LAYER_WIDTH);
343 REPORTER_ASSERT(reporter, devClip.height() == LAYER_HEIGHT);