Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(12)

Side by Side Diff: tools/perf/page_sets/key_silk_cases.py

Issue 1458083003: [Telemetry + tools/perf] Modify the pylint disable message to use symbolic name (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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.page import shared_page_state 5 from telemetry.page import shared_page_state
6 from telemetry import story 6 from telemetry import story
7 7
8 8
9 class KeySilkCasesPage(page_module.Page): 9 class KeySilkCasesPage(page_module.Page):
10 10
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 70
71 class Page3(KeySilkCasesPage): 71 class Page3(KeySilkCasesPage):
72 72
73 """ 73 """
74 Why: Best-known method for fake sticky. Janks sometimes. Interacts badly with 74 Why: Best-known method for fake sticky. Janks sometimes. Interacts badly with
75 compositor scrolls. 75 compositor scrolls.
76 """ 76 """
77 77
78 def __init__(self, page_set, run_no_page_interactions): 78 def __init__(self, page_set, run_no_page_interactions):
79 super(Page3, self).__init__( 79 super(Page3, self).__init__(
80 # pylint: disable=C0301 80 # pylint: disable=line-too-long
81 url='http://groupcloned.com/test/plain/sticky-using-webkit-backface-visibi lity.html', 81 url='http://groupcloned.com/test/plain/sticky-using-webkit-backface-visibi lity.html',
82 page_set=page_set, run_no_page_interactions=run_no_page_interactions) 82 page_set=page_set, run_no_page_interactions=run_no_page_interactions)
83 83
84 def PerformPageInteractions(self, action_runner): 84 def PerformPageInteractions(self, action_runner):
85 with action_runner.CreateGestureInteraction('ScrollAction'): 85 with action_runner.CreateGestureInteraction('ScrollAction'):
86 action_runner.ScrollElement(selector='#container') 86 action_runner.ScrollElement(selector='#container')
87 87
88 88
89 class Page4(KeySilkCasesPage): 89 class Page4(KeySilkCasesPage):
90 90
(...skipping 657 matching lines...) Expand 10 before | Expand all | Expand 10 after
748 self.AddStory(SilkFinance(self, run_no_page_interactions)) 748 self.AddStory(SilkFinance(self, run_no_page_interactions))
749 # Flaky interaction steps on Android; crbug.com/507865 749 # Flaky interaction steps on Android; crbug.com/507865
750 # self.AddStory(PolymerTopeka(self, run_no_page_interactions)) 750 # self.AddStory(PolymerTopeka(self, run_no_page_interactions))
751 self.AddStory(Masonry(self, run_no_page_interactions)) 751 self.AddStory(Masonry(self, run_no_page_interactions))
752 752
753 for page in self: 753 for page in self:
754 assert (page.__class__.RunPageInteractions == 754 assert (page.__class__.RunPageInteractions ==
755 KeySilkCasesPage.RunPageInteractions), ( 755 KeySilkCasesPage.RunPageInteractions), (
756 'Pages in this page set must not override KeySilkCasesPage\' ' 756 'Pages in this page set must not override KeySilkCasesPage\' '
757 'RunPageInteractions method.') 757 'RunPageInteractions method.')
OLDNEW
« no previous file with comments | « tools/perf/page_sets/key_search_mobile.py ('k') | tools/perf/page_sets/long_running_idle_google_cases.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698