Class AbstractDataTypeTest

java.lang.Object
org.dbunit.dataset.datatype.AbstractDataTypeTest
Direct Known Subclasses:
BooleanDataTypeTest, DoubleDataTypeTest, FloatDataTypeTest, LongDataTypeTest, NumberDataTypeTest, NumberTolerantDataTypeTest, OracleSdoGeometryDataTypeTest, StringDataTypeTest, TimeDataTypeTest

public abstract class AbstractDataTypeTest extends Object
Version:
$Revision$
Author:
Manuel Laflamme
  • Constructor Details

    • AbstractDataTypeTest

      public AbstractDataTypeTest()
  • Method Details

    • testToString_withDataType_returnsExpectedString

      public abstract void testToString_withDataType_returnsExpectedString() throws Exception
      Throws:
      Exception
    • testGetTypeClass_returnsExpectedClass

      public abstract void testGetTypeClass_returnsExpectedClass() throws Exception
      Throws:
      Exception
    • testIsNumber_returnsExpectedBoolean

      public abstract void testIsNumber_returnsExpectedBoolean() throws Exception
      Throws:
      Exception
    • testIsDateTime_returnsExpectedBoolean

      public abstract void testIsDateTime_returnsExpectedBoolean() throws Exception
      Throws:
      Exception
    • testTypeCast_withCompatibleInput_returnsExpectedValue

      public abstract void testTypeCast_withCompatibleInput_returnsExpectedValue() throws Exception
      Throws:
      Exception
    • testTypeCastNone_withNullInput_returnsNull

      public abstract void testTypeCastNone_withNullInput_returnsNull() throws Exception
      Throws:
      Exception
    • testTypeCastInvalid_withIncompatibleInput_throwsTypeCastException

      public abstract void testTypeCastInvalid_withIncompatibleInput_throwsTypeCastException() throws Exception
      Throws:
      Exception
    • testSqlType_returnsExpectedSqlType

      public abstract void testSqlType_returnsExpectedSqlType() throws Exception
      Throws:
      Exception
    • testForObject_withValidInput_returnsDataType

      public abstract void testForObject_withValidInput_returnsDataType() throws Exception
      Throws:
      Exception
    • testAsString_withValidInput_returnsStringRepresentation

      public abstract void testAsString_withValidInput_returnsStringRepresentation() throws Exception
      Throws:
      Exception
    • testCompareEquals_withEqualValues_returnsZero

      public abstract void testCompareEquals_withEqualValues_returnsZero() throws Exception
      Throws:
      Exception
    • testCompareDifferent_withDifferentValues_returnsNonZero

      public abstract void testCompareDifferent_withDifferentValues_returnsNonZero() throws Exception
      Throws:
      Exception
    • testCompareInvalid_withInvalidInput_throwsTypeCastException

      public abstract void testCompareInvalid_withInvalidInput_throwsTypeCastException() throws Exception
      Throws:
      Exception
    • testGetSqlValue_withValidStatement_returnsExpectedValue

      public abstract void testGetSqlValue_withValidStatement_returnsExpectedValue() throws Exception
      Throws:
      Exception