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

Side by Side Diff: chrome/android/javatests/src/org/chromium/chrome/browser/ShareIntentTest.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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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.content.ComponentName; 7 import android.content.ComponentName;
8 import android.content.Intent; 8 import android.content.Intent;
9 import android.content.pm.PackageManager; 9 import android.content.pm.PackageManager;
10 import android.net.Uri; 10 import android.net.Uri;
11 import android.os.AsyncTask; 11 import android.os.AsyncTask;
12 import android.os.ParcelFileDescriptor; 12 import android.os.ParcelFileDescriptor;
13 import android.test.suitebuilder.annotation.LargeTest; 13 import android.support.test.filters.LargeTest;
14 14
15 import org.chromium.base.ThreadUtils; 15 import org.chromium.base.ThreadUtils;
16 import org.chromium.base.test.util.RetryOnFailure; 16 import org.chromium.base.test.util.RetryOnFailure;
17 import org.chromium.chrome.browser.share.ShareHelper; 17 import org.chromium.chrome.browser.share.ShareHelper;
18 import org.chromium.chrome.browser.tab.Tab; 18 import org.chromium.chrome.browser.tab.Tab;
19 import org.chromium.chrome.browser.util.ChromeFileProvider; 19 import org.chromium.chrome.browser.util.ChromeFileProvider;
20 import org.chromium.chrome.test.ChromeTabbedActivityTestBase; 20 import org.chromium.chrome.test.ChromeTabbedActivityTestBase;
21 21
22 import java.io.IOException; 22 import java.io.IOException;
23 23
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 } 128 }
129 129
130 ShareHelper.setLastShareComponentName(new ComponentName("", "")); 130 ShareHelper.setLastShareComponentName(new ComponentName("", ""));
131 } 131 }
132 132
133 @Override 133 @Override
134 public void startMainActivity() throws InterruptedException { 134 public void startMainActivity() throws InterruptedException {
135 startMainActivityOnBlankPage(); 135 startMainActivityOnBlankPage();
136 } 136 }
137 } 137 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698