| 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 # pylint: disable=W0401,W0614 | |
| 5 from telemetry.page.actions.all_page_actions import * | |
| 6 from telemetry.page import page as page_module | 4 from telemetry.page import page as page_module |
| 7 from telemetry.page import page_set as page_set_module | 5 from telemetry.page import page_set as page_set_module |
| 8 | 6 |
| 9 | 7 |
| 10 class GpuRasterizationTestsPage(page_module.Page): | 8 class GpuRasterizationTestsPage(page_module.Page): |
| 11 | 9 |
| 12 def __init__(self, page_set): | 10 def __init__(self, page_set): |
| 13 super(GpuRasterizationTestsPage, self).__init__( | 11 super(GpuRasterizationTestsPage, self).__init__( |
| 14 url='file://../../data/gpu/pixel_background.html', | 12 url='file://../../data/gpu/pixel_background.html', |
| 15 page_set=page_set, | 13 page_set=page_set, |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 | 72 |
| 75 | 73 |
| 76 class GpuRasterizationTestsPageSet(page_set_module.PageSet): | 74 class GpuRasterizationTestsPageSet(page_set_module.PageSet): |
| 77 | 75 |
| 78 """ Basic test cases for GPU rasterization. """ | 76 """ Basic test cases for GPU rasterization. """ |
| 79 | 77 |
| 80 def __init__(self): | 78 def __init__(self): |
| 81 super(GpuRasterizationTestsPageSet, self).__init__() | 79 super(GpuRasterizationTestsPageSet, self).__init__() |
| 82 | 80 |
| 83 self.AddPage(GpuRasterizationTestsPage(self)) | 81 self.AddPage(GpuRasterizationTestsPage(self)) |
| OLD | NEW |