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());
32 REPORTER_ASSERT(reporter, shader);
33 REPORTER_ASSERT(reporter, !shader->isOpaque());
40 REPORTER_ASSERT(reporter, shader);
41 REPORTER_ASSERT(reporter, shader->isOpaque());
48 REPORTER_ASSERT(reporter, shader);
49 REPORTER_ASSERT(reporter, !shader->isOpaque());
54 static void test_gradient(skiatest::Reporter* reporter)
69 REPORTER_ASSERT(reporter, grad);
70 REPORTER_ASSERT(reporter, grad->isOpaque());
77 REPORTER_ASSERT(reporter, grad);
78 REPORTER_ASSERT(reporter, !grad->isOpaque());
85 REPORTER_ASSERT(reporter, grad);
86 REPORTER_ASSERT(reporter, !grad->isOpaque());
93 REPORTER_ASSERT(reporter, grad);
94 REPORTER_ASSERT(reporter, !grad->isOpaque());
98 static void test_color(skiatest::Reporter* reporter)
101 REPORTER_ASSERT(reporter, !colorShader1.isOpaque());
103 REPORTER_ASSERT(reporter, colorShader2.isOpaque());
105 REPORTER_ASSERT(reporter, !colorShader3.isOpaque());
108 DEF_TEST(ShaderOpacity, reporter) {
109 test_gradient(reporter);
110 test_color(reporter);
111 test_bitmap(reporter);