Unify Help/Feedback/Credits menus.
[chromium-blink-merge.git] / tools / perf / page_sets / tough_texture_upload_cases.py
blob2a712ca9e50a5edeb81d9b1d5abd1c489acccbd9
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):
11 super(
12 ToughTextureUploadCasesPage,
13 self).__init__(
14 url=url,
15 page_set=page_set)
17 def RunPageInteractions(self, action_runner):
18 with action_runner.CreateInteraction('Animation'):
19 action_runner.Wait(10)
22 class ToughTextureUploadCasesPageSet(page_set_module.PageSet):
24 """
25 Description: A collection of texture upload performance tests
26 """
28 def __init__(self):
29 super(ToughTextureUploadCasesPageSet, self).__init__()
31 urls_list = [
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',
44 for url in urls_list:
45 self.AddUserStory(ToughTextureUploadCasesPage(url, self))