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

Unified Diff: trunk/src/content/browser/media/encrypted_media_browsertest.cc

Issue 26565003: Revert 227565 "Enable EncryptedMediaTest (in content_browsertest..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 2 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 | « trunk/src/build/android/pylib/gtest/filter/content_browsertests_disabled ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/content/browser/media/encrypted_media_browsertest.cc
===================================================================
--- trunk/src/content/browser/media/encrypted_media_browsertest.cc (revision 227626)
+++ trunk/src/content/browser/media/encrypted_media_browsertest.cc (working copy)
@@ -104,18 +104,10 @@
#endif
};
-using ::testing::Combine;
-using ::testing::Values;
+INSTANTIATE_TEST_CASE_P(ClearKey, EncryptedMediaTest,
+ ::testing::Combine(
+ ::testing::Values(kClearKeyKeySystem), ::testing::Values(SRC, MSE)));
-#if !defined(OS_ANDROID)
-// Encrypted media playback with SRC is not supported on Android.
-INSTANTIATE_TEST_CASE_P(SRC_ClearKey, EncryptedMediaTest,
- Combine(Values(kClearKeyKeySystem), Values(SRC)));
-#endif // defined(OS_ANDROID)
-
-INSTANTIATE_TEST_CASE_P(MSE_ClearKey, EncryptedMediaTest,
- Combine(Values(kClearKeyKeySystem), Values(MSE)));
-
IN_PROC_BROWSER_TEST_P(EncryptedMediaTest, Playback_AudioOnly_WebM) {
TestSimplePlayback("bear-a-enc_a.webm", kWebMAudioOnly);
}
@@ -151,7 +143,7 @@
IN_PROC_BROWSER_TEST_F(EncryptedMediaTest, UnknownKeySystemThrowsException) {
RunEncryptedMediaTest("encrypted_media_player.html", "bear-a-enc_a.webm",
- kWebMAudioOnly, "com.example.foo", MSE,
+ kWebMAudioOnly, "com.example.foo", SRC,
kEmeGkrException);
}
« no previous file with comments | « trunk/src/build/android/pylib/gtest/filter/content_browsertests_disabled ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698