Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 63662 invoked from network); 3 Nov 2006 11:37:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Nov 2006 11:37:48 -0000 Received: (qmail 56276 invoked by uid 500); 3 Nov 2006 11:37:58 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 56249 invoked by uid 500); 3 Nov 2006 11:37:58 -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 56240 invoked by uid 99); 3 Nov 2006 11:37:58 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Nov 2006 03:37:58 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [192.18.1.36] (HELO gmp-ea-fw-1.sun.com) (192.18.1.36) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Nov 2006 03:37:41 -0800 Received: from d1-emea-09.sun.com (d1-emea-09.sun.com [192.18.2.119] (may be forged)) by gmp-ea-fw-1.sun.com (8.13.6+Sun/8.12.9) with ESMTP id kA3Bb6cH013383 for ; Fri, 3 Nov 2006 11:37:06 GMT Received: from conversion-daemon.d1-emea-09.sun.com by d1-emea-09.sun.com (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) id <0J8500B01K75VI00@d1-emea-09.sun.com> (original mail from Julius.Stroffek@Sun.COM) for derby-dev@db.apache.org; Fri, 03 Nov 2006 11:37:06 +0000 (GMT) Received: from [129.157.18.88] by d1-emea-09.sun.com (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPSA id <0J8500J72K9TN68V@d1-emea-09.sun.com> for derby-dev@db.apache.org; Fri, 03 Nov 2006 11:37:06 +0000 (GMT) Date: Fri, 03 Nov 2006 12:37:03 +0100 From: Julius Stroffek Subject: Re: Adding a new test In-reply-to: Sender: Julius.Stroffek@Sun.COM To: derby-dev@db.apache.org Message-id: <454B29DF.3060709@sun.com> MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=ISO-8859-1 Content-transfer-encoding: 7BIT References: <4549F0CF.3050503@sun.com> User-Agent: Thunderbird 1.5.0.5 (X11/20060911) X-Virus-Checked: Checked by ClamAV on apache.org Knut Anders Hatlen wrote: > Hi Julo, > > It is perfectly OK to add a new test case to the derbynet/testProtocol > test. That test is actually an assertion based test which should be > fairly easy to convert into JUnit later, and I don't think adding a > new test case to it will slow down the transition to JUnit. > Hi Knut, I can't do this. Because the test will create two JDBC connections to the same server to different databases and executes some queries on both. It will not test the DRDA on such a lower level like derbynet/testProtocol does. I'm thinking of creating a new package for junit tests - org.apache.derbyTesting.functionTests.extra. The test also should not be a part of jdbcapi testing because it has nothing common with jdbcapi interface itself except it uses it. I have already created this test as a junit test and there is only a question where to place this test. Cheers Julo