harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From odea...@apache.org
Subject svn commit: r1003089 - in /harmony/enhanced/java/trunk/classlib/modules/text: make/exclude.common src/test/java/org/apache/harmony/text/tests/java/text/RuleBasedCollatorTest.java
Date Thu, 30 Sep 2010 14:52:47 GMT
Author: odeakin
Date: Thu Sep 30 14:52:47 2010
New Revision: 1003089

URL: http://svn.apache.org/viewvc?rev=1003089&view=rev
Log:
Apply fix for HARMONY-6524 ([classlib][text] RuleBasedCollatorTest tests fail) and re-enable
test. I believe this is a non-bug difference, so modifying test for ICU behaviour.

Modified:
    harmony/enhanced/java/trunk/classlib/modules/text/make/exclude.common
    harmony/enhanced/java/trunk/classlib/modules/text/src/test/java/org/apache/harmony/text/tests/java/text/RuleBasedCollatorTest.java

Modified: harmony/enhanced/java/trunk/classlib/modules/text/make/exclude.common
URL: http://svn.apache.org/viewvc/harmony/enhanced/java/trunk/classlib/modules/text/make/exclude.common?rev=1003089&r1=1003088&r2=1003089&view=diff
==============================================================================
--- harmony/enhanced/java/trunk/classlib/modules/text/make/exclude.common (original)
+++ harmony/enhanced/java/trunk/classlib/modules/text/make/exclude.common Thu Sep 30 14:52:47
2010
@@ -1,6 +1,3 @@
-#HARMONY-6524
-org/apache/harmony/text/tests/java/text/RuleBasedCollatorTest.java
-
 #HARMONY-6525
 org/apache/harmony/text/tests/java/text/DecimalFormatTest.java
 

Modified: harmony/enhanced/java/trunk/classlib/modules/text/src/test/java/org/apache/harmony/text/tests/java/text/RuleBasedCollatorTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/java/trunk/classlib/modules/text/src/test/java/org/apache/harmony/text/tests/java/text/RuleBasedCollatorTest.java?rev=1003089&r1=1003088&r2=1003089&view=diff
==============================================================================
--- harmony/enhanced/java/trunk/classlib/modules/text/src/test/java/org/apache/harmony/text/tests/java/text/RuleBasedCollatorTest.java
(original)
+++ harmony/enhanced/java/trunk/classlib/modules/text/src/test/java/org/apache/harmony/text/tests/java/text/RuleBasedCollatorTest.java
Thu Sep 30 14:52:47 2010
@@ -130,7 +130,7 @@ public class RuleBasedCollatorTest exten
             String source = "cha";
             CollationElementIterator iterator = coll
                     .getCollationElementIterator(source);
-            int[] e_offset = { 0, 1, 2 ,3};
+            int[] e_offset = { 0, 2 ,3};
             int offset = iterator.getOffset();
             int i = 0;
             assertEquals(e_offset[i++], offset);
@@ -180,7 +180,7 @@ public class RuleBasedCollatorTest exten
             StringCharacterIterator source = new StringCharacterIterator(text);
             CollationElementIterator iterator = coll
                     .getCollationElementIterator(source);
-            int[] e_offset = { 0, 1, 2, 3 };
+            int[] e_offset = { 0, 2, 3 };
             int offset = iterator.getOffset();
             int i = 0;
             assertEquals(e_offset[i++], offset);



Mime
View raw message