You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Sunitha Kambhampati (JIRA)" <ji...@apache.org> on 2006/11/08 17:32:53 UTC

[jira] Updated: (DERBY-2055) Add execution of the schema scripts for order entry

     [ 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