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

Side by Side Diff: chrome/android/javatests/src/org/chromium/chrome/browser/ProcessIsolationTest.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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.chrome.browser; 5 package org.chromium.chrome.browser;
6 6
7 import android.test.suitebuilder.annotation.MediumTest; 7 import android.support.test.filters.MediumTest;
8 import android.text.TextUtils; 8 import android.text.TextUtils;
9 9
10 import org.chromium.base.BuildInfo; 10 import org.chromium.base.BuildInfo;
11 import org.chromium.base.test.util.DisableIf; 11 import org.chromium.base.test.util.DisableIf;
12 import org.chromium.base.test.util.Feature; 12 import org.chromium.base.test.util.Feature;
13 import org.chromium.base.test.util.RetryOnFailure; 13 import org.chromium.base.test.util.RetryOnFailure;
14 import org.chromium.chrome.test.ChromeActivityTestCaseBase; 14 import org.chromium.chrome.test.ChromeActivityTestCaseBase;
15 15
16 import java.io.BufferedReader; 16 import java.io.BufferedReader;
17 import java.io.IOException; 17 import java.io.IOException;
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 assertEquals("Found at least two processes with the same UID in ps outpu t: \n" 113 assertEquals("Found at least two processes with the same UID in ps outpu t: \n"
114 + sb.toString(), 114 + sb.toString(),
115 uids.size(), new HashSet<String>(uids).size()); 115 uids.size(), new HashSet<String>(uids).size());
116 } 116 }
117 117
118 @Override 118 @Override
119 public void startMainActivity() throws InterruptedException { 119 public void startMainActivity() throws InterruptedException {
120 startMainActivityFromLauncher(); 120 startMainActivityFromLauncher();
121 } 121 }
122 } 122 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698