OLD | NEW |
(Empty) | |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. |
| 4 |
| 5 |
| 6 from telemetry.testing import serially_executed_browser_test_case |
| 7 |
| 8 |
| 9 class SetUpClassFailedTest( |
| 10 serially_executed_browser_test_case.SeriallyExecutedBrowserTestCase): |
| 11 |
| 12 @classmethod |
| 13 def setUpClass(cls): |
| 14 raise Exception |
| 15 |
| 16 @classmethod |
| 17 def GenerateTestCases_DummyTest(cls, options): |
| 18 del options # Unused. |
| 19 for i in xrange(0, 100): |
| 20 yield 'dummy_test_%i' % i, () |
| 21 |
| 22 def DummyTest(self): |
| 23 pass |
| 24 |
| 25 |
| 26 class TearDownClassFailedTest( |
| 27 serially_executed_browser_test_case.SeriallyExecutedBrowserTestCase): |
| 28 |
| 29 @classmethod |
| 30 def tearDownClass(cls): |
| 31 raise Exception |
| 32 |
| 33 @classmethod |
| 34 def GenerateTestCases_DummyTest(cls, options): |
| 35 del options # Unused. |
| 36 for i in xrange(0, 100): |
| 37 yield 'dummy_test_%i' % i, () |
| 38 |
| 39 def DummyTest(self): |
| 40 pass |
OLD | NEW |