org.h2.test
Class TestAll

java.lang.Object
  extended by org.h2.test.TestAll

public class TestAll
extends java.lang.Object

The main test application. JUnit is not used because loops are easier to write in regular java applications (most tests are ran multiple times using different settings).


Field Summary
 boolean big
          If the test should run with many rows.
 java.lang.String cipher
          The cipher to use (null for unencrypted).
 boolean codeCoverage
          If code coverage is enabled.
 boolean diskResult
          If a small cache and a low number for MAX_MEMORY_ROWS should be used.
 boolean googleAppEngine
          If testing on Google App Engine.
 boolean jdk14
          If only JDK 1.4 methods should be tested.
 boolean memory
          If in-memory databases should be used.
 boolean mvcc
          If the multi version concurrency control mode should be used.
 boolean nestedJoins
          Support nested joins.
 boolean networked
          If remote database connections should be used.
 boolean reopen
          Test using the recording file system.
 boolean splitFileSystem
          Test the split file system.
 int traceLevelFile
          The file trace level value to use.
 boolean traceTest
          If test trace information should be written (for debugging only).
 
Constructor Summary
TestAll()
           
 
Method Summary
static void main(java.lang.String... args)
          Run all tests.
static void printSystemInfo()
          Print system information.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

big

public boolean big
If the test should run with many rows.


networked

public boolean networked
If remote database connections should be used.


memory

public boolean memory
If in-memory databases should be used.


codeCoverage

public boolean codeCoverage
If code coverage is enabled.


mvcc

public boolean mvcc
If the multi version concurrency control mode should be used.


cipher

public java.lang.String cipher
The cipher to use (null for unencrypted).


jdk14

public boolean jdk14
If only JDK 1.4 methods should be tested.


traceLevelFile

public int traceLevelFile
The file trace level value to use.


traceTest

public boolean traceTest
If test trace information should be written (for debugging only).


googleAppEngine

public boolean googleAppEngine
If testing on Google App Engine.


diskResult

public boolean diskResult
If a small cache and a low number for MAX_MEMORY_ROWS should be used.


reopen

public boolean reopen
Test using the recording file system.


splitFileSystem

public boolean splitFileSystem
Test the split file system.


nestedJoins

public boolean nestedJoins
Support nested joins.

Constructor Detail

TestAll

public TestAll()
Method Detail

main

public static void main(java.lang.String... args)
                 throws java.lang.Exception
Run all tests.

Parameters:
args - the command line arguments
Throws:
java.lang.Exception

printSystemInfo

public static void printSystemInfo()
Print system information.


toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object