harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oliver Deakin (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-6524) [classlib][text] RuleBasedCollatorTest tests fail
Date Wed, 29 Sep 2010 16:04:32 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-6524?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12916179#action_12916179
] 

Oliver Deakin commented on HARMONY-6524:
----------------------------------------

I've just been taking a look at these two failures. It seems to me that they're non-bug differences
- in fact from the spec of CollationElementIterator I would expect the behaviour of ICU to
be correct. The test case we have (iterating through "cha" in Spanish) is the example given
in the spec, and from that I would expect the offset sequence to be { 0, 2, 3 } not { 0, 1,
2, 3 }. The test used to look for { 0, 2, 3 } until revision r612718 ("remove locate data,
delegate related classes to ICU") where it was changed to the current version. I think this
test should be changed back to expect { 0, 2, 3 } and removed from the exclude list.
Any comments? If not, I'll commit the change soon.

> [classlib][text] RuleBasedCollatorTest tests fail
> -------------------------------------------------
>
>                 Key: HARMONY-6524
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6524
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>    Affects Versions: 5.0M14
>            Reporter: Mark Hindess
>
> The failures are:
> RuleBasedCollatorTest  testGetCollationElementIteratorString
>   junit.framework.AssertionFailedError: expected:<1> but was:<2>
>   at org.apache.harmony.text.tests.java.text.RuleBasedCollatorTest.testGetCollationElementIteratorString
(RuleBasedCollatorTest.java:140)
> RuleBasedCollatorTest  testGetCollationElementIteratorCharacterIterator
> junit.framework.AssertionFailedError: expected:<1> but was:<2>
> at org.apache.harmony.text.tests.java.text.RuleBasedCollatorTest.testGetCollationElementIteratorCharacterIterator
(RuleBasedCollatorTest.java:191)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message