| 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 path_util | 9 from gpu_tests import path_util |
| 9 from gpu_tests import pixel_test_pages | 10 from gpu_tests import pixel_test_pages |
| 10 from gpu_tests import trace_test_expectations | 11 from gpu_tests import trace_test_expectations |
| 11 | 12 |
| 12 from telemetry.timeline import model as model_module | 13 from telemetry.timeline import model as model_module |
| 13 from telemetry.timeline import tracing_config | 14 from telemetry.timeline import tracing_config |
| 14 | 15 |
| 15 TOPLEVEL_GL_CATEGORY = 'gpu_toplevel' | 16 TOPLEVEL_GL_CATEGORY = 'gpu_toplevel' |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 return trace_test_expectations.TraceTestExpectations() | 120 return trace_test_expectations.TraceTestExpectations() |
| 120 | 121 |
| 121 @classmethod | 122 @classmethod |
| 122 def setUpClass(cls): | 123 def setUpClass(cls): |
| 123 super(cls, TraceIntegrationTest).setUpClass() | 124 super(cls, TraceIntegrationTest).setUpClass() |
| 124 path_util.SetupTelemetryPaths() | 125 path_util.SetupTelemetryPaths() |
| 125 cls.CustomizeOptions() | 126 cls.CustomizeOptions() |
| 126 cls.SetBrowserOptions(cls._finder_options) | 127 cls.SetBrowserOptions(cls._finder_options) |
| 127 cls.StartBrowser() | 128 cls.StartBrowser() |
| 128 cls.SetStaticServerDirs([data_path]) | 129 cls.SetStaticServerDirs([data_path]) |
| 130 |
| 131 def load_tests(loader, tests, pattern): |
| 132 del loader, tests, pattern # Unused. |
| 133 return gpu_integration_test.LoadAllTestsInModule(sys.modules[__name__]) |
| OLD | NEW |