05-17-07 06: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 cop
y 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 th
e active Fetch Groups.
> The test should getFetchPlan.getGroups() from the PersistenceManager and f
rom a Query, modify the fetch plan via
> addGroup(String fetchGroupName), removeGroup(String fetchGroupName), clearGroups(
), setGroups(Collection fetchGroupNames), setGroups(String[] fetchGroupNames), a
nd setGroup(String fetchGroupName, and verify that the new getFetchPlan.getGroups ha
s 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.
[ Post a follow-up to this message ]
|