/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/ |
D | TestCollationStringByteConverter.java | 156 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()
|
/external/icu/icu4c/source/test/intltest/ |
D | loctest.cpp | 264 Locale testLocale(""); in TestBasicGetters() local 266 … testLocale = Locale(rawData[LANG][i], rawData[SCRIPT][i], rawData[CTRY][i], rawData[VAR][i]); in TestBasicGetters() 269 testLocale = Locale(rawData[LANG][i], rawData[CTRY][i], rawData[VAR][i]); in TestBasicGetters() 271 logln("Testing " + (UnicodeString)testLocale.getName() + "..."); in TestBasicGetters() 273 if ( (temp=testLocale.getLanguage()) != (dataTable[LANG][i])) in TestBasicGetters() 276 if ( (temp=testLocale.getScript()) != (dataTable[SCRIPT][i])) in TestBasicGetters() 279 if ( (temp=testLocale.getCountry()) != (dataTable[CTRY][i])) in TestBasicGetters() 282 if ( (temp=testLocale.getVariant()) != (dataTable[VAR][i])) in TestBasicGetters() 285 if ( (temp=testLocale.getName()) != (dataTable[NAME][i])) in TestBasicGetters() 292 Locale testLocale(""); in TestBasicGetters() local [all …]
|
D | winnmtst.cpp | 234 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()
|
D | dtptngts.cpp | 73 const char* testLocale[MAX_LOCALE][4] = { in testAPI() local 637 …Locale loc(testLocale[localeIndex][0], testLocale[localeIndex][1], testLocale[localeIndex][2], tes… in testAPI() 638 …("\n\n Locale: %s_%s_%s@%s", testLocale[localeIndex][0], testLocale[localeIndex][1], testLocale[lo… in testAPI()
|
D | dtifmtts.cpp | 1318 const char* testLocale[][3] = { in testStress() local 1361 for ( localeIndex = 0; localeIndex < UPRV_LENGTHOF(testLocale); ++localeIndex ) { in testStress() 1363 uprv_strcpy(locName, testLocale[localeIndex][0]); in testStress() 1364 uprv_strcat(locName, testLocale[localeIndex][1]); in testStress() 1365 …stress(DATA, UPRV_LENGTHOF(DATA), Locale(testLocale[localeIndex][0], testLocale[localeIndex][1], t… in testStress()
|
D | tsdate.cpp | 47 testLocale(/*par, */Locale::getDefault(), "Default Locale"); in runIndexedTest() 70 IntlTestDateFormat::testLocale(/*char* par, */const Locale& locale, const UnicodeString& localeName) in testLocale() function in IntlTestDateFormat 286 testLocale(/*par, */locales[i], name); in monsterTest()
|
D | tsnmfmt.cpp | 55 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()
|
D | tsnmfmt.h | 54 void testLocale(/* char *par, */const Locale& locale, const UnicodeString& localeName);
|
D | tsdate.h | 48 void testLocale(/*char *par, */const Locale&, const UnicodeString&);
|
D | icusvtst.h | 35 void testLocale(void);
|
D | icusvtst.cpp | 150 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/ |
D | DataDrivenUScriptTest.java | 119 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/ |
D | DataDrivenUScriptTest.java | 122 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/ |
D | cloctst.c | 275 char *testLocale = 0; in TestBasicGetters() local 279 testLocale=(char*)malloc(sizeof(char) * (strlen(rawData2[NAME][i])+1)); in TestBasicGetters() 280 strcpy(testLocale,rawData2[NAME][i]); in TestBasicGetters() 282 log_verbose("Testing %s .....\n", testLocale); in TestBasicGetters() 283 cap=uloc_getLanguage(testLocale, NULL, 0, &status); in TestBasicGetters() 287 uloc_getLanguage(testLocale, temp, cap+1, &status); in TestBasicGetters() 297 cap=uloc_getCountry(testLocale, temp, cap, &status); in TestBasicGetters() 301 uloc_getCountry(testLocale, temp, cap+1, &status); in TestBasicGetters() 311 cap=uloc_getVariant(testLocale, temp, cap, &status); in TestBasicGetters() 315 uloc_getVariant(testLocale, temp, cap+1, &status); in TestBasicGetters() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
D | ULocaleTest.java | 633 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() 1268 String testLocale=(rawData2[NAME][i]); in TestCoverage() local 1270 logln("Testing "+ testLocale+"....."); in TestCoverage() 1271 name = ULocale.getDisplayName(localeID, testLocale); in TestCoverage() 1272 language = ULocale.getDisplayLanguage(localeID, testLocale); in TestCoverage() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | ULocaleTest.java | 630 String testLocale=(rawData2[NAME][i]); in TestBasicGetters() local 631 logln("Testing "+ testLocale+".....\n"); in TestBasicGetters() 633 String lang =ULocale.getLanguage(testLocale); in TestBasicGetters() 638 String ctry=ULocale.getCountry(testLocale); in TestBasicGetters() 643 String var=ULocale.getVariant(testLocale); in TestBasicGetters() 648 String name = ULocale.getName(testLocale); in TestBasicGetters() 1265 String testLocale=(rawData2[NAME][i]); in TestCoverage() local 1267 logln("Testing "+ testLocale+"....."); in TestCoverage() 1268 name = ULocale.getDisplayName(localeID, testLocale); in TestCoverage() 1269 language = ULocale.getDisplayLanguage(localeID, testLocale); in TestCoverage() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | DateIntervalFormatTest.java | 938 String[][] testLocale = { in TestStress() local 981 for ( localeIndex = 0; localeIndex < testLocale.length; ++localeIndex) { in TestStress() 982 stress(DATA, DATA.length, new Locale(testLocale[localeIndex][0], in TestStress() 983 testLocale[localeIndex][1], testLocale[localeIndex][2]), in TestStress() 984 testLocale[localeIndex][0]+testLocale[localeIndex][1]); in TestStress()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | DateIntervalFormatTest.java | 941 String[][] testLocale = { in TestStress() local 984 for ( localeIndex = 0; localeIndex < testLocale.length; ++localeIndex) { in TestStress() 985 stress(DATA, DATA.length, new Locale(testLocale[localeIndex][0], in TestStress() 986 testLocale[localeIndex][1], testLocale[localeIndex][2]), in TestStress() 987 testLocale[localeIndex][0]+testLocale[localeIndex][1]); in TestStress()
|
/external/robolectric-shadows/resources/src/test/java/org/robolectric/res/android/ |
D | ResTable_configTest.java | 13 public void testLocale() throws Exception { in testLocale() method in ResTable_configTest
|
/external/jacoco/org.jacoco.report.test/src/org/jacoco/report/internal/html/table/ |
D | PercentageColumnTest.java | 111 public void testLocale() throws Exception { in testLocale() method in PercentageColumnTest
|
D | BarColumnTest.java | 173 public void testLocale() throws Exception { in testLocale() method in BarColumnTest
|
D | CounterColumnTest.java | 135 public void testLocale() throws Exception { in testLocale() method in CounterColumnTest
|