Package org.h2.test.db

Database tests.

See:
          Description

Class Summary
Db A simple wrapper around the JDBC API.
Db.Prepared This class represents a prepared statement.
TaskDef A task that can be run as a separate process.
TaskProcess A task that is run as an external process.
TestAlter Test ALTER statements.
TestAlterSchemaRename Test ALTER SCHEMA RENAME statements.
TestAutoRecompile Tests if prepared statements are re-compiled when required.
TestBackup Test for the BACKUP SQL statement.
TestBackup.BackupListener A backup listener to test concurrent backup.
TestBigDb Test for big databases.
TestBigResult Test for big result sets.
TestCases Various test cases.
TestCheckpoint Tests the CHECKPOINT SQL statement.
TestCluster Test for the cluster feature.
TestCompatibility Tests the compatibility with other databases.
TestCsv CSVREAD and CSVWRITE tests.
TestDateStorage Tests the date transfer and storage.
TestDeadlock Test for deadlocks in the code, and test the deadlock detection mechanism.
TestEncryptedDb Test using an encrypted database.
TestExclusive Test for the exclusive mode.
TestFullText Fulltext search tests.
TestFunctionOverload Tests for overloaded user defined functions.
TestFunctions Tests for user defined functions and aggregates.
TestFunctions.MedianString This median implementation keeps all objects in memory.
TestIndex Index tests.
TestLargeBlob Test a BLOB larger than Integer.MAX_VALUE
TestLinkedTable Tests the linked table feature (CREATE LINKED TABLE).
TestListener Tests the DatabaseEventListener.
TestLob Tests LOB and CLOB data types.
TestMemoryUsage Tests the memory usage of the cache.
TestMultiConn Multi-connection tests.
TestMultiDimension Tests the multi-dimension index tool.
TestMultiThread Multi-threaded tests.
TestMultiThreadedKernel A multi-threaded test case.
TestOpenClose Tests opening and closing a database.
TestOptimizations Test various optimizations (query cache, optimization for MIN(..), and MAX(..)).
TestOutOfMemory Tests out of memory situations.
TestPowerOff Tests simulated power off conditions.
TestQueryCache Tests the query cache.
TestReadOnly Test for the read-only database feature.
TestRecursiveQueries Test recursive queries using WITH.
TestRights Access rights tests.
TestRunscript Tests the RUNSCRIPT SQL statement.
TestScript This test runs a SQL script file and compares the output with the expected output.
TestScriptSimple This test runs a simple SQL script file and compares the output with the expected output.
TestSelectCountNonNullColumn Test that count(column) is converted to count(*) if the column is not nullable.
TestSequence Tests the sequence feature of this database.
TestSessionsLocks Tests the meta data tables information_schema.locks and sessions.
TestSpaceReuse Tests if disk space is reused after deleting many rows.
TestSpeed Various small performance tests.
TestSQLInjection Tests the ALLOW_LITERALS feature (protection against SQL injection).
TestTableEngines The class for external table engines mechanism testing.
TestTableEngines.EndlessTableEngine A test table factory.
TestTableEngines.OneRowTableEngine A test table factory.
TestTempTables Temporary table tests.
TestTransaction Transactional tests, including transaction isolation tests, and tests related to savepoints.
TestTriggersConstraints Tests for trigger and constraints.
TestTriggersConstraints.DeleteTrigger A trigger that deletes all rows in the test table.
TestTriggersConstraints.Test A test trigger implementation.
TestTriggersConstraints.TestSelect A test trigger implementation.
TestTriggersConstraints.TestTriggerAdapter A test trigger adapter implementation.
TestTriggersConstraints.TestView A test trigger implementation.
TestTwoPhaseCommit Tests for the two-phase-commit feature.
TestUpgrade Automatic upgrade test cases.
TestView Test for views.
TestViewAlterTable Test the impact of ALTER TABLE statements on views.
TestViewDropView Test the impact of DROP VIEW statements on dependent views.
 

Package org.h2.test.db Description

Database tests. Most tests are on the SQL level.