Expresso 5-6

com.jcorporate.expresso.services.test
Class DBTestSuite

java.lang.Object
  extended byjunit.framework.TestSuite
      extended bycom.jcorporate.expresso.services.test.DBTestSuite
All Implemented Interfaces:
junit.framework.Test

public class DBTestSuite
extends junit.framework.TestSuite

Database Test suite that needs a database setup during startup and a schema tear down at completion.

Version:
$Revision: 1.10 $ $Date: 2004/11/17 20:48:22 $
Author:
Michael Rimov

Constructor Summary
DBTestSuite()
           
 
Method Summary
protected  void addSchema(Vector schemas)
           
 void cleanUp()
           
 void run(junit.framework.TestResult result)
          Runs the tests and collects their result in a TestResult.
static junit.framework.Test suite()
          Dummy implementation to help with Dynamic loading for AllProjectsTestSuite
 
Methods inherited from class junit.framework.TestSuite
addTest, addTestSuite, countTestCases, createTest, getName, getTestConstructor, runTest, setName, testAt, testCount, tests, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DBTestSuite

public DBTestSuite()
Method Detail

addSchema

protected void addSchema(Vector schemas)
                  throws Exception
Throws:
Exception

suite

public static junit.framework.Test suite()
                                  throws Exception
Dummy implementation to help with Dynamic loading for AllProjectsTestSuite

Throws:
Exception

run

public void run(junit.framework.TestResult result)
Runs the tests and collects their result in a TestResult.


cleanUp

public void cleanUp()

Expresso 5-6

Please see www.jcorporate.com for information about new Expresso releases.