Lines Matching refs:Reporter
14 static void test_bitmap(skiatest::Reporter* reporter) {
21 REPORTER_ASSERT(reporter, shader);
22 REPORTER_ASSERT(reporter, !shader->isOpaque());
31 REPORTER_ASSERT(reporter, shader);
32 REPORTER_ASSERT(reporter, !shader->isOpaque());
39 REPORTER_ASSERT(reporter, shader);
40 REPORTER_ASSERT(reporter, shader->isOpaque());
47 REPORTER_ASSERT(reporter, shader);
48 REPORTER_ASSERT(reporter, !shader->isOpaque());
53 static void test_gradient(skiatest::Reporter* reporter)
68 REPORTER_ASSERT(reporter, grad);
69 REPORTER_ASSERT(reporter, grad->isOpaque());
76 REPORTER_ASSERT(reporter, grad);
77 REPORTER_ASSERT(reporter, !grad->isOpaque());
84 REPORTER_ASSERT(reporter, grad);
85 REPORTER_ASSERT(reporter, !grad->isOpaque());
92 REPORTER_ASSERT(reporter, grad);
93 REPORTER_ASSERT(reporter, !grad->isOpaque());
97 static void test_color(skiatest::Reporter* reporter)
100 REPORTER_ASSERT(reporter, !colorShader1.isOpaque());
102 REPORTER_ASSERT(reporter, colorShader2.isOpaque());
104 REPORTER_ASSERT(reporter, !colorShader3.isOpaque());
109 REPORTER_ASSERT(reporter, colorShader4.isOpaque());
112 DEF_TEST(ShaderOpacity, reporter) {
113 test_gradient(reporter);
114 test_color(reporter);
115 test_bitmap(reporter);