harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey A. Ivanov (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-2161) [classlib][swing][test] unit test fails: j.s.text.GapContent_GapVectorTest
Date Mon, 13 Nov 2006 09:55:38 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-2161?page=all ]

Alexey A. Ivanov updated HARMONY-2161:

    Attachment: H2161-GapContent_GapVectorTest.patch

The patch fixes the failure by increasing the insertion position (from 11 to 12).
A new test case added (testInsertStringEnd) where insertion at position 11 is tested.

All the tests pass successfully. No modification in code was necessary.
Please don't forget to remove javax/swing/text/GapContent_GapVectorTest.java from test exclude

Also I've dropped author comment and @Override annotation to setUp() method.

> [classlib][swing][test] unit test fails: j.s.text.GapContent_GapVectorTest
> --------------------------------------------------------------------------
>                 Key: HARMONY-2161
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2161
>             Project: Harmony
>          Issue Type: Bug
>          Components: build - test - ci
>            Reporter: Alexey A. Ivanov
>         Attachments: H2161-GapContent_GapVectorTest.patch
> The stack trace of the failure:
> javax.swing.text.GapContent_GapVectorTest
> testInsertStringInvalid(javax.swing.text.GapContent_GapVectorTest)
> junit.framework.AssertionFailedError: BadLocationException must be thrown
> 	at javax.swing.text.GapContent_GapVectorTest.testInsertStringInvalid(GapContent_GapVectorTest.java:86)
> This test case fails the same way when run on JRockit 1.5, however it passes when run
against JRockit 1.4.2. Since we are to be compatible with Java 5.0, this is a bug.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message