Package org.apache.torque
Class TorqueInstanceTest
java.lang.Object
org.apache.torque.BaseTestCase
org.apache.torque.TorqueInstanceTest
Tests the TorqueInstance Class.
- Version:
- $Id: TorqueInstanceTest.java 1886097 2021-02-01 09:46:04Z gk $
- Author:
- Thomas Fischer
-
Field Summary
Fields inherited from class org.apache.torque.BaseTestCase
CONFIG_FILE, database, databaseMap, databaseMysql, databaseOracle, databasePostgresql, integerColumnMap, stringColumnMap, stringColumnMap2, stringColumnMap3, tableMap -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidTests whether the databaseInfo objects are filled correctly.voidChecks whether a DataSourceFactory with the nameDEFAULT_NAMEis defined.voidTests whether an external adapter is loaded correctly.voidTests whether the schema information in the databases is filled correctly.voidMethods inherited from class org.apache.torque.BaseTestCase
setUp
-
Constructor Details
-
TorqueInstanceTest
public TorqueInstanceTest()
-
-
Method Details
-
testExternalAdapter
Tests whether an external adapter is loaded correctly.- Throws:
Exception- if an error occurs during the Test.
-
testDefaultDataSourceFactory
Checks whether a DataSourceFactory with the nameDEFAULT_NAMEis defined. (TRQS 322)- Throws:
Exception- if an error occurs during the Test.
-
testDatabases
Tests whether the databaseInfo objects are filled correctly.- Throws:
Exception- if an error occurs during the Test.
-
testSchemata
Tests whether the schema information in the databases is filled correctly.- Throws:
Exception
-
testShutdown
- Throws:
Exception
-