aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/PDFJpegEmbedTest.cpp
diff options
context:
space:
mode:
authorGravatar halcanary <halcanary@google.com>2016-02-24 17:59:16 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2016-02-24 17:59:16 -0800
commit7d57124a2a9ed7b271568fb75b3cfd949fdb313a (patch)
tree34a0d37411771ccceb3dc4537a19c8360e1f5cfb /tests/PDFJpegEmbedTest.cpp
parent8e9f5e39d774198a5a5d9345bc9f863e855c593b (diff)
Unit Tests: eliminate stray SkDebugf()s.
Diffstat (limited to 'tests/PDFJpegEmbedTest.cpp')
-rw-r--r--tests/PDFJpegEmbedTest.cpp12
1 files changed, 5 insertions, 7 deletions
diff --git a/tests/PDFJpegEmbedTest.cpp b/tests/PDFJpegEmbedTest.cpp
index 5185eb7bd4..9d83fe6757 100644
--- a/tests/PDFJpegEmbedTest.cpp
+++ b/tests/PDFJpegEmbedTest.cpp
@@ -42,9 +42,9 @@ static SkData* load_resource(
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 @@ DEF_TEST(JpegIdentification, r) {
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());
}
}