| 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 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 Loading... |
| 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__]) |
| OLD | NEW |