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

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

Issue 2743763003: [Payments] Format and validate phone number by using libphonenumber (Closed)
Patch Set: formats 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: chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestMetricsTest.java
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestMetricsTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestMetricsTest.java
index 9c23333efda16fdf3dd8810611a9e60b8e53582f..5f47ee99e5cfa10a997b7ff3ac0f1cad2acc857b 100644
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestMetricsTest.java
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestMetricsTest.java
@@ -35,7 +35,7 @@ public class PaymentRequestMetricsTest extends PaymentRequestTestBase {
// The user has a shipping address and a credit card associated with that address on disk.
String mBillingAddressId = mHelper.setProfile(new AutofillProfile("", "https://example.com",
true, "Jon Doe", "Google", "340 Main St", "CA", "Los Angeles", "", "90291", "",
- "US", "555-555-5555", "", "en-US"));
+ "US", "650-253-0000", "", "en-US"));
mHelper.setCreditCard(new CreditCard("", "https://example.com", true, true, "Jon Doe",
"4111111111111111", "1111", "12", "2050", "visa", R.drawable.pr_visa,
mBillingAddressId, "" /* serverId */));
@@ -281,7 +281,7 @@ public class PaymentRequestMetricsTest extends PaymentRequestTestBase {
clickInShippingSummaryAndWait(R.id.payments_section, mReadyForInput);
clickInShippingAddressAndWait(R.id.payments_add_option_button, mReadyToEdit);
setTextInEditorAndWait(new String[] {"Seb Doe", "Google", "340 Main St", "Los Angeles",
- "CA", "90291", "555-555-5555"}, mEditorTextUpdate);
+ "CA", "90291", "650-253-0000"}, mEditorTextUpdate);
clickInEditorAndWait(R.id.payments_edit_done_button, mReadyToPay);
// Make sure "Shown" is still logged only once.

Powered by Google App Engine
This is Rietveld 408576698