| com.jcorporate.expresso.services.test.ControllerTestSuite
ControllerTestSuite | public class ControllerTestSuite extends TestSuite (Code) | | Test suite that manages schema creation and deletion.
author: Michael Rimov version: $Revision: 1.8 $ $Date: 2004/11/17 20:48:22 $ |
Method Summary | |
public void | addReadOnlySchemaDependency(String s) Call addReadOnlySchemaDependency() if your controller depends on a schema,
but does not modify the underlying data in any way. | public void | addReadOnlySchemaDependency(Class c) | public void | addSchemaDependency(String s) Call this method to tell the testing system that you require such
and such schema to exist for your controller test to run. | public void | cleanUp() | public void | run(TestResult result) Runs the tests and collects their result in a TestResult. |
addReadOnlySchemaDependency | public void addReadOnlySchemaDependency(String s) throws Exception(Code) | | Call addReadOnlySchemaDependency() if your controller depends on a schema,
but does not modify the underlying data in any way. This way, the
schema is not necessarily deleted when the test is finished so that
there's a much better performance. (No DBCreate/Delete EACH time)
|
addSchemaDependency | public void addSchemaDependency(String s) throws Exception(Code) | | Call this method to tell the testing system that you require such
and such schema to exist for your controller test to run. If your controller
doesn't modify any of the underlying data, use addReadOnlySchemDependency()
instead. The schema will be automatically removed when the test suite
is over.
|
cleanUp | public void cleanUp()(Code) | | |
run | public void run(TestResult result)(Code) | | Runs the tests and collects their result in a TestResult.
|
|
|