Lines Matching full:outfile
366 static void writeTestName(const char* nameSuffix, SkMemoryWStream& outFile) {
367 outFile.writeText(testName);
368 outFile.writeDecAsText(testNumber);
371 outFile.writeText(nameSuffix);
376 const char* testFunction, bool twoPaths, SkMemoryWStream& outFile) {
378 outFile.writeText("\n<div id=\"");
379 writeTestName(nameSuffix, outFile);
380 outFile.writeText("\">\n");
382 outFile.writeText(pathPrefix);
384 outFile.writeText(pathStr);
385 outFile.writeText("</div>\n\n");
387 outFile.writeText(marker);
388 outFile.writeText(" ");
389 writeTestName(nameSuffix, outFile);
390 outFile.writeText(",\n\n\n");
392 outFile.writeText("static void ");
393 writeTestName(nameSuffix, outFile);
394 outFile.writeText("(skiatest::Reporter* reporter) {\n SkPath path");
396 outFile.writeText(", pathB");
398 outFile.writeText(";\n");
400 outFile.writeText(pathPrefix);
402 outFile.writeText(pathStr);
403 outFile.writeText(" ");
404 outFile.writeText(testFunction);
405 outFile.writeText("\n}\n\n");
407 outFile.writeText("static void (*firstTest)() = ");
408 writeTestName(nameSuffix, outFile);
409 outFile.writeText(";\n\n");
411 outFile.writeText("static struct {\n");
412 outFile.writeText(" void (*fun)();\n");
413 outFile.writeText(" const char* str;\n");
414 outFile.writeText("} tests[] = {\n");
415 outFile.writeText(" TEST(");
416 writeTestName(nameSuffix, outFile);
417 outFile.writeText("),\n");
419 outFile.flush();