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/27 23:16:30 UTC

[jira] Updated: (JDO-189) Add test for PersistenceManagerFactory.close() and isClosed()

     [ http://issues.apache.org/jira/browse/JDO-189?page=all ]

Martin Zaun updated JDO-189:
----------------------------

    Attachment: JDO-189.patch

Attached is a patch extending exisisting test ..api.persistencemanagerfactory.Close
currently only testing pmf.close() (A11.4-2) to also test pmf.isClosed() (A11.4-10).


> 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