OLD | NEW |
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 gpu_process_expectations as expectations | 4 import gpu_process_expectations as expectations |
5 import page_sets | 5 import page_sets |
6 | 6 |
7 from telemetry import benchmark | 7 from telemetry import benchmark |
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 29 matching lines...) Expand all Loading... |
40 """Tests that accelerated content triggers the creation of a GPU process""" | 40 """Tests that accelerated content triggers the creation of a GPU process""" |
41 test = _GpuProcessValidator | 41 test = _GpuProcessValidator |
42 | 42 |
43 @classmethod | 43 @classmethod |
44 def Name(cls): | 44 def Name(cls): |
45 return 'gpu_process' | 45 return 'gpu_process' |
46 | 46 |
47 def CreateExpectations(self): | 47 def CreateExpectations(self): |
48 return expectations.GpuProcessExpectations() | 48 return expectations.GpuProcessExpectations() |
49 | 49 |
50 def CreatePageSet(self, options): | 50 def CreateStorySet(self, options): |
51 page_set = page_sets.GpuProcessTestsPageSet() | 51 page_set = page_sets.GpuProcessTestsPageSet() |
52 for page in page_set.pages: | 52 for page in page_set.pages: |
53 page.script_to_evaluate_on_commit = test_harness_script | 53 page.script_to_evaluate_on_commit = test_harness_script |
54 return page_set | 54 return page_set |
OLD | NEW |