Home | History | Annotate | Download | only in intltest

Lines Matching full:locale

89     Locale *locale;
153 Don't use more than one of these at a time because of the Locale names
159 if (param[5].locale == NULL) {
160 param[0].locale = new Locale("root");
161 param[1].locale = new Locale("te");
162 param[2].locale = new Locale("te", "IN");
163 param[3].locale = new Locale("te", "NE");
164 param[4].locale = new Locale("te", "IN", "NE");
165 param[5].locale = new Locale("ne");
171 if (param[5].locale) {
174 delete param[idx].locale;
175 param[idx].locale = NULL;
207 /* Make sure that users using te_IN for the default locale don't get test failures. */
208 Locale originalDefault;
209 if (Locale::getDefault() == Locale("te_IN")) {
210 Locale::setDefault(Locale("en_US"), status);
223 /* Restore the default locale for the other tests. */
224 Locale::setDefault(originalDefault, status);
231 Locale locale("te", "IN");
241 /* Make sure that users using te_IN for the default locale don't get test failures. */
242 Locale originalDefault;
243 if (Locale::getDefault() == Locale("te_IN")) {
244 Locale::setDefault(Locale("en_US"), err);
248 ResourceBundle test2(testdatapath, locale, err);
292 /* Restore the default locale for the other tests. */
293 Locale::setDefault(originalDefault, err);
307 Locale *locale=new Locale("te_IN");
316 ResourceBundle test1(testdatapath, *locale, err);
401 delete locale;
435 /* Make sure that users using te_IN for the default locale don't get test failures. */
436 Locale originalDefault;
437 if (Locale::getDefault() == Locale("te_IN")) {
438 Locale::setDefault(Locale("en_US"), err);
441 Locale *locale=new Locale("te_IN");
443 ResourceBundle test0(tDataPathUS, *locale, err);
449 ResourceBundle test1(testdatapath, *locale, err);
456 if(strcmp(test1.getLocale().getName(), locale->getName()) !=0 ){
460 delete locale;
464 ResourceBundle explicitdefaultresource(NULL, Locale::getDefault(), err);
469 // You can't compare the default locale to the resolved locale in the
470 // resource bundle due to aliasing, keywords in the default locale
471 // or the chance that the machine running these tests is using a locale
603 /* Restore the default locale for the other tests. */
604 Locale::setDefault(originalDefault, err);
649 ResourceBundle theBundle( testdatapath, *param[i].locale, status);
650 //ResourceBundle theBundle( "c:\\icu\\icu\\source\\test\\testdata\\testdata", *param[i].locale, status);
1025 ResourceBundle bundle(testdatapath, Locale("te_IN"),status);
1161 errln("he locale's Islamic-civil DateTime resource exists. How did it get here?\n");