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

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

Issue 2616253002: Add typ boilerplate to Telemetry-based GPU tests. (Closed)
Patch Set: Created 3 years, 11 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 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
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)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698