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

Unified Diff: tests/GrDrawTargetTest.cpp

Issue 72353003: Avoid printing draw target info to stderr while running unit tests (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years, 1 month 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 | « src/gpu/gl/GrGpuGL.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/GrDrawTargetTest.cpp
diff --git a/tests/GrDrawTargetTest.cpp b/tests/GrDrawTargetTest.cpp
index a82524e88c40b7bc670e5a0fbde25c3d03ea428b..f2bcdc415a629069b150f1b60001f853d3c5a21c 100644
--- a/tests/GrDrawTargetTest.cpp
+++ b/tests/GrDrawTargetTest.cpp
@@ -16,7 +16,8 @@
static void test_print(skiatest::Reporter*, const GrDrawTargetCaps* caps) {
// This used to assert.
- caps->print();
+ SkString result = caps->dump();
+ SkASSERT(!result.isEmpty());
caryclark 2013/11/14 12:52:16 For now, the only change necessary is: // Disable
}
static void TestGrDrawTarget(skiatest::Reporter* reporter, GrContextFactory* factory) {
« no previous file with comments | « src/gpu/gl/GrGpuGL.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698