Home
last modified time | relevance | path

Searched refs:testLocale (Results 1 – 25 of 30) sorted by relevance

12

/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestCollationStringByteConverter.java156 private static void check2(ULocale testLocale) { in check2() argument
191 LenientDateParser ldp = LenientDateParser.getInstance(testLocale); in check2()
223 testLocale); in check2()
227 testLocale); in check2()
232 .getDateTimeInstance(style, style, testLocale); in check2()
237 testLocale)).toPattern() in check2()
240 testLocale); in check2()
DTestCheckDisplayCollisions.java113 final String testLocale = "pt"; in mustCollide() local
122 final XMLSource source = new SimpleXMLSource(testLocale); in mustCollide()
137 CLDRFile ptResolved = factory.make(testLocale, true); in mustCollide()
/external/icu/icu4c/source/test/intltest/
Dwinnmtst.cpp234 static void testLocale(const char *localeID, int32_t lcid, NumberFormat *wnf, UBool currency, TestL… in testLocale() function
318 testLocale(lcidRecords[i].localeID, lcidRecords[i].lcid, wnf, FALSE, log); in testLocales()
319 testLocale(lcidRecords[i].localeID, lcidRecords[i].lcid, wcf, TRUE, log); in testLocales()
326 testLocale(lcidRecords[i].localeID, lcidRecords[i].lcid, wnf, FALSE, log); in testLocales()
327 testLocale(lcidRecords[i].localeID, lcidRecords[i].lcid, wcf, TRUE, log); in testLocales()
Dloctest.cpp293 Locale testLocale(""); in TestBasicGetters() local
295testLocale = Locale(rawData[LANG][i], rawData[SCRIPT][i], rawData[CTRY][i], rawData[VAR][i]); in TestBasicGetters()
298 testLocale = Locale(rawData[LANG][i], rawData[CTRY][i], rawData[VAR][i]); in TestBasicGetters()
300 logln("Testing " + (UnicodeString)testLocale.getName() + "..."); in TestBasicGetters()
302 if ( (temp=testLocale.getLanguage()) != (dataTable[LANG][i])) in TestBasicGetters()
305 if ( (temp=testLocale.getScript()) != (dataTable[SCRIPT][i])) in TestBasicGetters()
308 if ( (temp=testLocale.getCountry()) != (dataTable[CTRY][i])) in TestBasicGetters()
311 if ( (temp=testLocale.getVariant()) != (dataTable[VAR][i])) in TestBasicGetters()
314 if ( (temp=testLocale.getName()) != (dataTable[NAME][i])) in TestBasicGetters()
321 Locale testLocale(""); in TestBasicGetters() local
[all …]
Ddtptngts.cpp80 const char* testLocale[MAX_LOCALE][4] = { in testAPI() local
700 …Locale loc(testLocale[localeIndex][0], testLocale[localeIndex][1], testLocale[localeIndex][2], tes… in testAPI()
701 …("\n\n Locale: %s_%s_%s@%s", testLocale[localeIndex][0], testLocale[localeIndex][1], testLocale[lo… in testAPI()
1337 Locale testLocale(testLocaleID); in testJjMapping() local
1338 …inter<DateTimePatternGenerator> dtpg(DateTimePatternGenerator::createInstance(testLocale, status)); in testJjMapping()
Dtsdate.cpp47 testLocale(/*par, */Locale::getDefault(), "Default Locale"); in runIndexedTest()
70 IntlTestDateFormat::testLocale(/*char* par, */const Locale& locale, const UnicodeString& localeName) in testLocale() function in IntlTestDateFormat
296 testLocale(/*par, */locales[i], name); in monsterTest()
Dtsnmfmt.h54 void testLocale(/* char *par, */const Locale& locale, const UnicodeString& localeName);
Dtsnmfmt.cpp55 if (exec) testLocale(/*par, */Locale::getDefault(), name); in runIndexedTest()
77 IntlTestNumberFormat::testLocale(/* char* par, */const Locale& locale, const UnicodeString& localeN… in testLocale() function in IntlTestNumberFormat
447 testLocale(/* par, */locales[i], name); in monsterTest()
Dtsdate.h48 void testLocale(/*char *par, */const Locale&, const UnicodeString&);
Ddtifmtts.cpp1541 const char* testLocale[][3] = { in testStress() local
1584 for ( localeIndex = 0; localeIndex < UPRV_LENGTHOF(testLocale); ++localeIndex ) { in testStress()
1586 uprv_strcpy(locName, testLocale[localeIndex][0]); in testStress()
1587 uprv_strcat(locName, testLocale[localeIndex][1]); in testStress()
1588 …stress(DATA, UPRV_LENGTHOF(DATA), Locale(testLocale[localeIndex][0], testLocale[localeIndex][1], t… in testStress()
Dicusvtst.h35 void testLocale(void);
Dicusvtst.cpp150 TESTCASE(4,testLocale); in runIndexedTest()
1038 void ICUServiceTest::testLocale() { in testLocale() function in ICUServiceTest
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DDataDrivenUScriptTest.java119 private Locale testLocale; field in DataDrivenUScriptTest.TestMultipleUScript
122 public TestMultipleUScript(String testLocaleName, int[] expected, Locale testLocale) { in TestMultipleUScript() argument
124 this.testLocale = testLocale; in TestMultipleUScript()
152 logln(" Testing UScript.getCode(Locale) with locale: " + testLocale.getDisplayName()); in TestMultipleCodes()
153 code = UScript.getCode(testLocale); in TestMultipleCodes()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/
DDataDrivenUScriptTest.java122 private Locale testLocale; field in DataDrivenUScriptTest.TestMultipleUScript
125 public TestMultipleUScript(String testLocaleName, int[] expected, Locale testLocale) { in TestMultipleUScript() argument
127 this.testLocale = testLocale; in TestMultipleUScript()
155 logln(" Testing UScript.getCode(Locale) with locale: " + testLocale.getDisplayName()); in TestMultipleCodes()
156 code = UScript.getCode(testLocale); in TestMultipleCodes()
/external/icu/icu4c/source/test/cintltst/
Dcloctst.c291 char *testLocale = 0; in TestBasicGetters() local
295 testLocale=(char*)malloc(sizeof(char) * (strlen(rawData2[NAME][i])+1)); in TestBasicGetters()
296 strcpy(testLocale,rawData2[NAME][i]); in TestBasicGetters()
298 log_verbose("Testing %s .....\n", testLocale); in TestBasicGetters()
299 cap=uloc_getLanguage(testLocale, NULL, 0, &status); in TestBasicGetters()
303 uloc_getLanguage(testLocale, temp, cap+1, &status); in TestBasicGetters()
313 cap=uloc_getCountry(testLocale, temp, cap, &status); in TestBasicGetters()
317 uloc_getCountry(testLocale, temp, cap+1, &status); in TestBasicGetters()
327 cap=uloc_getVariant(testLocale, temp, cap, &status); in TestBasicGetters()
331 uloc_getVariant(testLocale, temp, cap+1, &status); in TestBasicGetters()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DULocaleTest.java633 String testLocale=(rawData2[NAME][i]); in TestBasicGetters() local
634 logln("Testing "+ testLocale+".....\n"); in TestBasicGetters()
636 String lang =ULocale.getLanguage(testLocale); in TestBasicGetters()
641 String ctry=ULocale.getCountry(testLocale); in TestBasicGetters()
646 String var=ULocale.getVariant(testLocale); in TestBasicGetters()
651 String name = ULocale.getName(testLocale); in TestBasicGetters()
1324 String testLocale=(rawData2[NAME][i]); in TestCoverage() local
1326 logln("Testing "+ testLocale+"....."); in TestCoverage()
1327 name = ULocale.getDisplayName(localeID, testLocale); in TestCoverage()
1328 language = ULocale.getDisplayLanguage(localeID, testLocale); in TestCoverage()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DULocaleTest.java636 String testLocale=(rawData2[NAME][i]); in TestBasicGetters() local
637 logln("Testing "+ testLocale+".....\n"); in TestBasicGetters()
639 String lang =ULocale.getLanguage(testLocale); in TestBasicGetters()
644 String ctry=ULocale.getCountry(testLocale); in TestBasicGetters()
649 String var=ULocale.getVariant(testLocale); in TestBasicGetters()
654 String name = ULocale.getName(testLocale); in TestBasicGetters()
1327 String testLocale=(rawData2[NAME][i]); in TestCoverage() local
1329 logln("Testing "+ testLocale+"....."); in TestCoverage()
1330 name = ULocale.getDisplayName(localeID, testLocale); in TestCoverage()
1331 language = ULocale.getDisplayLanguage(localeID, testLocale); in TestCoverage()
[all …]
/external/robolectric-shadows/resources/src/test/java/org/robolectric/res/android/
DResTable_configTest.java13 public void testLocale() throws Exception { in testLocale() method in ResTable_configTest
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDateIntervalFormatTest.java1137 String[][] testLocale = { in TestStress() local
1180 for ( localeIndex = 0; localeIndex < testLocale.length; ++localeIndex) { in TestStress()
1181 stress(DATA, DATA.length, new Locale(testLocale[localeIndex][0], in TestStress()
1182 testLocale[localeIndex][1], testLocale[localeIndex][2]), in TestStress()
1183 testLocale[localeIndex][0]+testLocale[localeIndex][1]); in TestStress()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateIntervalFormatTest.java1134 String[][] testLocale = { in TestStress() local
1177 for ( localeIndex = 0; localeIndex < testLocale.length; ++localeIndex) { in TestStress()
1178 stress(DATA, DATA.length, new Locale(testLocale[localeIndex][0], in TestStress()
1179 testLocale[localeIndex][1], testLocale[localeIndex][2]), in TestStress()
1180 testLocale[localeIndex][0]+testLocale[localeIndex][1]); in TestStress()
/external/jacoco/org.jacoco.report.test/src/org/jacoco/report/internal/html/table/
DPercentageColumnTest.java107 public void testLocale() throws Exception { in testLocale() method in PercentageColumnTest
DBarColumnTest.java167 public void testLocale() throws Exception { in testLocale() method in BarColumnTest
DCounterColumnTest.java131 public void testLocale() throws Exception { in testLocale() method in CounterColumnTest
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/ser/jdk/
DJDKTypeSerializationTest.java83 public void testLocale() throws IOException in testLocale() method in JDKTypeSerializationTest
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/jdk/
DJDKStringLikeTypesTest.java133 public void testLocale() throws IOException in testLocale() method in JDKStringLikeTypesTest

12