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

Unified Diff: tests/StreamTest.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/SrcOverTest.cpp ('k') | tests/Test.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/StreamTest.cpp
diff --git a/tests/StreamTest.cpp b/tests/StreamTest.cpp
index 2a60a7b10f921dd6988e75cea280ff1a61ab06fa..a3df8d71bb4dde6ab18d453b94be83dc35032471 100644
--- a/tests/StreamTest.cpp
+++ b/tests/StreamTest.cpp
@@ -164,9 +164,8 @@ static void TestPackedUInt(skiatest::Reporter* reporter) {
for (i = 0; i < SK_ARRAY_COUNT(sizes); ++i) {
size_t n = rstream.readPackedUInt();
if (sizes[i] != n) {
- SkDebugf("-- %d: sizes:%x n:%x\n", i, sizes[i], n);
+ ERRORF(reporter, "sizes:%x != n:%x\n", i, sizes[i], n);
}
- REPORTER_ASSERT(reporter, sizes[i] == n);
}
}
« no previous file with comments | « tests/SrcOverTest.cpp ('k') | tests/Test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698