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

Unified Diff: android_webview/tools/automated_ui_tests/javatests/src/org/chromium/webview_ui_test/test/util/WebViewUiTestRule.java

Issue 2154023002: adding action mode tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix merge conflict Created 4 years, 1 month 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/tools/automated_ui_tests/javatests/src/org/chromium/webview_ui_test/test/util/WebViewUiTestRule.java
diff --git a/android_webview/tools/automated_ui_tests/javatests/src/org/chromium/webview_ui_test/test/util/WebViewUiTestRule.java b/android_webview/tools/automated_ui_tests/javatests/src/org/chromium/webview_ui_test/test/util/WebViewUiTestRule.java
index 40438dcf1622d343f030d47a83fcf7d93d609dcc..d60a16bdab2229d689d4135494d0b5a28bef2b07 100644
--- a/android_webview/tools/automated_ui_tests/javatests/src/org/chromium/webview_ui_test/test/util/WebViewUiTestRule.java
+++ b/android_webview/tools/automated_ui_tests/javatests/src/org/chromium/webview_ui_test/test/util/WebViewUiTestRule.java
@@ -57,6 +57,15 @@ public class WebViewUiTestRule extends ActivityTestRule<WebViewUiTestActivity> {
return launchActivity(new Intent());
}
+ public void loadDataSync(
+ String data, String mimeType, String encoding, boolean confirmByJavaScript) {
+ try {
+ mSyncWrapper.loadDataSync(data, mimeType, encoding, confirmByJavaScript);
+ } catch (InterruptedException e) {
+ Assert.fail(e.getMessage());
+ }
+ }
+
public void loadJavaScriptSync(String js, boolean appendConfirmationJavascript) {
try {
mSyncWrapper.loadJavaScriptSync(js, appendConfirmationJavascript);
« no previous file with comments | « android_webview/tools/automated_ui_tests/javatests/src/org/chromium/webview_ui_test/test/util/WebViewSyncWrapper.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698