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

Unified Diff: android_webview/javatests/src/org/chromium/android_webview/test/KeySystemTest.java

Issue 333003003: aw: Support the platform specific key-systems. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added 'media/base/android/java' into android_webview/java/DEPS. Created 6 years, 6 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
Index: android_webview/javatests/src/org/chromium/android_webview/test/KeySystemTest.java
diff --git a/android_webview/javatests/src/org/chromium/android_webview/test/KeySystemTest.java b/android_webview/javatests/src/org/chromium/android_webview/test/KeySystemTest.java
index f3dd6ce7025c79b346784d4407b9fad5b1f96e3b..b884b920d8bd4b275da3fa15ba9900199d37b806 100644
--- a/android_webview/javatests/src/org/chromium/android_webview/test/KeySystemTest.java
+++ b/android_webview/javatests/src/org/chromium/android_webview/test/KeySystemTest.java
@@ -5,6 +5,7 @@
package org.chromium.android_webview.test;
import android.test.suitebuilder.annotation.SmallTest;
+
import org.chromium.android_webview.AwContents;
import org.chromium.base.test.util.DisabledTest;
import org.chromium.base.test.util.Feature;
@@ -65,4 +66,10 @@ public class KeySystemTest extends AwTestBase {
public void testNotSupportFooKeySystem() throws Throwable {
assertEquals("\"\"", IsKeySystemSupported("com.foo.keysystem"));
}
+
+ @Feature({"AndroidWebView"})
+ @SmallTest
+ public void testSupportPlatformKeySystem() throws Throwable {
+ assertEquals("\"maybe\"", IsKeySystemSupported("com.oem.test-keysystem"));
+ }
}

Powered by Google App Engine
This is Rietveld 408576698