OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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.content_shell_apk; | 5 package org.chromium.content_shell_apk; |
6 | 6 |
7 import static org.chromium.base.test.util.ScalableTimeout.scaleTimeout; | 7 import static org.chromium.base.test.util.ScalableTimeout.scaleTimeout; |
8 | 8 |
9 import android.content.ComponentName; | 9 import android.content.ComponentName; |
10 import android.content.Intent; | 10 import android.content.Intent; |
11 import android.net.Uri; | 11 import android.net.Uri; |
12 import android.test.ActivityInstrumentationTestCase2; | 12 import android.test.ActivityInstrumentationTestCase2; |
13 import android.text.TextUtils; | 13 import android.text.TextUtils; |
14 import android.view.ViewGroup; | 14 import android.view.ViewGroup; |
15 | 15 |
16 import org.chromium.base.ThreadUtils; | 16 import org.chromium.base.ThreadUtils; |
17 import org.chromium.base.test.util.UrlUtils; | 17 import org.chromium.base.test.util.UrlUtils; |
18 import org.chromium.content.browser.ContentView; | 18 import org.chromium.content.browser.ContentView; |
19 import org.chromium.content.browser.ContentViewCore; | 19 import org.chromium.content.browser.ContentViewCore; |
20 import org.chromium.content.browser.LoadUrlParams; | |
21 import org.chromium.content.browser.test.util.CallbackHelper; | 20 import org.chromium.content.browser.test.util.CallbackHelper; |
22 import org.chromium.content.browser.test.util.Criteria; | 21 import org.chromium.content.browser.test.util.Criteria; |
23 import org.chromium.content.browser.test.util.CriteriaHelper; | 22 import org.chromium.content.browser.test.util.CriteriaHelper; |
24 import org.chromium.content.browser.test.util.TestCallbackHelperContainer; | 23 import org.chromium.content.browser.test.util.TestCallbackHelperContainer; |
| 24 import org.chromium.content_public.browser.LoadUrlParams; |
25 import org.chromium.content_shell.Shell; | 25 import org.chromium.content_shell.Shell; |
26 | 26 |
27 import java.lang.annotation.ElementType; | 27 import java.lang.annotation.ElementType; |
28 import java.lang.annotation.Retention; | 28 import java.lang.annotation.Retention; |
29 import java.lang.annotation.RetentionPolicy; | 29 import java.lang.annotation.RetentionPolicy; |
30 import java.lang.annotation.Target; | 30 import java.lang.annotation.Target; |
31 import java.lang.reflect.Method; | 31 import java.lang.reflect.Method; |
32 import java.util.concurrent.TimeUnit; | 32 import java.util.concurrent.TimeUnit; |
33 import java.util.concurrent.atomic.AtomicBoolean; | 33 import java.util.concurrent.atomic.AtomicBoolean; |
34 | 34 |
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
242 * the ContentViewCore's container view (see {@link #runTest()}). | 242 * the ContentViewCore's container view (see {@link #runTest()}). |
243 * | 243 * |
244 * <p>Please note that {@link #setUp()} is only invoked once before both run
s, | 244 * <p>Please note that {@link #setUp()} is only invoked once before both run
s, |
245 * and that any state changes produced by the first run are visible to the s
econd run. | 245 * and that any state changes produced by the first run are visible to the s
econd run. |
246 */ | 246 */ |
247 @Target(ElementType.METHOD) | 247 @Target(ElementType.METHOD) |
248 @Retention(RetentionPolicy.RUNTIME) | 248 @Retention(RetentionPolicy.RUNTIME) |
249 public @interface RerunWithUpdatedContainerView { | 249 public @interface RerunWithUpdatedContainerView { |
250 } | 250 } |
251 } | 251 } |
OLD | NEW |