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

Unified Diff: content/shell/android/javatests/src/org/chromium/content_shell_apk/ContentShellPreconditionsTest.java

Issue 2583933003: Replace deprecated Android java test annotations (Closed)
Patch Set: Rebase again :( 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 side-by-side diff with in-line comments
Download patch
Index: content/shell/android/javatests/src/org/chromium/content_shell_apk/ContentShellPreconditionsTest.java
diff --git a/content/shell/android/javatests/src/org/chromium/content_shell_apk/ContentShellPreconditionsTest.java b/content/shell/android/javatests/src/org/chromium/content_shell_apk/ContentShellPreconditionsTest.java
index b1e0e654766d23449dfea5f97fb905f0b1f9605e..21495fc1ddc195188d8bd31901da206b822a8a10 100644
--- a/content/shell/android/javatests/src/org/chromium/content_shell_apk/ContentShellPreconditionsTest.java
+++ b/content/shell/android/javatests/src/org/chromium/content_shell_apk/ContentShellPreconditionsTest.java
@@ -8,7 +8,7 @@ import android.annotation.TargetApi;
import android.content.Context;
import android.os.Build;
import android.os.PowerManager;
-import android.test.suitebuilder.annotation.Smoke;
+import android.support.test.filters.MediumTest;
import org.chromium.base.test.util.Feature;
@@ -18,7 +18,7 @@ import org.chromium.base.test.util.Feature;
public class ContentShellPreconditionsTest extends ContentShellTestBase {
@TargetApi(Build.VERSION_CODES.KITKAT_WATCH)
@SuppressWarnings("deprecation")
- @Smoke
+ @MediumTest
@Feature({"TestInfrastructure"})
public void testScreenIsOn() throws Exception {
PowerManager pm = (PowerManager) getInstrumentation().getContext().getSystemService(

Powered by Google App Engine
This is Rietveld 408576698