Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 87310 invoked from network); 12 Aug 2009 20:45:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 12 Aug 2009 20:45:32 -0000 Received: (qmail 90207 invoked by uid 500); 12 Aug 2009 20:45:39 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 90141 invoked by uid 500); 12 Aug 2009 20:45:39 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 90124 invoked by uid 99); 12 Aug 2009 20:45:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Aug 2009 20:45:39 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Aug 2009 20:45:35 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 0445F29A0018 for ; Wed, 12 Aug 2009 13:45:15 -0700 (PDT) Message-ID: <1498979228.1250109915016.JavaMail.jira@brutus> Date: Wed, 12 Aug 2009 13:45:15 -0700 (PDT) From: "Tiago R. Espinha (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (DERBY-3801) Convert "org.apache.derbyTesting.functionTests.tests.lang.holdCursorIJ.sql" to junit. In-Reply-To: <1414263751.1217236172567.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-3801?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12742567#action_12742567 ] Tiago R. Espinha commented on DERBY-3801: ----------------------------------------- Myrna, I have been working on this test conversion basing my work on Junjie's patch and have only now noticed that you had added useful comments to this issue. On this last comment of yours, you said: "...you should be able to identify which test cases (fixtures) in what you've converted now are suitable for adding to the existing HoldCursorTest..." Looking at the HoldCursorTest though, I can see that all of the cases where a dual behavior is required (for embedded and client/server) are actually already covered. There's only just one case that does not seem to be covered, but I think this is actually only useful for testing the ij syntax. The case is when we are trying the 'WITH CS' clause as follows: get with nohold cursor jdk1 as 'SELECT * FROM t1 WITH CS'; So, to bottom-line this, I'm thinking of removing these fixtures from this HoldCursorIJTest (since they already exist in HoldCursorTest), extend it from ScriptTestCase and build on from that. I have never done one of these tests before but I should be able to get hints from other already existing tests with the same characteristics. > Convert "org.apache.derbyTesting.functionTests.tests.lang.holdCursorIJ.sql" to junit. > -------------------------------------------------------------------------------------- > > Key: DERBY-3801 > URL: https://issues.apache.org/jira/browse/DERBY-3801 > Project: Derby > Issue Type: Improvement > Components: Test > Reporter: Junjie Peng > Assignee: Tiago R. Espinha > Attachments: derby-3801-1-patch.txt, derby-3801-2.patch, derby-3801-2.stat > > > Convert "org.apache.derbyTesting.functionTests.tests.lang.holdCursorIJ.sql" to junit. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.