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

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

Issue 2534413006: [Credit Card] Uses 4 dots in ellipsis (Closed)
Patch Set: Updates Java tests with new format for masked card numbers Created 4 years 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/PaymentRequestPaymentAppAndCardsTest.java
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestPaymentAppAndCardsTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestPaymentAppAndCardsTest.java
index b103a7a3d7425f69a36b6f3cad647f5533d8d42c..94d6b6b00d3fdd35f81b9da5b5e642eb3627b5c8 100644
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestPaymentAppAndCardsTest.java
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestPaymentAppAndCardsTest.java
@@ -100,9 +100,13 @@ public class PaymentRequestPaymentAppAndCardsTest extends PaymentRequestTestBase
if (instrumentPresence == HAVE_INSTRUMENTS) {
assertEquals("Test Pay", getPaymentInstrumentLabel(i++));
}
- // \u00A0\u22EF is a non-breaking space followed by a midline ellipsis.
- assertEquals("Visa\u00A0\u22EF1111\nJon Doe", getPaymentInstrumentLabel(i++));
- assertEquals("MasterCard\u00A0\u22EF5454\nJon Doe\nBilling address required",
+ // \u0020\...\u2006 is four dots ellipsis.
+ assertEquals(
+ "Visa\u0020\u0020\u2022\u2006\u2022\u2006\u2022\u2006\u2022\u20061111\nJon Doe",
+ getPaymentInstrumentLabel(i++));
+ assertEquals(
+ "MasterCard\u0020\u0020\u2022\u2006\u2022\u2006\u2022\u2006\u2022\u20065454\n"
+ + "Jon Doe\nBilling address required",
getPaymentInstrumentLabel(i++));
// Check the output of the selected instrument.

Powered by Google App Engine
This is Rietveld 408576698