diff options
Diffstat (limited to 'dm/DMJsonWriter.h')
-rw-r--r-- | dm/DMJsonWriter.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/dm/DMJsonWriter.h b/dm/DMJsonWriter.h index c358fdd923..66ce530624 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(); |