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

Unified Diff: chrome/browser/media_uitest.cc

Issue 8427026: Add CrOS specific codecs and media files to ui_tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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.flac » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/media_uitest.cc
===================================================================
--- chrome/browser/media_uitest.cc (revision 108165)
+++ chrome/browser/media_uitest.cc (working copy)
@@ -62,7 +62,7 @@
#define MAYBE_VideoBearWebm FLAKY_VideoBearWebm
#else
#define MAYBE_VideoBearTheora VideoBearTheora
-#define MAYBE_VideoBearWav VideoBearWav
+#define MAYBE_VideoBearWavPcm VideoBearWavPcm
#define MAYBE_VideoBearWebm VideoBearWebm
#endif
@@ -92,10 +92,46 @@
}
#endif
-TEST_F(MediaTest, MAYBE_VideoBearWav) {
- PlayVideo("bear.wav");
+#if defined(OS_CHROMEOS)
+#if defined(GOOGLE_CHROME_BUILD) || defined(USE_PROPRIETARY_CODECS)
+TEST_F(MediaTest, VideoBearAviMp3Mpeg4) {
+ PlayVideo("bear_mpeg4_mp3.avi");
}
+TEST_F(MediaTest, VideoBearAviMp3Divx) {
+ PlayVideo("bear_divx_mp3.avi");
+}
+
+TEST_F(MediaTest, VideoBear3gpAacH264) {
+ PlayVideo("bear_h264_aac.3gp");
+}
+
+TEST_F(MediaTest, VideoBear3gpAmrnbMpeg4) {
+ PlayVideo("bear_mpeg4_amrnb.3gp");
+}
+
+// TODO(ihf): Enable these audio codecs for CrOS.
+// TEST_F(MediaTest, VideoBearWavAlaw) {
+// PlayVideo("bear_alaw.wav");
+// }
+// TEST_F(MediaTest, VideoBearWavGsmms) {
+// PlayVideo("bear_gsmms.wav");
+// }
+
+TEST_F(MediaTest, VideoBearWavMulaw) {
+ PlayVideo("bear_mulaw.wav");
+}
+
+TEST_F(MediaTest, VideoBearFlac) {
+ PlayVideo("bear.flac");
+}
+#endif
+#endif
+
+TEST_F(MediaTest, MAYBE_VideoBearWavPcm) {
+ PlayVideo("bear_pcm.wav");
+}
+
#if defined(OS_MACOSX)
// http://crbug.com/95274 - MediaUILayoutTest is flaky on Mac.
#define MAYBE_MediaUILayoutTest FLAKY_MediaUILayoutTest
« no previous file with comments | « no previous file | chrome/test/data/media/bear.flac » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698