Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 52469 invoked from network); 8 Nov 2006 16:33:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Nov 2006 16:33:15 -0000 Received: (qmail 99509 invoked by uid 500); 8 Nov 2006 16:33:26 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 99479 invoked by uid 500); 8 Nov 2006 16:33:25 -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 99470 invoked by uid 99); 8 Nov 2006 16:33:25 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Nov 2006 08:33:25 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Nov 2006 08:33:14 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 19AD47142F8 for ; Wed, 8 Nov 2006 08:32:53 -0800 (PST) Message-ID: <33330211.1163003573102.JavaMail.jira@brutus> Date: Wed, 8 Nov 2006 08:32:53 -0800 (PST) From: "Sunitha Kambhampati (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-2055) Add execution of the schema scripts for order entry In-Reply-To: <13562588.1163000812218.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ http://issues.apache.org/jira/browse/DERBY-2055?page=all ] Sunitha Kambhampati updated DERBY-2055: --------------------------------------- Attachment: derby2055.diff.txt This patch 1) Adds a new class Load.java to execute the schema scripts for OE within the junit framework. 2) Adds a new utility method to BaseJDBCTestCase to take a resource name and execute it using runScript. Some things to note: -- This test is not enabled to run currently as part of any other suite. -- Posting this patch as a first step to test the schema scripts etc. -- Running the Load test assumes that the database is clean of OE schema. I have not added the CleanDatabaseTestSetup because currently we do not want the load to clean itself up as this is still in development phase. To run, do: java junit.textui.TestRunner org.apache.derbyTesting.system.oe.run.Load svn stat: A java\testing\org\apache\derbyTesting\system\oe\run A java\testing\org\apache\derbyTesting\system\oe\run\Load.java M java\testing\org\apache\derbyTesting\junit\BaseJDBCTestCase.java Can someone please review/commit this. Thanks. > Add execution of the schema scripts for order entry > --------------------------------------------------- > > Key: DERBY-2055 > URL: http://issues.apache.org/jira/browse/DERBY-2055 > Project: Derby > Issue Type: Sub-task > Components: Test > Reporter: Sunitha Kambhampati > Assigned To: Sunitha Kambhampati > Fix For: 10.3.0.0 > > Attachments: derby2055.diff.txt > > -- 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