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 "Martin Zaun (JIRA)" <ji...@apache.org> on 2006/03/28 00:21:51 UTC
[jira] Resolved: (JDO-189) Add test for
PersistenceManagerFactory.close() and isClosed()
[ http://issues.apache.org/jira/browse/JDO-189?page=all ]
Martin Zaun resolved JDO-189:
-----------------------------
Resolution: Fixed
Added at end of test(): nullify field 'pmf' to have next invocation of getPMF() get a new pmf.
Committed in revision 389307.
> Add test for PersistenceManagerFactory.close() and isClosed()
> -------------------------------------------------------------
>
> Key: JDO-189
> URL: http://issues.apache.org/jira/browse/JDO-189
> Project: JDO
> Type: Test
> Components: tck20
> Versions: JDO 2 beta
> Environment: TCK
> Reporter: Craig Russell
> Assignee: Martin Zaun
> Fix For: JDO 2 final
> Attachments: JDO-189.patch
>
> A11.4-10 [boolean isClosed(); Return true if this PersistenceManagerFactory is closed; and false otherwise.]
> The test gets the PMF and verifies that isClosed() returns false. The test then calls close() and tests that isClosed() returns true.
--
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