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

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

Issue 2201783003: Add test to ensure shouldOverrideUrlLoading throws Java exception (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add testbase for separate-service tests, use this from AwSecondBrowserTest. Created 4 years, 3 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
Index: android_webview/javatests/src/org/chromium/android_webview/test/AndroidScrollIntegrationTest.java
diff --git a/android_webview/javatests/src/org/chromium/android_webview/test/AndroidScrollIntegrationTest.java b/android_webview/javatests/src/org/chromium/android_webview/test/AndroidScrollIntegrationTest.java
index 3089aafa14267f48d330852e5c64772c9ae9e402..309bfc4b2a2cdffcc7703fc2202dc9ea6260e3af 100644
--- a/android_webview/javatests/src/org/chromium/android_webview/test/AndroidScrollIntegrationTest.java
+++ b/android_webview/javatests/src/org/chromium/android_webview/test/AndroidScrollIntegrationTest.java
@@ -10,6 +10,7 @@ import android.view.View;
import org.chromium.android_webview.AwContents;
import org.chromium.android_webview.AwScrollOffsetManager;
+import org.chromium.android_webview.test.AwTestBaseUtility.TestDependencyFactory;
import org.chromium.android_webview.test.util.AwTestTouchUtils;
import org.chromium.android_webview.test.util.CommonResources;
import org.chromium.android_webview.test.util.JavascriptEventObserver;
@@ -132,9 +133,9 @@ public class AndroidScrollIntegrationTest extends AwTestBase {
return new AwScrollOffsetManager(delegate);
}
@Override
- public AwTestContainerView createAwTestContainerView(AwTestRunnerActivity activity,
+ public AwTestContainerView createAwTestContainerView(Context context,
boolean allowHardwareAcceleration) {
- return new ScrollTestContainerView(activity, allowHardwareAcceleration);
+ return new ScrollTestContainerView(context, allowHardwareAcceleration);
}
};
}

Powered by Google App Engine
This is Rietveld 408576698