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

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

Issue 2649143003: PaymentRequest: The currencySystem should be non-nullable. (Closed)
Patch Set: PaymentRequest: The currencySystem should be non-nullable. Created 3 years, 11 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/CurrencyFormatterTest.java
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/payments/CurrencyFormatterTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/payments/CurrencyFormatterTest.java
index 4853fdd1cf87c519d55a118b62d2d77df24add5a..a2740cddc0f7009704a14390b0768e1ccb8dd30f 100644
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/payments/CurrencyFormatterTest.java
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/payments/CurrencyFormatterTest.java
@@ -98,7 +98,7 @@ public class CurrencyFormatterTest extends NativeLibraryTestBase {
String expectedAmountFormatting = (String) testCase[4];
CurrencyFormatter formatter =
- new CurrencyFormatter(currency, null, LocaleUtils.forLanguageTag(locale));
+ new CurrencyFormatter(currency, "", LocaleUtils.forLanguageTag(locale));
String formattedAmount = formatter.format(amount).replace(SPACE, " ");
Assert.assertEquals("\"" + currency + "\" \"" + amount + "\" (\"" + locale

Powered by Google App Engine
This is Rietveld 408576698