You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Alexey A. Ivanov (JIRA)" <ji...@apache.org> on 2006/11/13 10:45:37 UTC

[jira] Created: (HARMONY-2161) [classlib][swing][test] unit test fails: j.s.text.GapContent_GapVectorTest

[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


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

        

[jira] Updated: (HARMONY-2161) [classlib][swing][test] unit test fails: j.s.text.GapContent_GapVectorTest

Posted by "Alexey A. Ivanov (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2161?page=all ]

Alexey A. Ivanov updated HARMONY-2161:
--------------------------------------

    Patch Info: [Patch Available]

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

        

[jira] Closed: (HARMONY-2161) [classlib][swing][test] unit test fails: j.s.text.GapContent_GapVectorTest

Posted by "Alexei Zakharov (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2161?page=all ]

Alexei Zakharov closed HARMONY-2161.
------------------------------------


Was verified by Alexey.

> [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
>         Assigned To: Alexei Zakharov
>         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

        

[jira] Resolved: (HARMONY-2161) [classlib][swing][test] unit test fails: j.s.text.GapContent_GapVectorTest

Posted by "Alexei Zakharov (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2161?page=all ]

Alexei Zakharov resolved HARMONY-2161.
--------------------------------------

    Resolution: Fixed

Thanks for the patch Alexey. Was applied at r474798. Please verify.

> [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
>         Assigned To: Alexei Zakharov
>         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

        

[jira] Commented: (HARMONY-2161) [classlib][swing][test] unit test fails: j.s.text.GapContent_GapVectorTest

Posted by "Alexey A. Ivanov (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HARMONY-2161?page=comments#action_12450020 ] 
            
Alexey A. Ivanov commented on HARMONY-2161:
-------------------------------------------

Everything's fine. Thanks.

> [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
>         Assigned To: Alexei Zakharov
>         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

        

[jira] Updated: (HARMONY-2161) [classlib][swing][test] unit test fails: j.s.text.GapContent_GapVectorTest

Posted by "Alexey A. Ivanov (JIRA)" <ji...@apache.org>.
     [ 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 list.

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

        

[jira] Assigned: (HARMONY-2161) [classlib][swing][test] unit test fails: j.s.text.GapContent_GapVectorTest

Posted by "Alexei Zakharov (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2161?page=all ]

Alexei Zakharov reassigned HARMONY-2161:
----------------------------------------

    Assignee: Alexei Zakharov

> [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
>         Assigned To: Alexei Zakharov
>         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