ICU-22781 Add CLDR-18274 failing comments to portion unit formatting tests

See 
This commit is contained in:
Younies Mahmoud 2025-02-12 10:16:24 +00:00
parent 35c9778781
commit e20b71af50
2 changed files with 17 additions and 17 deletions
icu4c/source/test/intltest
icu4j/main/common_tests/src/test/java/com/ibm/icu/dev/test/format

View file

@ -6150,14 +6150,14 @@ void NumberFormatterApiTest::TestPortionFormat() {
{"portion-per-1e9", "en-US", 2, "2 parts per billion"},
{"portion-per-1e9", "en-US", 1000000, "1,000,000 parts per billion"},
{"portion-per-1e9", "de-DE", 1000000, "1.000.000 Milliardstel"},
{"portion-per-1e1", "en-US", 1, "UNKNOWN"},
{"portion-per-1e2", "en-US", 1, "UNKNOWN"},
{"portion-per-1e3", "en-US", 1, "UNKNOWN"},
{"portion-per-1e4", "en-US", 1, "UNKNOWN"},
{"portion-per-1e5", "en-US", 1, "UNKNOWN"},
{"portion-per-1e6", "en-US", 1, "UNKNOWN"},
{"portion-per-1e7", "en-US", 1, "UNKNOWN"},
{"portion-per-1e8", "en-US", 1, "UNKNOWN"},
{"portion-per-1e1", "en-US", 1, "UNKNOWN"}, // Failing CLDR-18274
{"portion-per-1e2", "en-US", 1, "UNKNOWN"}, // Failing CLDR-18274
{"portion-per-1e3", "en-US", 1, "UNKNOWN"}, // Failing CLDR-18274
{"portion-per-1e4", "en-US", 1, "UNKNOWN"}, // Failing CLDR-18274
{"portion-per-1e5", "en-US", 1, "UNKNOWN"}, // Failing CLDR-18274
{"portion-per-1e6", "en-US", 1, "UNKNOWN"}, // Failing CLDR-18274
{"portion-per-1e7", "en-US", 1, "UNKNOWN"}, // Failing CLDR-18274
{"portion-per-1e8", "en-US", 1, "UNKNOWN"}, // Failing CLDR-18274
};
for (auto testCase : testCases) {

View file

@ -7138,18 +7138,18 @@ public class NumberFormatTest extends CoreTestFmwk {
}
TestCase[] testCases = {
new TestCase("portion-per-1e9", "en-US", 1, "1 part per billion"),
new TestCase("portion-per-1e9", "en-US", 1, "1 part per billion"),
new TestCase("portion-per-1e9", "en-US", 2, "2 parts per billion"),
new TestCase("portion-per-1e9", "en-US", 1000000, "1,000,000 parts per billion"),
new TestCase("portion-per-1e9", "de-DE", 1000000, "1.000.000 Milliardstel"),
new TestCase("portion-per-1e1", "en-US", 1, "UNKNOWN"),
new TestCase("portion-per-1e2", "en-US", 1, "UNKNOWN"),
new TestCase("portion-per-1e3", "en-US", 1, "UNKNOWN"),
new TestCase("portion-per-1e4", "en-US", 1, "UNKNOWN"),
new TestCase("portion-per-1e5", "en-US", 1, "UNKNOWN"),
new TestCase("portion-per-1e6", "en-US", 1, "UNKNOWN"),
new TestCase("portion-per-1e7", "en-US", 1, "UNKNOWN"),
new TestCase("portion-per-1e8", "en-US", 1, "UNKNOWN"),
new TestCase("portion-per-1e1", "en-US", 1, "UNKNOWN"), // Failing CLDR-18274
new TestCase("portion-per-1e2", "en-US", 1, "UNKNOWN"), // Failing CLDR-18274
new TestCase("portion-per-1e3", "en-US", 1, "UNKNOWN"), // Failing CLDR-18274
new TestCase("portion-per-1e4", "en-US", 1, "UNKNOWN"), // Failing CLDR-18274
new TestCase("portion-per-1e5", "en-US", 1, "UNKNOWN"), // Failing CLDR-18274
new TestCase("portion-per-1e6", "en-US", 1, "UNKNOWN"), // Failing CLDR-18274
new TestCase("portion-per-1e7", "en-US", 1, "UNKNOWN"), // Failing CLDR-18274
new TestCase("portion-per-1e8", "en-US", 1, "UNKNOWN"), // Failing CLDR-18274
};
for (TestCase testCase : testCases) {