org.hsqldb.test
Class TestOdbcService
- java.lang.Object
-
- junit.framework.Assert
-
- junit.framework.TestCase
-
- org.hsqldb.test.AbstractTestOdbc
-
- org.hsqldb.test.TestOdbcService
-
- All Implemented Interfaces:
- junit.framework.Test
public class TestOdbcService extends AbstractTestOdbc
See AbstractTestOdbc for more general ODBC test information. Standard test methods perform the named test, then perform a simple (non-prepared) query to verify the state of the server is healthy enough to successfully serve a query. (We may or many not add test(s) to verify behavior when no static query follows).- See Also:
AbstractTestOdbc
-
-
Constructor Summary
Constructors Constructor and Description TestOdbcService()TestOdbcService(java.lang.String s)Accommodate JUnit's test-runner conventions.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description static voidmain(java.lang.String[] sa)voidtestDetailedSimpleQueryOutput()voidtestFullyPreparedQuery()Tests with input and output parameters, and rerunning query with modified input parameters.voidtestParamlessPreparedQuery()voidtestPreparedNonRowStatement()voidtestSanity()voidtestSimpleUpdate()voidtestTranDetailedSimpleQueryOutput()voidtestTranFullyPreparedQuery()voidtestTranParamlessPreparedQuery()voidtestTranPreparedNonRowStatement()voidtestTranSanity()voidtestTranSimpleUpdate()voidverifySimpleQueryOutput()Assumes none of the records above i=20 have been modified.-
Methods inherited from class org.hsqldb.test.AbstractTestOdbc
staticRunner
-
Methods inherited from class junit.framework.TestCase
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, countTestCases, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, setName, toString
-
-
-
-
Constructor Detail
-
TestOdbcService
public TestOdbcService()
-
TestOdbcService
public TestOdbcService(java.lang.String s)
Accommodate JUnit's test-runner conventions.
-
-
Method Detail
-
testSanity
public void testSanity()
-
testFullyPreparedQuery
public void testFullyPreparedQuery()
Tests with input and output parameters, and rerunning query with modified input parameters.
-
testDetailedSimpleQueryOutput
public void testDetailedSimpleQueryOutput()
-
verifySimpleQueryOutput
public void verifySimpleQueryOutput() throws java.sql.SQLExceptionAssumes none of the records above i=20 have been modified.- Throws:
java.sql.SQLException
-
testPreparedNonRowStatement
public void testPreparedNonRowStatement()
-
testParamlessPreparedQuery
public void testParamlessPreparedQuery()
-
testSimpleUpdate
public void testSimpleUpdate()
-
testTranSanity
public void testTranSanity()
-
testTranFullyPreparedQuery
public void testTranFullyPreparedQuery()
-
testTranDetailedSimpleQueryOutput
public void testTranDetailedSimpleQueryOutput()
-
testTranPreparedNonRowStatement
public void testTranPreparedNonRowStatement()
-
testTranParamlessPreparedQuery
public void testTranParamlessPreparedQuery()
-
testTranSimpleUpdate
public void testTranSimpleUpdate()
-
main
public static void main(java.lang.String[] sa)
-
-
DataMelt 3.0 © DataMelt by jWork.ORG