|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.apache.torque.BaseTestCase
org.apache.torque.TorqueInstanceTest
public class TorqueInstanceTest
Tests the TorqueInstance Class.
Field Summary |
---|
Fields inherited from class org.apache.torque.BaseTestCase |
---|
CONFIG_FILE, database, databaseMap, databaseMysql, databaseOracle, databasePostgresql, integerColumnMap, stringColumnMap, tableMap |
Constructor Summary | |
---|---|
TorqueInstanceTest()
|
Method Summary | |
---|---|
void |
testDatabases()
Tests whether the databaseInfo objects are filled correctly. |
void |
testDefaultDataSourceFactory()
Checks whether a DataSourceFactory with the name DEFAULT_NAME is defined. |
void |
testExternalAdapter()
Tests whether an external adapter is loaded correctly. |
void |
testSchemata()
Tests whether the schema information in the databases is filled correctly. |
void |
testShutdown()
|
Methods inherited from class org.apache.torque.BaseTestCase |
---|
setUp |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toString |
Methods inherited from class junit.framework.Assert |
---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TorqueInstanceTest()
Method Detail |
---|
public void testExternalAdapter() throws Exception
Exception
- if an error occurs during the Test.public void testDefaultDataSourceFactory() throws Exception
DEFAULT_NAME
is defined. (TRQS 322)
Exception
- if an error occurs during the Test.public void testDatabases() throws Exception
Exception
- if an error occurs during the Test.public void testSchemata() throws Exception
Exception
public void testShutdown() throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |