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

Side by Side Diff: content/test/gpu/gpu_tests/gpu_rasterization.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
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 cloud_storage_test_base 5 import cloud_storage_test_base
6 import gpu_rasterization_expectations 6 import gpu_rasterization_expectations
7 import optparse 7 import optparse
8 import page_sets 8 import page_sets
9 9
10 from telemetry.util import image_util 10 from telemetry.util import image_util
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 65
66 66
67 class GpuRasterization(cloud_storage_test_base.TestBase): 67 class GpuRasterization(cloud_storage_test_base.TestBase):
68 """Tests that GPU rasterization produces valid content""" 68 """Tests that GPU rasterization produces valid content"""
69 test = _GpuRasterizationValidator 69 test = _GpuRasterizationValidator
70 70
71 @classmethod 71 @classmethod
72 def Name(cls): 72 def Name(cls):
73 return 'gpu_rasterization' 73 return 'gpu_rasterization'
74 74
75 def CreatePageSet(self, options): 75 def CreateStorySet(self, options):
76 page_set = page_sets.GpuRasterizationTestsPageSet() 76 page_set = page_sets.GpuRasterizationTestsPageSet()
77 for page in page_set.pages: 77 for page in page_set.pages:
78 page.script_to_evaluate_on_commit = test_harness_script 78 page.script_to_evaluate_on_commit = test_harness_script
79 return page_set 79 return page_set
80 80
81 def CreateExpectations(self): 81 def CreateExpectations(self):
82 return gpu_rasterization_expectations.GpuRasterizationExpectations() 82 return gpu_rasterization_expectations.GpuRasterizationExpectations()
OLDNEW
« no previous file with comments | « content/test/gpu/gpu_tests/gpu_process.py ('k') | content/test/gpu/gpu_tests/hardware_accelerated_feature.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698