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