Lines Matching refs:Reporter
18 static void check_isabitmap(skiatest::Reporter* reporter, SkShader* shader,
27 REPORTER_ASSERT(reporter, shader->isABitmap(&bm, &localM, tileModes));
28 REPORTER_ASSERT(reporter, bm.width() == expectedW);
29 REPORTER_ASSERT(reporter, bm.height() == expectedH);
30 REPORTER_ASSERT(reporter, localM == expectedM);
31 REPORTER_ASSERT(reporter, tileModes[0] == expectedX);
32 REPORTER_ASSERT(reporter, tileModes[1] == expectedY);
40 REPORTER_ASSERT(reporter, image);
41 REPORTER_ASSERT(reporter, image->width() == expectedW);
42 REPORTER_ASSERT(reporter, image->height() == expectedH);
43 REPORTER_ASSERT(reporter, localM == expectedM);
44 REPORTER_ASSERT(reporter, tileModes[0] == expectedX);
45 REPORTER_ASSERT(reporter, tileModes[1] == expectedY);
48 DEF_TEST(Shader_isABitmap, reporter) {
61 check_isabitmap(reporter, shader0.get(), W, H, tmx, tmy, localM);
62 check_isabitmap(reporter, shader1.get(), W, H, tmx, tmy, localM);
66 DEF_TEST(ComposeShaderSingle, reporter) {