Lines Matching refs:currencyCode
69 static void testValidCurrency(String currencyCode) {
70 Currency currency1 = Currency.getInstance(currencyCode);
71 Currency currency2 = Currency.getInstance(currencyCode);
75 if (!currency1.getCurrencyCode().equals(currencyCode)) {
80 static void testInvalidCurrency(String currencyCode) {
83 Currency currency = Currency.getInstance(currencyCode);
183 static void testSymbol(String currencyCode, Locale locale, String expectedSymbol) {
184 String symbol = Currency.getInstance(currencyCode).getSymbol(locale);
187 currencyCode +": expected " + expectedSymbol +
211 static void testFractionDigits(String currencyCode, int expectedFractionDigits) {
212 int digits = Currency.getInstance(currencyCode).getDefaultFractionDigits();
215 currencyCode +": expected " + expectedFractionDigits +
257 static void testDisplayName(String currencyCode, Locale locale, String expectedName) {
258 String name = Currency.getInstance(currencyCode).getDisplayName(locale);
261 currencyCode +": expected '" + expectedName +