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

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

Issue 1217813005: [Telemetry] Modify CreatePageSet to CreateStorySet (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address Ethan's comments Created 5 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 | « content/test/gpu/gpu_tests/gpu_rasterization.py ('k') | content/test/gpu/gpu_tests/maps.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 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 hardware_accelerated_feature_expectations as expectations 4 import hardware_accelerated_feature_expectations as expectations
5 5
6 from telemetry import benchmark 6 from telemetry import benchmark
7 from telemetry.page import page as page_module 7 from telemetry.page import page as page_module
8 from telemetry.page import page_set 8 from telemetry.page import page_set
9 from telemetry.page import page_test 9 from telemetry.page import page_test
10 10
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 """Tests GPU acceleration is reported as active for various features""" 49 """Tests GPU acceleration is reported as active for various features"""
50 test = _HardwareAcceleratedFeatureValidator 50 test = _HardwareAcceleratedFeatureValidator
51 51
52 @classmethod 52 @classmethod
53 def Name(cls): 53 def Name(cls):
54 return 'hardware_accelerated_feature' 54 return 'hardware_accelerated_feature'
55 55
56 def CreateExpectations(self): 56 def CreateExpectations(self):
57 return expectations.HardwareAcceleratedFeatureExpectations() 57 return expectations.HardwareAcceleratedFeatureExpectations()
58 58
59 def CreatePageSet(self, options): 59 def CreateStorySet(self, options):
60 features = ['WebGL', 'Canvas'] 60 features = ['WebGL', 'Canvas']
61 61
62 ps = page_set.PageSet() 62 ps = page_set.PageSet()
63 63
64 for feature in features: 64 for feature in features:
65 ps.AddUserStory(ChromeGpuPage(page_set=ps, feature=feature)) 65 ps.AddUserStory(ChromeGpuPage(page_set=ps, feature=feature))
66 return ps 66 return ps
OLDNEW
« no previous file with comments | « content/test/gpu/gpu_tests/gpu_rasterization.py ('k') | content/test/gpu/gpu_tests/maps.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698