Home | History | Annotate | Download | only in cintltst

Lines Matching refs:ures_getLocale

369         realName = ures_getLocale(norway, &status);
370 log_verbose("ures_getLocale(\"%s\")=%s\n", norwayNames[i], realName);
1050 /*Test ures_getLocale() */
1051 log_verbose("Testing ures_getLocale() .....\n");
1052 if(strcmp(ures_getLocale(teRes, &status), "te") != 0){
1053 log_err("ERROR: ures_getLocale() failed. Expected = te_TE Got = %s\n", ures_getLocale(teRes, &status));
1103 if(strcmp(ures_getLocale(teRes, &status), "te") != 0){
1121 /* Test that ures_getLocale() returns the "real" locale ID */
1127 if(0!=strcmp("de_AT", ures_getLocale(teRes, &status))) {
1128 log_data_err("ures_getLocale(\"dE_At_NOWHERE_TO_BE_FOUND\")=%s but must be de_AT\n", ures_getLocale(teRes, &status));
1139 if(0!=strcmp("he_IL", ures_getLocale(teRes, &status))) {
1140 log_data_err("ures_getLocale(\"iW_Il_depRecaTed_HebreW\")=%s but must be he_IL\n", ures_getLocale(teRes, &status));
1191 /*Test ures_getLocale() with status != U_ZERO_ERROR*/
1199 if(ures_getLocale(teRes, &status) != NULL){
1200 log_err("ERROR: ures_getLocale is supposed to fail with errorCode != U_ZERO_ERROR\n");
1202 /*Test ures_getLocale() with UResourceBundle = NULL*/
1204 if(ures_getLocale(NULL, &status) != NULL && status != U_ILLEGAL_ARGUMENT_ERROR){
1205 log_err("ERROR: ures_getLocale is supposed to fail when UResourceBundle = NULL. Expected: errorCode = U_ILLEGAL_ARGUMENT_ERROR, Got: errorCode=%s\n",