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

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

Issue 878163004: [Android] Convert ContentShellTest.apk to isolate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix bad rebase Created 5 years, 10 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/ContentShellTestBase.java
diff --git a/content/shell/android/javatests/src/org/chromium/content_shell_apk/ContentShellTestBase.java b/content/shell/android/javatests/src/org/chromium/content_shell_apk/ContentShellTestBase.java
index a4c8b3aba52f7349ec95c3ae0f369a0d5c07e259..92749677461350e3cd8d0a20f1b0032debcdb3ad 100644
--- a/content/shell/android/javatests/src/org/chromium/content_shell_apk/ContentShellTestBase.java
+++ b/content/shell/android/javatests/src/org/chromium/content_shell_apk/ContentShellTestBase.java
@@ -75,10 +75,11 @@ public class ContentShellTestBase
* @param url Test url to load.
*/
protected void startActivityWithTestUrl(String url) throws Throwable {
- launchContentShellWithUrl(UrlUtils.getTestFileUrl(url));
+ launchContentShellWithUrl(UrlUtils.getIsolatedTestFileUrl(url));
assertNotNull(getActivity());
assertTrue(waitForActiveShellToBeDoneLoading());
- assertEquals(UrlUtils.getTestFileUrl(url), getContentViewCore().getWebContents().getUrl());
+ assertEquals(UrlUtils.getIsolatedTestFileUrl(url),
+ getContentViewCore().getWebContents().getUrl());
}
/**

Powered by Google App Engine
This is Rietveld 408576698