ICU-552 Test for fallback mechanism of aliased data
X-SVN-Rev: 4222
This commit is contained in:
parent
1daecafbde
commit
d8fd66f325
@ -1267,6 +1267,18 @@ static void TestFallback()
|
||||
status = U_ZERO_ERROR;
|
||||
|
||||
ures_close(fr_FR);
|
||||
|
||||
/* Test Jitterbug 552 fallback mechanism of aliased data */
|
||||
{
|
||||
UErrorCode err =U_ZERO_ERROR;
|
||||
UResourceBundle* myResB = ures_open(NULL,"no_NO",&err);
|
||||
const UChar* myLocID = ures_get(myResB,"LocaleID",&err);
|
||||
UResourceBundle* tResB = ures_getByKey(myResB, "DayNames", NULL, &err);
|
||||
if(err!= U_USING_FALLBACK_ERROR){
|
||||
log_err("Expected U_USING_FALLBACK_ERROR when trying to test no_NO aliased with nn_NO %d\n",err);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
static void printUChars(UChar* uchars){
|
||||
|
Loading…
Reference in New Issue
Block a user