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

Unified Diff: tools/telemetry/telemetry/page/page_test.py

Issue 16158006: Defining the test expectations object (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added expectations integration Created 7 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/page/page_test.py
diff --git a/tools/telemetry/telemetry/page/page_test.py b/tools/telemetry/telemetry/page/page_test.py
index 12f227f7879cfe6fec25cb0927225efbfe8e54de..d84795d6091770bda4bf3d4a3e8085d4cb6d3648 100644
--- a/tools/telemetry/telemetry/page/page_test.py
+++ b/tools/telemetry/telemetry/page/page_test.py
@@ -142,6 +142,11 @@ class PageTest(object):
allowing arbitrary page sets entered from the command-line."""
return None
+ def SetExpectations(self, page_set): # pylint: disable=W0613
+ """Override to make this test generate its own expectations instead of
+ any that may have been defined in the page set."""
+ return None
dtu 2013/07/16 09:50:49 Return an empty Expectations object. Then you don'
+
def AddOutputOptions(self, parser):
parser.add_option('--output-format',
default=self.output_format_choices[0],

Powered by Google App Engine
This is Rietveld 408576698