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
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
7 from telemetry.page import page_set as page_set_module
10 class ToughTextureUploadCasesPage(page_module.Page):
12 def __init__(self, url, page_set):
14 ToughTextureUploadCasesPage,
19 def RunSmoothness(self, action_runner):
20 action_runner.RunAction(ScrollAction())
23 class ToughTextureUploadCasesPageSet(page_set_module.PageSet):
26 Description: A collection of texture upload performance tests
30 super(ToughTextureUploadCasesPageSet, self).__init__()
33 'file://tough_texture_upload_cases/background_color_animation.html',
34 # pylint: disable=C0301
35 'file://tough_texture_upload_cases/background_color_animation_and_transform_animation.html',
36 # pylint: disable=C0301
37 'file://tough_texture_upload_cases/background_color_animation_with_gradient.html',
38 # pylint: disable=C0301
39 'file://tough_texture_upload_cases/background_color_animation_with_gradient_and_transform_animation.html']
41 self.AddPage(ToughTextureUploadCasesPage(url, self))