public class OptimizerOverridesTest extends BaseJDBCTestCase
Modifier and Type | Field and Description |
---|---|
private static java.lang.String[][] |
FULL_TABLE |
DEFAULT_DB_DIR, DERBY_LOG, ERRORSTACKTRACEFILE
Constructor and Description |
---|
OptimizerOverridesTest(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
static junit.framework.Test |
suite() |
void |
testBadFormats()
Negative tests for bad formats.
|
void |
testBadProperties()
Test bad properties.
|
void |
testComparision()
Comparisons that can't get pushed down.
|
void |
testDependenceOnConstraint()
Verify that statements are dependent
on specified constraint.
|
void |
testDependenceOnIndex()
Verify that statements are dependent
on specified index.
|
void |
testFragmentsAsComments()
Make sure following fragments get treated as comments.
|
void |
testInsertModeValue()
Negative test. insertModeValue is not available to a user
and hence will give a syntax error.
|
void |
testInvalidJoinStrategy() |
void |
testJoin() |
void |
testMixedIndexAndConstraint()
Test both index and constraint.
|
void |
testNestedLoopJoinStrategy() |
void |
testNonExistingPropertyValues()
Test not existing values of property.
|
void |
testNullValue() |
void |
testPropertyForUpdate()
Index which includes columns in for update of list.
|
void |
testSpell()
Test case insensitivity, spelling sensitivity
and delimited index.
|
assertCallError, assertCheckTable, assertCommitError, assertCompileError, assertEquals, assertEquals, assertEquals, assertEquivalentDataType, assertErrorCode, assertGetIntError, assertNextError, assertPreparedStatementError, assertResults, assertResults, assertSQLExceptionEquals, assertSQLState, assertSQLState, assertStatementError, assertStatementError, assertStatementError, assertStatementError, assertStatementErrorUnordered, assertTableRowCount, assertUpdateCount, assertUpdateCount, assertWarning, chattyPrepare, chattyPrepareCall, checkAllConsistency, checkEstimatedRowCount, closeStatement, commit, createStatement, createStatement, createStatement, dropTable, dropTable, dropView, dropView, dumpRs, dumpRs, emptyStatementCache, executeQuery, expectCompilationError, expectCompilationError, expectExecutionError, getClientTransactionID, getConnection, getDatabaseProperty, getLastSQLException, goodStatement, goodUpdate, initializeConnection, openConnection, openDefaultConnection, openDefaultConnection, openDefaultConnection, openUserConnection, prepareCall, prepareCall, prepareCall, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, rollback, runBare, runBareOverridable, runScript, runScript, runSQLCommands, setAutoCommit, tearDown, usingDB2Client, usingDerbyNetClient, usingEmbedded
alarm, assertDirectoryDeleted, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertExecJavaCmdAsExpected, assertLaunchedJUnitTestMethod, assertLaunchedJUnitTestMethod, assertSameNullness, assertSecurityManager, assertThrowableEquals, currentDirectory, execJavaCmd, execJavaCmd, execJavaCmd, fail, getClassVersionMajor, getEmmaJar, getFailureFolder, getFilesWith, getJavaExecutableName, getSystemProperty, getTestConfiguration, getTestResource, hasInterruptibleIO, isCVM, isIBMJVM, isJ9Platform, isJava5, isJava7, isPhoneME, isPlatform, isSunJVM, isWindowsPlatform, newAssertionFailedError, openTestResource, println, printStackTrace, readProcessOutput, removeDirectory, removeDirectory, removeFiles, removeSystemProperty, runsWithEmma, runsWithJaCoCo, setSystemErr, setSystemOut, setSystemProperty, sleep, sleepAtLeastOneTick, traceit, vmAtLeast
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, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runTest, setName, setUp, toString
public static junit.framework.Test suite()
public void testBadFormats() throws java.sql.SQLException
java.sql.SQLException
public void testBadProperties() throws java.sql.SQLException
java.sql.SQLException
public void testNonExistingPropertyValues() throws java.sql.SQLException
java.sql.SQLException
public void testFragmentsAsComments() throws java.sql.SQLException
java.sql.SQLException
public void testMixedIndexAndConstraint() throws java.sql.SQLException
java.sql.SQLException
public void testPropertyForUpdate() throws java.sql.SQLException
java.sql.SQLException
public void testInvalidJoinStrategy() throws java.sql.SQLException
java.sql.SQLException
public void testDependenceOnIndex() throws java.sql.SQLException
java.sql.SQLException
public void testDependenceOnConstraint() throws java.sql.SQLException
java.sql.SQLException
public void testSpell() throws java.sql.SQLException
java.sql.SQLException
public void testNullValue() throws java.sql.SQLException
java.sql.SQLException
public void testJoin() throws java.sql.SQLException
java.sql.SQLException
public void testComparision() throws java.sql.SQLException
java.sql.SQLException
public void testNestedLoopJoinStrategy() throws java.sql.SQLException
java.sql.SQLException
public void testInsertModeValue() throws java.sql.SQLException
java.sql.SQLException
Apache Derby V10.13 Internals - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.