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