Lines Matching refs:Reporter
22 static void test_flatten(skiatest::Reporter* reporter, const SkImageInfo& info) {
37 REPORTER_ASSERT(reporter, rb.offset() == wb.bytesWritten());
39 REPORTER_ASSERT(reporter, info == info2);
42 DEF_TEST(ImageInfo_flattening, reporter) {
70 test_flatten(reporter, info);
76 static void check_isopaque(skiatest::Reporter* reporter, const sk_sp<SkSurface>& surface,
79 REPORTER_ASSERT(reporter, image->isOpaque() == expectedOpaque);
82 DEF_TEST(ImageIsOpaqueTest, reporter) {
85 check_isopaque(reporter, surfaceTransparent, false);
89 check_isopaque(reporter, surfaceOpaque, true);
94 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(ImageIsOpaqueTest_Gpu, reporter, ctxInfo) {
98 check_isopaque(reporter, surfaceTransparent, false);
103 check_isopaque(reporter, surfaceOpaque, true);
118 DEF_TEST(Image_isAlphaOnly, reporter) {
134 REPORTER_ASSERT(reporter, image->isAlphaOnly() == false);
137 REPORTER_ASSERT(reporter, SkImage::MakeRasterCopy({