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

Side by Side Diff: chrome/android/javatests/src/org/chromium/chrome/browser/tabmodel/ContextMenuLoadUrlParamsTest.java

Issue 2583933003: Replace deprecated Android java test annotations (Closed)
Patch Set: Rebase again Created 3 years, 12 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 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.tabmodel; 5 package org.chromium.chrome.browser.tabmodel;
6 6
7 import android.app.Activity; 7 import android.app.Activity;
8 import android.test.suitebuilder.annotation.MediumTest; 8 import android.support.test.filters.MediumTest;
9 9
10 import org.chromium.base.ThreadUtils; 10 import org.chromium.base.ThreadUtils;
11 import org.chromium.base.test.util.Feature; 11 import org.chromium.base.test.util.Feature;
12 import org.chromium.base.test.util.RetryOnFailure; 12 import org.chromium.base.test.util.RetryOnFailure;
13 import org.chromium.chrome.R; 13 import org.chromium.chrome.R;
14 import org.chromium.chrome.browser.firstrun.FirstRunStatus; 14 import org.chromium.chrome.browser.firstrun.FirstRunStatus;
15 import org.chromium.chrome.browser.tab.Tab; 15 import org.chromium.chrome.browser.tab.Tab;
16 import org.chromium.chrome.browser.tabmodel.TabModel.TabLaunchType; 16 import org.chromium.chrome.browser.tabmodel.TabModel.TabLaunchType;
17 import org.chromium.chrome.browser.tabmodel.TabWindowManager.TabModelSelectorFac tory; 17 import org.chromium.chrome.browser.tabmodel.TabWindowManager.TabModelSelectorFac tory;
18 import org.chromium.chrome.test.ChromeTabbedActivityTestBase; 18 import org.chromium.chrome.test.ChromeTabbedActivityTestBase;
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 Tab tab = getActivity().getActivityTab(); 149 Tab tab = getActivity().getActivityTab();
150 ContextMenuUtils.selectContextMenuItem(this, tab, openerDomId, menuItemI d); 150 ContextMenuUtils.selectContextMenuItem(this, tab, openerDomId, menuItemI d);
151 getInstrumentation().waitForIdleSync(); 151 getInstrumentation().waitForIdleSync();
152 } 152 }
153 153
154 @Override 154 @Override
155 public void startMainActivity() throws InterruptedException { 155 public void startMainActivity() throws InterruptedException {
156 startMainActivityOnBlankPage(); 156 startMainActivityOnBlankPage();
157 } 157 }
158 } 158 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698