OLD | NEW |
---|---|
(Empty) | |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | |
2 # Use of this source code is governed by a BSD-style license that can be | |
3 # found in the LICENSE file. | |
4 | |
5 | |
6 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
| |
7 def __init__(self, output_stream): | |
8 self._output_stream = output_stream | |
9 | |
10 def StartTest(self, test): | |
11 pass | |
12 | |
13 def StartTestSuite(self, suite): | |
14 pass | |
15 | |
16 def StartTestRun(self): | |
17 pass | |
18 | |
19 def StopTest(self, test): | |
20 pass | |
21 | |
22 def StopTestSuite(self, suite): | |
23 pass | |
24 | |
25 def StopTestRun(self, result): | |
26 pass | |
27 | |
28 def Error(self, test, err): | |
29 pass | |
30 | |
31 def Failure(self, test, err): | |
32 pass | |
33 | |
34 def Success(self, test): | |
35 pass | |
36 | |
37 def Skip(self, test, reason): | |
38 pass | |
OLD | NEW |