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

1 2

  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
LocaleTest.java 28 Locale testLocale;
117 assertTrue("Same object returned false", testLocale.equals(testLocale));
118 assertTrue("Same values returned false", testLocale.equals(l2));
119 assertTrue("Different locales returned true", !testLocale.equals(l));
150 assertTrue("Returned incorrect country: " + testLocale.getCountry(),
151 testLocale.getCountry().equals("CA"));
173 + testLocale.getDisplayCountry(), testLocale
193 + testLocale.getDisplayLanguage(), testLocal
    [all...]
ControlTest.java 353 Locale testLocale = new Locale("TestLanguage", "TestCountry", "Var");
354 Locale.setDefault(testLocale);
355 assertSame(testLocale, control.getFallbackLocale("baseName",
357 assertSame(testLocale, control.getFallbackLocale("baseName", Locale.US));
358 assertSame(null, control.getFallbackLocale("baseName", testLocale));
  /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);
  /external/icu/icu4c/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);
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);
dtptngts.cpp 65 const char* testLocale[MAX_LOCALE][4] = {
    [all...]
  /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/icu/icu4c/source/test/cintltst/
cloctst.c 259 char *testLocale = 0;
263 testLocale=(char*)malloc(sizeof(char) * (strlen(rawData2[NAME][i])+1));
264 strcpy(testLocale,rawData2[NAME][i]);
266 log_verbose("Testing %s .....\n", testLocale);
267 cap=uloc_getLanguage(testLocale, NULL, 0, &status);
271 uloc_getLanguage(testLocale, temp, cap+1, &status);
281 cap=uloc_getCountry(testLocale, temp, cap, &status);
285 uloc_getCountry(testLocale, temp, cap+1, &status);
295 cap=uloc_getVariant(testLocale, temp, cap, &status);
299 uloc_getVariant(testLocale, temp, cap+1, &status)
    [all...]
  /libcore/luni/src/test/java/libcore/java/util/
OldAndroidLocaleTest.java 35 public void testLocale() throws Exception {
  /cts/hostsidetests/appsecurity/src/com/android/cts/appsecurity/
SplitTests.java 146 public void testLocale() throws Exception {
148 runDeviceTests(PKG, ".SplitAppTest", "testLocale");
  /cts/hostsidetests/appsecurity/test-apps/SplitApp/src/com/android/cts/splitapp/
SplitAppTest.java 175 public void testLocale() throws Exception {

Completed in 352 milliseconds

1 2