forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added tests for chrome proxy video transcoder
BUG= Review URL: https://codereview.chromium.org/1209443004 Cr-Commit-Position: refs/heads/master@{#335987}
- Loading branch information
harringtond
authored and
Commit bot
committed
Jun 24, 2015
1 parent
0ca2573
commit cd1a256
Showing
4 changed files
with
95 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
tools/chrome_proxy/integration_tests/chrome_proxy_pagesets/video_instrumented.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Copyright 2014 The Chromium Authors. All rights reserved. | ||
# Use of this source code is governed by a BSD-style license that can be | ||
# found in the LICENSE file. | ||
|
||
from telemetry.page import page as page_module | ||
from telemetry.page import page_set as page_set_module | ||
|
||
class VideoFramePageSet(page_set_module.PageSet): | ||
"""Chrome proxy video tests: verify frames of transcoded videos""" | ||
def __init__(self): | ||
super(VideoFramePageSet, self).__init__() | ||
for url in [ | ||
'http://check.googlezip.net/cacheable/video/buck_bunny_640x360_24fps_video.html', | ||
'http://check.googlezip.net/cacheable/video/buck_bunny_60fps_video.html', | ||
]: | ||
self.AddUserStory(page_module.Page(url, self)) | ||
|
||
class VideoAudioPageSet(page_set_module.PageSet): | ||
"""Chrome proxy video tests: verify audio of transcoded videos""" | ||
def __init__(self): | ||
super(VideoAudioPageSet, self).__init__() | ||
for url in [ | ||
'http://check.googlezip.net/cacheable/video/buck_bunny_640x360_24fps_audio.html', | ||
]: | ||
self.AddUserStory(page_module.Page(url, self)) |