Package org.apache.torque
Class BaseTestCase
- java.lang.Object
-
- org.apache.torque.BaseTestCase
-
- Direct Known Subclasses:
BasePeerImplTest,BigDecimalMapperTest,ColumnMapTest,ComboKeyTest,CompositeMapperTest,CriteriaTest,CriterionTest,DateMapperTest,IntegerMapperTest,JoinTest,LongMapperTest,NumberKeyTest,ObjectListMapperTest,QueryTest,SqlBuilderTest,StringMapperTest,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 $
- Author:
- Daniel Rall, Christopher Elkins
-
-
Field Summary
Fields Modifier and Type Field Description static StringCONFIG_FILEThe path to the configuration file.protected DatabasedatabaseA Reference to the postgresql (default) database.protected DatabaseMapdatabaseMapA pre-filled database map.protected DatabasedatabaseMysqlA Reference to the mysql database.protected DatabasedatabaseOracleA Reference to the oracle database.protected DatabasedatabasePostgresqlA Reference to the postgresql (default) database.protected ColumnMapintegerColumnMapA pre-filled Integer column map.protected ColumnMapstringColumnMapA pre-filled String column map.protected ColumnMapstringColumnMap2A pre-filled String column map.protected ColumnMapstringColumnMap3A pre-filled String column map.protected TableMaptableMapA pre-filled table map.
-
Constructor Summary
Constructors Constructor Description BaseTestCase()
-
-
-
Field Detail
-
CONFIG_FILE
public static final String CONFIG_FILE
The path to the configuration file.- See Also:
- Constant Field Values
-
tableMap
protected TableMap tableMap
A pre-filled table map.
-
databaseMap
protected DatabaseMap databaseMap
A pre-filled database map.
-
database
protected Database database
A Reference to the postgresql (default) database.
-
databasePostgresql
protected Database databasePostgresql
A Reference to the postgresql (default) database.
-
databaseMysql
protected Database databaseMysql
A Reference to the mysql database.
-
databaseOracle
protected Database databaseOracle
A Reference to the oracle database.
-
stringColumnMap
protected ColumnMap stringColumnMap
A pre-filled String column map.
-
stringColumnMap2
protected ColumnMap stringColumnMap2
A pre-filled String column map.
-
stringColumnMap3
protected ColumnMap stringColumnMap3
A pre-filled String column map.
-
integerColumnMap
protected ColumnMap integerColumnMap
A pre-filled Integer column map.
-
-