Chromium Code Reviews| 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 |