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

Unified Diff: tests/skia_test.cpp

Issue 694703005: When running DM, write test failures to json. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Use "" instead of NULL Created 6 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 | « tests/Test.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/skia_test.cpp
diff --git a/tests/skia_test.cpp b/tests/skia_test.cpp
index 172328ee4abf1d44bd9414e9917b71c86fb6edf7..3d76c3a09515bddf6a0e0b9625cb314cdb203ae7 100644
--- a/tests/skia_test.cpp
+++ b/tests/skia_test.cpp
@@ -58,7 +58,9 @@ public:
virtual bool verbose() const SK_OVERRIDE { return FLAGS_veryVerbose; }
protected:
- virtual void onReportFailed(const SkString& desc) SK_OVERRIDE {
+ virtual void onReportFailed(const skiatest::Failure& failure) SK_OVERRIDE {
+ SkString desc;
+ failure.getFailureString(&desc);
SkDebugf("\nFAILED: %s", desc.c_str());
}
« no previous file with comments | « tests/Test.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698