• Home
  • Raw
  • Download

Lines Matching refs:newLoc

60         Locale newLoc(_LOCALE_ALIAS[i][1]);  in TestCalendar()  local
62 logln(UnicodeString(newLoc.getName())+" is not available. Skipping!"); in TestCalendar()
65 logln("\nold locale:%s new locale:%s",oldLoc.getName(),newLoc.getName()); in TestCalendar()
67 Calendar* c2 = Calendar::createInstance(newLoc, status); in TestCalendar()
72 if (strcmp(newLoc.getName(), l1)!=0) { in TestCalendar()
73 …errln("CalendarTest: newLoc!=l1: newLoc= "+UnicodeString(newLoc.getName()) +" l1= "+UnicodeString(… in TestCalendar()
79 …errln("CalendarTest: c1!=c2. newLoc= "+UnicodeString(newLoc.getName()) +" oldLoc= "+UnicodeStrin… in TestCalendar()
92 Locale newLoc(_LOCALE_ALIAS[i][1]); in TestDateFormat() local
94 logln(UnicodeString(newLoc.getName())+" is not available. Skipping!"); in TestDateFormat()
97 logln("\nold locale:%s new locale:%s",oldLoc.getName(),newLoc.getName()); in TestDateFormat()
100 DateFormat* df2 = DateFormat::createDateInstance(DateFormat::FULL, newLoc); in TestDateFormat()
105 if (strcmp(newLoc.getName(), l1)!=0) { in TestDateFormat()
106 …errln("CalendarTest: newLoc!=l1: newLoc= "+UnicodeString(newLoc.getName()) +" l1= "+UnicodeString(… in TestDateFormat()
112 …errln("TestDateFormat: c1!=c2. newLoc= "+UnicodeString(newLoc.getName()) +" oldLoc= "+UnicodeStr… in TestDateFormat()
126 Locale newLoc(_LOCALE_ALIAS[i][1]); in TestCollation() local
128 logln(UnicodeString(newLoc.getName())+" is not available. Skipping!"); in TestCollation()
131 logln("\nold locale:%s new locale:%s",oldLoc.getName(),newLoc.getName()); in TestCollation()
134 Collator* c2 = Collator::createInstance(newLoc, status); in TestCollation()
139 if (strcmp(newLoc.getName(), l1.getName())!=0) { in TestCollation()
140 …errln("CalendarTest: newLoc!=l1: newLoc= "+UnicodeString(newLoc.getName()) +" l1= "+UnicodeString(… in TestCollation()
146 …errln("CollationTest: c1!=c2. newLoc= "+UnicodeString(newLoc.getName()) +" oldLoc= "+UnicodeStri… in TestCollation()
157 Locale newLoc(_LOCALE_ALIAS[i][1]); in TestULocale() local
159 logln(UnicodeString(newLoc.getName())+" is not available. Skipping!"); in TestULocale()
162 logln("\nold locale:%s new locale:%s",oldLoc.getName(),newLoc.getName()); in TestULocale()
166 newLoc.getDisplayName(name2); in TestULocale()
168 …errln("DisplayNames are not equal. newLoc= "+UnicodeString(newLoc.getName()) +" oldLoc= "+Unicod… in TestULocale()
212 Locale newLoc(_LOCALE_ALIAS[i][1]); in TestDisplayName() local
214 logln(UnicodeString(newLoc.getName())+" is not available. Skipping!"); in TestDisplayName()
220 const UnicodeString newCountry = newLoc.getDisplayCountry(dipLocName); in TestDisplayName()
222 const UnicodeString newLang = newLoc.getDisplayLanguage(dipLocName); in TestDisplayName()
225 if(newCountry != newLoc.getCountry()){ in TestDisplayName()
231 if(newLang != newLoc.getLanguage()){ in TestDisplayName()
244 Locale newLoc(_LOCALE_ALIAS[i][1]); in TestUResourceBundle() local
246 logln(UnicodeString(newLoc.getName())+" is not available. Skipping!"); in TestUResourceBundle()
249 logln("\nold locale:%s new locale:%s",oldLoc.getName(),newLoc.getName()); in TestUResourceBundle()
264 rb2 = new ResourceBundle(testdatapath, newLoc, status); in TestUResourceBundle()
270 UnicodeString uNewLoc(newLoc.getName()); in TestUResourceBundle()