/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | PluralFormatTest.java | 27 private void helperTestRules(String localeIDs, String testPattern, Map<Integer,String> changes) { in helperTestRules() argument 49 log("test pattern: '" + testPattern + "'"); in helperTestRules() 52 PluralFormat plf = new PluralFormat(new ULocale(locales[i]), testPattern); in helperTestRules() 64 …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() 82 String testPattern = "one{one} other{other}"; in TestSingular1Locales() local 87 helperTestRules(localeIDs, testPattern, changes); in TestSingular1Locales() 93 String testPattern = "one{one} other{other}"; in TestSingular01Locales() local 97 helperTestRules(localeIDs, testPattern, changes); in TestSingular01Locales() [all …]
|
D | DateFormatTest.java | 3584 final String testPattern = "GGGG y MMMM d EEEE"; in TestCalendarType() local 3618 formatters[0].applyPattern(testPattern); in TestCalendarType() 3627 formatters[1].applyPattern(testPattern); in TestCalendarType() 3636 formatters[2].applyPattern(testPattern); in TestCalendarType() 3642 formatters[3] = new SimpleDateFormat(testPattern, testLocales[i]); in TestCalendarType() 3646 formatters[4] = new SimpleDateFormat(testPattern, dfs, testLocales[i]); in TestCalendarType()
|
D | NumberFormatTest.java | 4398 String[] testPattern = { "00.####", "00.0", "00" }; 4405 for (int i = 0; i < testPattern.length; i++) { 4406 parser.applyPattern(testPattern[i]); 4407 hasDecimalPoint = testPattern[i].contains("."); 4414 … TestFmwk.errln("Parsing " + value2Parse + " should have succeeded with " + testPattern[i] + 4422 … TestFmwk.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 | 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() 73 String testPattern = "other{other}"; in TestOneFormLocales() local 76 helperTestRules(localeIDs, testPattern, changes); in TestOneFormLocales() 83 String testPattern = "one{one} other{other}"; in TestSingular1Locales() local 88 helperTestRules(localeIDs, testPattern, changes); in TestSingular1Locales() 94 String testPattern = "one{one} other{other}"; in TestSingular01Locales() local 98 helperTestRules(localeIDs, testPattern, changes); in TestSingular01Locales() [all …]
|
D | DateFormatTest.java | 3585 final String testPattern = "GGGG y MMMM d EEEE"; in TestCalendarType() local 3619 formatters[0].applyPattern(testPattern); in TestCalendarType() 3628 formatters[1].applyPattern(testPattern); in TestCalendarType() 3637 formatters[2].applyPattern(testPattern); in TestCalendarType() 3643 formatters[3] = new SimpleDateFormat(testPattern, testLocales[i]); in TestCalendarType() 3647 formatters[4] = new SimpleDateFormat(testPattern, dfs, testLocales[i]); in TestCalendarType()
|
D | NumberFormatTest.java | 4399 String[] testPattern = { "00.####", "00.0", "00" }; 4406 for (int i = 0; i < testPattern.length; i++) { 4407 parser.applyPattern(testPattern[i]); 4408 hasDecimalPoint = testPattern[i].contains("."); 4415 … TestFmwk.errln("Parsing " + value2Parse + " should have succeeded with " + testPattern[i] + 4423 … TestFmwk.errln("Parsing " + value2Parse + " should NOT have succeeded with " + testPattern[i] +
|
/external/icu/icu4c/source/test/intltest/ |
D | plurfmts.cpp | 325 UnicodeString testPattern = UNICODE_STRING_SIMPLE("other{other}"); in pluralFormatLocaleTest() local 328 helperTestResults(oneRuleLocales, 8, testPattern, pluralResults); in pluralFormatLocaleTest() 339 testPattern = UNICODE_STRING_SIMPLE("one{one} other{other}"); in pluralFormatLocaleTest() 344 helperTestResults(singular1Locales, 56, testPattern, pluralResults); in pluralFormatLocaleTest() 350 testPattern = UNICODE_STRING_SIMPLE("one{one} other{other}"); in pluralFormatLocaleTest() 354 helperTestResults(singular01Locales, 4, testPattern, pluralResults); in pluralFormatLocaleTest() 359 testPattern = UNICODE_STRING_SIMPLE("zero{zero} one{one} other{other}"); in pluralFormatLocaleTest() 371 helperTestResults(zeroSingularLocales, 1, testPattern, pluralResults); in pluralFormatLocaleTest() 376 testPattern = UNICODE_STRING_SIMPLE("one{one} two{two} other{other}"); in pluralFormatLocaleTest() 382 helperTestResults(singularDualLocales, 1, testPattern, pluralResults); in pluralFormatLocaleTest() [all …]
|
D | plurfmts.h | 48 UnicodeString& testPattern,
|
D | tchcfmt.cpp | 340 const char* testPattern = "0#none|1#one|2#many"; in TestComplexExample() local 341 ChoiceFormat form_pat( testPattern, status ); in TestComplexExample()
|
D | dtptngts.cpp | 452 UnicodeString testPattern=gen->getBestPattern(UnicodeString("MMMMdd"), status); in testAPI() local 453 testPattern=gen->getBestPattern(UnicodeString("MMMddHmm"), status); in testAPI() 752 testPattern=test->getBestPattern(UnicodeString("MMMMdd"), status); in testAPI()
|
D | regextst.cpp | 2341 UText testPattern = UTEXT_INITIALIZER; in API_Match_UTF8() local 2343 regextst_openUTF8FromInvariant(&testPattern, ".*", -1, &status); in API_Match_UTF8() 2344 REGEX_VERBOSE_TEXT(&testPattern); in API_Match_UTF8() 2348 RegexMatcher m(&testPattern, &testText, 0, status); in API_Match_UTF8() 2395 utext_close(&testPattern); in API_Match_UTF8() 2403 UText testPattern = UTEXT_INITIALIZER; in API_Match_UTF8() local 2407 utext_openUTF8(&testPattern, str_, -1, &status); in API_Match_UTF8() 2410 RegexMatcher m1(&testPattern, &testText, 0, status); in API_Match_UTF8() 2418 utext_openUTF8(&testPattern, str_a, -1, &status); in API_Match_UTF8() 2419 RegexMatcher m2(&testPattern, &testText, 0, status); in API_Match_UTF8() [all …]
|
/external/icu/icu4c/source/test/cintltst/ |
D | udatpg_test.c | 61 static const UChar testPattern[]={ 0x48, 0x48, 0x3a, 0x6d, 0x6d, 0 }; /* HH:mm */ variable 167 length = udatpg_getSkeleton(dtpg, testPattern, 5, result, 20, &errorCode); in TestUsage() 186 length = udatpg_getBaseSkeleton(dtpg, testPattern, 5, result, 20, &errorCode); in TestUsage()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/ |
D | UnicodeSetTest.java | 1745 String testPattern = testSet.toString(); in CheckRangeSpeed() local 1762 new UnicodeSet(testPattern); in CheckRangeSpeed()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/ |
D | UnicodeSetTest.java | 1746 String testPattern = testSet.toString(); in CheckRangeSpeed() local 1763 new UnicodeSet(testPattern); in CheckRangeSpeed()
|