|
|||||||||
| 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.URCoveringIndexTest
public class URCoveringIndexTest
Tests updatable result sets when there is a index that includes all data for the query (covering index). DERBY-1087
| Field Summary |
|---|
| Fields inherited from class org.apache.derbyTesting.junit.BaseTestCase |
|---|
DEFAULT_DB_DIR, DERBY_LOG, ERRORSTACKTRACEFILE |
| Constructor Summary | |
|---|---|
URCoveringIndexTest(java.lang.String name)
Creates a new instance of SURBaseTest |
|
| Method Summary | |
|---|---|
void |
setUp()
Set up the connection to the database. |
static junit.framework.Test |
suite()
|
void |
testUpdateUpdatedTupleFOPositioned()
Updates a previously updated row with a covering index using positioned updates and forward only result sets. |
void |
testUpdateUpdatedTupleFOUpdateRow()
Updates a previously updated row with a covering index using updateRow and forward only result sets. |
void |
testUpdateUpdatedTupleScrollPostitioned()
Updates a previously updated row with a covering index using positioned updates and scrollable result sets. |
void |
testUpdateUpdatedTupleScrollUpdateRow()
Updates a previously updated row with a covering index using updateRow and scrollable result sets. |
private void |
testUpdateUpdatedTupleWithCoveringIndex(boolean scroll,
boolean usePositionedUpdate)
|
| 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 URCoveringIndexTest(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
private void testUpdateUpdatedTupleWithCoveringIndex(boolean scroll,
boolean usePositionedUpdate)
throws java.sql.SQLException
java.sql.SQLException
public void testUpdateUpdatedTupleScrollPostitioned()
throws java.sql.SQLException
java.sql.SQLException
public void testUpdateUpdatedTupleScrollUpdateRow()
throws java.sql.SQLException
java.sql.SQLException
public void testUpdateUpdatedTupleFOPositioned()
throws java.sql.SQLException
java.sql.SQLException
public void testUpdateUpdatedTupleFOUpdateRow()
throws java.sql.SQLException
java.sql.SQLException
|
Built on Sat 2009-11-28 18:44:18-0800, from revision 885187 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||