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 RunPageInteractions(self
, action_runner
):
18 with action_runner
.CreateInteraction('Animation'):
19 action_runner
.Wait(10)
22 class ToughTextureUploadCasesPageSet(page_set_module
.PageSet
):
25 Description: A collection of texture upload performance tests
29 super(ToughTextureUploadCasesPageSet
, self
).__init
__()
32 'file://tough_texture_upload_cases/background_color_animation.html',
33 # pylint: disable=C0301
34 'file://tough_texture_upload_cases/background_color_animation_and_transform_animation.html',
35 # pylint: disable=C0301
36 'file://tough_texture_upload_cases/background_color_animation_with_gradient.html',
37 # pylint: disable=C0301
38 'file://tough_texture_upload_cases/background_color_animation_with_gradient_and_transform_animation.html',
39 'file://tough_texture_upload_cases/small_texture_uploads.html',
40 'file://tough_texture_upload_cases/medium_texture_uploads.html',
41 'file://tough_texture_upload_cases/large_texture_uploads.html',
42 'file://tough_texture_upload_cases/extra_large_texture_uploads.html',
45 self
.AddUserStory(ToughTextureUploadCasesPage(url
, self
))