/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
H A D | BigNumberFormatTest.java | 54 expectPat(f, "#,##,##0"); in TestSecondaryGrouping() 58 expectPat(f, "#,####,##0"); in TestSecondaryGrouping() 122 expectPat(fmt, "*^AA#,##0.00ZZ"); in TestPatterns() 125 expectPat(fmt, "AA#,##0.00*^ZZ"); in TestPatterns() 128 expectPat(fmt, "AA#,##0.00ZZ*^"); in TestPatterns() 134 expectPat(fmt, exp); in TestPatterns() 138 expectPat(fmt, "AA*^##,##0.00ZZ"); in TestPatterns() 142 expectPat(fmt, "AA*^###,##0.00ZZ"); in TestPatterns() 146 expectPat(fmt, "AA*^####,##0.00ZZ"); // This is the interesting case in TestPatterns() 150 expectPat(fm in TestPatterns() 153 private void expectPat(DecimalFormat fmt, String exp) { expectPat() method in BigNumberFormatTest [all...] |
H A D | NumberFormatTest.java | 1128 expectPat(f, "#,##,##0"); in TestSecondaryGrouping() 1133 expectPat(f, "#,####,##0"); in TestSecondaryGrouping() 1470 expectPat(fmt, "*^AA#,##0.00ZZ"); in TestPatterns2() 1473 expectPat(fmt, "AA#,##0.00*^ZZ"); in TestPatterns2() 1476 expectPat(fmt, "AA#,##0.00ZZ*^"); in TestPatterns2() 1482 expectPat(fmt, exp); in TestPatterns2() 1486 expectPat(fmt, "AA*^##,##0.00ZZ"); in TestPatterns2() 1490 expectPat(fmt, "AA*^###,##0.00ZZ"); in TestPatterns2() 1494 expectPat(fmt, "AA*^####,##0.00ZZ"); // This is the interesting case in TestPatterns2() 1500 //expectPat(fm in TestPatterns2() 2859 public void expectPat(DecimalFormat fmt, final String exp) { expectPat() method in NumberFormatTest [all...] |
H A D | DateTimeGeneratorTest.java | 1891 public String[] expectPat; field in DateTimeGeneratorTest.DTPLocaleAndResults 1895 expectPat = exPat; in DTPLocaleAndResults() 2001 if (!getPat.equals(localeAndResultItem.expectPat[patStyle])) { in doDTPatternTest() 2003 ", expect \"" + localeAndResultItem.expectPat[patStyle] + "\", get \"" + getPat + "\""); in doDTPatternTest()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/ |
H A D | BigNumberFormatTest.java | 57 expectPat(f, "#,##,##0"); in TestSecondaryGrouping() 61 expectPat(f, "#,####,##0"); in TestSecondaryGrouping() 125 expectPat(fmt, "*^AA#,##0.00ZZ"); in TestPatterns() 128 expectPat(fmt, "AA#,##0.00*^ZZ"); in TestPatterns() 131 expectPat(fmt, "AA#,##0.00ZZ*^"); in TestPatterns() 137 expectPat(fmt, exp); in TestPatterns() 141 expectPat(fmt, "AA*^##,##0.00ZZ"); in TestPatterns() 145 expectPat(fmt, "AA*^###,##0.00ZZ"); in TestPatterns() 149 expectPat(fmt, "AA*^####,##0.00ZZ"); // This is the interesting case in TestPatterns() 153 expectPat(fm in TestPatterns() 156 private void expectPat(DecimalFormat fmt, String exp) { expectPat() method in BigNumberFormatTest [all...] |
H A D | NumberFormatTest.java | 1131 expectPat(f, "#,##,##0"); in TestSecondaryGrouping() 1136 expectPat(f, "#,####,##0"); in TestSecondaryGrouping() 1473 expectPat(fmt, "*^AA#,##0.00ZZ"); in TestPatterns2() 1476 expectPat(fmt, "AA#,##0.00*^ZZ"); in TestPatterns2() 1479 expectPat(fmt, "AA#,##0.00ZZ*^"); in TestPatterns2() 1485 expectPat(fmt, exp); in TestPatterns2() 1489 expectPat(fmt, "AA*^##,##0.00ZZ"); in TestPatterns2() 1493 expectPat(fmt, "AA*^###,##0.00ZZ"); in TestPatterns2() 1497 expectPat(fmt, "AA*^####,##0.00ZZ"); // This is the interesting case in TestPatterns2() 1503 //expectPat(fm in TestPatterns2() 2862 public void expectPat(DecimalFormat fmt, final String exp) { expectPat() method in NumberFormatTest [all...] |
/third_party/icu/icu4c/source/test/intltest/ |
H A D | numfmtst.h | 391 void expectPat(DecimalFormat& fmt, const UnicodeString& exp); 393 void expectPat(DecimalFormat& fmt, const char *exp) { in expectPat() function in NumberFormatTest 394 expectPat(fmt, UnicodeString(exp, "")); in expectPat()
|
H A D | dtptngts.h | 49 const UnicodeString expectPat[kNumDateTimePatterns]; member
|
H A D | dtptngts.cpp | 1799 } else if (getPat != localeAndResultsPtr->expectPat[patStyle]) { in doDTPatternTest() 1802 localeAndResultsPtr->expectPat[patStyle].extract(0, localeAndResultsPtr->expectPat[patStyle].length(), bExpect, 64); in doDTPatternTest()
|
H A D | numfmtst.cpp | 1368 expectPat(f, "#,##,##0"); in TestSecondaryGrouping() 1374 expectPat(f, "#,####,##0"); in TestSecondaryGrouping() 1813 expectPat(fmt, "*^AA#,##0.00ZZ"); in TestPatterns2() 1816 expectPat(fmt, "AA#,##0.00*^ZZ"); in TestPatterns2() 1819 expectPat(fmt, "AA#,##0.00ZZ*^"); in TestPatterns2() 1825 expectPat(fmt, exp); in TestPatterns2() 1829 expectPat(fmt, "AA*^##,##0.00ZZ"); in TestPatterns2() 1833 expectPat(fmt, "AA*^###,##0.00ZZ"); in TestPatterns2() 1837 expectPat(fmt, "AA*^####,##0.00ZZ"); // This is the interesting case in TestPatterns2() 1841 expectPat(fm in TestPatterns2() 3030 void NumberFormatTest::expectPat(DecimalFormat& fmt, const UnicodeString& exp) { expectPat() function in NumberFormatTest [all...] |
/third_party/icu/icu4c/source/test/cintltst/ |
H A D | udatpg_test.c | 628 const UChar* expectPat[kNumDateTimePatterns]; member 783 uExpectLen = u_strlen(localeAndResultsPtr->expectPat[patStyle]); in doDTPatternTest() 787 } else if (uGetLen != uExpectLen || u_strncmp(uGet, localeAndResultsPtr->expectPat[patStyle], uExpectLen) != 0) { in doDTPatternTest() 790 u_austrcpy(bExpect, localeAndResultsPtr->expectPat[patStyle]); in doDTPatternTest()
|