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] Resolved: (JDO-155) Add tests for InstanceLifeCycleEvents
Date Mon, 17 Oct 2005 04:20:45 GMT
     [ 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


Mime
View raw message