Package org.apache.torque

# Klasse BaseTestCase

java.lang.Object
org.apache.torque.BaseTestCase

Bekannte direkte Unterklassen:
  `ColumnMapTest`, `ComboKeyTest`, `CriteriaTest`, `CriterionTest`, `JoinTest`, `MockBaseTestCase`, `NumberKeyTest`, `QueryTest`, `SqlBuilderTest`, `SummaryHelperTest`, `TorqueInstanceTest`, `UniqueListTest`

public abstract class BaseTestCase extends Object
Base functionality to be extended by all Torque test cases. Test case implementations are used to automate unit testing via JUnit.

Version:
  $Id: BaseTestCase.java 1867515 2019-09-25 15:02:03Z gk $
Autor:
  Daniel Rall, Christopher Elkins

- ## Feldübersicht

  Felder
  Modifizierer und Typ
  Feld
  Beschreibung
  `static final String`
  `CONFIG_FILE`
  The path to the configuration file.
  `protected org.apache.torque.Database`
  `database`
  A Reference to the postgresql (default) database.
  `protected org.apache.torque.map.DatabaseMap`
  `databaseMap`
  A pre-filled database map.
  `protected org.apache.torque.Database`
  `databaseMysql`
  A Reference to the mysql database.
  `protected org.apache.torque.Database`
  `databaseOracle`
  A Reference to the oracle database.
  `protected org.apache.torque.Database`
  `databasePostgresql`
  A Reference to the postgresql (default) database.
  `protected org.apache.torque.map.ColumnMap`
  `integerColumnMap`
  A pre-filled Integer column map.
  `protected org.apache.torque.map.ColumnMap`
  `stringColumnMap`
  A pre-filled String column map.
  `protected org.apache.torque.map.ColumnMap`
  `stringColumnMap2`
  A pre-filled String column map.
  `protected org.apache.torque.map.ColumnMap`
  `stringColumnMap3`
  A pre-filled String column map.
  `protected org.apache.torque.map.TableMap`
  `tableMap`
  A pre-filled table map.

- ## Konstruktorübersicht

  Konstruktoren
  Konstruktor
  Beschreibung
  `BaseTestCase()`

- ## Methodenübersicht

  Modifizierer und Typ
  Methode
  Beschreibung
  `void`
  `setUp()`
  Re-Initialize Torque and fill supplied data.

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

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

- ## Felddetails

  - ### CONFIG_FILE

    public static final String CONFIG_FILE
    The path to the configuration file.
    Siehe auch:
      - Konstantenfeldwerte

  - ### tableMap

    protected org.apache.torque.map.TableMap tableMap
    A pre-filled table map.

  - ### databaseMap

    protected org.apache.torque.map.DatabaseMap databaseMap
    A pre-filled database map.

  - ### database

    protected org.apache.torque.Database database
    A Reference to the postgresql (default) database.

  - ### databasePostgresql

    protected org.apache.torque.Database databasePostgresql
    A Reference to the postgresql (default) database.

  - ### databaseMysql

    protected org.apache.torque.Database databaseMysql
    A Reference to the mysql database.

  - ### databaseOracle

    protected org.apache.torque.Database databaseOracle
    A Reference to the oracle database.

  - ### stringColumnMap

    protected org.apache.torque.map.ColumnMap stringColumnMap
    A pre-filled String column map.

  - ### stringColumnMap2

    protected org.apache.torque.map.ColumnMap stringColumnMap2
    A pre-filled String column map.

  - ### stringColumnMap3

    protected org.apache.torque.map.ColumnMap stringColumnMap3
    A pre-filled String column map.

  - ### integerColumnMap

    protected org.apache.torque.map.ColumnMap integerColumnMap
    A pre-filled Integer column map.

- ## Konstruktordetails

  - ### BaseTestCase

    public BaseTestCase()

- ## Methodendetails

  - ### setUp

    @BeforeEach public void setUp() throws Exception
    Re-Initialize Torque and fill supplied data. Subclasses which override setUp() must call super.setUp() as their first action.
    Löst aus:
      `Exception` - if initialization fails.