Home | History | Annotate | Download | only in tests

Lines Matching refs:Reporter

16 static void test(skiatest::Reporter* reporter, const SkDCubic* cubics, const char* name,
28 REPORTER_ASSERT(reporter, quads.count() == 1);
32 static void test(skiatest::Reporter* reporter, const SkDQuad* quadTests, const char* name,
45 REPORTER_ASSERT(reporter, quads.count() <= 2);
49 static void testC(skiatest::Reporter* reporter, const SkDCubic* cubics, const char* name,
61 REPORTER_ASSERT(reporter, 0);
67 REPORTER_ASSERT(reporter, 0);
72 static void testC(skiatest::Reporter* reporter, const SkDCubic(* cubics)[2], const char* name,
84 REPORTER_ASSERT(reporter, 0);
90 REPORTER_ASSERT(reporter, 0);
96 static void CubicToQuads_Test(skiatest::Reporter* reporter) {
138 test(reporter, pointDegenerates, "pointDegenerates", firstPointDegeneratesTest,
140 testC(reporter, notPointDegenerates, "notPointDegenerates", firstNotPointDegeneratesTest,
142 test(reporter, lines, "lines", firstLinesTest, lines_count);
143 testC(reporter, notLines, "notLines", firstNotLinesTest, notLines_count);
144 testC(reporter, modEpsilonLines, "modEpsilonLines", firstModEpsilonTest, modEpsilonLines_count);
145 test(reporter, lessEpsilonLines, "lessEpsilonLines", firstLessEpsilonTest,
147 test(reporter, negEpsilonLines, "negEpsilonLines", firstNegEpsilonTest, negEpsilonLines_count);
148 test(reporter, quadraticLines, "quadraticLines", firstQuadraticLineTest, quadraticLines_count);
149 test(reporter, quadraticModEpsilonLines, "quadraticModEpsilonLines", firstQuadraticModLineTest,
151 testC(reporter, lines, "computed lines", firstComputedLinesTest, lines_count);
152 testC(reporter, tests, "computed tests", firstComputedCubicsTest, tests_count);
173 static void oneOff(skiatest::Reporter* reporter, size_t x) {
190 static void CubicsToQuadratics_OneOffTests(skiatest::Reporter* reporter) {
192 oneOff(reporter, x);
196 static void CubicsToQuadratics_OneOffTest(skiatest::Reporter* reporter) {
197 oneOff(reporter, 0);
200 static void PathOpsCubicToQuadsTest(skiatest::Reporter* reporter) {
201 CubicToQuads_Test(reporter);
202 CubicsToQuadratics_OneOffTest(reporter);
203 CubicsToQuadratics_OneOffTests(reporter);