public class AutoIncrementTest extends BaseJDBCTestCase
DEFAULT_DB_DIR, DERBY_LOG, ERRORSTACKTRACEFILE| Constructor and Description |
|---|
AutoIncrementTest(java.lang.String name) |
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, usingEmbeddedalarm, 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, isJava8, isPhoneME, isPlatform, isSunJVM, isWindowsPlatform, newAssertionFailedError, openTestResource, println, printStackTrace, readProcessOutput, removeDirectory, removeDirectory, removeFiles, removeSystemProperty, runsWithEmma, runsWithJaCoCo, setSystemErr, setSystemOut, setSystemProperty, sleep, sleepAtLeastOneTick, traceit, vmAtLeastassertEquals, 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, toStringprivate static void createSchemaObjects(java.sql.Statement st)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void testderbyIncrementTest()
throws java.lang.Exception
java.lang.Exceptionpublic void testautoIncSysColTest()
throws java.lang.Exception
java.lang.Exceptionpublic void testnegative()
throws java.lang.Exception
java.lang.Exceptionpublic void testsimpleincrement()
throws java.lang.Exception
java.lang.Exceptionprivate void vetSequenceState(java.lang.String tableName,
long currentValue,
long startValue,
long stepValue)
throws java.lang.Exception
java.lang.Exceptionpublic void testonegeneratedcolumn()
throws java.lang.Exception
java.lang.Exceptionpublic void testConnectionInfo()
throws java.lang.Exception
java.lang.Exceptionpublic void testTrigger()
throws java.lang.Exception
java.lang.Exceptionpublic void testSchema()
throws java.lang.Exception
java.lang.Exceptionpublic void testadditionalSysCol()
throws java.lang.Exception
java.lang.Exceptionpublic void testsyslocks()
throws java.lang.Exception
java.lang.Exceptionpublic void testColoumnSpecs()
throws java.lang.Exception
java.lang.Exceptionpublic void testbug3450()
throws java.lang.Exception
java.lang.Exceptionpublic void testnegativeinvalidtype()
throws java.lang.Exception
java.lang.Exceptionpublic void testOverflow()
throws java.lang.Exception
java.lang.Exceptionpublic void testIdentity()
throws java.lang.Exception
java.lang.Exceptionpublic void testdefaultautoincrement()
throws java.lang.Exception
java.lang.Exceptionpublic void testwithIncrement()
throws java.lang.Exception
java.lang.Exceptionpublic void testunique()
throws java.lang.Exception
java.lang.Exceptionpublic void testidvalconn()
throws java.lang.Exception
java.lang.Exceptionpublic void testidvalVariants()
throws java.lang.Exception
java.lang.Exceptionpublic void testrestart()
throws java.lang.Exception
java.lang.Exceptionpublic void testDerby6903AlterCycleSimple()
throws java.lang.Exception
java.lang.Exceptionpublic void testDerby6904AlterCycleSimple()
throws java.lang.Exception
java.lang.Exceptionpublic void testDerby6906NoCycleSimple()
throws java.lang.Exception
java.lang.Exceptionpublic void testlock()
throws java.lang.Exception
java.lang.Exceptionpublic void test_Derby14951465()
throws java.lang.Exception
java.lang.Exceptionpublic void TESTD1644()
throws java.lang.Exception
java.lang.Exceptionpublic void testDerby2902()
throws java.lang.Exception
java.lang.Exceptionpublic static junit.framework.Test suite()
Apache Derby V10.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.