OLD | NEW |
1 # Copyright (c) 2015 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2015 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 from gpu_tests import gpu_test_base | 4 from gpu_tests import gpu_test_base |
5 from gpu_tests import trace_test_expectations | 5 from gpu_tests import trace_test_expectations |
6 import page_sets | 6 import page_sets |
7 | 7 |
8 from telemetry.page import page_test | 8 from telemetry.page import page_test |
9 from telemetry.timeline import model as model_module | 9 from telemetry.timeline import model as model_module |
10 from telemetry.timeline import tracing_config | 10 from telemetry.timeline import tracing_config |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 test = _TraceValidator | 104 test = _TraceValidator |
105 name = 'TraceTest' | 105 name = 'TraceTest' |
106 | 106 |
107 @classmethod | 107 @classmethod |
108 def Name(cls): | 108 def Name(cls): |
109 return 'trace_test' | 109 return 'trace_test' |
110 | 110 |
111 def _CreateExpectations(self): | 111 def _CreateExpectations(self): |
112 return trace_test_expectations.TraceTestExpectations() | 112 return trace_test_expectations.TraceTestExpectations() |
113 | 113 |
114 def CustomizeBrowserOptions(self, options): | |
115 options.logging_verbosity = options.VERBOSE_LOGGING | |
116 | |
117 | 114 |
118 class DeviceTraceTest(TraceTestBase): | 115 class DeviceTraceTest(TraceTestBase): |
119 """Tests GPU Device traces show up on devices that support it.""" | 116 """Tests GPU Device traces show up on devices that support it.""" |
120 test = _DeviceTraceValidator | 117 test = _DeviceTraceValidator |
121 name = 'DeviceTraceTest' | 118 name = 'DeviceTraceTest' |
122 | 119 |
123 @classmethod | 120 @classmethod |
124 def Name(cls): | 121 def Name(cls): |
125 return 'device_trace_test' | 122 return 'device_trace_test' |
126 | 123 |
127 def _CreateExpectations(self): | 124 def _CreateExpectations(self): |
128 return trace_test_expectations.DeviceTraceTestExpectations() | 125 return trace_test_expectations.DeviceTraceTestExpectations() |
OLD | NEW |