[ 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:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira