db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig Russell (JIRA)" <j...@apache.org>
Subject [jira] Updated: (JDO-155) Add tests for InstanceLifeCycleEvents
Date Tue, 11 Oct 2005 19:12:06 GMT
     [ http://issues.apache.org/jira/browse/JDO-155?page=all ]

Craig Russell updated JDO-155:

    Attachment: testlistener.patch

Here are the first few tests plus the test framework. The callbacks for clear, create, and
delete are implemented.

> Add tests for InstanceLifeCycleEvents
> -------------------------------------
>          Key: JDO-155
>          URL: http://issues.apache.org/jira/browse/JDO-155
>      Project: JDO
>         Type: Test
>   Components: tck20
>     Reporter: Craig Russell
>     Assignee: Craig Russell
>  Attachments: testlistener.patch
> A12.15-1 through A12.15-14 can all use the same test class, using different test methods.

> A private class that implements the life cycle listener interface is registered with
the persistence manager and keeps track of the life cycle event callbacks and the instance
parameters of the callbacks. 
> The test method registers the life cycle event listener, makes persistence manager calls
and checks that the life cycle event listener was called. Finally, the listener is unregistered.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message