You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Mark Hindess (JIRA)" <ji...@apache.org> on 2010/05/27 23:09:38 UTC

[jira] Created: (HARMONY-6524) [classlib][text] RuleBasedCollatorTest tests fail on linux/x86_64

[classlib][text] RuleBasedCollatorTest tests fail on linux/x86_64
-----------------------------------------------------------------

                 Key: HARMONY-6524
                 URL: https://issues.apache.org/jira/browse/HARMONY-6524
             Project: Harmony
          Issue Type: Bug
          Components: Classlib
    Affects Versions: 5.0M14
         Environment: Linux/x86_64 drlvm
            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.


[jira] Updated: (HARMONY-6524) [classlib][text] RuleBasedCollatorTest tests fail on linux/x86_64

Posted by "Mark Hindess (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-6524?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Hindess updated HARMONY-6524:
----------------------------------

    Environment:     (was: Linux/x86_64 drlvm)

> [classlib][text] RuleBasedCollatorTest tests fail on linux/x86_64
> -----------------------------------------------------------------
>
>                 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.


[jira] Commented: (HARMONY-6524) [classlib][text] RuleBasedCollatorTest tests fail

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-6524?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12872675#action_12872675 ] 

Hudson commented on HARMONY-6524:
---------------------------------

Integrated in Harmony-1.5-head-linux-x86_64 #808 (See [http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/808/])
    Removed linux/x86_64-specific exclude entry since it is also in common.
Created HARMONY-6524 and add reference to it to exclude entry.


> [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.


[jira] Commented: (HARMONY-6524) [classlib][text] RuleBasedCollatorTest tests fail

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-6524?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12916698#action_12916698 ] 

Hudson commented on HARMONY-6524:
---------------------------------

Integrated in Harmony-1.5-head-linux-x86_64 #973 (See [https://hudson.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/973/])
    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.


> [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
>            Assignee: Oliver Deakin
>             Fix For: 6.0M4, 5.0M16
>
>
> 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.


[jira] Commented: (HARMONY-6524) [classlib][text] RuleBasedCollatorTest tests fail

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-6524?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12916679#action_12916679 ] 

Hudson commented on HARMONY-6524:
---------------------------------

Integrated in Harmony-select-1.5-head-linux-x86_64 #126 (See [https://hudson.apache.org/hudson/job/Harmony-select-1.5-head-linux-x86_64/126/])
    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.


> [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
>            Assignee: Oliver Deakin
>             Fix For: 6.0M4, 5.0M16
>
>
> 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.


[jira] Resolved: (HARMONY-6524) [classlib][text] RuleBasedCollatorTest tests fail

Posted by "Oliver Deakin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-6524?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oliver Deakin resolved HARMONY-6524.
------------------------------------

         Assignee: Oliver Deakin
    Fix Version/s: 6.0M4
                   5.0M16
       Resolution: Fixed

I've modified the test according to my comment above and removed it from the excludes list at repo revision r1003089. Please verify the test passes for you now.

> [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
>            Assignee: Oliver Deakin
>             Fix For: 6.0M4, 5.0M16
>
>
> 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.


[jira] Commented: (HARMONY-6524) [classlib][text] RuleBasedCollatorTest tests fail

Posted by "Oliver Deakin (JIRA)" <ji...@apache.org>.
    [ 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.


[jira] Updated: (HARMONY-6524) [classlib][text] RuleBasedCollatorTest tests fail

Posted by "Mark Hindess (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-6524?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Hindess updated HARMONY-6524:
----------------------------------

    Summary: [classlib][text] RuleBasedCollatorTest tests fail  (was: [classlib][text] RuleBasedCollatorTest tests fail on linux/x86_64)

> [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.


[jira] Commented: (HARMONY-6524) [classlib][text] RuleBasedCollatorTest tests fail on linux/x86_64

Posted by "Mark Hindess (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-6524?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12872374#action_12872374 ] 

Mark Hindess commented on HARMONY-6524:
---------------------------------------

Turns out it is excluded in the common exclude list too and it fails for me on Linux/x86 and windows/x86 too.

> [classlib][text] RuleBasedCollatorTest tests fail on linux/x86_64
> -----------------------------------------------------------------
>
>                 Key: HARMONY-6524
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6524
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>    Affects Versions: 5.0M14
>         Environment: Linux/x86_64 drlvm
>            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.