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

Unified Diff: content/public/android/javatests/src/org/chromium/content/browser/AddressDetectionTest.java

Issue 2199223002: Remove unnecessary page loading in ContentShellActivity (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Bringing back the assertWaitForPatchScaleFactorMatch check in ContentViewZoomingTest Created 4 years, 4 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
« no previous file with comments | « no previous file | content/public/android/javatests/src/org/chromium/content/browser/ClickListenerTest.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 cdb2c53967c00ffb03fd17513a9af2275b60afbb..efc8f189cb5f72ec064de7b22ce5a42a8955c75f 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
@@ -26,7 +26,6 @@ public class AddressDetectionTest extends ContentDetectionTestBase {
public void testMultipleAddressesInText() throws Throwable {
startActivityWithTestUrl(
"content/test/data/android/content_detection/geo_address_multiple.html");
- assertWaitForPageScaleFactorMatch(1.0f);
assertTrue(isExpectedGeoIntent(scrollAndTapExpectingIntent("test1"),
"1600 Amphitheatre Parkway Mountain View, CA 94043"));
@@ -40,7 +39,6 @@ public class AddressDetectionTest extends ContentDetectionTestBase {
public void testSplitAddresses() throws Throwable {
startActivityWithTestUrl(
"content/test/data/android/content_detection/geo_address_split.html");
- assertWaitForPageScaleFactorMatch(1.0f);
assertTrue(isExpectedGeoIntent(scrollAndTapExpectingIntent("test1"),
"9606 North MoPac Expressway Suite 400 Austin, TX 78759"));
@@ -60,7 +58,6 @@ public class AddressDetectionTest extends ContentDetectionTestBase {
public void testAddressLimits() throws Throwable {
startActivityWithTestUrl(
"content/test/data/android/content_detection/geo_address_limits.html");
- assertWaitForPageScaleFactorMatch(1.0f);
assertTrue(isExpectedGeoIntent(scrollAndTapExpectingIntent("test1"),
"2590 Pearl Street Suite 100 Boulder, CO 80302"));
@@ -80,7 +77,6 @@ public class AddressDetectionTest extends ContentDetectionTestBase {
public void testRealAddresses() throws Throwable {
startActivityWithTestUrl(
"content/test/data/android/content_detection/geo_address_real.html");
- assertWaitForPageScaleFactorMatch(1.0f);
assertTrue(isExpectedGeoIntent(scrollAndTapExpectingIntent("test1"),
"57th Street and Lake Shore Drive Chicago, IL 60637"));
@@ -100,7 +96,6 @@ public class AddressDetectionTest extends ContentDetectionTestBase {
public void testSpecialChars() throws Throwable {
startActivityWithTestUrl(
"content/test/data/android/content_detection/geo_address_special_chars.html");
- assertWaitForPageScaleFactorMatch(1.0f);
assertTrue(isExpectedGeoIntent(scrollAndTapExpectingIntent("test1"),
"100 34th Avenue , San Francisco, CA 94121"));
« no previous file with comments | « no previous file | content/public/android/javatests/src/org/chromium/content/browser/ClickListenerTest.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698