Home
last modified time | relevance | path

Searched refs:dfFoo (Results 1 – 3 of 3) sorted by relevance

/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DNumberRegressionTests.java428 DecimalFormat dfFoo = new DecimalFormat("000"); in Test4092480() local
431 dfFoo.applyPattern("0000;-000"); in Test4092480()
432 if (!dfFoo.toPattern().equals("0000")) in Test4092480()
433 errln("dfFoo.toPattern : " + dfFoo.toPattern()); in Test4092480()
434 logln(dfFoo.format(42)); in Test4092480()
435 logln(dfFoo.format(-42)); in Test4092480()
436 dfFoo.applyPattern("000;-000"); in Test4092480()
437 if (!dfFoo.toPattern().equals("000")) in Test4092480()
438 errln("dfFoo.toPattern : " + dfFoo.toPattern()); in Test4092480()
439 logln(dfFoo.format(42)); in Test4092480()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DNumberRegressionTests.java425 DecimalFormat dfFoo = new DecimalFormat("000"); in Test4092480() local
428 dfFoo.applyPattern("0000;-000"); in Test4092480()
429 if (!dfFoo.toPattern().equals("0000")) in Test4092480()
430 errln("dfFoo.toPattern : " + dfFoo.toPattern()); in Test4092480()
431 logln(dfFoo.format(42)); in Test4092480()
432 logln(dfFoo.format(-42)); in Test4092480()
433 dfFoo.applyPattern("000;-000"); in Test4092480()
434 if (!dfFoo.toPattern().equals("000")) in Test4092480()
435 errln("dfFoo.toPattern : " + dfFoo.toPattern()); in Test4092480()
436 logln(dfFoo.format(42)); in Test4092480()
[all …]
/external/icu/icu4c/source/test/intltest/
Dnumrgts.cpp799 DecimalFormat *dfFoo = new DecimalFormat(UnicodeString("000"), status); in Test4092480() local
802 delete dfFoo; in Test4092480()
808 dfFoo->applyPattern("0000;-000", status); in Test4092480()
811 if (dfFoo->toPattern(temp) != UnicodeString("0000")) in Test4092480()
812 errln("ERROR: dfFoo.toPattern : " + dfFoo->toPattern(temp)); in Test4092480()
814 logln(dfFoo->format((int32_t)42, temp, pos)); in Test4092480()
815 logln(dfFoo->format((int32_t)-42, temp, pos)); in Test4092480()
816 dfFoo->applyPattern("000;-000", status); in Test4092480()
818 if (dfFoo->toPattern(temp) != UnicodeString("000")) in Test4092480()
819 errln("ERROR: dfFoo.toPattern : " + dfFoo->toPattern(temp)); in Test4092480()
[all …]