summaryrefslogtreecommitdiffstats
path: root/chrome/browser/media_uitest.cc
diff options
context:
space:
mode:
authorhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-10 21:40:20 +0000
committerhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-10 21:40:20 +0000
commitbd68c98a38b630046ba7e6b83d9811d1bc2a27a9 (patch)
treea4e059202de252bd2b56fa4dad9f3e38326f29bd /chrome/browser/media_uitest.cc
parent551acd620a1bc5c48efa05b4119bf90d940279d8 (diff)
downloadchromium_src-bd68c98a38b630046ba7e6b83d9811d1bc2a27a9.zip
chromium_src-bd68c98a38b630046ba7e6b83d9811d1bc2a27a9.tar.gz
chromium_src-bd68c98a38b630046ba7e6b83d9811d1bc2a27a9.tar.bz2
Enable a ui test that plays video without audio stream
TEST=MediaTest.VideoBearSilentTheora BUG=16012 Review URL: http://codereview.chromium.org/155375 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20423 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/media_uitest.cc')
-rw-r--r--chrome/browser/media_uitest.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/chrome/browser/media_uitest.cc b/chrome/browser/media_uitest.cc
index ce80710..41b949c 100644
--- a/chrome/browser/media_uitest.cc
+++ b/chrome/browser/media_uitest.cc
@@ -47,6 +47,17 @@ class MediaTest : public UITest {
}
};
+// <video> and <audio> only works stably on Windows.
+#if defined(OS_WIN)
+
+// TODO(hclam): The following test is disabled because it contains audio and
+// this test doesn't work with audio device.
TEST_F(MediaTest, DISABLED_VideoBearH264) {
PlayVideo("bear.mp4");
}
+
+TEST_F(MediaTest, VideoBearSilentTheora) {
+ PlayVideo("bear_silent.ogv");
+}
+
+#endif