db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject svn commit: r432480 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/ProcedureTest.java
Date Fri, 18 Aug 2006 03:52:03 GMT
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);
     }
 
     /**



Mime
View raw message