Return-Path: Delivered-To: apmail-db-jdo-dev-archive@www.apache.org Received: (qmail 93403 invoked from network); 6 Apr 2007 18:38:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Apr 2007 18:38:53 -0000 Received: (qmail 776 invoked by uid 500); 6 Apr 2007 18:39:00 -0000 Mailing-List: contact jdo-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jdo-dev@db.apache.org Delivered-To: mailing list jdo-dev@db.apache.org Received: (qmail 765 invoked by uid 99); 6 Apr 2007 18:39:00 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Apr 2007 11:38:59 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Apr 2007 11:38:52 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 447D1714065 for ; Fri, 6 Apr 2007 11:38:32 -0700 (PDT) Message-ID: <16072629.1175884712260.JavaMail.jira@brutus> Date: Fri, 6 Apr 2007 11:38:32 -0700 (PDT) From: "Craig Russell (JIRA)" To: jdo-dev@db.apache.org Subject: [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. In-Reply-To: <5569575.1168034847715.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JDO-458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Craig Russell updated JDO-458: ------------------------------ Description: 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. was: In 12.7.5, specify that getFetchGroups returns a read-only copy of the active Fetch Groups. The test should getFetchGroups, modify the fetch plan, and verify that the new getFetchGroups has the changes but the first result is unchanged. Fix typo in description. > 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 > > > 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.