blob: 3eea9995897c21239b9641113420b408c6c6544c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# 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 ProgressReporter(object):
"""A class that reports progress of a benchmark.
The reporter produces output whenever a significant event happens
during the progress of a benchmark, including (but not limited to):
when a page run is started, when a page run finished, any failures
during a page run.
The default implementation outputs nothing.
"""
def DidAddValue(self, value):
pass
def WillRunPage(self, page_test_results):
pass
def DidRunPage(self, page_test_results):
pass
def DidFinishAllTests(self, page_test_results):
pass
|