|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase net.sourceforge.sqlunit.test.TypesTest
public class TypesTest
Tests for the new flexible data typing system.
Constructor Summary | |
---|---|
TypesTest(java.lang.String name)
Boilerplate constructor. |
Method Summary | |
---|---|
static void |
main(java.lang.String[] argv)
Boilerplate main method. |
static junit.framework.Test |
suite()
Boilerplate suite() method. |
void |
testBeanOpsArrayType()
Testing Array operations. |
void |
testBeanOpsBigDecimalType()
Testing BigDecimal operations. |
void |
testBeanOpsBinaryType()
Testing BinaryType operations. |
void |
testBeanOpsBlobType()
Testing Blob operations. |
void |
testBeanOpsBooleanType()
Testing Boolean operations. |
void |
testBeanOpsByteArrayType()
Testing ByteArrayType operations. |
void |
testBeanOpsByteType()
Testing ByteType operations. |
void |
testBeanOpsClobType()
Testing Clob operations. |
void |
testBeanOpsDateType()
Testing Date operations. |
void |
testBeanOpsDoubleType()
Testing Double operations. |
void |
testBeanOpsFloatType()
Testing Float operations. |
void |
testBeanOpsIntegerType()
Testing Integer operations. |
void |
testBeanOpsJavaObjectType()
Testing JavaObjectType operations. |
void |
testBeanOpsLongType()
Testing LongType operations. |
void |
testBeanOpsOracleCursorType()
Testing OracleCursorType operations. |
void |
testBeanOpsOtherType()
Testing OtherType operations. |
void |
testBeanOpsShortType()
Testing ShortType operations. |
void |
testBeanOpsStringType()
Testing StringType operations. |
void |
testBeanOpsTextType()
Testing Text type operations. |
void |
testBeanOpsTimestampType()
Testing TimestampType operations. |
void |
testBeanOpsTimeType()
Testing TimeType operations. |
void |
testBeanOpsUnsupportedType()
Testing that UnsupportedType does throw exceptions. |
void |
testCheckAllSupportedTypeNames()
Bulk testing all type lookups. |
void |
testGetInstanceOfAllSupportedTypeNamesById()
Bulk testing all type lookups by id. |
void |
testGetInstanceOfMySqlLongVarchar()
Testing type override lookup. |
void |
testGetInstanceOfNumeric()
Testing basic type lookup. |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, name, run, run, runBare, runTest, setName, setUp, tearDown, toString |
Methods inherited from class junit.framework.Assert |
---|
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, 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 TypesTest(java.lang.String name)
name
- the name of this test class.Method Detail |
---|
public static void main(java.lang.String[] argv)
argv
- the arguments (none).public static junit.framework.Test suite()
public final void testGetInstanceOfNumeric() throws java.lang.Exception
java.lang.Exception
- if there was a problem.public final void testGetInstanceOfMySqlLongVarchar() throws java.lang.Exception
java.lang.Exception
- if there was a problem.public final void testCheckAllSupportedTypeNames() throws java.lang.Exception
java.lang.Exception
- if there was a problem.public final void testGetInstanceOfAllSupportedTypeNamesById() throws java.lang.Exception
java.lang.Exception
- if there was a problem.public final void testBeanOpsArrayType() throws java.lang.Exception
java.lang.Exception
- if there was a problem.public final void testBeanOpsBigDecimalType() throws java.lang.Exception
java.lang.Exception
- if there was a problem.public final void testBeanOpsBlobType() throws java.lang.Exception
java.lang.Exception
- if there was a problem.public final void testBeanOpsBooleanType() throws java.lang.Exception
java.lang.Exception
- if there was a problem.public final void testBeanOpsByteType() throws java.lang.Exception
java.lang.Exception
- if there was a problem.public final void testBeanOpsClobType() throws java.lang.Exception
java.lang.Exception
- if there was a problem.public final void testBeanOpsDateType() throws java.lang.Exception
java.lang.Exception
- if there was a problem.public final void testBeanOpsDoubleType() throws java.lang.Exception
java.lang.Exception
- if there was a problem.public final void testBeanOpsFloatType() throws java.lang.Exception
java.lang.Exception
- if there was a problem.public final void testBeanOpsIntegerType() throws java.lang.Exception
java.lang.Exception
- if there was a problem.public final void testBeanOpsJavaObjectType() throws java.lang.Exception
java.lang.Exception
- if there was a problem.public final void testBeanOpsLongType() throws java.lang.Exception
java.lang.Exception
- if there was a problem.public final void testBeanOpsOracleCursorType() throws java.lang.Exception
java.lang.Exception
- if there was a problem.public final void testBeanOpsOtherType() throws java.lang.Exception
java.lang.Exception
- if there was a problem.public final void testBeanOpsShortType() throws java.lang.Exception
java.lang.Exception
- if there was a problem.public final void testBeanOpsStringType() throws java.lang.Exception
java.lang.Exception
- if there was a problem.public final void testBeanOpsTimestampType() throws java.lang.Exception
java.lang.Exception
- if there was a problem.public final void testBeanOpsTimeType() throws java.lang.Exception
java.lang.Exception
- if there was a problem.public final void testBeanOpsUnsupportedType() throws java.lang.Exception
java.lang.Exception
- if there was a problem.public final void testBeanOpsByteArrayType() throws java.lang.Exception
java.lang.Exception
- if there was a problem.public final void testBeanOpsBinaryType() throws java.lang.Exception
java.lang.Exception
- if there was a problem.public final void testBeanOpsTextType() throws java.lang.Exception
java.lang.Exception
- if there was a problem.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |