Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 40811 invoked from network); 19 May 2007 17:39:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 May 2007 17:39:31 -0000 Received: (qmail 4261 invoked by uid 500); 19 May 2007 17:39:36 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 4055 invoked by uid 500); 19 May 2007 17:39:36 -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 4045 invoked by uid 99); 19 May 2007 17:39:36 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 19 May 2007 10:39:36 -0700 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; Sat, 19 May 2007 10:39:29 -0700 Received: from d1-emea-10.sun.com ([192.18.2.120]) by gmp-ea-fw-1.sun.com (8.13.6+Sun/8.12.9) with ESMTP id l4JHd5cG003724 for ; Sat, 19 May 2007 17:39:08 GMT Received: from conversion-daemon.d1-emea-10.sun.com by d1-emea-10.sun.com (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) id <0JIA00K01U8T6300@d1-emea-10.sun.com> (original mail from Knut.Hatlen@Sun.COM) for derby-dev@db.apache.org; Sat, 19 May 2007 18:39:05 +0100 (BST) Received: from localhost ([193.71.105.147]) by d1-emea-10.sun.com (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPSA id <0JIA003UFUD53PC0@d1-emea-10.sun.com> for derby-dev@db.apache.org; Sat, 19 May 2007 18:39:05 +0100 (BST) Date: Sat, 19 May 2007 19:37:55 +0200 From: Knut Anders Hatlen Subject: Re: Status of encodingTests In-reply-to: <464F1055.80009@sun.com> Sender: Knut.Hatlen@Sun.COM To: derby-dev@db.apache.org Message-id: Organization: Sun Microsystems MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 8BIT References: <464EF841.5080903@sun.com> <464F1055.80009@sun.com> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1.50 (usg-unix-v) X-Virus-Checked: Checked by ClamAV on apache.org �ystein Gr�vlen writes: > Knut Anders Hatlen wrote: >> �ystein Gr�vlen writes: >> >>> What is the current status of encodingTests in the old test suite? >>> DERBY-2568 mentions that it has been reported to be invalid. >> >> I think there are strong arguments for removing the entire suite. It has >> also been discussed in DERBY-2446. >> >>> The reason I ask is that when I run with locators for Blob, derbyall >>> fails in TestPreparedStatementMethods. This test has been converted >>> to JUnit and called PreparedStatementTest. I assume the reason it is >>> still run in the old harness is the encoding tests. In order to get >>> derbyall to run without failures with locators, I would have to fix >>> the same issues that I have already fixed for PreparedStatementTest. >>> That would be a waste of time if the encoding tests are not valid. >> >> Is it still part of the encodingTests suite? derbynet/TestEnc.java is >> the only test mentioned in encodingTests.runall. > > You are right. My conclusions were wrong. It turns out the test is > run in the ordinary jdbc40 suite. This suite is still run (both > embedded and client) even if it seems all its tests have been > converted to JUnit. I will file a JIRA for removing them. Please, > tell me if there is a good reason for still running them in the old > test framework. PreparedStatementTest was added in DERBY-1333, and the description of the patch said: b) jdbcxa40.runall contains one entry as of now of the PreparedStatementTest.junit which is the TestPreparedStatementMethods test converted to junit and which is also added as part of this patch ... d) PrepaerdStatementTest.java which is the jdbc40 PreparedStatements converted to junit I guess it was just an oversight that the old test wasn't removed. -- Knut Anders