|
|||||||||||
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.CallableStatementTest
Field Summary | |
private boolean |
SILENT
set to false to enable verbose console output |
Fields inherited from class net.sourceforge.jtds.jdbc.TestBase |
con, props |
Fields inherited from class junit.framework.TestCase |
|
Constructor Summary | |
CallableStatementTest(java.lang.String name)
|
Method Summary | |
static void |
main(java.lang.String[] args)
Test that output result sets, return values and output parameters are correctly handled for a remote procedure call. |
void |
testBigDecimal()
Test for bug [1236078] Procedure doesn't get called for some BigDecimal values - invalid bug. |
void |
testBug637()
|
void |
testCallableError1()
Test for bug [991640] java.sql.Date error and RAISERROR problem |
void |
testCallableRegisterOutParameter1()
Test for bug [974284] retval on callable statement isn't handled correctly |
void |
testCallableRegisterOutParameter2()
Test for bug [994888] Callable statement and Float output parameter |
void |
testCallableRegisterOutParameter3()
Test for bug [994988] Network error when null is returned via int output parm |
void |
testCallableRegisterOutParameter4()
Test for bug [983432] Prepared call doesn't work with jTDS 0.8 |
void |
testCallableRegisterOutParameter5()
Test for bug [946171] null boolean in CallableStatement bug |
void |
testCallableRegisterOutParameter6()
Test for bug [992715] wasnull() always returns false |
void |
testCallableSetNull1()
Test for reature request [956800] setNull(): Not implemented. |
void |
testCallableStatement()
|
void |
testCallableStatement1()
|
void |
testCallableStatementCall1()
|
void |
testCallableStatementCall2()
|
void |
testCallableStatementCall3()
|
void |
testCallableStatementCall4()
Test for bug [974801] stored procedure error in Northwind |
void |
testCallableStatementExec1()
|
void |
testCallableStatementExec2()
|
void |
testCallableStatementExec3()
|
void |
testCallableStatementExec4()
|
void |
testCallableStatementExec5()
|
void |
testCallableStatementExec6()
|
void |
testCallableStatementExec7()
|
void |
testCallableStatementExec8()
|
void |
testCallableStatementExec9()
Test for bug [978175] 0.8: Stored Procedure call doesn't work anymore |
void |
testCallableStatementParsing1()
|
void |
testCallableStatementParsing2()
Test for bug [938632] String index out of bounds error in 0.8rc1. |
void |
testCallableStatementParsing3()
Test for bug [1006845] Stored procedure with 18 parameters. |
void |
testCallableStatementParsing4()
Test for incorrect exception thrown/no exception thrown when invalid call escape is used. |
void |
testCallableStatementParsing5()
Test for bug [1052942] Error processing JDBC call escape. |
void |
testCallableStatementParsing6()
Test for incorrect exception thrown/no exception thrown when invalid call escape is used. |
void |
testCallableStatementParsing7()
Test for incorrect exception thrown/no exception thrown when invalid call escape is used. |
void |
testCallWithResultSet()
Test retrieving multiple resultsets, the return value and an additional output parameter from a single procedure call. |
void |
testCommentProcessing()
Test comment processing, bug #634 (and #676). |
void |
testErrorOutputParams()
Test for bug [1047208] SQLException chaining not implemented correctly: checks that all errors are returned and that output variables are also returned. |
void |
testInOutParameters()
Test for separation of IN and INOUT/OUT parameter values |
void |
testNamedParameters0001()
Test named parameters. |
void |
testNamedParameters0002()
Test named parameters. |
void |
testNonRpcProc1()
Test that procedure calls with both literal parameters and parameterr markers are executed correctly (bug [1078927] Callable statement fails). |
void |
testNonRpcProc2()
Test that procedure calls with both literal parameters and parameterr markers are executed correctly (bug [1078927] Callable statement fails). |
void |
testProcessUpdateCounts1()
Test that procedure outputs are available immediately for procedures that do not return ResultSets (i.e that update counts are cached). |
void |
testProcessUpdateCounts2()
Test that procedure outputs are available immediately after processing the last ResultSet returned by the procedure (i.e that update counts are cached). |
void |
testProcessUpdateCounts3()
Test that procedure outputs are available immediately after processing the last ResultSet returned by the procedure (i.e that update counts are cached) even if getMoreResults() is not called. |
void |
testProcessUpdateCounts4()
Test that procedure outputs are available immediately after processing the last ResultSet returned by the procedure (i.e that update counts are cached) even if getMoreResults() and ResultSet.close() are not called. |
void |
testSemicolonProcedures()
Test that procedure names containing semicolons are parsed correctly. |
void |
testTsEscape()
Test for bug [ 1062671 ] SQLParser unable to parse CONVERT(char,{ts ?} |
void |
testWritetext()
Test for bug [1152329] Spurious output params assigned (TIMESTMP). |
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 |
Field Detail |
private final boolean SILENT
Constructor Detail |
public CallableStatementTest(java.lang.String name)
Method Detail |
public void testCommentProcessing() throws java.sql.SQLException
java.sql.SQLException
public void testCallableStatement() throws java.lang.Exception
java.lang.Exception
public void testCallableStatement1() throws java.lang.Exception
java.lang.Exception
public void testCallableStatementCall1() throws java.lang.Exception
java.lang.Exception
public void testCallableStatementCall2() throws java.lang.Exception
java.lang.Exception
public void testCallableStatementCall3() throws java.lang.Exception
java.lang.Exception
public void testCallableStatementCall4() throws java.lang.Exception
java.lang.Exception
public void testCallableStatementExec1() throws java.lang.Exception
java.lang.Exception
public void testCallableStatementExec2() throws java.lang.Exception
java.lang.Exception
public void testCallableStatementExec3() throws java.lang.Exception
java.lang.Exception
public void testCallableStatementExec4() throws java.lang.Exception
java.lang.Exception
public void testCallableStatementExec5() throws java.lang.Exception
java.lang.Exception
public void testCallableStatementExec6() throws java.lang.Exception
java.lang.Exception
public void testCallableStatementExec7() throws java.lang.Exception
java.lang.Exception
public void testCallableStatementExec8() throws java.lang.Exception
java.lang.Exception
public void testCallableStatementExec9() throws java.lang.Exception
java.lang.Exception
public void testCallableStatementParsing1() throws java.lang.Exception
java.lang.Exception
public void testCallableStatementParsing2() throws java.lang.Exception
java.lang.Exception
public void testCallableStatementParsing3() throws java.lang.Exception
java.lang.Exception
public void testCallableStatementParsing4() throws java.sql.SQLException
java.sql.SQLException
public void testCallableStatementParsing5() throws java.lang.Exception
}
causes the parser to fail).
java.lang.Exception
public void testCallableStatementParsing6() throws java.sql.SQLException
java.sql.SQLException
public void testCallableStatementParsing7() throws java.sql.SQLException
java.sql.SQLException
public void testCallableSetNull1() throws java.lang.Exception
java.lang.Exception
public void testCallableRegisterOutParameter1() throws java.lang.Exception
java.lang.Exception
public void testCallableRegisterOutParameter2() throws java.lang.Exception
java.lang.Exception
public void testCallableRegisterOutParameter3() throws java.lang.Exception
java.lang.Exception
public void testCallableRegisterOutParameter4() throws java.lang.Exception
java.lang.Exception
public void testCallableRegisterOutParameter5() throws java.lang.Exception
java.lang.Exception
public void testCallableRegisterOutParameter6() throws java.lang.Exception
java.lang.Exception
public void testCallableError1() throws java.lang.Exception
java.lang.Exception
public void testNamedParameters0001() throws java.lang.Exception
java.lang.Exception
public void testNamedParameters0002() throws java.lang.Exception
java.lang.Exception
public void testProcessUpdateCounts1() throws java.sql.SQLException
java.sql.SQLException
public void testProcessUpdateCounts2() throws java.sql.SQLException
java.sql.SQLException
public void testProcessUpdateCounts3() throws java.sql.SQLException
java.sql.SQLException
public void testProcessUpdateCounts4() throws java.sql.SQLException
java.sql.SQLException
public void testTsEscape() throws java.lang.Exception
java.lang.Exception
public void testInOutParameters() throws java.lang.Exception
java.lang.Exception
public void testSemicolonProcedures() throws java.lang.Exception
java.lang.Exception
public void testNonRpcProc1() throws java.lang.Exception
java.lang.Exception
public void testNonRpcProc2() throws java.lang.Exception
java.lang.Exception
public void testWritetext() throws java.lang.Exception
java.lang.Exception
public void testErrorOutputParams() throws java.lang.Exception
java.lang.Exception
public void testBigDecimal() throws java.lang.Exception
java.lang.Exception
public void testCallWithResultSet() throws java.lang.Exception
java.lang.Exception
public void testBug637() 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 |