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

Unified Diff: tools/telemetry/telemetry/unittest/output_formatter.py

Issue 382433002: [telemetry] OutputFormatter for unit tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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: tools/telemetry/telemetry/unittest/output_formatter.py
diff --git a/tools/telemetry/telemetry/unittest/output_formatter.py b/tools/telemetry/telemetry/unittest/output_formatter.py
new file mode 100644
index 0000000000000000000000000000000000000000..dd45f620d3354bed5dbb4e9e18d859ee4e663685
--- /dev/null
+++ b/tools/telemetry/telemetry/unittest/output_formatter.py
@@ -0,0 +1,38 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+
+class OutputFormatter(object):
nednguyen 2014/07/09 17:26:46 Do we have any other classes besides gtest_output_
dtu 2014/07/10 00:35:01 Benchmarks only use one hook - PrintSummary(result
+ def __init__(self, output_stream):
+ self._output_stream = output_stream
+
+ def StartTest(self, test):
+ pass
+
+ def StartTestSuite(self, suite):
+ pass
+
+ def StartTestRun(self):
+ pass
+
+ def StopTest(self, test):
+ pass
+
+ def StopTestSuite(self, suite):
+ pass
+
+ def StopTestRun(self, result):
+ pass
+
+ def Error(self, test, err):
+ pass
+
+ def Failure(self, test, err):
+ pass
+
+ def Success(self, test):
+ pass
+
+ def Skip(self, test, reason):
+ pass

Powered by Google App Engine
This is Rietveld 408576698