Ticket #5855 (closed defect: fixed)

Bug contains 1 commit(s) | SVN Diffs for #5855

 

Opened 1 year ago

Last modified 4 months ago

ISCII test failure in ICU4J

Reported by: grhoten Assigned to: michaelow
Priority: major Milestone: 4.1.1
Component: conversion Version:
Keywords: Cc:
Load: ibm:100 Xref:
Java Version: Operating System:
Project (C/J): ICU4J Weeks: 0.5
Review: yoshito

Description (Last modified by grhoten)

I noticed an implementation difference between ICU4C and ICU4J. ICU4C accepts ISCII, and doesn't allow ISCII as an alias. ICU4J alias resolution works differently, and ISCII is not a supported converter alias.

When I enable these tests in ICU4C and port the changes over to ICU4J, some tests fail.

Index: test\testdata/conversion.txt
===================================================================
--- test\testdata/conversion.txt        (revision 22412)
+++ test\testdata/conversion.txt        (working copy)
@@ -444,7 +444,7 @@
         { "UTF-8", :bin{ 61F48FBFBF }, "a\U0010FFFF", :intvector{ 0, 1, 1 }, :i
nt{1}, :int{0}, "", "", :bin{""} }
         //      Headers { "charset", "bytes", "unicode", "offsets", "flush", "f
allbacks", "errorCode", "callback", "invalidChars" }
         {
-            "iscii",
+            "iscii-dev",
             :bin{ EF4BC0E9BFE9E8D80AEF4AC0D4BFD4E8D80AEF4838B30AEF4939B30AEF4A3
AB30AEF4B3BB30A},
             "\u0A22\u0A3C\u0A5C\u0A4D\u0A39\u000A" /* Gurmukhi test */
                 "\u0AA2\u0AB5\u0AA1\u0AB5\u0ACD\u0AB9\u000A"     /* Gujarati te
st */
@@ -1084,7 +1084,7 @@

         // escape callback
         {
-          "ISCII",
+          "iscii-dev",
           "A\u0901\U00023456\u0902B\U00023456C",
           :bin{ 41ef42a1255544383444255544433536a24225554438344425554443353643
},
           :intvector{

Attachments

Change History

08/17/07 18:11:08 changed by grhoten

  • description changed.

08/22/07 12:57:45 changed by michaelow

  • revw set to grhoten.

08/29/07 11:25:57 changed by michaelow

  • revw deleted.

07/09/08 12:11:52 changed by michaelow

  • milestone changed from UNSCH to 4.1.1.

07/10/08 11:22:28 changed by yoshito

  • load set to ibm:100.

07/11/08 10:12:10 changed by michaelow

  • status changed from new to assigned.
  • revw set to yoshito.

Reenable the test in ICU4J.

09/11/08 09:04:22 changed by yoshito

  • status changed from assigned to closed.
  • resolution set to fixed.

Add/Change #5855 (ISCII test failure in ICU4J)




Anti spam check: