Lines Matching defs:reporter
164 static bool check_read(skiatest::Reporter* reporter, const SkBitmap& bitmap, int x, int y,
193 ERRORF(reporter,
202 ERRORF(reporter, "Expected clipped out area of readback to be unchanged. "
230 ERRORF(reporter,
240 ERRORF(reporter, "Expected clipped out area of readback to be unchanged. "
325 static void test_readpixels(skiatest::Reporter* reporter, const sk_sp<SkSurface>& surface,
351 REPORTER_ASSERT(reporter, expectSuccess == success,
356 REPORTER_ASSERT(reporter, idBefore == idAfter);
359 check_read(reporter, bmp, srcRect.fLeft, srcRect.fTop, success,
364 REPORTER_ASSERT(reporter, bmp.isNull());
371 DEF_TEST(ReadPixels, reporter) {
374 test_readpixels(reporter, surface, info);
474 DEF_TEST(ReadPixels_ValidConversion, reporter) {
504 test_conversion(reporter,
515 DEF_TEST(ReadPixels_InvalidRowBytes, reporter) {
527 REPORTER_ASSERT(reporter, !surf->readPixels(dstII, storage.get(), badRowBytes, 0, 0));