Package org.apache.torque.om.mapper
Class IntegerMapperTest
java.lang.Object
org.apache.torque.BaseTestCase
org.apache.torque.MockBaseTestCase
org.apache.torque.om.mapper.IntegerMapperTest
-
Field Summary
Fields inherited from class org.apache.torque.MockBaseTestCase
closeableFields inherited from class org.apache.torque.BaseTestCase
CONFIG_FILE, database, databaseMap, databaseMysql, databaseOracle, databasePostgresql, integerColumnMap, stringColumnMap, stringColumnMap2, stringColumnMap3, tableMap -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetUp()Re-Initialize Torque and fill supplied data.voidTests the processRow method for a mapper without internal Offset.voidTests the processRow method for a mapper with internal Offset.voidTests the processRow method if the resultSet throws a SqlException.
-
Constructor Details
-
IntegerMapperTest
public IntegerMapperTest()
-
-
Method Details
-
setUp
Description copied from class:MockBaseTestCaseRe-Initialize Torque and fill supplied data. Subclasses which override setUp() must call super.setUp() as their first action.- Overrides:
setUpin classMockBaseTestCase- Throws:
Exception- if initialization fails.
-
testProcessRow
Tests the processRow method for a mapper without internal Offset.- Throws:
Exception- if the test fails
-
testProcessRowInternalOffset
Tests the processRow method for a mapper with internal Offset.- Throws:
Exception- if the test fails
-
testProcessRowSqlException
Tests the processRow method if the resultSet throws a SqlException.- Throws:
Exception- if the test fails
-