You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-dev@db.apache.org by "Craig Russell (JIRA)" <ji...@apache.org> on 2005/10/17 06:20:45 UTC

[jira] Resolved: (JDO-155) Add tests for InstanceLifeCycleEvents

     [ http://issues.apache.org/jira/browse/JDO-155?page=all ]
     
Craig Russell resolved JDO-155:
-------------------------------

    Resolution: Fixed

325833 adds test cases, .jdo files, .orm files, and schema files.
325837 adds tests to alltests.conf

> 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