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

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

Issue 100443007: telemetry: handle tests that are not supported on a platform. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
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 368aa894706c1fb48d66ebe8a54bbd8ada56cebc..37c5693b3f157f4c75950bdfc3c5b80fb656f10e 100644
--- a/tools/telemetry/telemetry/page/page_test.py
+++ b/tools/telemetry/telemetry/page/page_test.py
@@ -49,6 +49,11 @@ class Failure(Exception):
pass
+class TestNotSupportedOnPlatformFailure(Failure):
+ def __init__(self, message):
+ super(TestNotSupportedOnPlatformFailure, self).__init__(message)
+
+
class PageTest(object):
"""A class styled on unittest.TestCase for creating page-specific tests."""

Powered by Google App Engine
This is Rietveld 408576698