|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.apache.torque.BaseTestCase
org.apache.torque.om.mapper.ObjectListMapperTest
public class ObjectListMapperTest
| Field Summary |
|---|
| Fields inherited from class org.apache.torque.BaseTestCase |
|---|
CONFIG_FILE, database, databaseMap, databaseMysql, databaseOracle, databasePostgresql, integerColumnMap, stringColumnMap, tableMap |
| Constructor Summary | |
|---|---|
ObjectListMapperTest()
|
|
| Method Summary | |
|---|---|
void |
setUp()
Re-Initialize Torque and fill supplied data. |
void |
testByteNull()
|
void |
testDoubleNull()
|
void |
testFloatNull()
|
void |
testIntegerNull()
|
void |
testLongNull()
|
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()
|
void |
testUnknownClass()
Tests the processRow method if the resultSet throws a SqlException. |
| Methods inherited from class junit.framework.TestCase |
|---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toString |
| Methods inherited from class junit.framework.Assert |
|---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ObjectListMapperTest()
| Method Detail |
|---|
public void setUp()
throws Exception
BaseTestCase
setUp in class BaseTestCaseException - if initialisation fails.
public void testProcessRowLengthDeterminedFromMetadata()
throws Exception
Exception - if the test fails
public void testProcessRowLengthDeterminedFromMetadataWithOffset()
throws Exception
Exception - if the test fails
public void testProcessRowLenghtAsArgument()
throws Exception
Exception - if the test fails
public void testProcessRowClassListAsArgument()
throws Exception
Exception - if the test fails
public void testProcessRowSqlException()
throws Exception
Exception - if the test fails
public void testUnknownClass()
throws Exception
Exception - if the test fails
public void testByteNull()
throws Exception
Exception
public void testShortNull()
throws Exception
Exception
public void testIntegerNull()
throws Exception
Exception
public void testLongNull()
throws Exception
Exception
public void testDoubleNull()
throws Exception
Exception
public void testFloatNull()
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||