Home | History | Annotate | Download | only in tests

Lines Matching refs:Reporter

21 static void test_flatten(skiatest::Reporter* reporter, const SkImageInfo& info) {
36 REPORTER_ASSERT(reporter, rb.offset() == wb.bytesWritten());
38 REPORTER_ASSERT(reporter, info == info2);
41 DEF_TEST(ImageInfo_flattening, reporter) {
69 test_flatten(reporter, info);
75 static void check_isopaque(skiatest::Reporter* reporter, const sk_sp<SkSurface>& surface,
78 REPORTER_ASSERT(reporter, image->isOpaque() == expectedOpaque);
81 DEF_TEST(ImageIsOpaqueTest, reporter) {
84 check_isopaque(reporter, surfaceTransparent, false);
88 check_isopaque(reporter, surfaceOpaque, true);
93 DEF_GPUTEST_FOR_RENDERING_CONTEXTS(ImageIsOpaqueTest_Gpu, reporter, ctxInfo) {
97 check_isopaque(reporter, surfaceTransparent, false);
102 check_isopaque(reporter, surfaceOpaque, true);
117 DEF_TEST(Image_isAlphaOnly, reporter) {
133 REPORTER_ASSERT(reporter, image->isAlphaOnly() == false);
136 REPORTER_ASSERT(reporter, SkImage::MakeRasterCopy({