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

Side by Side Diff: tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/video_instrumented.py

Issue 1218073014: Migrate from telemetry PageSet -> StorySet. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address review comments and rebase Created 5 years, 5 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
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 4
5 from telemetry.page import page as page_module 5 from telemetry.page import page as page_module
6 from telemetry.page import page_set as page_set_module 6 from telemetry import story
7 7
8 class VideoFramePageSet(page_set_module.PageSet): 8 class VideoFrameStorySet(story.StorySet):
9 """Chrome proxy video tests: verify frames of transcoded videos""" 9 """Chrome proxy video tests: verify frames of transcoded videos"""
10 def __init__(self): 10 def __init__(self):
11 super(VideoFramePageSet, self).__init__() 11 super(VideoFrameStorySet, self).__init__()
12 for url in [ 12 for url in [
13 'http://check.googlezip.net/cacheable/video/buck_bunny_640x360_24fps_vid eo.html', 13 'http://check.googlezip.net/cacheable/video/buck_bunny_640x360_24fps_vid eo.html',
14 'http://check.googlezip.net/cacheable/video/buck_bunny_60fps_video.html' , 14 'http://check.googlezip.net/cacheable/video/buck_bunny_60fps_video.html' ,
15 ]: 15 ]:
16 self.AddUserStory(page_module.Page(url, self)) 16 self.AddStory(page_module.Page(url, self))
17 17
18 class VideoAudioPageSet(page_set_module.PageSet): 18 class VideoAudioStorySet(story.StorySet):
19 """Chrome proxy video tests: verify audio of transcoded videos""" 19 """Chrome proxy video tests: verify audio of transcoded videos"""
20 def __init__(self): 20 def __init__(self):
21 super(VideoAudioPageSet, self).__init__() 21 super(VideoAudioStorySet, self).__init__()
22 for url in [ 22 for url in [
23 'http://check.googlezip.net/cacheable/video/buck_bunny_640x360_24fps_aud io.html', 23 'http://check.googlezip.net/cacheable/video/buck_bunny_640x360_24fps_aud io.html',
24 ]: 24 ]:
25 self.AddUserStory(page_module.Page(url, self)) 25 self.AddStory(page_module.Page(url, self))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698