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

Unified Diff: chrome/browser/media_uitest.cc

Issue 3176035: Add simple playback tests for WebM and MP4 files. (Closed)
Patch Set: Created 10 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/test/data/media/bear.webm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/media_uitest.cc
diff --git a/chrome/browser/media_uitest.cc b/chrome/browser/media_uitest.cc
index 51e6919a0fe2ded9d9106cbc898ec235623fcd6e..f077b149d2910f91438f9c559f3081084ae7af96 100644
--- a/chrome/browser/media_uitest.cc
+++ b/chrome/browser/media_uitest.cc
@@ -56,6 +56,24 @@ TEST_F(MediaTest, VideoBearSilentTheora) {
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) {
static const char* kResources[] = {
"content",
« no previous file with comments | « no previous file | chrome/test/data/media/bear.webm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698