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

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: 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
« tests/Test.h ('K') | « 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..6d72ed0761b1d79fb7c8737bd69cdfee351bb48a 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;
+ skiatest::Failure::GetFailureString(&desc, failure);
SkDebugf("\nFAILED: %s", desc.c_str());
}
« tests/Test.h ('K') | « tests/Test.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698