org.h2.test.synth
Class TestKillRestart

java.lang.Object
  extended by org.h2.test.TestBase
      extended by org.h2.test.synth.TestKillRestart

public class TestKillRestart
extends TestBase

Standalone recovery test. A new process is started and then killed while it executes random statements.


Field Summary
 
Fields inherited from class org.h2.test.TestBase
baseDir, config, start
 
Constructor Summary
TestKillRestart()
           
 
Method Summary
static void main(java.lang.String... args)
          This method is called when executing this application from the command line.
 void test()
          This method will be called by the test framework.
 
Methods inherited from class org.h2.test.TestBase
assertContains, assertEqualDatabases, assertEqualReaders, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEqualStreams, assertFalse, assertFalse, assertKnownException, assertKnownException, assertResult, assertResultRowCount, assertResultSetMeta, assertResultSetOrdered, assertSingleValue, assertSmaller, assertStartsWith, assertTrue, assertTrue, crash, createCaller, createCaller, deleteDb, deleteDb, eatMemory, fail, fail, freeMemory, getClassPath, getConnection, getConnection, getMemoryUsed, getPageStoreProperty, getPassword, getPassword, getSize, getTestDir, getURL, getUser, init, init, logError, println, printTime, printTimeMemory, readString, runTest, startServerIfRequired, testCase, trace, trace, traceMemory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestKillRestart

public TestKillRestart()
Method Detail

test

public void test()
          throws java.lang.Exception
Description copied from class: TestBase
This method will be called by the test framework.

Specified by:
test in class TestBase
Throws:
java.lang.Exception - if an exception in the test occurs

main

public static void main(java.lang.String... args)
This method is called when executing this application from the command line.

Parameters:
args - the command line parameters