diff options
author | halcanary <halcanary@google.com> | 2016-02-24 17:59:16 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-02-24 17:59:16 -0800 |
commit | 7d57124a2a9ed7b271568fb75b3cfd949fdb313a (patch) | |
tree | 34a0d37411771ccceb3dc4537a19c8360e1f5cfb /tests/PDFJpegEmbedTest.cpp | |
parent | 8e9f5e39d774198a5a5d9345bc9f863e855c593b (diff) |
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
Diffstat (limited to 'tests/PDFJpegEmbedTest.cpp')
-rw-r--r-- | tests/PDFJpegEmbedTest.cpp | 12 |
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()); } } |