# Package org.h2.test.synth

package org.h2.test.synth
Synthetic tests using random operations or statements.

Related Packages
Package
Description
org.h2.test.synth.sql
A synthetic test using random SQL statements executed against multiple databases.
org.h2.test.synth.thread
Synthetic tests using random operations in multiple threads.
Classes
Class
Description
BnfRandom
A BNF visitor that generates a random SQL statement.
OutputCatcher
Catches the output of another process.
TestBtreeIndex
A b-tree index test.
TestConcurrentUpdate
A concurrent test.
TestCrashAPI
A test that calls random methods with random parameters from JDBC objects.
TestDiskFull
Test simulated disk full problems.
TestFuzzOptimizations
This test executes random SQL statements to test if optimizations are working correctly.
TestHalt
Tests database recovery by destroying a process that writes to the database.
TestHaltApp
The application code for the `TestHalt` application.
TestJoin
A test that runs random join statements against two databases and compares the results.
TestKill
A random recovery test.
TestKillProcess
Test application for TestKill.
TestKillRestart
Standalone recovery test.
TestKillRestartMulti
Standalone recovery test.
TestLimit
The LIMIT, OFFSET, maxRows.
TestMultiThreaded
Tests the multi-threaded mode.
TestNestedJoins
Tests nested joins and right outer joins.
TestOuterJoins
Tests nested joins and right outer joins.
TestPowerOffFs
Tests that use the debug file system to simulate power failure.
TestPowerOffFs2
Tests that use the debug file system to simulate power failure.
TestRandomCompare
Tests random compare operations.
TestRandomSQL
This test executes random SQL statements generated using the BNF tool.
TestReleaseSelectLock
Tests lock releasing for concurrent select statements
TestSimpleIndex
A test that runs random operations against a table to test the various index implementations.
TestThreads
This test starts multiple threads and executes random operations in each thread.
TestTimer
A recovery test that checks the consistency of a database (if it exists), then deletes everything and runs in an endless loop executing random operations.