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

Unified Diff: telemetry/telemetry/internal/results/output_formatter.py

Issue 2342023005: Outputting chart json for disabled tests. (Closed)
Patch Set: Chaing the right json_output_formatter Created 4 years, 3 months 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
Index: telemetry/telemetry/internal/results/output_formatter.py
diff --git a/telemetry/telemetry/internal/results/output_formatter.py b/telemetry/telemetry/internal/results/output_formatter.py
index 644b01664c8e8ae935b6f18867a5acb76fa0d500..5f130197f32f1ef8bebb0e6782c8e7d104d22142 100644
--- a/telemetry/telemetry/internal/results/output_formatter.py
+++ b/telemetry/telemetry/internal/results/output_formatter.py
@@ -33,6 +33,13 @@ class OutputFormatter(object):
"""
raise NotImplementedError()
+ def FormatDisabled(self):
+ """Formats disabled results into the output stream.
+
+ This will be called once when a benchmark is run but disabled.
+ """
+ raise NotImplementedError()
perezju 2016/09/26 14:42:35 nit: I would let this one be "pass" as the default
eyaich1 2016/09/26 15:26:54 Done.
+
@property
def output_stream(self):
return self._output_stream

Powered by Google App Engine
This is Rietveld 408576698