ICU-9878 Update LANGUAGES and COUNTRIES list with current ISO/CLDR tables
X-SVN-Rev: 33336
This commit is contained in:
parent
ab0e59301c
commit
f267d1e3dd
File diff suppressed because it is too large
Load Diff
@ -868,8 +868,8 @@ LocaleTest::TestGetLangsAndCountries()
|
||||
;
|
||||
|
||||
/* TODO: Change this test to be more like the cloctst version? */
|
||||
if (testCount != 538)
|
||||
errln("Expected getISOLanguages() to return 538 languages; it returned %d", testCount);
|
||||
if (testCount != 8691)
|
||||
errln("Expected getISOLanguages() to return 8691 languages; it returned %d", testCount);
|
||||
else {
|
||||
for (i = 0; i < 15; i++) {
|
||||
int32_t j;
|
||||
@ -899,8 +899,8 @@ LocaleTest::TestGetLangsAndCountries()
|
||||
for(testCount=0;test[testCount];testCount++)
|
||||
;
|
||||
|
||||
if (testCount != 246){
|
||||
errln("Expected getISOCountries to return 246 countries; it returned %d", testCount);
|
||||
if (testCount != 249){
|
||||
errln("Expected getISOCountries to return 249 countries; it returned %d", testCount);
|
||||
}else {
|
||||
for (i = 0; i < spot2Len; i++) {
|
||||
int32_t j;
|
||||
@ -1399,7 +1399,7 @@ LocaleTest::Test4147315()
|
||||
UnicodeString temp;
|
||||
// Try with codes that are the wrong length but happen to match text
|
||||
// at a valid offset in the mapping table
|
||||
Locale locale("aaa", "CCC");
|
||||
Locale locale("xxx", "CCC");
|
||||
|
||||
const char *result = locale.getISO3Country();
|
||||
|
||||
@ -1420,7 +1420,7 @@ LocaleTest::Test4147317()
|
||||
UnicodeString temp;
|
||||
// Try with codes that are the wrong length but happen to match text
|
||||
// at a valid offset in the mapping table
|
||||
Locale locale("aaa", "CCC");
|
||||
Locale locale("xxx", "CCC");
|
||||
|
||||
const char *result = locale.getISO3Language();
|
||||
|
||||
|
8162
icu4c/source/test/testdata/structLocale.txt
vendored
8162
icu4c/source/test/testdata/structLocale.txt
vendored
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user