OLD | NEW |
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 Loading... |
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() |
OLD | NEW |