Unit Tests: eliminate stray SkDebugf()s.
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1733113002
Review URL: https://codereview.chromium.org/1733113002
diff --git a/tests/PDFJpegEmbedTest.cpp b/tests/PDFJpegEmbedTest.cpp
index 5185eb7..9d83fe6 100644
--- a/tests/PDFJpegEmbedTest.cpp
+++ b/tests/PDFJpegEmbedTest.cpp
@@ -42,9 +42,9 @@
skiatest::Reporter* r, const char* test, const char* filename) {
SkString path(GetResourcePath(filename));
SkData* data = SkData::NewFromFileName(path.c_str());
- if (!data && r->verbose()) {
- SkDebugf("\n%s: Resource '%s' can not be found.\n",
- test, filename);
+ if (!data) {
+ INFOF(r, "\n%s: Resource '%s' can not be found.\n",
+ test, filename);
}
return data; // May return nullptr.
}
@@ -143,9 +143,7 @@
ERRORF(r, "%s failed jfif type test", kTests[i].path);
continue;
}
- if (r->verbose()) {
- SkDebugf("\nJpegIdentification: %s [%d x %d]\n", kTests[i].path,
- info.fSize.width(), info.fSize.height());
- }
+ INFOF(r, "\nJpegIdentification: %s [%d x %d]\n", kTests[i].path,
+ info.fSize.width(), info.fSize.height());
}
}