harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikhail Loenko (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-1611) [classlib][beans] refactoring of PersistenceDelegateTest
Date Wed, 18 Oct 2006 09:33:41 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-1611?page=all ]

Mikhail Loenko updated HARMONY-1611:

    Summary: [classlib][beans] refactoring of PersistenceDelegateTest  (was: [classlib][trunk]
refactoring of PersistenceDelegateTest)

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


View raw message