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 2008/01/18 20:22:34 UTC
[jira] Updated: (JDO-377) Company model factory improvements to
test persistent interfaces
[ https://issues.apache.org/jira/browse/JDO-377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Craig Russell updated JDO-377:
------------------------------
Fix Version/s: (was: JDO 2 maintenance release 1)
> Company model factory improvements to test persistent interfaces
> ----------------------------------------------------------------
>
> Key: JDO-377
> URL: https://issues.apache.org/jira/browse/JDO-377
> Project: JDO
> Issue Type: Improvement
> Components: tck2
> Affects Versions: JDO 2 rc1
> Reporter: Craig Russell
> Assignee: Craig Russell
> Priority: Minor
> Attachments: JDO-377-mbo.patch, JDO-377.patch, lifecyclecompleteness.conf, LifecycleCompleteness.java
>
>
> Please review this patch.
> In order to test persistent interfaces better, a method was added to the CompanyFactory interface to allow the test program to get the persistent instances.
> List getAllInstances();
> To implement this new API, changes were made to the factory implementation classes to keep track of instances as they were created.
> Additionally, only classes (or interfaces) actually instantiated were put into the tearDown class array. So Person.class and Employee.class were removed from the array.
> Finally, a bug was fixed in CompanyFactoryPMClass where the interface IMedicalInsurance.class was incorrectly added to the tearDown class array.
> A new test class was used for testing. This class might be added to the TCK if suitable.
> And a new configuration was used for testing.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.