Lines Matching defs:reporter

23 static void test_strokecubic(skiatest::Reporter* reporter) {
52 static void test_strokerect(skiatest::Reporter* reporter) {
75 REPORTER_ASSERT(reporter, equal(outer, fillPath.getBounds()));
79 REPORTER_ASSERT(reporter, SkPathPriv::IsNestedFillRects(fillPath, nested) == isMiter);
83 REPORTER_ASSERT(reporter, equal(nested[0], outer));
84 REPORTER_ASSERT(reporter, equal(nested[1], inner));
89 static void test_strokerec_equality(skiatest::Reporter* reporter) {
93 REPORTER_ASSERT(reporter, s1.hasEqualEffect(s2));
97 REPORTER_ASSERT(reporter, !s1.hasEqualEffect(s2));
100 REPORTER_ASSERT(reporter, s1.hasEqualEffect(s2));
105 REPORTER_ASSERT(reporter, s1.hasEqualEffect(s2));
108 REPORTER_ASSERT(reporter, s1.hasEqualEffect(s2));
113 REPORTER_ASSERT(reporter, s1.hasEqualEffect(s2));
123 REPORTER_ASSERT(reporter, s1.hasEqualEffect(s2));
125 REPORTER_ASSERT(reporter, s1.hasEqualEffect(s2));
127 REPORTER_ASSERT(reporter, s1.hasEqualEffect(s2));
142 REPORTER_ASSERT(reporter, !s1.hasEqualEffect(s2));
145 REPORTER_ASSERT(reporter, !s1.hasEqualEffect(s2));
148 REPORTER_ASSERT(reporter, s1.hasEqualEffect(s2));
151 REPORTER_ASSERT(reporter, s1.hasEqualEffect(s2)); // Miter limit not relevant to butt caps.
153 REPORTER_ASSERT(reporter, !s1.hasEqualEffect(s2));
155 REPORTER_ASSERT(reporter, !s1.hasEqualEffect(s2));
160 REPORTER_ASSERT(reporter, s1.hasEqualEffect(s2));
165 static void test_big_stroke(skiatest::Reporter* reporter) {
182 DEF_TEST(Stroke, reporter) {
183 test_strokecubic(reporter);
184 test_strokerect(reporter);
185 test_strokerec_equality(reporter);
186 test_big_stroke(reporter);