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 "Michelle Caisse (JIRA)" <ji...@apache.org> on 2007/05/15 05:49:16 UTC
[jira] Updated: (JDO-458) Add new test to check that the result of
getFetchGroups is a read-only copy of the currently active fetch groups.
[ https://issues.apache.org/jira/browse/JDO-458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michelle Caisse updated JDO-458:
--------------------------------
Attachment: FetchPlanIsCopy.java
The attached file implements the specified test.
> Add new test to check that the result of getFetchGroups is a read-only copy of the currently active fetch groups.
> -----------------------------------------------------------------------------------------------------------------
>
> Key: JDO-458
> URL: https://issues.apache.org/jira/browse/JDO-458
> Project: JDO
> Issue Type: Test
> Components: tck2, tck2-legacy
> Affects Versions: JDO 2 final
> Reporter: Craig Russell
> Assigned To: Michelle Caisse
> Fix For: JDO 2 maintenance release 1
>
> Attachments: FetchPlanIsCopy.java
>
>
> In 12.7.5, specify that FetchPlan.getGroups returns a read-only copy of the active Fetch Groups.
> The test should getFetchPlan.getGroups() from the PersistenceManager and from a Query, modify the fetch plan via
> addGroup(String fetchGroupName), removeGroup(String fetchGroupName), clearGroups(), setGroups(Collection fetchGroupNames), setGroups(String[] fetchGroupNames), and setGroup(String fetchGroupName, and verify that the new getFetchPlan.getGroups has the changes but the first result is unchanged.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.