harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From regi...@apache.org
Subject svn commit: r765875 - /harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/CharacterTest.java
Date Fri, 17 Apr 2009 07:20:39 GMT
Author: regisxu
Date: Fri Apr 17 07:20:39 2009
New Revision: 765875

URL: http://svn.apache.org/viewvc?rev=765875&view=rev
Log:
Apply patch for HARMONY-6119: [classlib][luni]org.apache.harmony.luni.tests.java.lang.CharacterTest.test_isDirectionaliy_I
failure

Modified:
    harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/CharacterTest.java

Modified: harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/CharacterTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/CharacterTest.java?rev=765875&r1=765874&r2=765875&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/CharacterTest.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/CharacterTest.java
Fri Apr 17 07:20:39 2009
@@ -1666,8 +1666,8 @@
                 .getDirectionality(0xFB4F));
         assertEquals(Character.DIRECTIONALITY_RIGHT_TO_LEFT, Character
                 .getDirectionality(0x10838));
-        
-        assertEquals(Character.DIRECTIONALITY_RIGHT_TO_LEFT_ARABIC, Character
+        // Unicode standard 5.1 changed category of unicode point 0x0600 from AL to AN
+        assertEquals(Character.DIRECTIONALITY_ARABIC_NUMBER, Character
                 .getDirectionality(0x0600));
         assertEquals(Character.DIRECTIONALITY_RIGHT_TO_LEFT_ARABIC, Character
                 .getDirectionality(0xFEFC));



Mime
View raw message