Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 92885 invoked from network); 20 Feb 2006 13:27:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 Feb 2006 13:27:51 -0000 Received: (qmail 37653 invoked by uid 500); 20 Feb 2006 13:27:51 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 37413 invoked by uid 500); 20 Feb 2006 13:27:50 -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 37390 invoked by uid 99); 20 Feb 2006 13:27:50 -0000 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=SPF_FAIL 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; Mon, 20 Feb 2006 05:27:48 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 39FA7DD for ; Mon, 20 Feb 2006 14:27:27 +0100 (CET) Message-ID: <605257892.1140442047235.JavaMail.jira@ajax.apache.org> Date: Mon, 20 Feb 2006 14:27:27 +0100 (CET) From: "Anurag Shekhar (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-1013) jdbc4 test suite test classes are using Util.notImplemented In-Reply-To: <1150093882.1140440905597.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/DERBY-1013?page=all ] Anurag Shekhar updated DERBY-1013: ---------------------------------- Attachment: derby-1013.diff changed the jdbc4 test classes to compare sql state and not. > jdbc4 test suite test classes are using Util.notImplemented > ----------------------------------------------------------- > > Key: DERBY-1013 > URL: http://issues.apache.org/jira/browse/DERBY-1013 > Project: Derby > Type: Bug > Reporter: Anurag Shekhar > Assignee: Anurag Shekhar > Attachments: derby-1013.diff > > jdbc4 test suite test classes are using Util.notImplemented to get exception text and then using the message comparison to check if the message are same in the thrown exception. This may cause problem in future because the jdbc4 code is using SQLState.NOT_IMPLEMENTED with a paramter (feature name). As the test classes are creating the exception without any parameter the test comparision will fail. > In this patch I have modified the test code to test for sql state which won't change. -- 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