harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexei Zakharov (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-1611) [classlib][trunk] refactoring of PersistenceDelegateTest
Date Wed, 27 Sep 2006 15:45:52 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-1611?page=all ]

Alexei Zakharov updated HARMONY-1611:
-------------------------------------

    Attachment: HY-1611_PersistenceDelegateTest.patch

> [classlib][trunk] refactoring of PersistenceDelegateTest
> --------------------------------------------------------
>
>                 Key: HARMONY-1611
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1611
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: winXP
>            Reporter: Alexei Zakharov
>         Attachments: HY-1611_PersistenceDelegateTest.patch
>
>
> As it was decided in the mailing list [1] the tests from the org.apache.harmony.beans.tests.java.beans.PersistenceDelegateTest
class must be refactored since they use the bad reverse engineers technique. The attached
patch contains fixes for five tests:
> testWriteObject_NormalMutatesToTrue
> testWriteObject_NormalMutatesToFalse
> testWriteObject_NullObject
> testWriteObject_NullEncoder
> testMutatesTo_Null
> I will create a separate JIRA for remaining tests.
> The old heavy calls to the CallVerificationStack class were replaced with much more lightweight
mock object calls. Now all tests pass on RI but some still fail on Harmony. I will provide
the patch for Harmony classlib code soon, the attached patch is for tests only.
> [1] http://mail-archives.apache.org/mod_mbox/incubator-harmony-dev/200609.mbox/%3c2c9597b90609150556r359ddebv192ced44be6248a1@mail.gmail.com%3e

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