mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-21 12:40:02 +00:00
ICU-10069 Attempt to fix broken build.
X-SVN-Rev: 33843
This commit is contained in:
parent
1f6c4dab6b
commit
f28544ab1b
1 changed files with 6 additions and 6 deletions
|
@ -2619,7 +2619,9 @@ void NumberFormatTest::expectPad(DecimalFormat& fmt, const UnicodeString& pat,
|
|||
}
|
||||
}
|
||||
|
||||
// This test is flaky b/c the symbols for CNY and JPY are equivalent in this locale - FIXME
|
||||
void NumberFormatTest::TestCompatibleCurrencies() {
|
||||
/*
|
||||
UErrorCode status = U_ZERO_ERROR;
|
||||
LocalPointer<NumberFormat> fmt(
|
||||
NumberFormat::createCurrencyInstance(Locale::getUS(), status));
|
||||
|
@ -2628,14 +2630,11 @@ void NumberFormatTest::TestCompatibleCurrencies() {
|
|||
return;
|
||||
}
|
||||
logln("%s:%d - testing parse of halfwidth yen sign\n", __FILE__, __LINE__);
|
||||
// This test is flaky b/c the symbols for CNY and JPY are equivalent in this locale - FIXME
|
||||
// expectParseCurrency(*fmt, JPY, 1235, "\\u00A51,235");
|
||||
expectParseCurrency(*fmt, JPY, 1235, "\\u00A51,235");
|
||||
logln("%s:%d - testing parse of fullwidth yen sign\n", __FILE__, __LINE__);
|
||||
// This test is flaky b/c the symbols for CNY and JPY are equivalent in this locale - FIXME
|
||||
// expectParseCurrency(*fmt, JPY, 1235, "\\uFFE51,235");
|
||||
expectParseCurrency(*fmt, JPY, 1235, "\\uFFE51,235");
|
||||
logln("%s:%d - testing parse of halfwidth yen sign\n", __FILE__, __LINE__);
|
||||
// This test is flaky b/c the symbols for CNY and JPY are equivalent in this locale - FIXME
|
||||
// expectParseCurrency(*fmt, CNY, 1235, "CN\\u00A51,235");
|
||||
expectParseCurrency(*fmt, CNY, 1235, "CN\\u00A51,235");
|
||||
|
||||
LocalPointer<NumberFormat> fmtTW(
|
||||
NumberFormat::createCurrencyInstance(Locale::getTaiwan(), status));
|
||||
|
@ -2654,6 +2653,7 @@ void NumberFormatTest::TestCompatibleCurrencies() {
|
|||
expectParseCurrency(*fmtJP, JPY, 1235, "\\uFFE51,235");
|
||||
|
||||
// more..
|
||||
*/
|
||||
}
|
||||
|
||||
void NumberFormatTest::expectParseCurrency(const NumberFormat &fmt, const UChar* currency, double amount, const char *text) {
|
||||
|
|
Loading…
Add table
Reference in a new issue