Home | History | Annotate | Download | only in tests

Lines Matching refs:Reporter

220     SkDebugf("\nstatic void %s(skiatest::Reporter* reporter) {\n", functionName);
235 SkDebugf(" testPathOp(reporter, %s, %s, %s);\n", pathOne, pathTwo, gOpStrs[op]);
394 static int comparePaths(skiatest::Reporter* reporter, const SkPath& one, const SkPath& two,
409 REPORTER_ASSERT(reporter, 0);
418 SkDebugf("static void xOp#%s(skiatest::Reporter* reporter) {\n", opSuffixes[shapeOp]);
422 SkDebugf(" testPathOp(reporter, path, pathB, %s);\n", opStrs[shapeOp]);
427 static int comparePaths(skiatest::Reporter* reporter, const SkPath& one, const SkPath& scaledOne,
446 REPORTER_ASSERT(reporter, 0);
451 // Default values for when reporter->verbose() is false.
542 bool testSimplify(skiatest::Reporter* reporter, const SkPath& path) {
549 REPORTER_ASSERT(reporter, 0);
553 int result = comparePaths(reporter, path, out, bitmap);
555 REPORTER_ASSERT(reporter, 0);
557 reporter->bumpTestCount();
571 static bool innerPathOp(skiatest::Reporter* reporter, const SkPath& a, const SkPath& b,
586 REPORTER_ASSERT(reporter, 0);
589 if (threaded && !reporter->verbose()) {
616 int result = comparePaths(reporter, pathOut, scaledPathOut, out, scaledOut, bitmap, a, b,
619 REPORTER_ASSERT(reporter, 0);
621 reporter->bumpTestCount();
625 bool testPathOp(skiatest::Reporter* reporter, const SkPath& a, const SkPath& b,
627 return innerPathOp(reporter, a, b, shapeOp, testName, false);
630 bool testThreadedPathOp(skiatest::Reporter* reporter, const SkPath& a, const SkPath& b,
632 return innerPathOp(reporter, a, b, shapeOp, testName, true);
637 int initializeTests(skiatest::Reporter* reporter, const char* test) {
646 if (reporter->verbose()) {
665 return reporter->allowThreaded() ? SkThreadPool::kThreadPerCore : 1;
688 void RunTestSet(skiatest::Reporter* reporter, TestDesc tests[], size_t count,
689 void (*firstTest)(skiatest::Reporter* ),
690 void (*stopTest)(skiatest::Reporter* ), bool reverse) {
701 (*tests[index].fun)(reporter);
711 (*tests[index].fun)(reporter);