| 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.page import page as page_module | 4 from telemetry.page import page as page_module |
| 5 from telemetry import story | 5 from telemetry import story |
| 6 | 6 |
| 7 | 7 |
| 8 class ToughTextureUploadCasesPage(page_module.Page): | 8 class ToughTextureUploadCasesPage(page_module.Page): |
| 9 | 9 |
| 10 def __init__(self, url, page_set): | 10 def __init__(self, url, page_set): |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 | 23 |
| 24 """ | 24 """ |
| 25 Description: A collection of texture upload performance tests | 25 Description: A collection of texture upload performance tests |
| 26 """ | 26 """ |
| 27 | 27 |
| 28 def __init__(self): | 28 def __init__(self): |
| 29 super(ToughTextureUploadCasesPageSet, self).__init__() | 29 super(ToughTextureUploadCasesPageSet, self).__init__() |
| 30 | 30 |
| 31 urls_list = [ | 31 urls_list = [ |
| 32 'file://tough_texture_upload_cases/background_color_animation.html', | 32 'file://tough_texture_upload_cases/background_color_animation.html', |
| 33 # pylint: disable=C0301 | 33 # pylint: disable=line-too-long |
| 34 'file://tough_texture_upload_cases/background_color_animation_and_transfor
m_animation.html', | 34 'file://tough_texture_upload_cases/background_color_animation_and_transfor
m_animation.html', |
| 35 # pylint: disable=C0301 | 35 # pylint: disable=line-too-long |
| 36 'file://tough_texture_upload_cases/background_color_animation_with_gradien
t.html', | 36 'file://tough_texture_upload_cases/background_color_animation_with_gradien
t.html', |
| 37 # pylint: disable=C0301 | 37 # pylint: disable=line-too-long |
| 38 'file://tough_texture_upload_cases/background_color_animation_with_gradien
t_and_transform_animation.html', | 38 'file://tough_texture_upload_cases/background_color_animation_with_gradien
t_and_transform_animation.html', |
| 39 'file://tough_texture_upload_cases/small_texture_uploads.html', | 39 'file://tough_texture_upload_cases/small_texture_uploads.html', |
| 40 'file://tough_texture_upload_cases/medium_texture_uploads.html', | 40 'file://tough_texture_upload_cases/medium_texture_uploads.html', |
| 41 'file://tough_texture_upload_cases/large_texture_uploads.html', | 41 'file://tough_texture_upload_cases/large_texture_uploads.html', |
| 42 # http://crbug.com/453131 - Our memory usage on low memory devices are | 42 # http://crbug.com/453131 - Our memory usage on low memory devices are |
| 43 # not constrained enough to run this page, disable until we are more | 43 # not constrained enough to run this page, disable until we are more |
| 44 # bounded on memory usage. | 44 # bounded on memory usage. |
| 45 # 'file://tough_texture_upload_cases/extra_large_texture_uploads.html', | 45 # 'file://tough_texture_upload_cases/extra_large_texture_uploads.html', |
| 46 ] | 46 ] |
| 47 for url in urls_list: | 47 for url in urls_list: |
| 48 self.AddStory(ToughTextureUploadCasesPage(url, self)) | 48 self.AddStory(ToughTextureUploadCasesPage(url, self)) |
| 49 | 49 |
| OLD | NEW |