public class SunTest extends DatabaseTestCase
| Constructor and Description |
|---|
SunTest(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(java.lang.String[] args) |
static Test |
suite() |
void |
testCharToLong()
Generic test for SUN bugs: bigint null parameter values sent as integer size.
|
void |
testCharToReal()
Generic test for errors caused by promotion out parameters of Float to Double by driver.
|
void |
testConversionToLongvarchar()
Test conversion of various types to LONGVARCHAR.
|
void |
testDateTime()
Generic Tests for SUN bugs such as
Can't convert VARCHAR to Timestamp
Can't convert VARCHAR to Time
Can't convert VARCHAR to Date
Internal time representation causes equals to fail
|
void |
testDateTimeFn()
Test for bug [ 1008126 ] Metadata getTimeDateFunctions() wrong
|
void |
testGetFloatObject()
Generic test for SUN bug where Float was promoted to Double
by driver leading to ClassCastExceptions in the tests.
|
void |
testGetMetaData()
Test for SUN bug [ PrepStmt1.getMetaData() ]
Driver loops if select contains commas.
|
void |
testGetProcedures()
Test for SUN bug [ dbMeta8.testGetProcedures ]
The wrong column names are returned by getProcedures().
|
void |
testNestedEscapes()
Test nested escapes
|
void |
testPrepStmtError()
Test for bug [ 1012301 ] 0.9-rc1: Prepared statement execution error.
|
void |
testSetDateObject()
Test for bug [ 1012307 ] PreparedStatement.setObject(java.util.Date) not working.
|
void |
testSetFetchDirectiion()
Test for SUN bug [ stmt2.testSetFetchDirection04 ]
fetch direction constant not validated.
|
void |
testSetFetchSize()
Test for SUN bug [ resultSet1.testSetFetchSize02 ]
attempt to set non zero fetch size rejected.
|
void |
testSqlComments()
Test for bug [ 1011650 ] 0.9-rc1: comments get parsed
|
void |
testStringFn()
Test for scalar string functions.
|
compareBytes, getLongString, getLongString, getType, getTypemapcompareInputStreams, compareReaders, connect, dropDatabase, dropFunction, dropProcedure, dropTable, dropTrigger, dropType, dropView, dump, dump, dumpAll, dumpKeys, dumpRow, dumpRow, getConnection, getConnection, makeObjects, makeTestTables, setUp, tearDownpublic static Test suite()
public void testGetMetaData()
throws java.lang.Exception
java.lang.Exceptionpublic void testDateTime()
throws java.lang.Exception
java.lang.Exceptionpublic void testCharToReal()
throws java.lang.Exception
java.lang.Exceptionpublic void testCharToLong()
throws java.lang.Exception
java.lang.Exceptionpublic void testGetProcedures()
throws java.lang.Exception
java.lang.Exceptionpublic void testGetFloatObject()
throws java.lang.Exception
java.lang.Exceptionpublic void testSetFetchSize()
throws java.lang.Exception
java.lang.Exceptionpublic void testSetFetchDirectiion()
throws java.lang.Exception
java.lang.Exceptionpublic void testSetDateObject()
throws java.lang.Exception
java.lang.Exceptionpublic void testPrepStmtError()
throws java.lang.Exception
java.lang.Exceptionpublic void testSqlComments()
throws java.lang.Exception
java.lang.Exceptionpublic void testDateTimeFn()
throws java.lang.Exception
java.lang.Exceptionpublic void testStringFn()
throws java.lang.Exception
java.lang.Exceptionpublic void testNestedEscapes()
throws java.lang.Exception
java.lang.Exceptionpublic void testConversionToLongvarchar()
throws java.sql.SQLException
java.sql.SQLExceptionpublic static void main(java.lang.String[] args)
Generated on June 8 2013