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 Petrenko (JIRA)" <ji...@apache.org> on 2006/11/22 15:03:08 UTC

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

     [ http://issues.apache.org/jira/browse/HARMONY-2118?page=all ]

Alexey Petrenko resolved HARMONY-2118.
--------------------------------------

    Resolution: Fixed

The patch has been applied.
Please verify.

> [classlib][swing][test] unit test fails: j.s.text.DefaultEditorKitTest
> ----------------------------------------------------------------------
>
>                 Key: HARMONY-2118
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2118
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Alexey A. Ivanov
>         Assigned To: Alexey Petrenko
>         Attachments: H2118-DefaultEditorKit.patch
>
>
> Unit test javax.swing.text.DefaultEditorKitTest fails:
> testWriteOutputStreamDocumentintint(javax.swing.text.DefaultEditorKitTest)
> java.lang.StringIndexOutOfBoundsException
> 	at java.lang.String.<init>(String.java:456)
> 	at javax.swing.text.DefaultEditorKitTest.readStringFromFile(DefaultEditorKitTest.java:380)
> 	at javax.swing.text.DefaultEditorKitTest.testWriteOutputStreamDocumentintint(DefaultEditorKitTest.java:180)
> testWriteWriterFlush(javax.swing.text.DefaultEditorKitTest)
> junit.framework.AssertionFailedError
> 	at javax.swing.text.DefaultEditorKitTest.testWriteWriterFlush(DefaultEditorKitTest.java:247)
> testWriteOutputStreamFlush(javax.swing.text.DefaultEditorKitTest)
> junit.framework.AssertionFailedError
> 	at javax.swing.text.DefaultEditorKitTest.testWriteOutputStreamFlush(DefaultEditorKitTest.java:270)
> testNewLineOutputStream(javax.swing.text.DefaultEditorKitTest)
> junit.framework.ComparisonFailure: expected:<This is a very 
> short plain-text document.
> It's to be read only by the 
> test.> but was:<>
> 	at javax.swing.text.DefaultEditorKitTest.testNewLineOutputStream(DefaultEditorKitTest.java:359)
> (I dropped irrelevant stack trace lines.)

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