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

Unified Diff: content/public/android/javatests/src/org/chromium/content/browser/AddressDetectionTest.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/public/android/javatests/src/org/chromium/content/browser/AddressDetectionTest.java
diff --git a/content/public/android/javatests/src/org/chromium/content/browser/AddressDetectionTest.java b/content/public/android/javatests/src/org/chromium/content/browser/AddressDetectionTest.java
index 3b6bc809a1ecaec6382b4dbb51e424a2c58c02e3..cdb2c53967c00ffb03fd17513a9af2275b60afbb 100644
--- a/content/public/android/javatests/src/org/chromium/content/browser/AddressDetectionTest.java
+++ b/content/public/android/javatests/src/org/chromium/content/browser/AddressDetectionTest.java
@@ -24,7 +24,8 @@ public class AddressDetectionTest extends ContentDetectionTestBase {
@MediumTest
@Feature({"ContentDetection", "TabContents"})
public void testMultipleAddressesInText() throws Throwable {
- startActivityWithTestUrl("content/content_detection/geo_address_multiple.html");
+ startActivityWithTestUrl(
+ "content/test/data/android/content_detection/geo_address_multiple.html");
assertWaitForPageScaleFactorMatch(1.0f);
assertTrue(isExpectedGeoIntent(scrollAndTapExpectingIntent("test1"),
@@ -37,7 +38,8 @@ public class AddressDetectionTest extends ContentDetectionTestBase {
@MediumTest
@Feature({"ContentDetection", "TabContents"})
public void testSplitAddresses() throws Throwable {
- startActivityWithTestUrl("content/content_detection/geo_address_split.html");
+ startActivityWithTestUrl(
+ "content/test/data/android/content_detection/geo_address_split.html");
assertWaitForPageScaleFactorMatch(1.0f);
assertTrue(isExpectedGeoIntent(scrollAndTapExpectingIntent("test1"),
@@ -56,7 +58,8 @@ public class AddressDetectionTest extends ContentDetectionTestBase {
@MediumTest
@Feature({"ContentDetection", "TabContents"})
public void testAddressLimits() throws Throwable {
- startActivityWithTestUrl("content/content_detection/geo_address_limits.html");
+ startActivityWithTestUrl(
+ "content/test/data/android/content_detection/geo_address_limits.html");
assertWaitForPageScaleFactorMatch(1.0f);
assertTrue(isExpectedGeoIntent(scrollAndTapExpectingIntent("test1"),
@@ -75,7 +78,8 @@ public class AddressDetectionTest extends ContentDetectionTestBase {
@MediumTest
@Feature({"ContentDetection", "TabContents"})
public void testRealAddresses() throws Throwable {
- startActivityWithTestUrl("content/content_detection/geo_address_real.html");
+ startActivityWithTestUrl(
+ "content/test/data/android/content_detection/geo_address_real.html");
assertWaitForPageScaleFactorMatch(1.0f);
assertTrue(isExpectedGeoIntent(scrollAndTapExpectingIntent("test1"),
@@ -94,7 +98,8 @@ public class AddressDetectionTest extends ContentDetectionTestBase {
@MediumTest
@Feature({"ContentDetection", "TabContents"})
public void testSpecialChars() throws Throwable {
- startActivityWithTestUrl("content/content_detection/geo_address_special_chars.html");
+ startActivityWithTestUrl(
+ "content/test/data/android/content_detection/geo_address_special_chars.html");
assertWaitForPageScaleFactorMatch(1.0f);
assertTrue(isExpectedGeoIntent(scrollAndTapExpectingIntent("test1"),

Powered by Google App Engine
This is Rietveld 408576698