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

Unified Diff: telemetry/examples/browser_tests/failed_tests.py

Issue 2162963002: [polymer] Merge of master into polymer10-migration (Closed) Base URL: git@github.com:catapult-project/catapult.git@polymer10-migration
Patch Set: Merge polymer10-migration int polymer10-merge Created 4 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: telemetry/examples/browser_tests/failed_tests.py
diff --git a/telemetry/examples/browser_tests/failed_tests.py b/telemetry/examples/browser_tests/failed_tests.py
new file mode 100644
index 0000000000000000000000000000000000000000..3c9a1b9a98970bb83b606c0030e6c0ef18da6798
--- /dev/null
+++ b/telemetry/examples/browser_tests/failed_tests.py
@@ -0,0 +1,40 @@
+# Copyright 2016 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+
+from telemetry.testing import serially_executed_browser_test_case
+
+
+class SetUpClassFailedTest(
+ serially_executed_browser_test_case.SeriallyExecutedBrowserTestCase):
+
+ @classmethod
+ def setUpClass(cls):
+ raise Exception
+
+ @classmethod
+ def GenerateTestCases_DummyTest(cls, options):
+ del options # Unused.
+ for i in xrange(0, 100):
+ yield 'dummy_test_%i' % i, ()
+
+ def DummyTest(self):
+ pass
+
+
+class TearDownClassFailedTest(
+ serially_executed_browser_test_case.SeriallyExecutedBrowserTestCase):
+
+ @classmethod
+ def tearDownClass(cls):
+ raise Exception
+
+ @classmethod
+ def GenerateTestCases_DummyTest(cls, options):
+ del options # Unused.
+ for i in xrange(0, 100):
+ yield 'dummy_test_%i' % i, ()
+
+ def DummyTest(self):
+ pass
« no previous file with comments | « telemetry/examples/benchmarks/tbm_benchmark.py ('k') | telemetry/examples/browser_tests/simple_browser_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698