| |
|
| org.apache.torque.TorqueInstanceTest
TorqueInstanceTest | public class TorqueInstanceTest extends TestCase (Code) | | Tests the TorqueInstance Class.
author: Thomas Fischer version: $Id: TorqueInstanceTest.java 473821 2006-11-11 22:37:25Z tv $ |
Inner Class :abstract public static class MapBuilderBase implements MapBuilder | |
Inner Class :public static class MapBuilderA extends MapBuilderBase implements MapBuilder | |
Inner Class :public static class MapBuilderB extends MapBuilderBase implements MapBuilder | |
Method Summary | |
public void | testClassLoading() Tests whether registration of Map Builders works before and after
initialisation of Torque. | public void | testDatabases() Tests whether the databaseInfo objects are filled correctly. | public void | testDefaultDataSourceFactory() Checks whether a DataSourceFactory with the name
DEFAULT_NAME is defined. | public void | testExternalAdapter() Tests whether an external adapter is loaded correctly. | public void | testShutdown() |
TorqueInstanceTest | public TorqueInstanceTest(String name)(Code) | | Creates a new instance.
Parameters: name - the name of the test case to run |
testClassLoading | public void testClassLoading() throws Exception(Code) | | Tests whether registration of Map Builders works before and after
initialisation of Torque.
throws: Exception - if an error occurs during the Test. |
testDatabases | public void testDatabases() throws Exception(Code) | | Tests whether the databaseInfo objects are filled correctly.
throws: Exception - if an error occurs during the Test. |
testDefaultDataSourceFactory | public void testDefaultDataSourceFactory() throws Exception(Code) | | Checks whether a DataSourceFactory with the name
DEFAULT_NAME is defined. (TRQS 322)
throws: Exception - if an error occurs during the Test. |
testExternalAdapter | public void testExternalAdapter() throws Exception(Code) | | Tests whether an external adapter is loaded correctly.
throws: Exception - if an error occurs during the Test. |
|
|
|