Lines Matching refs:outFile
455 static void writeTestName(const char* nameSuffix, SkMemoryWStream& outFile) {
456 outFile.writeText(testName);
457 outFile.writeDecAsText(testNumber);
459 outFile.writeText(nameSuffix);
464 const char* testFunction, bool twoPaths, SkMemoryWStream& outFile) {
465 outFile.writeText("<div id=\"");
466 writeTestName(nameSuffix, outFile);
467 outFile.writeText("\">\n");
469 outFile.writeText(pathPrefix);
471 outFile.writeText(pathStr);
472 outFile.writeText("</div>\n\n");
474 outFile.writeText(marker);
475 outFile.writeText(" ");
476 writeTestName(nameSuffix, outFile);
477 outFile.writeText(",\n\n\n");
479 outFile.writeText("static void ");
480 writeTestName(nameSuffix, outFile);
481 outFile.writeText("() {\n SkPath path");
483 outFile.writeText(", pathB");
485 outFile.writeText(";\n");
487 outFile.writeText(pathPrefix);
489 outFile.writeText(pathStr);
490 outFile.writeText(" ");
491 outFile.writeText(testFunction);
492 outFile.writeText("\n}\n\n");
493 outFile.writeText("static void (*firstTest)() = ");
494 writeTestName(nameSuffix, outFile);
495 outFile.writeText(";\n\n");
497 outFile.writeText("static struct {\n");
498 outFile.writeText(" void (*fun)();\n");
499 outFile.writeText(" const char* str;\n");
500 outFile.writeText("} tests[] = {\n");
501 outFile.writeText(" TEST(");
502 writeTestName(nameSuffix, outFile);
503 outFile.writeText("),\n");
504 outFile.flush();