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

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

Issue 2941663002: Removing verify_names=True now that the default for verify_names is True (Closed)
Patch Set: Created 3 years, 6 months 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
« no previous file with comments | « tools/perf/page_sets/maps.py ('k') | tools/perf/page_sets/memory_top_10_mobile.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 import story 5 from telemetry import story
6 6
7 7
8 class BasicPlayPage(page_module.Page): 8 class BasicPlayPage(page_module.Page):
9 9
10 def __init__(self, url, page_set, name=''): 10 def __init__(self, url, page_set, name=''):
(...skipping 28 matching lines...) Expand all
39 39
40 def RunPageInteractions(self, action_runner): 40 def RunPageInteractions(self, action_runner):
41 self.SeekBeforeAndAfterPlayhead(action_runner) 41 self.SeekBeforeAndAfterPlayhead(action_runner)
42 42
43 43
44 class MediaCnsCasesPageSet(story.StorySet): 44 class MediaCnsCasesPageSet(story.StorySet):
45 45
46 """ Media benchmark on network constrained conditions. """ 46 """ Media benchmark on network constrained conditions. """
47 47
48 def __init__(self): 48 def __init__(self):
49 super(MediaCnsCasesPageSet, self).__init__(verify_names=True) 49 super(MediaCnsCasesPageSet, self).__init__()
50 50
51 urls_list = [ 51 urls_list = [
52 # pylint: disable=line-too-long 52 # pylint: disable=line-too-long
53 'file://tough_video_cases/video.html?id=no_constraints_webm&src=tulip2.web m&net=none', 53 'file://tough_video_cases/video.html?id=no_constraints_webm&src=tulip2.web m&net=none',
54 # pylint: disable=line-too-long 54 # pylint: disable=line-too-long
55 'file://tough_video_cases/video.html?id=cable_webm&src=tulip2.webm&net=cab le', 55 'file://tough_video_cases/video.html?id=cable_webm&src=tulip2.webm&net=cab le',
56 # pylint: disable=line-too-long 56 # pylint: disable=line-too-long
57 'file://tough_video_cases/video.html?id=wifi_webm&src=tulip2.webm&net=wifi ', 57 'file://tough_video_cases/video.html?id=wifi_webm&src=tulip2.webm&net=wifi ',
58 # pylint: disable=line-too-long 58 # pylint: disable=line-too-long
59 'file://tough_video_cases/video.html?id=no_constraints_ogv&src=tulip2.ogv& net=none', 59 'file://tough_video_cases/video.html?id=no_constraints_ogv&src=tulip2.ogv& net=none',
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 # pylint: disable=line-too-long 112 # pylint: disable=line-too-long
113 'file://tough_video_cases/video.html?id=wifi_webm&src=tulip2.webm&type=aud io&net=wifi' 113 'file://tough_video_cases/video.html?id=wifi_webm&src=tulip2.webm&type=aud io&net=wifi'
114 ] 114 ]
115 115
116 for url in urls_list2: 116 for url in urls_list2:
117 if url in urls_list: 117 if url in urls_list:
118 name = 'seek_' + url 118 name = 'seek_' + url
119 else: 119 else:
120 name = url.split('/')[-1] 120 name = url.split('/')[-1]
121 self.AddStory(SeekBeforeAndAfterPlayheadPage(url, self, name=name)) 121 self.AddStory(SeekBeforeAndAfterPlayheadPage(url, self, name=name))
OLDNEW
« no previous file with comments | « tools/perf/page_sets/maps.py ('k') | tools/perf/page_sets/memory_top_10_mobile.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698