Package org.apache.torque.om.mapper
Class IntegerMapperTest
- java.lang.Object
-
- org.apache.torque.BaseTestCase
-
- org.apache.torque.om.mapper.IntegerMapperTest
-
public class IntegerMapperTest extends BaseTestCase
-
-
Field Summary
-
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 IntegerMapperTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()Re-Initialize Torque and fill supplied data.voidtestProcessRow()Tests the processRow method for a mapper without internal Offset.voidtestProcessRowInternalOffset()Tests the processRow method for a mapper with internal Offset.voidtestProcessRowSqlException()Tests the processRow method if the resultSet throws a SqlException.
-
-
-
Method Detail
-
setUp
@BeforeEach public void setUp() throws ExceptionDescription copied from class:BaseTestCaseRe-Initialize Torque and fill supplied data. Subclasses which override setUp() must call super.setUp() as their first action.- Overrides:
setUpin classBaseTestCase- Throws:
Exception- if initialization fails.
-
testProcessRow
@Test public void testProcessRow() throws ExceptionTests the processRow method for a mapper without internal Offset.- Throws:
Exception- if the test fails
-
testProcessRowInternalOffset
@Test public void testProcessRowInternalOffset() throws ExceptionTests the processRow method for a mapper with internal Offset.- Throws:
Exception- if the test fails
-
-