Home | History | Annotate | Download | only in intltest

Lines Matching refs:Locale

33 // Define this to test just a single locale
37 // There are 24 total possible tests per each locale. A SPARSENESS
91 Locale locale("es_PA");
93 SimpleDateFormat fmt(pattern, locale, status);
141 const Locale *avail = DateFormat::getAvailableLocales(locCount);
152 #ifdef TEST_ONE_LOC // define this to just test ONE locale.
153 Locale loc(TEST_ONE_LOC);
164 Locale loc = Locale::getDefault();
165 logln("ENTERING INFINITE TEST LOOP FOR Locale: " + loc.getDisplayName(temp));
169 test(Locale::getDefault());
182 test(Locale(CalendarTest::testLocaleID(j)));
208 void DateFormatRoundTripTest::test(const Locale& loc)
212 logln("Locale: " + loc.getDisplayName(temp));
241 errln(UnicodeString("Could not DF::createDateInstance ") + UnicodeString(styleName((DateFormat::EStyle)style)) + " Locale: " + loc.getDisplayName(temp));
254 errln(UnicodeString("Could not DF::createTimeInstance ") + UnicodeString(styleName((DateFormat::EStyle)style)) + " Locale: " + loc.getDisplayName(temp));
268 dataerrln(UnicodeString("Could not DF::createDateTimeInstance ") + UnicodeString(styleName((DateFormat::EStyle)dstyle)) + ", tstyle" + UnicodeString(styleName((DateFormat::EStyle)tstyle)) + "Locale: " + loc.getDisplayName(temp));
278 void DateFormatRoundTripTest::test(DateFormat *fmt, const Locale &origLocale, UBool timeOnly)
299 // quoted characters. Currently, this isn't a problem with the locale
338 failure(status, "fmt->parse", s[loop-1]+" in locale: " + origLocale.getName());
348 errln("FAIL: fmt->format gave 0-length string in " + pat + " with number " + d[loop] + " in locale " + origLocale.getName());
458 " in Locale: " + origLocale.getName());
461 " in Locale: " + origLocale.getName());