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] Commented: (JDO-558) Create tests for the serialization of PersistenceManagerFactory/PersistenceManager
Date Wed, 20 Aug 2008 19:46:44 GMT

    [ https://issues.apache.org/jira/browse/JDO-558?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12624110#action_12624110
] 

Craig Russell commented on JDO-558:
-----------------------------------

Tests will serialize a PMF and then materialize it in the same VM (easy with the current JUnit
setup), and make sure it's equivalent by getting a PM and trying to retrieve an instance by
its id. 

A different test will serialize a PM and materialize it in the same VM. It should also be
possible to retrieve an instance that was stored using the previous PMF.

Another set of tests will create a new VM and try to materialize PMF and PM. This is more
tricky with the current maven/JUnit setup since another VM needs to be created and communications
established between the VMs.




> Create tests for the serialization of PersistenceManagerFactory/PersistenceManager
> ----------------------------------------------------------------------------------
>
>                 Key: JDO-558
>                 URL: https://issues.apache.org/jira/browse/JDO-558
>             Project: JDO
>          Issue Type: Task
>          Components: tck2, tck2-legacy
>    Affects Versions: JDO 2 maintenance release 1
>            Reporter: Matthew T. Adams
>            Assignee: Craig Russell
>             Fix For: JDO 2 maintenance release 2
>
>
> Serialization of PMFs/PMs needs to be tested as part of the TCK.  Forthcoming spec updates
on PM serialization will need assertions.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message