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
closeableVon 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 TypMethodeBeschreibungvoidsetUp()Re-Initialize Torque and fill supplied data.voidTests the byte null for empty resultvoidTests the double null for empty resultvoidTests the float null for empty resultvoidTests the integer null for empty resultvoidTests the long null for empty resultvoidTests the processRow method for a mapper with a fixed column count.voidTests the processRow method for a mapper with a fixed column count.voidTests the processRow method for a mapper where the length is determined from the Metadata.voidTests the processRow method for a mapper with offset where the length is determined from the Metadata.voidTests the processRow method if the resultSet throws a SqlException.voidTests the short null for empty resultvoidTests the processRow method if the resultSet throws a SqlException.
-
Konstruktordetails
-
ObjectListMapperTest
public ObjectListMapperTest()
-
-
Methodendetails
-
setUp
Beschreibung aus Klasse kopiert:MockBaseTestCaseRe-Initialize Torque and fill supplied data. Subclasses which override setUp() must call super.setUp() as their first action.- Setzt außer Kraft:
setUpin 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
-