Home | History | Annotate | Download | only in intltest

Lines Matching defs:currency

77         CASE(17,TestComplexCurrency);  // This test removed because CLDR no longer uses choice formats in currency symbols.
609 * Test the handling of the currency symbol in patterns.
617 UChar currency = 0x00A4;
624 pat.append(currency).append("#,##0.00;-").
625 append(currency).append("#,##0.00");
639 pat.append(currency).append(currency).
641 append(currency).append(currency).
694 {"en_US@currency=JPY", "\\u00A51,150"}
697 * Test localized currency patterns.
744 errln("Could not create currency formatter for locale %s",localeID);
763 * Test the Currency object handling, new as of ICU 2.2.
1426 // Make sure currency formats do not have a variable number
1440 // Make sure EURO currency formats have exactly 2 fraction digits
1469 errcheckln(status, "Unable to get currency for locale, error %s", u_errorName(status));
1848 * the 'delim' character separating the number and the currency.
2334 const char* localeID = "pt_PT@currency=PTE";
2341 dataerrln("Could not create currency formatter for locale %s - %s", localeID, u_errorName(status));
2626 // {"124 $", "5", "-1"}, TODO: OK or not, need currency spacing rule
2719 // currency pattern (with negative pattern),
2720 // currency number to be formatted,
2721 // currency format using currency symbol name, such as "$" for USD,
2722 // currency format using currency ISO name, such as "USD",
2723 // currency format using plural name, such as "US dollars".
2750 // j represents the number of currency sign in the pattern.
2765 // DATA[i][3] is the currency format result using a
2766 // single currency sign.
2767 // DATA[i][4] is the currency format result using
2768 // double currency sign.
2769 // DATA[i][5] is the currency format result using
2770 // triple currency sign.
2771 // DATA[i][j+2] is the currency format result using
2772 // 'j' number of currency sign.
2779 // DATA[i][3] is the currency format result using a
2780 // single currency sign.
2781 // DATA[i][4] is the currency format result using
2782 // double currency sign.
2783 // DATA[i][5] is the currency format result using
2784 // triple currency sign.
2835 errln((UnicodeString)"wong currency, expect: USD" + ", got: " + ((CurrencyAmount*)result.getObject())->getISOCurrency());
2853 UChar currency = 0x00A4;
2855 pat.append(currency).append(currency).append(currency).append("#,##0.00;-").append(currency).append(currency).append(currency).append("#,##0.00");
2895 // currency amount to be formatted,
2896 // currency ISO code to be formatted,
2913 // test locale without currency information
2923 // k represents currency format style.
2949 errln((UnicodeString)"can not set currency:" + currencyISOCode);
2959 // DATA[i][resultDataIndex] is the currency format result
2960 // using 'k' currency style.
2965 // test parsing, and test parsing for all currency formats.
2967 // DATA[i][3] is the currency format result using
2969 // DATA[i][4] is the currency format result using
2971 // DATA[i][5] is the currency format result using
3001 // currency amount to be formatted,
3002 // currency ISO code to be formatted,
3031 // k represents currency format style.
3057 errln((UnicodeString)"can not set currency:" + currencyISOCode);
3068 // DATA[i][resultDataIndex] is the currency format result
3069 // using 'k' currency style.
3075 // test parsing, and test parsing for all currency formats.
3077 // DATA[i][3] is the currency format result using
3079 // DATA[i][4] is the currency format result using
3081 // DATA[i][5] is the currency format result using
3510 "European Currency Unit1.00",
3516 "European currency unit1.00",
3517 "European currency units1.00",
4209 "Testing Currency Code1.00",
4210 "Testing Currency Code1.00",
4668 "1.00 European Currency Unit random",
4674 "1.00 European currency unit random",
4675 "1.00 European currency units random",
5100 "1.00 Testing Currency Code random",
5101 "1.00 Testing Currency Code random",
5143 "1.00 Unknown or Invalid Currency random",
5209 "1.00 unknown/invalid currency random",
5213 // Following are missing one last char in the currency name
5383 "European Currency Uni1.00",
5661 "Testing Currency Cod1.00",
5961 case NumberFormat::kCurrencyField: return "currency";