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

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

Issue 2368073002: PaymentRequest: Add payer name field to payer info editor. (android) (Closed)
Patch Set: PaymentRequest: Add payer name field to payer info editor. (android) Created 4 years, 2 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/PaymentRequestMultipleContactDetailsTest.java
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestMultipleContactDetailsTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestMultipleContactDetailsTest.java
index 7f1625004f9945f99b9a9643f6c4902f04af4c60..f98ea702ac7271d3c177e1656f4baf77cd02350d 100644
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestMultipleContactDetailsTest.java
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestMultipleContactDetailsTest.java
@@ -85,9 +85,11 @@ public class PaymentRequestMultipleContactDetailsTest extends PaymentRequestTest
triggerUIAndWait(mReadyToPay);
clickInContactInfoAndWait(R.id.payments_section, mReadyForInput);
assertEquals(4, getNumberOfContactDetailSuggestions());
- assertEquals("555 123-4567\nlisa@simpson.com", getContactDetailsSuggestionLabel(0));
- assertEquals("555 123-4567\nmaggie@simpson.com", getContactDetailsSuggestionLabel(1));
- assertEquals("bart@simpson.com", getContactDetailsSuggestionLabel(2));
- assertEquals("homer@simpson.com", getContactDetailsSuggestionLabel(3));
+ assertEquals("Lisa Simpson\n555 123-4567\nlisa@simpson.com",
+ getContactDetailsSuggestionLabel(0));
+ assertEquals("Maggie Simpson\n555 123-4567\nmaggie@simpson.com",
+ getContactDetailsSuggestionLabel(1));
+ assertEquals("Bart Simpson\nbart@simpson.com", getContactDetailsSuggestionLabel(2));
+ assertEquals("Homer Simpson\nhomer@simpson.com", getContactDetailsSuggestionLabel(3));
}
}

Powered by Google App Engine
This is Rietveld 408576698