org.apache.derbyTesting.functionTests.tests.jdbcapi
Class ResultSetJDBC30Test

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.derbyTesting.junit.BaseTestCase
              extended by org.apache.derbyTesting.junit.BaseJDBCTestCase
                  extended by org.apache.derbyTesting.functionTests.tests.jdbcapi.ResultSetJDBC30Test
All Implemented Interfaces:
junit.framework.Test

public class ResultSetJDBC30Test
extends BaseJDBCTestCase

Test of additional methods in JDBC3.0 result set


Field Summary
private static java.lang.String NOT_IMPLEMENTED
           
private static java.lang.String UPDATABLE_RESULTSET_API_DISALLOWED
           
 
Fields inherited from class org.apache.derbyTesting.junit.BaseTestCase
DEFAULT_DB_DIR, DERBY_LOG, ERRORSTACKTRACEFILE
 
Constructor Summary
ResultSetJDBC30Test(java.lang.String name)
          Creates a new instance of ResultSetJDBC30Test
 
Method Summary
private  void checkForCloseOnException(java.sql.ResultSet rs, boolean holdable)
           
 void setUp()
          Set up the connection to the database.
static junit.framework.Test suite()
           
protected  void tearDown()
          Tear down this fixture, sub-classes should call super.tearDown().
 void testCloseResultSetAutoCommit()
           
 void testNotImplementedMethods()
           
 
Methods inherited from class org.apache.derbyTesting.junit.BaseJDBCTestCase
assertCallError, assertCheckTable, assertCompileError, assertEquals, assertEquals, assertEquals, assertEquivalentDataType, assertGetIntError, assertNextError, assertPreparedStatementError, assertSQLExceptionEquals, assertSQLState, assertSQLState, assertStatementError, assertStatementError, assertStatementError, assertStatementError, assertTableRowCount, assertUpdateCount, assertUpdateCount, checkAllConsistency, checkEstimatedRowCount, commit, createStatement, createStatement, createStatement, dropTable, dropTable, getConnection, getDatabaseProperty, getLastSQLException, initializeConnection, openConnection, openDefaultConnection, openDefaultConnection, openUserConnection, prepareCall, prepareCall, prepareCall, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, rollback, runScript, runScript, runSQLCommands, setAutoCommit, usingDB2Client, usingDerbyNetClient, usingEmbedded
 
Methods inherited from class org.apache.derbyTesting.junit.BaseTestCase
alarm, assertEquals, assertEquals, assertEquals, assertExecJavaCmdAsExpected, assertSecurityManager, assertThrowableEquals, execJavaCmd, fail, getFailureFolder, getJavaExecutableName, getSystemProperty, getTestConfiguration, getTestResource, openTestResource, println, printStackTrace, readProcessOutput, removeDirectory, removeDirectory, removeSystemProperty, runBare, setSystemProperty, traceit
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, 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

NOT_IMPLEMENTED

private static final java.lang.String NOT_IMPLEMENTED
See Also:
Constant Field Values

UPDATABLE_RESULTSET_API_DISALLOWED

private static final java.lang.String UPDATABLE_RESULTSET_API_DISALLOWED
See Also:
Constant Field Values
Constructor Detail

ResultSetJDBC30Test

public ResultSetJDBC30Test(java.lang.String name)
Creates a new instance of ResultSetJDBC30Test

Method Detail

setUp

public void setUp()
           throws java.lang.Exception
Set up the connection to the database.

Overrides:
setUp in class junit.framework.TestCase
Throws:
java.lang.Exception

tearDown

protected void tearDown()
                 throws java.lang.Exception
Description copied from class: BaseJDBCTestCase
Tear down this fixture, sub-classes should call super.tearDown(). This cleanups & closes the connection if it is open and any statement objects returned through the utility methods.

Overrides:
tearDown in class BaseJDBCTestCase
Throws:
java.lang.Exception

suite

public static junit.framework.Test suite()

testNotImplementedMethods

public void testNotImplementedMethods()
                               throws java.lang.Exception
Throws:
java.lang.Exception

testCloseResultSetAutoCommit

public void testCloseResultSetAutoCommit()
                                  throws java.lang.Exception
Throws:
java.lang.Exception

checkForCloseOnException

private void checkForCloseOnException(java.sql.ResultSet rs,
                                      boolean holdable)
                               throws java.lang.Exception
Throws:
java.lang.Exception

Built on Thu 2009-11-26 18:42:53-0800, from revision 884739

Apache Derby V10.6 Internals - Copyright © 2004,2008 The Apache Software Foundation. All Rights Reserved.