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] Created: (HARMONY-2118) [classlib][swing][test] unit test fails: j.s.text.DefaultEditorKitTest
Date Thu, 09 Nov 2006 08:32:37 GMT
[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


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

        

Mime
View raw message