|
|||||||||||
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.jtds.jdbc.TestBase net.sourceforge.jtds.jdbc.Tds5Test
Test case to illustrate use of TDS 5 support.
Field Summary |
Fields inherited from class net.sourceforge.jtds.jdbc.TestBase |
con, props |
Fields inherited from class junit.framework.TestCase |
|
Constructor Summary | |
Tds5Test(java.lang.String name)
|
Method Summary | |
private boolean |
isVersion12orHigher()
|
private boolean |
isVersion15orHigher()
|
static void |
main(java.lang.String[] args)
|
static junit.framework.Test |
suite()
|
void |
testBigint()
Test Sybase ASE 15+ bigint data type. |
void |
testColMetaData()
Test the new column meta data made available in Sybase 12 |
void |
testDateTime()
Test the new date and time data types in Sybase 12+ |
void |
testImageText()
Test for bug [1161609] Text or image data truncated on Sybase 12.5 |
void |
testLongData()
Test varchar and varbinary fields longer than 255 bytes. |
void |
testNullUniText()
|
void |
testResultSetMetaData()
Test that resultset meta data is correct for short varchar/varbinary types. |
void |
testResultSetMetaData2()
Test that resultset meta data is correct for long varchar/varbinary types. |
void |
testResultSetMetaData3()
Test Sybase ASE misc data type metadata. |
void |
testResultSetMetaData4()
Test Sybase ASE 15+ misc data type metadata. |
void |
testStreamImage()
Test writing image data from InputStream |
void |
testStreamText()
Test writing text data from Reader |
void |
testStreamUniText()
Test writing unitext data from Reader |
void |
testUniText()
Test writing unitext data from memory |
void |
testUnsignedBigInt()
Test Sybase ASE 15+ unsigned bigint data type. |
void |
testUnsignedInt()
Test Sybase ASE 15+ unsigned int data type. |
void |
testUnsignedSmallInt()
Test Sybase ASE 15+ unsigned smallint data type. |
Methods inherited from class net.sourceforge.jtds.jdbc.TestBase |
compareInputStreams, compareReaders, connect, dropDatabase, dropFunction, dropProcedure, dropTable, dropTrigger, dropType, dropView, dump, dump, dumpAll, dumpKeys, dumpRow, dumpRow, getConnection, getConnection, makeObjects, makeTestTables, setUp, tearDown |
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString |
Methods inherited from class junit.framework.Assert |
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, 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 Tds5Test(java.lang.String name)
Method Detail |
public static junit.framework.Test suite()
public void testColMetaData() throws java.lang.Exception
java.lang.Exception
public void testDateTime() throws java.lang.Exception
java.lang.Exception
public void testLongData() throws java.lang.Exception
java.lang.Exception
public void testImageText() throws java.lang.Exception
java.lang.Exception
public void testStreamImage() throws java.lang.Exception
java.lang.Exception
public void testStreamText() throws java.lang.Exception
java.lang.Exception
public void testStreamUniText() throws java.lang.Exception
java.lang.Exception
public void testUniText() throws java.lang.Exception
java.lang.Exception
public void testNullUniText() throws java.lang.Exception
java.lang.Exception
public void testBigint() throws java.lang.Exception
java.lang.Exception
public void testUnsignedSmallInt() throws java.lang.Exception
java.lang.Exception
public void testUnsignedInt() throws java.lang.Exception
java.lang.Exception
public void testUnsignedBigInt() throws java.lang.Exception
java.lang.Exception
public void testResultSetMetaData2() throws java.lang.Exception
java.lang.Exception
public void testResultSetMetaData() throws java.lang.Exception
java.lang.Exception
public void testResultSetMetaData3() throws java.lang.Exception
java.lang.Exception
public void testResultSetMetaData4() throws java.lang.Exception
java.lang.Exception
private boolean isVersion12orHigher() throws java.lang.Exception
java.lang.Exception
private boolean isVersion15orHigher() throws java.lang.Exception
java.lang.Exception
public static void main(java.lang.String[] args)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |