TestBase.Childconn, FLAG_LOBS, FLAG_NO_DELAY, flags, OP_DELETE, OP_INSERT, OP_SELECT, OP_UPDATE, operations, random, valueBASE_TEST_DIR, config, start, uniqueId| Constructor and Description |
|---|
TestHaltApp() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
controllerCheckAfterCrash()
This method is called after a simulated crash.
|
protected void |
controllerInit()
Initialize the database.
|
protected void |
controllerWaitAfterAppStart()
Wait after the application has been started.
|
protected void |
execute(java.sql.Statement stat,
java.lang.String sql)
Execute the statement.
|
static void |
main(java.lang.String... args)
This method is called when executing this application from the command
line.
|
protected void |
processAppRun()
Run the application code.
|
protected void |
processAppStart()
Initialize the application.
|
disconnect, getRandomString, init, test, traceOperation, traceOperationassertContains, assertEqualDatabases, assertEqualReaders, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEqualStreams, assertFalse, assertFalse, assertKnownException, assertKnownException, assertNull, assertResult, assertResultRowCount, assertResultSetMeta, assertResultSetOrdered, assertSingleValue, assertSmaller, assertStartsWith, assertThrows, assertThrows, assertThrows, assertThrows, assertTrue, assertTrue, buildChild, crash, createCaller, createClassProxy, createFailingStream, deleteDb, deleteDb, eatMemory, execute, fail, fail, freeMemory, getBaseDir, getClassPath, getConnection, getConnection, getFilePassword, getMemoryUsed, getMemoryUsedBytes, getPassword, getPassword, getSize, getTestDir, getTestName, getURL, getUser, init, logError, logErrorMessage, println, printTime, printTimeMemory, readString, runTest, startServerIfRequired, throwException, trace, trace, traceMemorypublic static void main(java.lang.String... args)
throws java.lang.Exception
args - the command line parametersjava.lang.Exceptionprotected void execute(java.sql.Statement stat,
java.lang.String sql)
throws java.sql.SQLException
TestBaseprotected void controllerInit()
throws java.sql.SQLException
java.sql.SQLExceptionprotected void controllerWaitAfterAppStart()
throws java.lang.Exception
java.lang.Exceptionprotected void controllerCheckAfterCrash()
throws java.sql.SQLException
java.sql.SQLException - if the data is not consistent.protected void processAppStart()
throws java.sql.SQLException
java.sql.SQLExceptionprotected void processAppRun()
throws java.sql.SQLException
java.sql.SQLException