Add simple playback tests for WebM and MP4 files.

BUG=52866
TEST=The two new WebM tests pass in Chromium and all four new tests pass in
Chrome.

Review URL: http://codereview.chromium.org/3176035

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57319 0039d316-1c4b-4281-b951-d872f2087c98
parent bdc5584f
...@@ -56,6 +56,24 @@ TEST_F(MediaTest, VideoBearSilentTheora) { ...@@ -56,6 +56,24 @@ TEST_F(MediaTest, VideoBearSilentTheora) {
PlayVideo("bear_silent.ogv"); PlayVideo("bear_silent.ogv");
} }
TEST_F(MediaTest, VideoBearWebm) {
PlayVideo("bear.webm");
}
TEST_F(MediaTest, VideoBearSilentWebm) {
PlayVideo("bear_silent.webm");
}
#if defined(GOOGLE_CHROME_BUILD) || defined(USE_PROPRIETARY_CODECS)
TEST_F(MediaTest, VideoBearMp4) {
PlayVideo("bear.mp4");
}
TEST_F(MediaTest, VideoBearSilentMp4) {
PlayVideo("bear_silent.mp4");
}
#endif
TEST_F(UILayoutTest, MediaUILayoutTest) { TEST_F(UILayoutTest, MediaUILayoutTest) {
static const char* kResources[] = { static const char* kResources[] = {
"content", "content",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment