| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 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 | 4 |
| 5 import logging | 5 import logging |
| 6 | 6 |
| 7 from telemetry.testing import serially_executed_browser_test_case | 7 from telemetry.testing import serially_executed_browser_test_case |
| 8 from telemetry.util import screenshot | 8 from telemetry.util import screenshot |
| 9 | 9 |
| 10 from gpu_tests import exception_formatter | 10 from gpu_tests import exception_formatter |
| (...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 192 cls.tab = cls.browser.tabs[0] | 192 cls.tab = cls.browser.tabs[0] |
| 193 except Exception: | 193 except Exception: |
| 194 # restart the browser to make sure a failure in a test doesn't | 194 # restart the browser to make sure a failure in a test doesn't |
| 195 # propagate to the next test iteration. | 195 # propagate to the next test iteration. |
| 196 logging.exception("Failure during browser startup") | 196 logging.exception("Failure during browser startup") |
| 197 cls._RestartBrowser('failure in setup') | 197 cls._RestartBrowser('failure in setup') |
| 198 raise | 198 raise |
| 199 | 199 |
| 200 def setUp(self): | 200 def setUp(self): |
| 201 self._EnsureTabIsAvailable() | 201 self._EnsureTabIsAvailable() |
| 202 |
| 203 def LoadAllTestsInModule(module): |
| 204 # Just delegates to serially_executed_browser_test_case to reduce the |
| 205 # number of imports in other files. |
| 206 return serially_executed_browser_test_case.LoadAllTestsInModule(module) |
| OLD | NEW |