Package org.apache.torque

# Klasse 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 $
Autor:
  Thomas Fischer

- ## Feldübersicht

  ### Von Klasse geerbte Felder org.apache.torque.BaseTestCase

  `CONFIG_FILE, database, databaseMap, databaseMysql, databaseOracle, databasePostgresql, integerColumnMap, stringColumnMap, stringColumnMap2, stringColumnMap3, tableMap`

- ## Konstruktorübersicht

  Konstruktoren
  Konstruktor
  Beschreibung
  `TorqueInstanceTest()`

- ## Methodenübersicht

  Modifizierer und Typ
  Methode
  Beschreibung
  `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()`

  ### Von Klasse geerbte Methoden org.apache.torque.BaseTestCase

  `setUp`

  ### Von Klasse geerbte Methoden java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Konstruktordetails

  - ### TorqueInstanceTest

    public TorqueInstanceTest()

- ## Methodendetails

  - ### testExternalAdapter

    @Test public void testExternalAdapter() throws Exception
    Tests whether an external adapter is loaded correctly.
    Löst aus:
      `Exception` - if an error occurs during the Test.

  - ### testDefaultDataSourceFactory

    @Test public void testDefaultDataSourceFactory() throws Exception
    Checks whether a DataSourceFactory with the name `DEFAULT_NAME` is defined. (TRQS 322)
    Löst aus:
      `Exception` - if an error occurs during the Test.

  - ### testDatabases

    @Test public void testDatabases() throws Exception
    Tests whether the databaseInfo objects are filled correctly.
    Löst aus:
      `Exception` - if an error occurs during the Test.

  - ### testSchemata

    @Test public void testSchemata() throws Exception
    Tests whether the schema information in the databases is filled correctly.
    Löst aus:
      `Exception`

  - ### testShutdown

    @Test public void testShutdown() throws Exception
    Löst aus:
      `Exception`