You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix collation test gen. Also resolve all Java and CPP executor test failures. (#495)
* Fix problems from unescaping test strings
* UPdate collation generator to create correct rules
* Fixing collation generation to handle \x20 and \xA0 characters. ICU4J handle caseFirst and caseLevel
* FIxing all bug 6 ICU4C collation test failures
* Fixing all but 6 ICU4C collation test failures
* Fix all test failures in CPP collation
Copy file name to clipboardExpand all lines: executors/icu4j/74/executor-icu4j/src/main/java/org/unicode/conformance/testtype/collator/CollatorInputJson.java
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -33,9 +33,9 @@ public class CollatorInputJson implements ITestTypeInputJson {
Copy file name to clipboardExpand all lines: executors/icu4j/74/executor-icu4j/src/main/java/org/unicode/conformance/testtype/collator/CollatorTester.java
+17-3Lines changed: 17 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -44,16 +44,19 @@ public ITestTypeInputJson inputMapToJson(Map<String, Object> inputMapData) {
Copy file name to clipboardExpand all lines: executors/icu4j/74/executor-icu4j/src/test/java/org/unicode/conformance/collator/icu74/CollatorTest.java
+55-1Lines changed: 55 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,7 @@ public void testAttributesAsArrayList() {
45
45
publicvoidtestRule004() {
46
46
// in ICU 76.1 data
47
47
StringtestInput =
48
-
"{\"test_type\": \"collation\", \"compare_type\":\"<3\",\"s1\":\"\u0002\",\"s2\":\"\u0300\",\"source_file\":\"collationtest.txt\",\"line\":43,\"label\":\"00002\",\"test_description\":\"simple CEs & expansions\",\"rules\":\"&\\u0001<<<\\u0300&9<\\u0000&\\uA00A\\uA00B=\\uA002&\\uA00A\\uA00B\\u00050005=\\uA003\",\"hexhash\":\"7d3d23fab7f34c1cd44e90b40f7ed33c5bb317ba\"}";
48
+
"{\"test_type\": \"collation\", \"compare_type\":\"<3\",\"s1\":\"\u0002\",\"s2\":\"\u0300\",\"source_file\":\"collationtest.txt\",\"line\":43,\"label\":\"00002\",\"test_description\":\"simple CEs & expansions\",\"rules\":\"&\\u0001<<<\\u0300&9<\\u0000&\\uA00A\\uA00B=\\uA002&\\uA00A\\uA00B\\u00050005=\\uA003\",\"hexhash\":\"7d3d23fab7f34c1cd44e90b40f7ed33c5bb317ba\"}";
"{\"test_type\": \"collation\",\"compare_type\": \"<1\", \"s1\": \"opd\", \"s2\": \"op\\u0109\", \"source_file\": \"collationtest.txt\", \"line\": 2104, \"label\": \"01195\", \"test_description\": \"fall back to mappings with shorter prefixes, not immediately to ones with no prefixes\", \"rules\": \"&x=op|\\u0109&y=p|\\u00e7\", \"hexhash\": \"bc322b1e989cd75f5956b758dbf770b94f4011ff\" }";
0 commit comments