Package org.apache.torque.om.mapper
Klasse ObjectListMapperTest
java.lang.Object
org.apache.torque.BaseTestCase
org.apache.torque.MockBaseTestCase
org.apache.torque.om.mapper.ObjectListMapperTest
-
Feldübersicht
Von Klasse geerbte Felder org.apache.torque.MockBaseTestCase
closeable
Von Klasse geerbte Felder org.apache.torque.BaseTestCase
CONFIG_FILE, database, databaseMap, databaseMysql, databaseOracle, databasePostgresql, integerColumnMap, stringColumnMap, stringColumnMap2, stringColumnMap3, tableMap
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
setUp()
Re-Initialize Torque and fill supplied data.void
Tests the byte null for empty resultvoid
Tests the double null for empty resultvoid
Tests the float null for empty resultvoid
Tests the integer null for empty resultvoid
Tests the long null for empty resultvoid
Tests the processRow method for a mapper with a fixed column count.void
Tests the processRow method for a mapper with a fixed column count.void
Tests the processRow method for a mapper where the length is determined from the Metadata.void
Tests the processRow method for a mapper with offset where the length is determined from the Metadata.void
Tests the processRow method if the resultSet throws a SqlException.void
Tests the short null for empty resultvoid
Tests the processRow method if the resultSet throws a SqlException.
-
Konstruktordetails
-
ObjectListMapperTest
public ObjectListMapperTest()
-
-
Methodendetails
-
setUp
Beschreibung aus Klasse kopiert:MockBaseTestCase
Re-Initialize Torque and fill supplied data. Subclasses which override setUp() must call super.setUp() as their first action.- Setzt außer Kraft:
setUp
in KlasseMockBaseTestCase
- Löst aus:
Exception
- if initialization fails.
-
testProcessRowLengthDeterminedFromMetadata
Tests the processRow method for a mapper where the length is determined from the Metadata.- Löst aus:
Exception
- if the test fails
-
testProcessRowLengthDeterminedFromMetadataWithOffset
Tests the processRow method for a mapper with offset where the length is determined from the Metadata.- Löst aus:
Exception
- if the test fails
-
testProcessRowLenghtAsArgument
Tests the processRow method for a mapper with a fixed column count.- Löst aus:
Exception
- if the test fails
-
testProcessRowClassListAsArgument
Tests the processRow method for a mapper with a fixed column count.- Löst aus:
Exception
- if the test fails
-
testProcessRowSqlException
Tests the processRow method if the resultSet throws a SqlException.- Löst aus:
Exception
- if the test fails
-
testUnknownClass
Tests the processRow method if the resultSet throws a SqlException.- Löst aus:
Exception
- if the test fails
-
testByteNull
Tests the byte null for empty result- Löst aus:
Exception
- if the test fails
-
testShortNull
Tests the short null for empty result- Löst aus:
Exception
- if the test fails
-
testIntegerNull
Tests the integer null for empty result- Löst aus:
Exception
- if the test fails
-
testLongNull
Tests the long null for empty result- Löst aus:
Exception
- if the test fails
-
testDoubleNull
Tests the double null for empty result- Löst aus:
Exception
- if the test fails
-
testFloatNull
Tests the float null for empty result- Löst aus:
Exception
- if the test fails
-