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

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

Issue 2342023005: Outputting chart json for disabled tests. (Closed)
Patch Set: Setting arg explicitly 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..89dcad1be4719e7bd33fddcdfab48d22f5c5a422 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.
+ """
+ pass
+
@property
def output_stream(self):
return self._output_stream

Powered by Google App Engine
This is Rietveld 408576698