Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(319)

Unified Diff: tests/SrcOverTest.cpp

Issue 1733113002: Unit Tests: eliminate stray SkDebugf()s. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/SerializationTest.cpp ('k') | tests/StreamTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/SrcOverTest.cpp
diff --git a/tests/SrcOverTest.cpp b/tests/SrcOverTest.cpp
index be647104047af752b7e9415840530eab39f61751..7789fbdd50ea44f9461e0e1d34bb2be32edee9b9 100644
--- a/tests/SrcOverTest.cpp
+++ b/tests/SrcOverTest.cpp
@@ -42,8 +42,8 @@ DEF_TEST(SrcOver, reporter) {
opaqueCounter2 += (result2 == 0xFF);
}
#if 0
- SkDebugf("---- opaque test: [%d %d %d]\n",
- opaqueCounter0, opaqueCounter1, opaqueCounter2);
+ INFOF(reporter, "---- opaque test: [%d %d %d]\n",
+ opaqueCounter0, opaqueCounter1, opaqueCounter2);
#endif
// we acknowledge that technique0 does not always return opaque
REPORTER_ASSERT(reporter, opaqueCounter0 == 256);
@@ -67,8 +67,8 @@ DEF_TEST(SrcOver, reporter) {
#if 0
// this shows where r1 (faster) differs from r2 (more exact)
if (r1 != r2) {
- SkDebugf("--- dst=%d i=%d r1=%d r2=%d exact=%g\n",
- dst, i, r1, r2, i + dst - dst*i/255.0f);
+ INFOF(reporter, "--- dst=%d i=%d r1=%d r2=%d exact=%g\n",
+ dst, i, r1, r2, i + dst - dst*i/255.0f);
}
#endif
}
« no previous file with comments | « tests/SerializationTest.cpp ('k') | tests/StreamTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698