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, getTypemap
compareInputStreams, compareReaders, connect, dropDatabase, dropFunction, dropProcedure, dropTable, dropTrigger, dropType, dropView, dump, dump, dumpAll, dumpKeys, dumpRow, dumpRow, getConnection, getConnection, makeObjects, makeTestTables, setUp, tearDown
public static Test suite()
public void testGetMetaData() throws java.lang.Exception
java.lang.Exception
public void testDateTime() throws java.lang.Exception
java.lang.Exception
public void testCharToReal() throws java.lang.Exception
java.lang.Exception
public void testCharToLong() throws java.lang.Exception
java.lang.Exception
public void testGetProcedures() throws java.lang.Exception
java.lang.Exception
public void testGetFloatObject() throws java.lang.Exception
java.lang.Exception
public void testSetFetchSize() throws java.lang.Exception
java.lang.Exception
public void testSetFetchDirectiion() throws java.lang.Exception
java.lang.Exception
public void testSetDateObject() throws java.lang.Exception
java.lang.Exception
public void testPrepStmtError() throws java.lang.Exception
java.lang.Exception
public void testSqlComments() throws java.lang.Exception
java.lang.Exception
public void testDateTimeFn() throws java.lang.Exception
java.lang.Exception
public void testStringFn() throws java.lang.Exception
java.lang.Exception
public void testNestedEscapes() throws java.lang.Exception
java.lang.Exception
public void testConversionToLongvarchar() throws java.sql.SQLException
java.sql.SQLException
public static void main(java.lang.String[] args)
Generated on June 8 2013