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

Unified Diff: chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestDynamicShippingSingleAddressTest.java

Issue 2808983003: [Payments] Format shipping and billing phone number in normalizer. (Closed)
Patch Set: Nits Created 3 years, 8 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: chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestDynamicShippingSingleAddressTest.java
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestDynamicShippingSingleAddressTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestDynamicShippingSingleAddressTest.java
index 293cc91e09bb2c5d1c03f5564b791e9f1e6b4aec..5d41fec924f9551c5a9d03f0b81c3252b5605036 100644
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestDynamicShippingSingleAddressTest.java
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestDynamicShippingSingleAddressTest.java
@@ -66,8 +66,8 @@ public class PaymentRequestDynamicShippingSingleAddressTest extends PaymentReque
setTextInCardUnmaskDialogAndWait(R.id.card_unmask_input, "123", mReadyToUnmask);
clickCardUnmaskButtonAndWait(DialogInterface.BUTTON_POSITIVE, mDismissed);
expectResultContains(new String[] {"Jon Doe", "4111111111111111", "12", "2050", "visa",
- "123", "Google", "340 Main St", "CA", "Los Angeles", "90291", "US", "en",
- "californiaShippingOption"});
+ "123", "Google", "340 Main St", "CA", "Los Angeles", "90291", "+16502530000", "US",
+ "en", "californiaShippingOption"});
}
/** Expand the shipping address section, select an address, edit it and click "Pay." */
@@ -91,8 +91,8 @@ public class PaymentRequestDynamicShippingSingleAddressTest extends PaymentReque
setTextInCardUnmaskDialogAndWait(R.id.card_unmask_input, "123", mReadyToUnmask);
clickCardUnmaskButtonAndWait(DialogInterface.BUTTON_POSITIVE, mDismissed);
expectResultContains(new String[] {"Jane Doe", "4111111111111111", "12", "2050", "visa",
- "123", "Google", "340 Main St", "CA", "Los Angeles", "90291", "US", "en",
- "californiaShippingOption"});
+ "123", "Google", "340 Main St", "CA", "Los Angeles", "90291", "+16502530000", "US",
+ "en", "californiaShippingOption"});
}
/** Expand the shipping address section, select address, edit but cancel editing, and "Pay". */
@@ -117,8 +117,8 @@ public class PaymentRequestDynamicShippingSingleAddressTest extends PaymentReque
setTextInCardUnmaskDialogAndWait(R.id.card_unmask_input, "123", mReadyToUnmask);
clickCardUnmaskButtonAndWait(DialogInterface.BUTTON_POSITIVE, mDismissed);
expectResultContains(new String[] {"Jon Doe", "4111111111111111", "12", "2050", "visa",
- "123", "Google", "340 Main St", "CA", "Los Angeles", "90291", "US", "en",
- "californiaShippingOption"});
+ "123", "Google", "340 Main St", "CA", "Los Angeles", "90291", "+16502530000", "US",
+ "en", "californiaShippingOption"});
}
/** Attempt to add an invalid address and cancel the transaction. */
@@ -158,7 +158,7 @@ public class PaymentRequestDynamicShippingSingleAddressTest extends PaymentReque
setTextInCardUnmaskDialogAndWait(R.id.card_unmask_input, "123", mReadyToUnmask);
clickCardUnmaskButtonAndWait(DialogInterface.BUTTON_POSITIVE, mDismissed);
expectResultContains(new String[] {"Bob", "Google", "1600 Amphitheatre Pkwy",
- "Mountain View", "CA", "94043", "+1 650-253-0000"});
+ "Mountain View", "CA", "94043", "+16502530000"});
}
/** Quickly pressing "add address" and then [X] should not crash. */

Powered by Google App Engine
This is Rietveld 408576698