Package org.apache.torque

# Class MockBaseTestCase

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

Direct Known Subclasses:
  `BasePeerImplTest`, `BigDecimalMapperTest`, `CompositeMapperTest`, `DateMapperTest`, `IntegerMapperTest`, `LongMapperTest`, `ObjectListMapperTest`, `StringMapperTest`

public abstract class MockBaseTestCase extends BaseTestCase
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
  `protected AutoCloseable`
  `closeable`

  ### 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
  `MockBaseTestCase()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `setUp()`
  Re-Initialize Torque and fill supplied data.

  ### Methods inherited from class java.lang.Object

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

- ## Field Details

  - ### closeable

    protected AutoCloseable closeable

- ## Constructor Details

  - ### MockBaseTestCase

    public MockBaseTestCase()

- ## Method Details

  - ### 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.
    Overrides:
      `setUp` in class `BaseTestCase`
    Throws:
      `Exception` - if initialization fails.