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

Unified Diff: content/shell/android/javatests/src/org/chromium/content_shell_apk/ContentShellTestCommon.java

Issue 2739603003: Add TestRules for content shell test and refactor test bases (Closed)
Patch Set: Address +boliu's comments Created 3 years, 9 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: content/shell/android/javatests/src/org/chromium/content_shell_apk/ContentShellTestCommon.java
diff --git a/content/shell/android/javatests/src/org/chromium/content_shell_apk/ContentShellTestCommon.java b/content/shell/android/javatests/src/org/chromium/content_shell_apk/ContentShellTestCommon.java
index 263723fb1ed6ed790372310d99d29597d5cca563..1259221bff4d849df0f97c01c62b50640476ef3c 100644
--- a/content/shell/android/javatests/src/org/chromium/content_shell_apk/ContentShellTestCommon.java
+++ b/content/shell/android/javatests/src/org/chromium/content_shell_apk/ContentShellTestCommon.java
@@ -191,5 +191,9 @@ public final class ContentShellTestCommon {
T launchActivityWithIntentForTestCommon(Intent t);
T getActivityForTestCommon();
void runOnUiThreadForTestCommon(Runnable runnable) throws Throwable;
+ ContentViewCore getContentViewCoreForTestCommon();
+ ContentShellActivity launchContentShellWithUrlForTestCommon(String url);
+ WebContents getWebContentsForTestCommon();
+ void waitForActiveShellToBeDoneLoadingForTestCommon();
}
}

Powered by Google App Engine
This is Rietveld 408576698