|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.apache.derbyTesting.junit.BaseTestCase
org.apache.derbyTesting.junit.BaseJDBCTestCase
org.apache.derbyTesting.functionTests.tests.jdbcapi.ScrollResultSetTest
public class ScrollResultSetTest
Tests scrollable result sets Tests: - testNextOnLastRowForwardOnly: tests that the result set is closed when all rows have been retreived and next has been called from the last row, autocommit = true, the result set is not holdable and type forward only. (DERBY-1295) - testNextOnLastRowScrollable: tests that the result set is not closed when next is called while the result set is positioned in the last row, autocommit = true, the result set is not holdable type scrollable insensitive. (DERBY-1295)
| Field Summary |
|---|
| Fields inherited from class org.apache.derbyTesting.junit.BaseTestCase |
|---|
DEFAULT_DB_DIR, DERBY_LOG, ERRORSTACKTRACEFILE |
| Constructor Summary | |
|---|---|
ScrollResultSetTest(java.lang.String name)
Creates a new instance of ScrollResultSetTest |
|
| Method Summary | |
|---|---|
void |
setUp()
Set up the connection to the database. |
static junit.framework.Test |
suite()
|
void |
tearDown()
Drop the table |
void |
testNextOnLastRowForwardOnly()
Test that moving to next row after positioned at the last row on a forward only result set will close the result set |
void |
testNextOnLastRowScrollable()
Test that moving to next row after positioned at the last row on a scrollable result set will not close the result set |
| 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 |
| Constructor Detail |
|---|
public ScrollResultSetTest(java.lang.String name)
| Method Detail |
|---|
public static junit.framework.Test suite()
public void setUp()
throws java.lang.Exception
setUp in class junit.framework.TestCasejava.lang.Exception
public void tearDown()
throws java.lang.Exception
tearDown in class BaseJDBCTestCasejava.lang.Exception
public void testNextOnLastRowForwardOnly()
throws java.sql.SQLException
java.sql.SQLException
public void testNextOnLastRowScrollable()
throws java.sql.SQLException
java.sql.SQLException
|
Built on Wed 2009-11-25 18:43:31-0800, from revision 884373 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||