Lines Matching full:reporter
230 SkDebugf("\nstatic void %s(skiatest::Reporter* reporter, const char* filename) {\n", functionName);
245 SkDebugf(" testPathOp(reporter, %s, %s, %s, filename);\n", pathOne, pathTwo, gOpStrs[op]);
393 static int comparePaths(skiatest::Reporter* reporter, const char* filename, const SkPath& one,
402 REPORTER_ASSERT(reporter, errors2x2 <= MAX_ERRORS || !gComparePathsAssert);
419 SkDebugf("static void %s(skiatest::Reporter* reporter, const char* filename) {\n", testName);
425 SkDebugf(" testPathOp(reporter, path, pathB, %s, filename);\n", opStrs[shapeOp]);
436 static int comparePaths(skiatest::Reporter* reporter, const char* testName, const SkPath& one,
453 REPORTER_ASSERT(reporter, 0);
462 // Default values for when reporter->verbose() is false.
494 outFile.writeText("(skiatest::Reporter* reporter) {\n SkPath path");
550 const char testFunction[] = "testSimplify(reporter, path);";
559 bool testSimplify(skiatest::Reporter* reporter, const SkPath& path, const char* filename) {
566 REPORTER_ASSERT(reporter, 0);
570 int result = comparePaths(reporter, filename, path, out, bitmap);
572 REPORTER_ASSERT(reporter, 0);
574 reporter->bumpTestCount();
601 static bool innerPathOp(skiatest::Reporter* reporter, const SkPath& a, const SkPath& b,
609 REPORTER_ASSERT(reporter, 0);
612 if (threaded && !reporter->verbose()) {
639 int result = comparePaths(reporter, testName, pathOut, scaledPathOut, out, scaledOut, bitmap,
642 REPORTER_ASSERT(reporter, 0);
644 reporter->bumpTestCount();
648 bool testPathOp(skiatest::Reporter* reporter, const SkPath& a, const SkPath& b,
650 return innerPathOp(reporter, a, b, shapeOp, testName, false);
653 bool testPathFailOp(skiatest::Reporter* reporter, const SkPath& a, const SkPath& b,
661 REPORTER_ASSERT(reporter, 0);
667 bool testThreadedPathOp(skiatest::Reporter* reporter, const SkPath& a, const SkPath& b,
669 return innerPathOp(reporter, a, b, shapeOp, testName, true);
674 int initializeTests(skiatest::Reporter* reporter, const char* test) {
679 if (reporter->verbose()) {
698 return reporter->allowThreaded() ? SkThreadPool::kThreadPerCore : 1;
721 void RunTestSet(skiatest::Reporter* reporter, TestDesc tests[], size_t count,
722 void (*firstTest)(skiatest::Reporter* , const char* filename),
723 void (*stopTest)(skiatest::Reporter* , const char* filename), bool reverse) {
734 (*tests[index].fun)(reporter, tests[index].str);
747 (*tests[index].fun)(reporter, tests[index].str);