Return-Path: Delivered-To: apmail-db-jdo-dev-archive@www.apache.org Received: (qmail 70211 invoked from network); 2 Dec 2005 11:01:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 2 Dec 2005 11:01:59 -0000 Received: (qmail 86274 invoked by uid 500); 2 Dec 2005 11:01:56 -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 86239 invoked by uid 99); 2 Dec 2005 11:01:56 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Dec 2005 03:01:54 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 11C63180 for ; Fri, 2 Dec 2005 12:01:34 +0100 (CET) Message-ID: <235109506.1133521294070.JavaMail.jira@ajax.apache.org> Date: Fri, 2 Dec 2005 12:01:34 +0100 (CET) From: "Michael Bouschen (JIRA)" To: jdo-dev@db.apache.org Subject: [jira] Commented: (JDO-147) Remove pm.deletePersistent from query tests In-Reply-To: <143740100.1127406027981.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/JDO-147?page=comments#action_12359142 ] Michael Bouschen commented on JDO-147: -------------------------------------- Oops, I forgot two comments: - Class StringConcatenation defines a field parameters for the actual parameters of the test queries. The first entry defines null as the actual parameter for te first query, but the test query does not define any parameter. - In class DenoteUniquenessInFilter the comment in the declaratuon of expectedResult does not match the values use as expected result. Please check the test query and adapt the comment. > Remove pm.deletePersistent from query tests > ------------------------------------------- > > Key: JDO-147 > URL: http://issues.apache.org/jira/browse/JDO-147 > Project: JDO > Type: Bug > Components: tck20 > Reporter: Michelle Caisse > Assignee: Michael Watzek > Attachments: JDO-147.patch > > The query tests delete the persistent instance that they create at the end of the test using pm.deletePersistent(). Now that we use the new cleanup mechanism (addTearDownClass(Class)), there is no reason to deletie the instance. Also, the new maven option jdo.tck.cleanupaftertest cannot override this cleanup, so you can never see the database contents for debugging. Therefore, we should remove the line that deletes the persistent instance. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira