Home | History | Annotate | Download | only in tests

Lines Matching refs:Reporter

13 static void test_bitmap(skiatest::Reporter* reporter) {
22 REPORTER_ASSERT(reporter, shader);
23 REPORTER_ASSERT(reporter, !shader->isOpaque());
31 REPORTER_ASSERT(reporter, shader);
32 REPORTER_ASSERT(reporter, !shader->isOpaque());
38 REPORTER_ASSERT(reporter, shader);
39 REPORTER_ASSERT(reporter, shader->isOpaque());
45 REPORTER_ASSERT(reporter, shader);
46 REPORTER_ASSERT(reporter, !shader->isOpaque());
49 static void test_gradient(skiatest::Reporter* reporter) {
62 REPORTER_ASSERT(reporter, grad);
63 REPORTER_ASSERT(reporter, grad->isOpaque());
69 REPORTER_ASSERT(reporter, grad);
70 REPORTER_ASSERT(reporter, !grad->isOpaque());
76 REPORTER_ASSERT(reporter, grad);
77 REPORTER_ASSERT(reporter, !grad->isOpaque());
83 REPORTER_ASSERT(reporter, grad);
84 REPORTER_ASSERT(reporter, !grad->isOpaque());
87 static void test_color(skiatest::Reporter* reporter) {
89 REPORTER_ASSERT(reporter, !colorShader1.isOpaque());
91 REPORTER_ASSERT(reporter, colorShader2.isOpaque());
93 REPORTER_ASSERT(reporter, !colorShader3.isOpaque());
96 DEF_TEST(ShaderOpacity, reporter) {
97 test_gradient(reporter);
98 test_color(reporter);
99 test_bitmap(reporter);