/dalvik/libcore/luni/src/test/java/tests/api/java/util/ |
LocaleTest.java | 38 Locale testLocale; 157 assertTrue("Same object returned false", testLocale.equals(testLocale)); 158 assertTrue("Same values returned false", testLocale.equals(l2)); 159 assertTrue("Different locales returned true", !testLocale.equals(l)); 202 assertTrue("Returned incorrect country: " + testLocale.getCountry(), 203 testLocale.getCountry().equals("CA")); 238 + testLocale.getDisplayCountry(), testLocale 286 + testLocale.getDisplayLanguage(), testLocal [all...] |
/external/icu4c/test/intltest/ |
tsnmfmt.h | 30 * call tryIt with many variations, called by testLocale 46 * call testLocale for all locales 52 void testLocale(/* char *par, */const Locale& locale, const UnicodeString& localeName);
|
tsdate.h | 31 * call testLocale for all locales 36 * call tryDate with variations, called by testLocale 46 void testLocale(/*char *par, */const Locale&, const UnicodeString&);
|
winnmtst.cpp | 229 static void testLocale(const char *localeID, int32_t lcid, NumberFormat *wnf, UBool currency, TestLog *log) 298 testLocale(lcidRecords[i].localeID, lcidRecords[i].lcid, wnf, FALSE, log); 299 testLocale(lcidRecords[i].localeID, lcidRecords[i].lcid, wcf, TRUE, log); 306 testLocale(lcidRecords[i].localeID, lcidRecords[i].lcid, wnf, FALSE, log); 307 testLocale(lcidRecords[i].localeID, lcidRecords[i].lcid, wcf, TRUE, log);
|
icusvtst.h | 33 void testLocale(void);
|
dtifmtts.cpp | [all...] |
dtptngts.cpp | 58 const char* testLocale[MAX_LOCALE][4] = { 514 Locale loc(testLocale[localeIndex][0], testLocale[localeIndex][1], testLocale[localeIndex][2], testLocale[localeIndex][3]); 515 logln("\n\n Locale: %s_%s_%s@%s", testLocale[localeIndex][0], testLocale[localeIndex][1], testLocale[localeIndex][2], testLocale[localeIndex][3]);
|
loctest.cpp | 238 Locale testLocale(""); 240 testLocale = Locale(rawData[LANG][i], rawData[SCRIPT][i], rawData[CTRY][i], rawData[VAR][i]); 243 testLocale = Locale(rawData[LANG][i], rawData[CTRY][i], rawData[VAR][i]); 245 logln("Testing " + (UnicodeString)testLocale.getName() + "..."); 247 if ( (temp=testLocale.getLanguage()) != (dataTable[LANG][i])) 250 if ( (temp=testLocale.getScript()) != (dataTable[SCRIPT][i])) 253 if ( (temp=testLocale.getCountry()) != (dataTable[CTRY][i])) 256 if ( (temp=testLocale.getVariant()) != (dataTable[VAR][i])) 259 if ( (temp=testLocale.getName()) != (dataTable[NAME][i])) 266 Locale testLocale(""); [all...] |
tsdate.cpp | 44 testLocale(/*par, */Locale::getDefault(), "Default Locale"); 67 IntlTestDateFormat::testLocale(/*char* par, */const Locale& locale, const UnicodeString& localeName) 283 testLocale(/*par, */locales[i], name);
|
tsnmfmt.cpp | 52 if (exec) testLocale(/*par, */Locale::getDefault(), name); 74 IntlTestNumberFormat::testLocale(/* char* par, */const Locale& locale, const UnicodeString& localeName) 434 testLocale(/* par, */locales[i], name);
|
icusvtst.cpp | 146 TESTCASE(4,testLocale); 1032 void ICUServiceTest::testLocale() [all...] |
rbbitst.cpp | [all...] |
/external/icu4c/test/cintltst/ |
cloctst.c | 247 char *testLocale = 0; 251 testLocale=(char*)malloc(sizeof(char) * (strlen(rawData2[NAME][i])+1)); 252 strcpy(testLocale,rawData2[NAME][i]); 254 log_verbose("Testing %s .....\n", testLocale); 255 cap=uloc_getLanguage(testLocale, NULL, 0, &status); 259 uloc_getLanguage(testLocale, temp, cap+1, &status); 269 cap=uloc_getCountry(testLocale, temp, cap, &status); 273 uloc_getCountry(testLocale, temp, cap+1, &status); 283 cap=uloc_getVariant(testLocale, temp, cap, &status); 287 uloc_getVariant(testLocale, temp, cap+1, &status) [all...] |
/frameworks/base/tests/CoreTests/android/core/ |
LocaleTest.java | 42 public void testLocale() throws Exception {
|
/dalvik/libcore/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
NumberFormatTest.java | 719 Locale testLocale = new Locale("de", "CH"); 720 Locale[] requiredLocales = {Locale.US, testLocale}; 729 NumberFormat format = NumberFormat.getInstance(testLocale); [all...] |