You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@harmony.apache.org by "Ivanov, Alexey A" <al...@intel.com> on 2006/08/25 15:20:49 UTC

RE: [jira] Updated: (HARMONY-1137) [classlib][swing/text] unit test AbstractDocument_DefaultDocumentEventTest fails

Hello,

Can someone take a look and apply patches from HARMONY-1137 [1]?

There's also a patch to un-exclude the tests which stop failing after
applying the patch for HARMONY-1028 [2]. These tests are:
javax.swing.text.AbstractDocument_DefaultDocumentEventTest,
javax.swing.text.AbstractDocument_ElementEditTest,
javax.swing.text.AbstractDocument_UpdateTest.

Thanks,
Alexey.

[1] https://issues.apache.org/jira/browse/HARMONY-1137
[2] https://issues.apache.org/jira/browse/HARMONY-1028

--
Alexey A. Ivanov
Intel Middleware Product Division


>-----Original Message-----
>From: Alexey A. Ivanov (JIRA) [mailto:jira@apache.org]
>Sent: Friday, August 25, 2006 4:59 PM
>To: Ivanov, Alexey A
>Subject: [jira] Updated: (HARMONY-1137) [classlib][swing/text] unit
test
>AbstractDocument_DefaultDocumentEventTest fails
>
>     [ http://issues.apache.org/jira/browse/HARMONY-1137?page=all ]
>
>Alexey A. Ivanov updated HARMONY-1137:
>--------------------------------------
>
>    Attachment: swing-build-unexclude-tests.patch
>
>After fixing the issue HARMONY-1028, the AbstractDocument_ tests
excluded
>from run have stopped failing.
>After applying patches from this issue, no test case should fail in the
>AD_DefaultDocumentEventTest too.
>
>So swing-build-unexclude-tests.patch removes such tests from the
exclude
>section.
>
>> [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
>>         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_DefaultDo
cume
>ntEventTest)
>> junit.framework.ComparisonFailure: expected:<...addition> but
>was:<...Text added>
>> 	at
>javax.swing.text.AbstractDocument_DefaultDocumentEventTest.testGetUndoP
rese
>ntationName(AbstractDocument_DefaultDocumentEventTest.java:241)
>>
>testGetRedoPresentationName(javax.swing.text.AbstractDocument_DefaultDo
cume
>ntEventTest)
>> junit.framework.ComparisonFailure: expected:<...addition> but
>was:<...Text added>
>> 	at
>javax.swing.text.AbstractDocument_DefaultDocumentEventTest.testGetRedoP
rese
>ntationName(AbstractDocument_DefaultDocumentEventTest.java:247)
>>
>testGetPresentationName(javax.swing.text.AbstractDocument_DefaultDocume
ntEv
>entTest)
>> junit.framework.ComparisonFailure: expected:<addition> but was:<Text
>added>
>> 	at
>javax.swing.text.AbstractDocument_DefaultDocumentEventTest.testGetPrese
ntat
>ionName(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
>
>

---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org