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

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

Issue 1029263003: [telemetry] Sort imports in Telemetry and its dependents. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Ensure we're up to date. Created 5 years, 9 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 (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 import page_sets
4 import trace_test_expectations 5 import trace_test_expectations
5 import page_sets
6 6
7 from telemetry import benchmark 7 from telemetry import benchmark
8 from telemetry.page import page_test
9 from telemetry.core.platform import tracing_category_filter 8 from telemetry.core.platform import tracing_category_filter
10 from telemetry.core.platform import tracing_options 9 from telemetry.core.platform import tracing_options
10 from telemetry.page import page_test
11 from telemetry.timeline import model as model_module 11 from telemetry.timeline import model as model_module
12 12
13 TOPLEVEL_GL_CATEGORY = 'gpu_toplevel' 13 TOPLEVEL_GL_CATEGORY = 'gpu_toplevel'
14 TOPLEVEL_SERVICE_CATEGORY = 'disabled-by-default-gpu.service' 14 TOPLEVEL_SERVICE_CATEGORY = 'disabled-by-default-gpu.service'
15 TOPLEVEL_DEVICE_CATEGORY = 'disabled-by-default-gpu.device' 15 TOPLEVEL_DEVICE_CATEGORY = 'disabled-by-default-gpu.device'
16 TOPLEVEL_CATEGORIES = [TOPLEVEL_SERVICE_CATEGORY, TOPLEVEL_DEVICE_CATEGORY] 16 TOPLEVEL_CATEGORIES = [TOPLEVEL_SERVICE_CATEGORY, TOPLEVEL_DEVICE_CATEGORY]
17 17
18 test_harness_script = r""" 18 test_harness_script = r"""
19 var domAutomationController = {}; 19 var domAutomationController = {};
20 20
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 """Tests GPU Device traces show up on devices that support it.""" 99 """Tests GPU Device traces show up on devices that support it."""
100 test = _DeviceTraceValidator 100 test = _DeviceTraceValidator
101 name = 'DeviceTraceTest' 101 name = 'DeviceTraceTest'
102 102
103 @classmethod 103 @classmethod
104 def Name(cls): 104 def Name(cls):
105 return 'device_trace_test' 105 return 'device_trace_test'
106 106
107 def CreateExpectations(self): 107 def CreateExpectations(self):
108 return trace_test_expectations.DeviceTraceTestExpectations() 108 return trace_test_expectations.DeviceTraceTestExpectations()
OLDNEW
« no previous file with comments | « content/test/gpu/gpu_tests/memory_test.py ('k') | content/test/gpu/gpu_tests/webgl_conformance.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698