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

Side by Side Diff: tools/telemetry/telemetry/page_test.py

Issue 12294002: Revert 182991 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 10 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 import sys 4 import sys
5 5
6 class Failure(Exception): 6 class Failure(Exception):
7 """Exception that can be thrown from MultiPageBenchmark to indicate an 7 """Exception that can be thrown from MultiPageBenchmark to indicate an
8 undesired but designed-for problem.""" 8 undesired but designed-for problem."""
9 pass 9 pass
10 10
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 action_data['action']) 117 action_data['action'])
118 sys.stderr.write('Check the pageset for a typo and check the error log' + 118 sys.stderr.write('Check the pageset for a typo and check the error log' +
119 'for possible python loading/compilation errors\n') 119 'for possible python loading/compilation errors\n')
120 raise Exception('%s not found' % action_data['action']) 120 raise Exception('%s not found' % action_data['action'])
121 assert cls 121 assert cls
122 return cls(action_data) 122 return cls(action_data)
123 123
124 @property 124 @property
125 def action_name_to_run(self): 125 def action_name_to_run(self):
126 return self._action_name_to_run 126 return self._action_name_to_run
OLDNEW
« no previous file with comments | « tools/telemetry/telemetry/page_set_unittest.py ('k') | tools/telemetry/telemetry/page_unittest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698