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 from telemetry
.page
import page
as page_module
5 from telemetry
.page
import page_set
as page_set_module
8 class ToughTextureUploadCasesPage(page_module
.Page
):
10 def __init__(self
, url
, page_set
):
12 ToughTextureUploadCasesPage
,
17 def RunSmoothness(self
, action_runner
):
18 interaction
= action_runner
.BeginGestureInteraction(
19 'ScrollAction', is_smooth
=True)
20 action_runner
.ScrollPage()
24 class ToughTextureUploadCasesPageSet(page_set_module
.PageSet
):
27 Description: A collection of texture upload performance tests
31 super(ToughTextureUploadCasesPageSet
, self
).__init
__()
34 'file://tough_texture_upload_cases/background_color_animation.html',
35 # pylint: disable=C0301
36 'file://tough_texture_upload_cases/background_color_animation_and_transform_animation.html',
37 # pylint: disable=C0301
38 'file://tough_texture_upload_cases/background_color_animation_with_gradient.html',
39 # pylint: disable=C0301
40 'file://tough_texture_upload_cases/background_color_animation_with_gradient_and_transform_animation.html']
42 self
.AddPage(ToughTextureUploadCasesPage(url
, self
))