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

Unified Diff: dm/DMJsonWriter.h

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 | « no previous file | dm/DMJsonWriter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dm/DMJsonWriter.h
diff --git a/dm/DMJsonWriter.h b/dm/DMJsonWriter.h
index c358fdd9237285779294489964ade172c11305d1..66ce530624b36841b833fa9d999aea8768715922 100644
--- a/dm/DMJsonWriter.h
+++ b/dm/DMJsonWriter.h
@@ -9,6 +9,7 @@
#define DMJsonWriter_DEFINED
#include "SkString.h"
+#include "Test.h"
namespace DM {
@@ -35,6 +36,11 @@ public:
static void AddBitmapResult(const BitmapResult&);
/**
+ * Add a Failure from a Test.
+ */
+ static void AddTestFailure(const skiatest::Failure&);
+
+ /**
* Write all collected results to the file FLAGS_writePath[0]/dm.json.
*/
static void DumpJson();
« no previous file with comments | « no previous file | dm/DMJsonWriter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698