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

Unified Diff: tools/telemetry/telemetry/results/progress_reporter.py

Issue 439553002: Move output of [OK] and [FAILED] from AddValue to DidRunPage for gtest output. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 6 years, 4 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
« no previous file with comments | « tools/telemetry/telemetry/results/page_test_results_unittest.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/telemetry/telemetry/results/progress_reporter.py
diff --git a/tools/telemetry/telemetry/results/progress_reporter.py b/tools/telemetry/telemetry/results/progress_reporter.py
index 50ee8d481bda05e87fecaedd8f90725a434493aa..ed6571692bd21181e004c842b25521950bb5d0f3 100644
--- a/tools/telemetry/telemetry/results/progress_reporter.py
+++ b/tools/telemetry/telemetry/results/progress_reporter.py
@@ -17,13 +17,23 @@ class ProgressReporter(object):
def __init__(self, output_stream):
self.output_stream = output_stream
- def WillRunPage(self, page):
+ def DidAddValue(self, value):
pass
- def DidAddValue(self, value):
+ def WillRunPage(self, page_test_results):
+ pass
+
+ def DidRunPage(self, page_test_results):
pass
- def DidAddSuccess(self, page):
+ def WillAttemptPageRun(self, page_test_results, attempt_count, max_attempts):
+ """
+ Args:
+ attempt_count: The current attempt number, start at 1
+ (attempt_count == 1 for the first attempt, 2 for second
+ attempt, and so on).
+ max_attempts: Maximum number of page run attempts before failing.
+ """
pass
def DidFinishAllTests(self, page_test_results):
« no previous file with comments | « tools/telemetry/telemetry/results/page_test_results_unittest.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698