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

Unified Diff: android_webview/javatests/src/org/chromium/android_webview/test/AwTestBase.java

Issue 1263433002: [Android] Move @CommandLineFlag setup to BaseInstrumentationTestRunner. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | base/android/java/src/org/chromium/base/CommandLine.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/javatests/src/org/chromium/android_webview/test/AwTestBase.java
diff --git a/android_webview/javatests/src/org/chromium/android_webview/test/AwTestBase.java b/android_webview/javatests/src/org/chromium/android_webview/test/AwTestBase.java
index dec1762a8055e8979fe996ae2d61cea1f056d5fb..25cfa8d449edae14da04a213f878fd3bb17917d0 100644
--- a/android_webview/javatests/src/org/chromium/android_webview/test/AwTestBase.java
+++ b/android_webview/javatests/src/org/chromium/android_webview/test/AwTestBase.java
@@ -7,7 +7,6 @@ package org.chromium.android_webview.test;
import android.app.Instrumentation;
import android.content.Context;
import android.graphics.Bitmap;
-import android.test.ActivityInstrumentationTestCase2;
import android.util.Log;
import static org.chromium.base.test.util.ScalableTimeout.scaleTimeout;
@@ -19,6 +18,7 @@ import org.chromium.android_webview.AwContentsClient;
import org.chromium.android_webview.AwSettings;
import org.chromium.android_webview.test.util.GraphicsTestUtils;
import org.chromium.android_webview.test.util.JSUtils;
+import org.chromium.base.test.BaseActivityInstrumentationTestCase;
import org.chromium.base.test.util.InMemorySharedPreferences;
import org.chromium.content.browser.test.util.CallbackHelper;
import org.chromium.content.browser.test.util.Criteria;
@@ -39,7 +39,7 @@ import java.util.concurrent.atomic.AtomicReference;
* A base class for android_webview tests.
*/
public class AwTestBase
- extends ActivityInstrumentationTestCase2<AwTestRunnerActivity> {
+ extends BaseActivityInstrumentationTestCase<AwTestRunnerActivity> {
public static final long WAIT_TIMEOUT_MS = scaleTimeout(15000);
public static final int CHECK_INTERVAL = 100;
private static final String TAG = "AwTestBase";
« no previous file with comments | « no previous file | base/android/java/src/org/chromium/base/CommandLine.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698