/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | PluralFormatTest.java | 28 private void helperTestRules(String localeIDs, String testPattern, Map<Integer,String> changes) { in helperTestRules() argument 50 log("test pattern: '" + testPattern + "'"); in helperTestRules() 53 PluralFormat plf = new PluralFormat(new ULocale(locales[i]), testPattern); in helperTestRules() 65 …errln(e.getMessage() + " locale: " + locales[i] + " pattern: '" + testPattern + "' " + System.curr… in helperTestRules() 72 String testPattern = "other{other}"; in TestOneFormLocales() local 75 helperTestRules(localeIDs, testPattern, changes); in TestOneFormLocales() 81 String testPattern = "one{one} other{other}"; in TestSingular1Locales() local 86 helperTestRules(localeIDs, testPattern, changes); in TestSingular1Locales() 91 String testPattern = "one{one} other{other}"; in TestSingular01Locales() local 95 helperTestRules(localeIDs, testPattern, changes); in TestSingular01Locales() [all …]
|
D | DateFormatTest.java | 3535 final String testPattern = "GGGG y MMMM d EEEE"; in TestCalendarType() local 3569 formatters[0].applyPattern(testPattern); in TestCalendarType() 3578 formatters[1].applyPattern(testPattern); in TestCalendarType() 3587 formatters[2].applyPattern(testPattern); in TestCalendarType() 3593 formatters[3] = new SimpleDateFormat(testPattern, testLocales[i]); in TestCalendarType() 3597 formatters[4] = new SimpleDateFormat(testPattern, dfs, testLocales[i]); in TestCalendarType()
|
D | NumberFormatTest.java | 4294 String[] testPattern = { "00.####", "00.0", "00" }; 4301 for (int i = 0; i < testPattern.length; i++) { 4302 parser.applyPattern(testPattern[i]); 4303 hasDecimalPoint = testPattern[i].contains("."); 4310 … this.errln("Parsing " + value2Parse + " should have succeeded with " + testPattern[i] + 4318 … this.errln("Parsing " + value2Parse + " should NOT have succeeded with " + testPattern[i] +
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | PluralFormatTest.java | 32 private void helperTestRules(String localeIDs, String testPattern, Map<Integer,String> changes) { in helperTestRules() argument 54 log("test pattern: '" + testPattern + "'"); in helperTestRules() 57 PluralFormat plf = new PluralFormat(new ULocale(locales[i]), testPattern); in helperTestRules() 69 …errln(e.getMessage() + " locale: " + locales[i] + " pattern: '" + testPattern + "' " + System.curr… in helperTestRules() 76 String testPattern = "other{other}"; in TestOneFormLocales() local 79 helperTestRules(localeIDs, testPattern, changes); in TestOneFormLocales() 85 String testPattern = "one{one} other{other}"; in TestSingular1Locales() local 90 helperTestRules(localeIDs, testPattern, changes); in TestSingular1Locales() 95 String testPattern = "one{one} other{other}"; in TestSingular01Locales() local 99 helperTestRules(localeIDs, testPattern, changes); in TestSingular01Locales() [all …]
|
D | DateFormatTest.java | 3539 final String testPattern = "GGGG y MMMM d EEEE"; in TestCalendarType() local 3573 formatters[0].applyPattern(testPattern); in TestCalendarType() 3582 formatters[1].applyPattern(testPattern); in TestCalendarType() 3591 formatters[2].applyPattern(testPattern); in TestCalendarType() 3597 formatters[3] = new SimpleDateFormat(testPattern, testLocales[i]); in TestCalendarType() 3601 formatters[4] = new SimpleDateFormat(testPattern, dfs, testLocales[i]); in TestCalendarType()
|
D | NumberFormatTest.java | 4298 String[] testPattern = { "00.####", "00.0", "00" }; 4305 for (int i = 0; i < testPattern.length; i++) { 4306 parser.applyPattern(testPattern[i]); 4307 hasDecimalPoint = testPattern[i].contains("."); 4314 … this.errln("Parsing " + value2Parse + " should have succeeded with " + testPattern[i] + 4322 … this.errln("Parsing " + value2Parse + " should NOT have succeeded with " + testPattern[i] +
|
/external/icu/icu4c/source/test/intltest/ |
D | plurfmts.cpp | 323 UnicodeString testPattern = UNICODE_STRING_SIMPLE("other{other}"); in pluralFormatLocaleTest() local 326 helperTestResults(oneRuleLocales, 8, testPattern, pluralResults); in pluralFormatLocaleTest() 337 testPattern = UNICODE_STRING_SIMPLE("one{one} other{other}"); in pluralFormatLocaleTest() 342 helperTestResults(singular1Locales, 56, testPattern, pluralResults); in pluralFormatLocaleTest() 348 testPattern = UNICODE_STRING_SIMPLE("one{one} other{other}"); in pluralFormatLocaleTest() 352 helperTestResults(singular01Locales, 4, testPattern, pluralResults); in pluralFormatLocaleTest() 357 testPattern = UNICODE_STRING_SIMPLE("zero{zero} one{one} other{other}"); in pluralFormatLocaleTest() 369 helperTestResults(zeroSingularLocales, 1, testPattern, pluralResults); in pluralFormatLocaleTest() 374 testPattern = UNICODE_STRING_SIMPLE("one{one} two{two} other{other}"); in pluralFormatLocaleTest() 380 helperTestResults(singularDualLocales, 1, testPattern, pluralResults); in pluralFormatLocaleTest() [all …]
|
D | plurfmts.h | 46 UnicodeString& testPattern,
|
D | tchcfmt.cpp | 339 const char* testPattern = "0#none|1#one|2#many"; in TestComplexExample() local 340 ChoiceFormat form_pat( testPattern, status ); in TestComplexExample()
|
D | dtptngts.cpp | 447 UnicodeString testPattern=gen->getBestPattern(UnicodeString("MMMMdd"), status); in testAPI() local 448 testPattern=gen->getBestPattern(UnicodeString("MMMddHmm"), status); in testAPI() 747 testPattern=test->getBestPattern(UnicodeString("MMMMdd"), status); in testAPI()
|
D | regextst.cpp | 2339 UText testPattern = UTEXT_INITIALIZER; in API_Match_UTF8() local 2341 regextst_openUTF8FromInvariant(&testPattern, ".*", -1, &status); in API_Match_UTF8() 2342 REGEX_VERBOSE_TEXT(&testPattern); in API_Match_UTF8() 2346 RegexMatcher m(&testPattern, &testText, 0, status); in API_Match_UTF8() 2393 utext_close(&testPattern); in API_Match_UTF8() 2401 UText testPattern = UTEXT_INITIALIZER; in API_Match_UTF8() local 2405 utext_openUTF8(&testPattern, str_, -1, &status); in API_Match_UTF8() 2408 RegexMatcher m1(&testPattern, &testText, 0, status); in API_Match_UTF8() 2416 utext_openUTF8(&testPattern, str_a, -1, &status); in API_Match_UTF8() 2417 RegexMatcher m2(&testPattern, &testText, 0, status); in API_Match_UTF8() [all …]
|
/external/icu/icu4c/source/test/cintltst/ |
D | udatpg_test.c | 58 static const UChar testPattern[]={ 0x48, 0x48, 0x3a, 0x6d, 0x6d, 0 }; /* HH:mm */ variable 164 length = udatpg_getSkeleton(dtpg, testPattern, 5, result, 20, &errorCode); in TestUsage() 183 length = udatpg_getBaseSkeleton(dtpg, testPattern, 5, result, 20, &errorCode); in TestUsage()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/ |
D | UnicodeSetTest.java | 1721 String testPattern = testSet.toString(); in CheckRangeSpeed() local 1738 new UnicodeSet(testPattern); in CheckRangeSpeed()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/ |
D | UnicodeSetTest.java | 1717 String testPattern = testSet.toString(); in CheckRangeSpeed() local 1734 new UnicodeSet(testPattern); in CheckRangeSpeed()
|