ICU-6896 Reverted the rbnf test case change in the previous change set. Locale 'ga' should be included for parsing test, although ga/spellout was excluded from parse in the library code.

X-SVN-Rev: 25973
This commit is contained in:
Yoshito Umaoka 2009-05-01 21:02:02 +00:00
parent 5c15722121
commit 82c2ed3b3a

View File

@ -1798,7 +1798,6 @@ IntlTestRBNF::TestAllLocales()
// RBNF parse is extremely slow when lenient option is enabled. // RBNF parse is extremely slow when lenient option is enabled.
// For non-exhaustive mode, we only test a few locales. // For non-exhaustive mode, we only test a few locales.
const char* noParseLocales[] = {"ga", NULL};
const char* parseLocales[] = {"en_US", "nl_NL", "be", NULL}; const char* parseLocales[] = {"en_US", "nl_NL", "be", NULL};
@ -1807,12 +1806,6 @@ IntlTestRBNF::TestAllLocales()
for (int i = 0; i < count; ++i) { for (int i = 0; i < count; ++i) {
const Locale* loc = &locales[i]; const Locale* loc = &locales[i];
UBool testParse = TRUE; UBool testParse = TRUE;
for (int j = 0; noParseLocales[j] != NULL; j++) {
if (strcmp(loc->getLanguage(), noParseLocales[j]) == 0) {
testParse = FALSE;
break;
}
}
if (quick) { if (quick) {
testParse = FALSE; testParse = FALSE;
for (int k = 0; parseLocales[k] != NULL; k++) { for (int k = 0; parseLocales[k] != NULL; k++) {