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

Side by Side Diff: content/test/gpu/gpu_tests/gpu_integration_test.py

Issue 2662863002: Add typ boilerplate to Telemetry-based GPU tests. (Closed)
Patch Set: Created 3 years, 10 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 unified diff | Download patch
OLDNEW
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 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 cls.tab = cls.browser.tabs[0] 187 cls.tab = cls.browser.tabs[0]
188 except Exception: 188 except Exception:
189 # restart the browser to make sure a failure in a test doesn't 189 # restart the browser to make sure a failure in a test doesn't
190 # propagate to the next test iteration. 190 # propagate to the next test iteration.
191 logging.exception("Failure during browser startup") 191 logging.exception("Failure during browser startup")
192 cls._RestartBrowser('failure in setup') 192 cls._RestartBrowser('failure in setup')
193 raise 193 raise
194 194
195 def setUp(self): 195 def setUp(self):
196 self._EnsureTabIsAvailable() 196 self._EnsureTabIsAvailable()
197
198 def LoadAllTestsInModule(module):
199 # Just delegates to serially_executed_browser_test_case to reduce the
200 # number of imports in other files.
201 return serially_executed_browser_test_case.LoadAllTestsInModule(module)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698