| Craig Russell (JIRA) 2007-05-17, 1:11 am |
|
[ https://issues.apache.org/jira/brow...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 c
hanges 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.
|