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

  /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 33 Locale testLocale;
122 assertTrue("Same object returned false", testLocale.equals(testLocale));
123 assertTrue("Same values returned false", testLocale.equals(l2));
124 assertTrue("Different locales returned true", !testLocale.equals(l));
155 assertTrue("Returned incorrect country: " + testLocale.getCountry(),
156 testLocale.getCountry().equals("CA"));
179 + testLocale.getDisplayCountry(), testLocale
206 + 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 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...]
rbbitst.cpp     [all...]
  /external/icu4c/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...]
  /libcore/luni/src/test/java/libcore/java/util/
OldAndroidLocaleTest.java 36 public void testLocale() throws Exception {
  /libcore/luni/src/test/java/libcore/java/text/
OldNumberFormatTest.java 360 Locale testLocale = new Locale("de", "CH");
362 if (Support_Locale.isLocaleAvailable(testLocale)) {
363 NumberFormat format = NumberFormat.getInstance(testLocale);
    [all...]

Completed in 615 milliseconds