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

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

Issue 755323012: [Telemetry] Stop execution for unexpected exceptions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Really fix screenshot exception. Created 6 years 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/benchmark.py ('k') | tools/telemetry/telemetry/page/page_test_unittest.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 b4e6c3c0fdd8e5e6886e12d59ed7ce9da1cb98c2..00bbbe7c8893c0829c993f51790b0a15b01b9ff2 100644
--- a/tools/telemetry/telemetry/page/page_test.py
+++ b/tools/telemetry/telemetry/page/page_test.py
@@ -6,20 +6,20 @@ from telemetry.page import test_expectations
from telemetry.page.actions import action_runner as action_runner_module
-class Failure(Exception):
- """Exception that can be thrown from PageTest to indicate an
- undesired but designed-for problem."""
+class TestNotSupportedOnPlatformError(Exception):
+ """PageTest Exception raised when a required feature is unavailable.
+
+ The feature required to run the test could be part of the platform,
+ hardware configuration, or browser.
+ """
-class TestNotSupportedOnPlatformFailure(Failure):
- """Exception that can be thrown to indicate that a certain feature required
- to run the test is not available on the platform, hardware configuration, or
- browser version."""
+class Failure(Exception):
+ """PageTest Exception raised when an undesired but designed-for problem."""
class MeasurementFailure(Failure):
- """Exception that can be thrown from MeasurePage to indicate an undesired but
- designed-for problem."""
+ """PageTest Exception raised when an undesired but designed-for problem."""
class PageTest(object):
« no previous file with comments | « tools/telemetry/telemetry/benchmark.py ('k') | tools/telemetry/telemetry/page/page_test_unittest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698