| |
|
| com.jcorporate.expresso.services.test.ExpressoTestCase com.jcorporate.expresso.core.utility.DBToolTests
DBToolTests | public class DBToolTests extends ExpressoTestCase (Code) | | What this does:
Runs DBCreate on the schemas and makes sure that no exceptions are thrown
while creating.
NOTE: Derive a class from this class to test all derived schemas.
author: Michael Rimov |
schemaList | protected Vector schemaList(Code) | | Add schemas to this list to verify other schemas
|
isAlreadyCleared | protected boolean isAlreadyCleared()(Code) | | |
isFailedOnce | protected boolean isFailedOnce()(Code) | | |
setAlreadyCleared | protected void setAlreadyCleared(boolean newValue)(Code) | | |
setFailedOnce | protected void setFailedOnce(boolean newValue)(Code) | | |
suite | public static junit.framework.Test suite() throws Exception(Code) | | Creates the test cases. Order is important, thus the manual
creation.
throws: Exception - upon construction error. constructed Test suite. |
testAddingSchemas | public void testAddingSchemas()(Code) | | If testing multiple schemas, this will make sure that the schema has
been added to the dbtable when created.
|
testCreate | public void testCreate()(Code) | | Runs the createTables() on the schema list to make sure no exceptions
are getting thrown
|
testOtherSetups | public void testOtherSetups()(Code) | | Runs the othersetups() on the schema list to make sure no exceptions
are getting thrown
|
testPopulateTables | public void testPopulateTables()(Code) | | Runs the populateTables() on the schema list to make sure no exceptions
are getting thrown
|
testSerialization | public void testSerialization()(Code) | | This testcase makes sure that all DBObjects within all the schemas are
serializable. Helps insure that there aren't any special custom "types"
that might be causing troubles.
|
testSetupConfigValues | public void testSetupConfigValues()(Code) | | Runs through setting up the configuration values for a particular schema
|
testSetupSecurity | public void testSetupSecurity()(Code) | | Runs the setupSecurity() on the schema list to make sure no exceptions
are getting thrown
|
testVerify | public void testVerify()(Code) | | Call verify on all the dbobjects. Code is borrowed from DBTool
Also checks for unique table names. More than one DBOBject shouldn't be
pointing to the same table name.
|
|
|
|