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

Side by Side Diff: content/test/gpu/gpu_tests/depth_capture_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 os 5 import os
6 import sys
6 7
7 from gpu_tests import gpu_integration_test 8 from gpu_tests import gpu_integration_test
8 from gpu_tests import depth_capture_expectations 9 from gpu_tests import depth_capture_expectations
9 from gpu_tests import path_util 10 from gpu_tests import path_util
10 11
11 data_path = os.path.join( 12 data_path = os.path.join(
12 path_util.GetChromiumSrcDir(), 'content', 'test', 'data', 'media') 13 path_util.GetChromiumSrcDir(), 'content', 'test', 'data', 'media')
13 14
14 wait_timeout = 60 # seconds 15 wait_timeout = 60 # seconds
15 16
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 def _CreateExpectations(cls): 87 def _CreateExpectations(cls):
87 return depth_capture_expectations.DepthCaptureExpectations() 88 return depth_capture_expectations.DepthCaptureExpectations()
88 89
89 @classmethod 90 @classmethod
90 def setUpClass(cls): 91 def setUpClass(cls):
91 super(cls, DepthCaptureIntegrationTest).setUpClass() 92 super(cls, DepthCaptureIntegrationTest).setUpClass()
92 cls.CustomizeOptions() 93 cls.CustomizeOptions()
93 cls.SetBrowserOptions(cls._finder_options) 94 cls.SetBrowserOptions(cls._finder_options)
94 cls.StartBrowser() 95 cls.StartBrowser()
95 cls.SetStaticServerDirs([data_path]) 96 cls.SetStaticServerDirs([data_path])
97
98 def load_tests(loader, tests, pattern):
99 del loader, tests, pattern # Unused.
100 return gpu_integration_test.LoadAllTestsInModule(sys.modules[__name__])
OLDNEW
« no previous file with comments | « content/test/gpu/gpu_tests/context_lost_integration_test.py ('k') | content/test/gpu/gpu_tests/gpu_integration_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698