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-458) Add new test to check that the result of getFetchGroups is a read-only copy of the currently active fetch groups.
Date Thu, 17 May 2007 01:14:16 GMT

    [ https://issues.apache.org/jira/browse/JDO-458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12496446
] 

Craig Russell commented on JDO-458:
-----------------------------------

Looks good.

> 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.


Mime
View raw message