Home
last modified time | relevance | path

Searched refs:testLocales (Results 1 – 15 of 15) sorted by relevance

/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/number/
DCurrencyDemo.java83 Locale[] testLocales = NumberFormat.getAvailableLocales(); in testFormatHack() local
84 for (int i = 0; i < testLocales.length; ++i) { in testFormatHack()
86 if (!testLocales[i].getCountry().equals("")) continue; in testFormatHack()
89 System.out.println(testLocales[i].getDisplayName()); in testFormatHack()
93 …mberFormat nf26 = getCurrencyFormat(Currency.getInstance(testCurrencies[j]), testLocales[i], true); in testFormatHack()
98 …berFormat nf24 = getCurrencyFormat(Currency.getInstance(testCurrencies[j]), testLocales[i], false); in testFormatHack()
102 System.out.println(testLocales[i].getDisplayName()); in testFormatHack()
/external/icu/icu4c/source/test/perf/normperf/
Ddtfmtrtperf.h117 const Locale testLocales[] = { in call() local
144 LOCALES = testLocales; in call()
/external/icu/icu4c/source/test/intltest/
Dwinnmtst.h33 static void testLocales(TestLog *log);
Dwindttst.h33 static void testLocales(TestLog *log);
Dwindttst.cpp69 void Win32DateTimeTest::testLocales(TestLog *log) in testLocales() function in Win32DateTimeTest
Dwinnmtst.cpp271 void Win32NumberTest::testLocales(TestLog *log) in testLocales() function in Win32NumberTest
Dtzfmttst.cpp137 const Locale testLocales[] = { in TestTimeZoneRoundTrip() local
148 LOCALES = testLocales; in TestTimeZoneRoundTrip()
149 nLocales = UPRV_LENGTHOF(testLocales); in TestTimeZoneRoundTrip()
Ddtfmttst.cpp2378 Win32DateTimeTest::testLocales(this); in TestHost()
Dnumfmtst.cpp3200 Win32NumberTest::testLocales(this); in TestHost()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DTestUScript.java176 Locale[] testLocales = new Locale[] { in TestMultipleCode() local
184 logln(" Testing locale: " + testLocales[i].getDisplayName()); in TestMultipleCode()
185 int[] code = UScript.getCode(testLocales[i]); in TestMultipleCode()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/
DTestUScript.java177 Locale[] testLocales = new Locale[] { in TestMultipleCode() local
185 logln(" Testing locale: " + testLocales[i].getDisplayName()); in TestMultipleCode()
186 int[] code = UScript.getCode(testLocales[i]); in TestMultipleCode()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DLocaleDataTest.java353 final String[] testLocales = { in TestExemplarSetTypes() local
376 for (String locstr : testLocales) { in TestExemplarSetTypes()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DLocaleDataTest.java354 final String[] testLocales = { in TestExemplarSetTypes() local
377 for (String locstr : testLocales) { in TestExemplarSetTypes()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDateFormatTest.java3587 final ULocale[] testLocales = { in TestCalendarType() local
3597 for (int i = 0; i < testLocales.length; i++) { in TestCalendarType()
3600 if (testLocales[i].getLanguage().length() > 0) { in TestCalendarType()
3601 locStrBuf.append(testLocales[i].getLanguage()); in TestCalendarType()
3603 if (testLocales[i].getScript().length() > 0) { in TestCalendarType()
3605 locStrBuf.append(testLocales[i].getScript()); in TestCalendarType()
3607 if (testLocales[i].getCountry().length() > 0) { in TestCalendarType()
3609 locStrBuf.append(testLocales[i].getCountry()); in TestCalendarType()
3613 Calendar cal = Calendar.getInstance(testLocales[i]); in TestCalendarType()
3625 df = DateFormat.getDateInstance(DateFormat.MEDIUM, testLocales[i]); in TestCalendarType()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateFormatTest.java3586 final ULocale[] testLocales = { in TestCalendarType() local
3596 for (int i = 0; i < testLocales.length; i++) { in TestCalendarType()
3599 if (testLocales[i].getLanguage().length() > 0) { in TestCalendarType()
3600 locStrBuf.append(testLocales[i].getLanguage()); in TestCalendarType()
3602 if (testLocales[i].getScript().length() > 0) { in TestCalendarType()
3604 locStrBuf.append(testLocales[i].getScript()); in TestCalendarType()
3606 if (testLocales[i].getCountry().length() > 0) { in TestCalendarType()
3608 locStrBuf.append(testLocales[i].getCountry()); in TestCalendarType()
3612 Calendar cal = Calendar.getInstance(testLocales[i]); in TestCalendarType()
3624 df = DateFormat.getDateInstance(DateFormat.MEDIUM, testLocales[i]); in TestCalendarType()
[all …]