HomeSort by relevance Sort by last modified time
    Searched refs:testLocale (Results 1 - 25 of 28) sorted by null

1 2

  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
LocaleTest.java 28 Locale testLocale;
87 assertTrue("Same object returned false", testLocale.equals(testLocale));
88 assertTrue("Same values returned false", testLocale.equals(l2));
89 assertTrue("Different locales returned true", !testLocale.equals(l));
114 assertTrue("Returned incorrect country: " + testLocale.getCountry(),
115 testLocale.getCountry().equals("CA"));
137 + testLocale.getDisplayCountry(), testLocale
164 + testLocale.getDisplayLanguage(), testLocal
    [all...]
ControlTest.java 361 Locale testLocale = new Locale("TestLanguage", "TestCountry", "Var");
362 Locale.setDefault(testLocale);
363 assertSame(testLocale, control.getFallbackLocale("baseName",
365 assertSame(testLocale, control.getFallbackLocale("baseName", Locale.US));
366 assertSame(null, control.getFallbackLocale("baseName", testLocale));
    [all...]
  /libcore/luni/src/test/java/tests/api/java/util/
LocaleTest.java 30 Locale testLocale;
119 assertTrue("Same object returned false", testLocale.equals(testLocale));
120 assertTrue("Same values returned false", testLocale.equals(l2));
121 assertTrue("Different locales returned true", !testLocale.equals(l));
152 assertTrue("Returned incorrect country: " + testLocale.getCountry(),
153 testLocale.getCountry().equals("CA"));
175 + testLocale.getDisplayCountry(), testLocale
195 + testLocale.getDisplayLanguage(), testLocal
    [all...]
  /external/chromium_org/third_party/icu/source/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 61 const char* testLocale[MAX_LOCALE][4] = {
556 Locale loc(testLocale[localeIndex][0], testLocale[localeIndex][1], testLocale[localeIndex][2], testLocale[localeIndex][3]);
557 logln("\n\n Locale: %s_%s_%s@%s", testLocale[localeIndex][0], testLocale[localeIndex][1], testLocale[localeIndex][2], testLocale[localeIndex][3]);
    [all...]
loctest.cpp 242 Locale testLocale("");
244 testLocale = Locale(rawData[LANG][i], rawData[SCRIPT][i], rawData[CTRY][i], rawData[VAR][i]);
247 testLocale = Locale(rawData[LANG][i], rawData[CTRY][i], rawData[VAR][i]);
249 logln("Testing " + (UnicodeString)testLocale.getName() + "...");
251 if ( (temp=testLocale.getLanguage()) != (dataTable[LANG][i]))
254 if ( (temp=testLocale.getScript()) != (dataTable[SCRIPT][i]))
257 if ( (temp=testLocale.getCountry()) != (dataTable[CTRY][i]))
260 if ( (temp=testLocale.getVariant()) != (dataTable[VAR][i]))
263 if ( (temp=testLocale.getName()) != (dataTable[NAME][i]))
270 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 147 TESTCASE(4,testLocale);
1036 void ICUServiceTest::testLocale() {
    [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);
dtptngts.cpp 63 const char* testLocale[MAX_LOCALE][4] = {
    [all...]
loctest.cpp 243 Locale testLocale("");
245 testLocale = Locale(rawData[LANG][i], rawData[SCRIPT][i], rawData[CTRY][i], rawData[VAR][i]);
248 testLocale = Locale(rawData[LANG][i], rawData[CTRY][i], rawData[VAR][i]);
250 logln("Testing " + (UnicodeString)testLocale.getName() + "...");
252 if ( (temp=testLocale.getLanguage()) != (dataTable[LANG][i]))
255 if ( (temp=testLocale.getScript()) != (dataTable[SCRIPT][i]))
258 if ( (temp=testLocale.getCountry()) != (dataTable[CTRY][i]))
261 if ( (temp=testLocale.getVariant()) != (dataTable[VAR][i]))
264 if ( (temp=testLocale.getName()) != (dataTable[NAME][i]))
271 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);
dtifmtts.cpp     [all...]
tsnmfmt.cpp 53 if (exec) testLocale(/*par, */Locale::getDefault(), name);
75 IntlTestNumberFormat::testLocale(/* char* par, */const Locale& locale, const UnicodeString& localeName)
445 testLocale(/* par, */locales[i], name);
  /external/chromium_org/third_party/icu/source/test/cintltst/
cloctst.c 255 char *testLocale = 0;
259 testLocale=(char*)malloc(sizeof(char) * (strlen(rawData2[NAME][i])+1));
260 strcpy(testLocale,rawData2[NAME][i]);
262 log_verbose("Testing %s .....\n", testLocale);
263 cap=uloc_getLanguage(testLocale, NULL, 0, &status);
267 uloc_getLanguage(testLocale, temp, cap+1, &status);
277 cap=uloc_getCountry(testLocale, temp, cap, &status);
281 uloc_getCountry(testLocale, temp, cap+1, &status);
291 cap=uloc_getVariant(testLocale, temp, cap, &status);
295 uloc_getVariant(testLocale, temp, cap+1, &status)
    [all...]
  /external/icu4c/test/cintltst/
cloctst.c 256 char *testLocale = 0;
260 testLocale=(char*)malloc(sizeof(char) * (strlen(rawData2[NAME][i])+1));
261 strcpy(testLocale,rawData2[NAME][i]);
263 log_verbose("Testing %s .....\n", testLocale);
264 cap=uloc_getLanguage(testLocale, NULL, 0, &status);
268 uloc_getLanguage(testLocale, temp, cap+1, &status);
278 cap=uloc_getCountry(testLocale, temp, cap, &status);
282 uloc_getCountry(testLocale, temp, cap+1, &status);
292 cap=uloc_getVariant(testLocale, temp, cap, &status);
296 uloc_getVariant(testLocale, temp, cap+1, &status)
    [all...]
  /libcore/luni/src/test/java/libcore/java/util/
OldAndroidLocaleTest.java 35 public void testLocale() throws Exception {

Completed in 1240 milliseconds

1 2