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

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

Issue 2583933003: Replace deprecated Android java test annotations (Closed)
Patch Set: Created 4 years 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 package org.chromium.android_webview.test; 5 package org.chromium.android_webview.test;
6 6
7 import android.os.Build; 7 import android.os.Build;
8 import android.test.suitebuilder.annotation.SmallTest; 8 import android.support.test.filters.SmallTest;
9 9
10 import org.chromium.android_webview.AwContents; 10 import org.chromium.android_webview.AwContents;
11 import org.chromium.android_webview.permission.AwPermissionRequest; 11 import org.chromium.android_webview.permission.AwPermissionRequest;
12 import org.chromium.android_webview.permission.Resource; 12 import org.chromium.android_webview.permission.Resource;
13 import org.chromium.base.test.util.Feature; 13 import org.chromium.base.test.util.Feature;
14 14
15 import java.util.concurrent.Callable; 15 import java.util.concurrent.Callable;
16 16
17 /** 17 /**
18 * TestSuite for EME key systems. 18 * TestSuite for EME key systems.
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 assertEquals(getPlatformKeySystemExpectations(), 142 assertEquals(getPlatformKeySystemExpectations(),
143 isKeySystemSupported("x-com.oem.test-keysystem")); 143 isKeySystemSupported("x-com.oem.test-keysystem"));
144 } 144 }
145 145
146 @Feature({"AndroidWebView"}) 146 @Feature({"AndroidWebView"})
147 @SmallTest 147 @SmallTest
148 public void testSupportPlatformKeySystemNoPrefix() throws Throwable { 148 public void testSupportPlatformKeySystemNoPrefix() throws Throwable {
149 assertEquals("\"NotSupportedError\"", isKeySystemSupported("com.oem.test -keysystem")); 149 assertEquals("\"NotSupportedError\"", isKeySystemSupported("com.oem.test -keysystem"));
150 } 150 }
151 } 151 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698