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/08/10 12:46:13 UTC

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

[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


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

        

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

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

Mark Hindess reassigned HARMONY-1137:
-------------------------------------

    Assignee: Mark Hindess

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

        

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

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

Mark Hindess closed HARMONY-1137.
---------------------------------


Verified by Alexey.


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

        

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

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

        

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

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

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

    Attachment: UndoRedoNames_Src.patch

_Src patch fixes the problem with getting localized text through UIManager.

> [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: UndoRedoNames_Src.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

        

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

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

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

    Attachment: UndoRedoNames_Tests.patch

_Tests patch contains fixed tests as well as regression tests added.

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

        

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

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

Everything's OK. The patch has been applied as expected. It's strange the tool complained...
All tests that were expected to be fixed pass successfully.
Thank you, Mark.

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

        

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

Posted by "Mark Hindess (JIRA)" <ji...@apache.org>.
     [ 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