Home | History | Annotate | Download | only in tests

Lines Matching refs:Reporter

184 static bool check_write(skiatest::Reporter* reporter, SkCanvas* canvas, const SkBitmap& bitmap,
227 ERRORF(reporter, "Expected canvas pixel at %d, %d to be 0x%08x, got 0x%08x. "
234 ERRORF(reporter, "Canvas pixel outside write rect at %d, %d changed."
244 REPORTER_ASSERT(reporter, check = (pad[px] == static_cast<char>(DEV_PAD)));
296 DEF_TEST(WritePixelsSurfaceGenID, reporter) {
302 REPORTER_ASSERT(reporter, genID1 != genID2);
305 static void test_write_pixels(skiatest::Reporter* reporter, SkSurface* surface) {
373 REPORTER_ASSERT(reporter, setup_bitmap(&bmp, ct, at, rect.width(),
381 REPORTER_ASSERT(reporter, check_write(reporter, &canvas, bmp,
389 REPORTER_ASSERT(reporter, intersects == (idBefore != idAfter));
394 DEF_TEST(WritePixels, reporter) {
406 test_write_pixels(reporter, surface.get());
410 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(WritePixels_Gpu, reporter, ctxInfo) {
416 test_write_pixels(reporter, surface.get());