| 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 from telemetry.story import story_set as story_set_module | 4 from telemetry.story import story_set as story_set_module |
| 5 from telemetry.page import page_test |
| 5 | 6 |
| 6 from gpu_tests import gpu_test_base | 7 from gpu_tests import gpu_test_base |
| 7 | 8 |
| 8 class GpuProcessTestsPage(gpu_test_base.PageBase): | 9 class GpuProcessTestsPage(gpu_test_base.PageBase): |
| 9 | 10 |
| 10 def __init__(self, url, name, story_set, expectations): | 11 def __init__(self, url, name, story_set, expectations): |
| 11 super(GpuProcessTestsPage, self).__init__(url=url, page_set=story_set, | 12 super(GpuProcessTestsPage, self).__init__(url=url, page_set=story_set, |
| 12 name=name, | 13 name=name, |
| 13 expectations=expectations) | 14 expectations=expectations) |
| 14 | 15 |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 'GpuProcess.css3d'), | 68 'GpuProcess.css3d'), |
| 68 ('file://../../data/gpu/functional_webgl.html', | 69 ('file://../../data/gpu/functional_webgl.html', |
| 69 'GpuProcess.webgl') | 70 'GpuProcess.webgl') |
| 70 ] | 71 ] |
| 71 | 72 |
| 72 for url, name in urls_and_names_list: | 73 for url, name in urls_and_names_list: |
| 73 self.AddStory(GpuProcessTestsPage(url, name, self, expectations)) | 74 self.AddStory(GpuProcessTestsPage(url, name, self, expectations)) |
| 74 | 75 |
| 75 self.AddStory(FunctionalVideoPage(self, expectations)) | 76 self.AddStory(FunctionalVideoPage(self, expectations)) |
| 76 self.AddStory(GpuInfoCompletePage(self, expectations)) | 77 self.AddStory(GpuInfoCompletePage(self, expectations)) |
| OLD | NEW |