Package org.dbunit.dataset.datatype
Class AbstractDataTypeTest
java.lang.Object
org.dbunit.dataset.datatype.AbstractDataTypeTest
- Direct Known Subclasses:
BooleanDataTypeTest,DoubleDataTypeTest,FloatDataTypeTest,LongDataTypeTest,NumberDataTypeTest,NumberTolerantDataTypeTest,OracleSdoGeometryDataTypeTest,StringDataTypeTest,TimeDataTypeTest
- Version:
- $Revision$
- Author:
- Manuel Laflamme
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidabstract voidabstract voidabstract voidabstract voidabstract voidabstract voidabstract voidabstract voidabstract voidabstract voidabstract voidabstract voidabstract void
-
Constructor Details
-
AbstractDataTypeTest
public AbstractDataTypeTest()
-
-
Method Details
-
testToString_withDataType_returnsExpectedString
- Throws:
Exception
-
testGetTypeClass_returnsExpectedClass
- Throws:
Exception
-
testIsNumber_returnsExpectedBoolean
- Throws:
Exception
-
testIsDateTime_returnsExpectedBoolean
- Throws:
Exception
-
testTypeCast_withCompatibleInput_returnsExpectedValue
- Throws:
Exception
-
testTypeCastNone_withNullInput_returnsNull
- Throws:
Exception
-
testTypeCastInvalid_withIncompatibleInput_throwsTypeCastException
public abstract void testTypeCastInvalid_withIncompatibleInput_throwsTypeCastException() throws Exception- Throws:
Exception
-
testSqlType_returnsExpectedSqlType
- Throws:
Exception
-
testForObject_withValidInput_returnsDataType
- Throws:
Exception
-
testAsString_withValidInput_returnsStringRepresentation
- Throws:
Exception
-
testCompareEquals_withEqualValues_returnsZero
- Throws:
Exception
-
testCompareDifferent_withDifferentValues_returnsNonZero
- Throws:
Exception
-
testCompareInvalid_withInvalidInput_throwsTypeCastException
- Throws:
Exception
-
testGetSqlValue_withValidStatement_returnsExpectedValue
- Throws:
Exception
-