You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Alexei Zakharov (JIRA)" <ji...@apache.org> on 2006/10/18 16:46:36 UTC

[jira] Commented: (HARMONY-1611) [classlib][beans] refactoring of PersistenceDelegateTest

    [ http://issues.apache.org/jira/browse/HARMONY-1611?page=comments#action_12443283 ] 
            
Alexei Zakharov commented on HARMONY-1611:
------------------------------------------

Everything is ok, thanks.

> [classlib][beans] 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
>         Assigned To: Mikhail Loenko
>         Attachments: HY-1611_classlib.patch, 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