Commit 6df5b67c authored by ihf@chromium.org's avatar ihf@chromium.org

Add CrOS specific codecs and media files to ui_tests.

TESTS=ran files on mario and in ui_tests

BUG=chromium-os:20057, chromium-os:21037
Review URL: http://codereview.chromium.org/8427026

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108333 0039d316-1c4b-4281-b951-d872f2087c98
parent 47578fa0
...@@ -62,7 +62,7 @@ class MediaTest : public UITest { ...@@ -62,7 +62,7 @@ class MediaTest : public UITest {
#define MAYBE_VideoBearWebm FLAKY_VideoBearWebm #define MAYBE_VideoBearWebm FLAKY_VideoBearWebm
#else #else
#define MAYBE_VideoBearTheora VideoBearTheora #define MAYBE_VideoBearTheora VideoBearTheora
#define MAYBE_VideoBearWav VideoBearWav #define MAYBE_VideoBearWavPcm VideoBearWavPcm
#define MAYBE_VideoBearWebm VideoBearWebm #define MAYBE_VideoBearWebm VideoBearWebm
#endif #endif
...@@ -92,8 +92,44 @@ TEST_F(MediaTest, VideoBearSilentMp4) { ...@@ -92,8 +92,44 @@ TEST_F(MediaTest, VideoBearSilentMp4) {
} }
#endif #endif
TEST_F(MediaTest, MAYBE_VideoBearWav) { #if defined(OS_CHROMEOS)
PlayVideo("bear.wav"); #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) #if defined(OS_MACOSX)
......
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