public class ObjectListMapperTest extends BaseTestCase
CONFIG_FILE, database, databaseMap, databaseMysql, databaseOracle, databasePostgresql, integerColumnMap, stringColumnMap, stringColumnMap2, stringColumnMap3, tableMap| Constructor and Description |
|---|
ObjectListMapperTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp()
Re-Initialize Torque and fill supplied data.
|
void |
testByteNull()
Tests the byte null for empty result
|
void |
testDoubleNull()
Tests the double null for empty result
|
void |
testFloatNull()
Tests the float null for empty result
|
void |
testIntegerNull()
Tests the integer null for empty result
|
void |
testLongNull()
Tests the long null for empty result
|
void |
testProcessRowClassListAsArgument()
Tests the processRow method for a mapper with a fixed column count.
|
void |
testProcessRowLenghtAsArgument()
Tests the processRow method for a mapper with a fixed column count.
|
void |
testProcessRowLengthDeterminedFromMetadata()
Tests the processRow method for a mapper where the length is determined
from the Metadata.
|
void |
testProcessRowLengthDeterminedFromMetadataWithOffset()
Tests the processRow method for a mapper with offset
where the length is determined from the Metadata.
|
void |
testProcessRowSqlException()
Tests the processRow method if the resultSet throws a SqlException.
|
void |
testShortNull()
Tests the short null for empty result
|
void |
testUnknownClass()
Tests the processRow method if the resultSet throws a SqlException.
|
@BeforeEach
public void setUp()
throws Exception
BaseTestCasesetUp in class BaseTestCaseException - if initialization fails.@Test
public void testProcessRowLengthDeterminedFromMetadata()
throws Exception
Exception - if the test fails@Test
public void testProcessRowLengthDeterminedFromMetadataWithOffset()
throws Exception
Exception - if the test fails@Test
public void testProcessRowLenghtAsArgument()
throws Exception
Exception - if the test fails@Test
public void testProcessRowClassListAsArgument()
throws Exception
Exception - if the test fails@Test
public void testProcessRowSqlException()
throws Exception
Exception - if the test fails@Test
public void testUnknownClass()
throws Exception
Exception - if the test fails@Test
public void testByteNull()
throws Exception
Exception - if the test fails@Test
public void testShortNull()
throws Exception
Exception - if the test fails@Test
public void testIntegerNull()
throws Exception
Exception - if the test fails@Test
public void testLongNull()
throws Exception
Exception - if the test fails@Test
public void testDoubleNull()
throws Exception
Exception - if the test failsCopyright © 2000–2020 The Apache Software Foundation. All rights reserved.