ICU-9523 CLDR 22 data final

X-SVN-Rev: 32316
This commit is contained in:
John Emmons 2012-08-31 23:42:54 +00:00
parent e1ea63bfbe
commit 9c28682259
3 changed files with 36 additions and 38 deletions

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2ad509a0cc1f696930d8c699b0edbb63d512b0b962430daea4039c969ea6b232
size 9825502
oid sha256:8fe85ccac6e5b095c78a5ff69f675ecf778c36fab576ba80680cece08912a2e2
size 9826061

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c09043e6ec2e5bc38ce3e954b947c7a21234b1b3559069edcde9a2823c491df6
oid sha256:09d7886d68573d0483456d7535aea5cbae62a193a2b7f66fa1cef5246f9189b7
size 97673

View File

@ -39,43 +39,43 @@ public class CompactDecimalFormatTest extends TestFmwk {
};
Object[][] SerbianTestData = {
{1234, "1200"},
{12345, "12 хиљ"},
{123456, "120 хиљ"},
{1234567, "1,2 мил"},
{12345678, "12 мил"},
{123456789, "120 мил"},
{1234567890, "1,2 млрд"},
{12345678901f, "12 млрд"},
{123456789012f, "120 млрд"},
{1234567890123f, "1,2 бил"},
{12345678901234f, "12 бил"},
{123456789012345f, "120 бил"},
{1234f, "1200"},
{12345f, "12\u00a0\u0445\u0438\u0459"},
{123456f, "120\u00a0\u0445\u0438\u0459"},
{1234567f, "1,2\u00a0\u043c\u0438\u043b"},
{12345678f, "12\u00a0\u043c\u0438\u043b"},
{123456789f, "120\u00a0\u043c\u0438\u043b"},
{1234567890f, "1,2\u00a0\u043c\u043b\u0440\u0434"},
{12345678901f, "12\u00a0\u043c\u043b\u0440\u0434"},
{123456789012f, "120\u00a0\u043c\u043b\u0440\u0434"},
{1234567890123f, "1,2\u00a0\u0431\u0438\u043b"},
{12345678901234f, "12\u00a0\u0431\u0438\u043b"},
{123456789012345f, "120\u00a0\u0431\u0438\u043b"},
};
Object[][] JapaneseTestData = {
{1234, "1200"},
{12345, "1.2万"},
{123456, "12万"},
{1234567, "120万"},
{12345678, "1200万"},
{123456789, "1.2億"},
{1234567890, "12億"},
{12345678901f, "120"},
{123456789012f, "1200"},
{1234567890123f, "1.2"},
{12345678901234f, "12"},
{123456789012345f, "120"},
{1234f, "1.2\u5343"},
{12345f, "1.2\u4E07"},
{123456f, "12\u4E07"},
{1234567f, "120\u4E07"},
{12345678f, "1200\u4E07"},
{123456789f, "1.2\u5104"},
{1234567890f, "12\u5104"},
{12345678901f, "120\u5104"},
{123456789012f, "1200\u5104"},
{1234567890123f, "1.2\u5146"},
{12345678901234f, "12\u5146"},
{123456789012345f, "120\u5146"},
};
Object[][] SwahiliTestData = {
{1234, "elfu\u00a01.2"},
{12345, "elfu\u00a012"},
{123456, "laki1.2"},
{1234567, "M1.2"},
{12345678, "M12"},
{123456789, "M120"},
{1234567890, "B1.2"},
{1234f, "elfu\u00a01.2"},
{12345f, "elfu\u00a012"},
{123456f, "laki1.2"},
{1234567f, "M1.2"},
{12345678f, "M12"},
{123456789f, "M120"},
{1234567890f, "B1.2"},
{12345678901f, "B12"},
{123456789012f, "B120"},
{1234567890123f, "T1.2"},
@ -92,14 +92,12 @@ public class CompactDecimalFormatTest extends TestFmwk {
}
public void TestJapanese() {
// checkLocale(ULocale.JAPANESE, JapaneseTestData); Not decided yet by CLDR TC.
checkLocale(ULocale.JAPANESE, EnglishTestData);
checkLocale(ULocale.JAPANESE, JapaneseTestData);
}
public void TestJapaneseGermany() {
// check fallback.
// checkLocale(ULocale.forLanguageTag("ja-DE"), JapaneseTestData); Not decided yet by CLDR TC.
checkLocale(ULocale.forLanguageTag("ja-DE"), EnglishTestData);
checkLocale(ULocale.forLanguageTag("ja-DE"), JapaneseTestData);
}
public void TestSwahili() {