public class AutoIncrementTest extends BaseJDBCTestCase
DEFAULT_DB_DIR, DERBY_LOG, ERRORSTACKTRACEFILE
Constructor and Description |
---|
AutoIncrementTest(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
private static void |
createSchemaObjects(java.sql.Statement st)
converted from autoincrement.sql.
|
static junit.framework.Test |
suite() |
void |
test_Derby14951465() |
void |
testadditionalSysCol() |
void |
testautoIncSysColTest() |
void |
testbug3450() |
void |
testColoumnSpecs() |
void |
testConnectionInfo() |
void |
TESTD1644() |
void |
testdefaultautoincrement() |
void |
testDerby2902() |
void |
testderbyIncrementTest() |
void |
testIdentity() |
void |
testidvalconn() |
void |
testidvalVariants() |
void |
testlock() |
void |
testnegative() |
void |
testnegativeinvalidtype() |
void |
testonegeneratedcolumn() |
void |
testOverflow() |
void |
testrestart() |
void |
testSchema() |
void |
testsimpleincrement() |
void |
testsyslocks() |
void |
testTrigger() |
void |
testunique() |
void |
testwithIncrement() |
private void |
vetSequenceState(java.lang.String tableName,
long currentValue,
long startValue,
long stepValue) |
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
private static void createSchemaObjects(java.sql.Statement st) throws java.sql.SQLException
java.sql.SQLException
public void testderbyIncrementTest() throws java.lang.Exception
java.lang.Exception
public void testautoIncSysColTest() throws java.lang.Exception
java.lang.Exception
public void testnegative() throws java.lang.Exception
java.lang.Exception
public void testsimpleincrement() throws java.lang.Exception
java.lang.Exception
private void vetSequenceState(java.lang.String tableName, long currentValue, long startValue, long stepValue) throws java.lang.Exception
java.lang.Exception
public void testonegeneratedcolumn() throws java.lang.Exception
java.lang.Exception
public void testConnectionInfo() throws java.lang.Exception
java.lang.Exception
public void testTrigger() throws java.lang.Exception
java.lang.Exception
public void testSchema() throws java.lang.Exception
java.lang.Exception
public void testadditionalSysCol() throws java.lang.Exception
java.lang.Exception
public void testsyslocks() throws java.lang.Exception
java.lang.Exception
public void testColoumnSpecs() throws java.lang.Exception
java.lang.Exception
public void testbug3450() throws java.lang.Exception
java.lang.Exception
public void testnegativeinvalidtype() throws java.lang.Exception
java.lang.Exception
public void testOverflow() throws java.lang.Exception
java.lang.Exception
public void testIdentity() throws java.lang.Exception
java.lang.Exception
public void testdefaultautoincrement() throws java.lang.Exception
java.lang.Exception
public void testwithIncrement() throws java.lang.Exception
java.lang.Exception
public void testunique() throws java.lang.Exception
java.lang.Exception
public void testidvalconn() throws java.lang.Exception
java.lang.Exception
public void testidvalVariants() throws java.lang.Exception
java.lang.Exception
public void testrestart() throws java.lang.Exception
java.lang.Exception
public void testlock() throws java.lang.Exception
java.lang.Exception
public void test_Derby14951465() throws java.lang.Exception
java.lang.Exception
public void TESTD1644() throws java.lang.Exception
java.lang.Exception
public void testDerby2902() throws java.lang.Exception
java.lang.Exception
public static junit.framework.Test suite()
Apache Derby V10.13 Internals - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.