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 2006/08/29 12:02:26 UTC
[jira] Resolved: (HARMONY-1137) [classlib][swing/text] unit test
AbstractDocument_DefaultDocumentEventTest fails
[ http://issues.apache.org/jira/browse/HARMONY-1137?page=all ]
Mark Hindess resolved HARMONY-1137.
-----------------------------------
Resolution: Fixed
Applied in r438034.
GNU patch didn't like UndoRedoNames_Src.patch - it reported:
patch: **** malformed patch at line 127:
I had to manually fix the counts on the last hunk to get it to apply.
Alexey, please check carefully that this applied as expected.
> [classlib][swing/text] unit test AbstractDocument_DefaultDocumentEventTest fails
> --------------------------------------------------------------------------------
>
> Key: HARMONY-1137
> URL: http://issues.apache.org/jira/browse/HARMONY-1137
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Alexey A. Ivanov
> Assigned To: Mark Hindess
> Attachments: swing-build-unexclude-tests.patch, UndoRedoNames_Src.patch, UndoRedoNames_Tests.patch
>
>
> The following tests fail becuase of incorrect tests:
> testGetUndoPresentationName(javax.swing.text.AbstractDocument_DefaultDocumentEventTest)
> junit.framework.ComparisonFailure: expected:<...addition> but was:<...Text added>
> at javax.swing.text.AbstractDocument_DefaultDocumentEventTest.testGetUndoPresentationName(AbstractDocument_DefaultDocumentEventTest.java:241)
> testGetRedoPresentationName(javax.swing.text.AbstractDocument_DefaultDocumentEventTest)
> junit.framework.ComparisonFailure: expected:<...addition> but was:<...Text added>
> at javax.swing.text.AbstractDocument_DefaultDocumentEventTest.testGetRedoPresentationName(AbstractDocument_DefaultDocumentEventTest.java:247)
> testGetPresentationName(javax.swing.text.AbstractDocument_DefaultDocumentEventTest)
> junit.framework.ComparisonFailure: expected:<addition> but was:<Text added>
> at javax.swing.text.AbstractDocument_DefaultDocumentEventTest.testGetPresentationName(AbstractDocument_DefaultDocumentEventTest.java:253)
> The text to compare with should be fetched from the UIManager.
--
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