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

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

Issue 2100253002: [telemetry] Replace enable_logging usage with logging_verbosity (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
104 name = 'TraceTest' 104 name = 'TraceTest'
105 105
106 @classmethod 106 @classmethod
107 def Name(cls): 107 def Name(cls):
108 return 'trace_test' 108 return 'trace_test'
109 109
110 def _CreateExpectations(self): 110 def _CreateExpectations(self):
111 return trace_test_expectations.TraceTestExpectations() 111 return trace_test_expectations.TraceTestExpectations()
112 112
113 def CustomizeBrowserOptions(self, options): 113 def CustomizeBrowserOptions(self, options):
114 options.enable_logging = True 114 options.logging_verbosity = options.VERBOSE_LOGGING
115 115
116 116
117 class DeviceTraceTest(TraceTestBase): 117 class DeviceTraceTest(TraceTestBase):
118 """Tests GPU Device traces show up on devices that support it.""" 118 """Tests GPU Device traces show up on devices that support it."""
119 test = _DeviceTraceValidator 119 test = _DeviceTraceValidator
120 name = 'DeviceTraceTest' 120 name = 'DeviceTraceTest'
121 121
122 @classmethod 122 @classmethod
123 def Name(cls): 123 def Name(cls):
124 return 'device_trace_test' 124 return 'device_trace_test'
125 125
126 def _CreateExpectations(self): 126 def _CreateExpectations(self):
127 return trace_test_expectations.DeviceTraceTestExpectations() 127 return trace_test_expectations.DeviceTraceTestExpectations()
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698