Package org.apache.torque
Class TorqueInstanceTest
- java.lang.Object
-
- org.apache.torque.BaseTestCase
-
- org.apache.torque.TorqueInstanceTest
-
public class TorqueInstanceTest extends BaseTestCase
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 Constructor Description TorqueInstanceTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidtestDatabases()Tests whether the databaseInfo objects are filled correctly.voidtestDefaultDataSourceFactory()Checks whether a DataSourceFactory with the nameDEFAULT_NAMEis defined.voidtestExternalAdapter()Tests whether an external adapter is loaded correctly.voidtestSchemata()Tests whether the schema information in the databases is filled correctly.voidtestShutdown()-
Methods inherited from class org.apache.torque.BaseTestCase
setUp
-
-
-
-
Method Detail
-
testExternalAdapter
@Test public void testExternalAdapter() throws ExceptionTests whether an external adapter is loaded correctly.- Throws:
Exception- if an error occurs during the Test.
-
testDefaultDataSourceFactory
@Test public void testDefaultDataSourceFactory() throws ExceptionChecks whether a DataSourceFactory with the nameDEFAULT_NAMEis defined. (TRQS 322)- Throws:
Exception- if an error occurs during the Test.
-
testDatabases
@Test public void testDatabases() throws ExceptionTests whether the databaseInfo objects are filled correctly.- Throws:
Exception- if an error occurs during the Test.
-
testSchemata
@Test public void testSchemata() throws ExceptionTests whether the schema information in the databases is filled correctly.- Throws:
Exception
-
-