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] Created: (HARMONY-2011) [classlib][beans] refactoring of PersistenceDelegateTest (2)
Date Mon, 30 Oct 2006 16:22:17 GMT
[classlib][beans] refactoring of PersistenceDelegateTest (2)
------------------------------------------------------------

                 Key: HARMONY-2011
                 URL: http://issues.apache.org/jira/browse/HARMONY-2011
             Project: Harmony
          Issue Type: Improvement
          Components: Classlib
         Environment: ws2003
            Reporter: Alexei Zakharov
            Priority: Minor


This is the final rework of org.apache.harmony.beans.tests.java.beans.PersistenceDelegateTest.
The attached patch fixes problems in following tests:

testInitialize_Normal
testInitialize_NullInstances
testInitialize_NullEncoder
Tests were refactored; all calls to CallVerificationStack (a reverse engineering toolkit)
were removed. Now test logic is clear and obvious.

testInitialize_circularRedundancy
I added this test to check the specific case when a circular redundancy is possible. RI handles
it ok.

MockEncoder and MockPersistenceDelegate internal classes were removed since no one is using
it currently. 

BTW, all tests from the PersistenceDelegateTest class are enabled now; therefore we can remove
the class from the exclude list.

Thanks.


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