You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by dj...@apache.org on 2006/08/18 05:52:03 UTC

svn commit: r432480 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/ProcedureTest.java

Author: djd
Date: Thu Aug 17 20:52:01 2006
New Revision: 432480

URL: http://svn.apache.org/viewvc?rev=432480&view=rev
Log:
Add a clean database test decorator to ProcedureTest.

Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/ProcedureTest.java

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/ProcedureTest.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/ProcedureTest.java?rev=432480&r1=432479&r2=432480&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/ProcedureTest.java (original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/ProcedureTest.java Thu Aug 17 20:52:01 2006
@@ -31,6 +31,7 @@
 import junit.framework.TestSuite;
 import org.apache.derbyTesting.functionTests.util.BaseJDBCTestCase;
 import org.apache.derbyTesting.functionTests.util.BaseJDBCTestSetup;
+import org.apache.derbyTesting.functionTests.util.CleanDatabaseTestSetup;
 import org.apache.derbyTesting.functionTests.util.JDBC;
 
 /**
@@ -720,7 +721,7 @@
                   "_prepared"));
         }
         }
-        return new BaseJDBCTestSetup(suite) {
+        Test test = new BaseJDBCTestSetup(suite) {
             /**
              * Creates the tables and the stored procedures used in the test
              * cases.
@@ -761,6 +762,8 @@
                 super.tearDown();
             }
         };
+        
+        return new CleanDatabaseTestSetup(test);
     }
 
     /**