/external/icu/icu4c/source/test/intltest/ |
D | loctest.cpp | 236 Locale testLocale(""); in TestBasicGetters() local 238 … testLocale = Locale(rawData[LANG][i], rawData[SCRIPT][i], rawData[CTRY][i], rawData[VAR][i]); in TestBasicGetters() 241 testLocale = Locale(rawData[LANG][i], rawData[CTRY][i], rawData[VAR][i]); in TestBasicGetters() 243 logln("Testing " + (UnicodeString)testLocale.getName() + "..."); in TestBasicGetters() 245 if ( (temp=testLocale.getLanguage()) != (dataTable[LANG][i])) in TestBasicGetters() 248 if ( (temp=testLocale.getScript()) != (dataTable[SCRIPT][i])) in TestBasicGetters() 251 if ( (temp=testLocale.getCountry()) != (dataTable[CTRY][i])) in TestBasicGetters() 254 if ( (temp=testLocale.getVariant()) != (dataTable[VAR][i])) in TestBasicGetters() 257 if ( (temp=testLocale.getName()) != (dataTable[NAME][i])) in TestBasicGetters() 264 Locale testLocale(""); in TestBasicGetters() local [all …]
|
D | winnmtst.cpp | 229 static void testLocale(const char *localeID, int32_t lcid, NumberFormat *wnf, UBool currency, TestL… in testLocale() function 298 testLocale(lcidRecords[i].localeID, lcidRecords[i].lcid, wnf, FALSE, log); in testLocales() 299 testLocale(lcidRecords[i].localeID, lcidRecords[i].lcid, wcf, TRUE, log); in testLocales() 306 testLocale(lcidRecords[i].localeID, lcidRecords[i].lcid, wnf, FALSE, log); in testLocales() 307 testLocale(lcidRecords[i].localeID, lcidRecords[i].lcid, wcf, TRUE, log); in testLocales()
|
D | dtptngts.cpp | 65 const char* testLocale[MAX_LOCALE][4] = { in testAPI() local 628 …Locale loc(testLocale[localeIndex][0], testLocale[localeIndex][1], testLocale[localeIndex][2], tes… in testAPI() 629 …("\n\n Locale: %s_%s_%s@%s", testLocale[localeIndex][0], testLocale[localeIndex][1], testLocale[lo… in testAPI()
|
D | dtifmtts.cpp | 1331 const char* testLocale[][3] = { in testStress() local 1374 for ( localeIndex = 0; localeIndex < ARRAY_SIZE(testLocale); ++localeIndex ) { in testStress() 1376 uprv_strcpy(locName, testLocale[localeIndex][0]); in testStress() 1377 uprv_strcat(locName, testLocale[localeIndex][1]); in testStress() 1378 …stress(DATA, ARRAY_SIZE(DATA), Locale(testLocale[localeIndex][0], testLocale[localeIndex][1], test… in testStress()
|
D | tsdate.cpp | 44 testLocale(/*par, */Locale::getDefault(), "Default Locale"); in runIndexedTest() 67 IntlTestDateFormat::testLocale(/*char* par, */const Locale& locale, const UnicodeString& localeName) in testLocale() function in IntlTestDateFormat 283 testLocale(/*par, */locales[i], name); in monsterTest()
|
D | tsnmfmt.cpp | 53 if (exec) testLocale(/*par, */Locale::getDefault(), name); in runIndexedTest() 75 IntlTestNumberFormat::testLocale(/* char* par, */const Locale& locale, const UnicodeString& localeN… in testLocale() function in IntlTestNumberFormat 445 testLocale(/* par, */locales[i], name); in monsterTest()
|
D | tsnmfmt.h | 52 void testLocale(/* char *par, */const Locale& locale, const UnicodeString& localeName);
|
D | tsdate.h | 46 void testLocale(/*char *par, */const Locale&, const UnicodeString&);
|
D | icusvtst.h | 33 void testLocale(void);
|
D | icusvtst.cpp | 147 TESTCASE(4,testLocale); in runIndexedTest() 1035 void ICUServiceTest::testLocale() { in testLocale() function in ICUServiceTest
|
/external/icu/icu4c/source/test/cintltst/ |
D | cloctst.c | 265 char *testLocale = 0; in TestBasicGetters() local 269 testLocale=(char*)malloc(sizeof(char) * (strlen(rawData2[NAME][i])+1)); in TestBasicGetters() 270 strcpy(testLocale,rawData2[NAME][i]); in TestBasicGetters() 272 log_verbose("Testing %s .....\n", testLocale); in TestBasicGetters() 273 cap=uloc_getLanguage(testLocale, NULL, 0, &status); in TestBasicGetters() 277 uloc_getLanguage(testLocale, temp, cap+1, &status); in TestBasicGetters() 287 cap=uloc_getCountry(testLocale, temp, cap, &status); in TestBasicGetters() 291 uloc_getCountry(testLocale, temp, cap+1, &status); in TestBasicGetters() 301 cap=uloc_getVariant(testLocale, temp, cap, &status); in TestBasicGetters() 305 uloc_getVariant(testLocale, temp, cap+1, &status); in TestBasicGetters() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | DateIntervalFormatTest.java | 925 String[][] testLocale = { in TestStress() local 968 for ( localeIndex = 0; localeIndex < testLocale.length; ++localeIndex) { in TestStress() 969 stress(DATA, DATA.length, new Locale(testLocale[localeIndex][0], in TestStress() 970 testLocale[localeIndex][1], testLocale[localeIndex][2]), in TestStress() 971 testLocale[localeIndex][0]+testLocale[localeIndex][1]); in TestStress()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | ULocaleTest.java | 607 String testLocale=(rawData2[NAME][i]); in TestBasicGetters() local 608 logln("Testing "+ testLocale+".....\n"); in TestBasicGetters() 610 String lang =ULocale.getLanguage(testLocale); in TestBasicGetters() 615 String ctry=ULocale.getCountry(testLocale); in TestBasicGetters() 620 String var=ULocale.getVariant(testLocale); in TestBasicGetters() 625 String name = ULocale.getName(testLocale); in TestBasicGetters() 1147 String testLocale=(rawData2[NAME][i]); in TestCoverage() local 1149 logln("Testing "+ testLocale+"....."); in TestCoverage() 1150 name = ULocale.getDisplayName(localeID, testLocale); in TestCoverage() 1151 language = ULocale.getDisplayLanguage(localeID, testLocale); in TestCoverage() [all …]
|