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;
212 /* Make sure that users using te_IN for the default locale don't get test failures. */
213 Locale originalDefault;
214 if (Locale::getDefault() == Locale("te_IN")) {
215 Locale::setDefault(Locale("en_US"), status);
228 /* Restore the default locale for the other tests. */
229 Locale::setDefault(originalDefault, status);
236 Locale locale("te", "IN");
246 /* Make sure that users using te_IN for the default locale don't get test failures. */
247 Locale originalDefault;
248 if (Locale::getDefault() == Locale("te_IN")) {
249 Locale::setDefault(Locale("en_US"), err);
253 ResourceBundle test2(testdatapath, locale, err);
297 /* Restore the default locale for the other tests. */
298 Locale::setDefault(originalDefault, err);
312 Locale *locale=new Locale("te_IN");
321 ResourceBundle test1(testdatapath, *locale, err);
406 delete locale;
440 /* Make sure that users using te_IN for the default locale don't get test failures. */
441 Locale originalDefault;
442 if (Locale::getDefault() == Locale("te_IN")) {
443 Locale::setDefault(Locale("en_US"), err);
446 Locale *locale=new Locale("te_IN");
448 ResourceBundle test0(tDataPathUS, *locale, err);
454 ResourceBundle test1(testdatapath, *locale, err);
461 if(strcmp(test1.getLocale().getName(), locale->getName()) !=0 ){
465 delete locale;
469 ResourceBundle explicitdefaultresource(NULL, Locale::getDefault(), err);
474 // You can't compare the default locale to the resolved locale in the
475 // resource bundle due to aliasing, keywords in the default locale
476 // or the chance that the machine running these tests is using a locale
608 /* Restore the default locale for the other tests. */
609 Locale::setDefault(originalDefault, err);
654 ResourceBundle theBundle( testdatapath, *param[i].locale, status);
655 //ResourceBundle theBundle( "c:\\icu\\icu\\source\\test\\testdata\\testdata", *param[i].locale, status);
1030 ResourceBundle bundle(testdatapath, Locale("te_IN"),status);
1166 errln("he locale's Islamic-civil DateTime resource exists. How did it get here?\n");