# Package org.h2.test.unit

Unit tests that don't start the database (in most cases).

See: Description

Class Summary
Class | Description
--- | ---
TestAnsCompression | Tests the ANS (Asymmetric Numeral Systems) compression tool.
TestAutoReconnect | Tests automatic embedded/server mode.
TestAutoReconnect.MyDatabaseEventListener | A database event listener used in this test.
TestBinaryArithmeticStream | Test the binary arithmetic stream utility.
TestBitField | A unit test for bit fields.
TestBitStream | Test the bit stream (Golomb code and Huffman code) utility.
TestBnf | Test Bnf Sql parser
TestCache | Tests the cache.
TestClassLoaderLeak | Test that static references within the database engine don't reference the class itself.
TestClearReferences | Tests if Tomcat would clear static fields when re-loading a web application.
TestCollation | Test the ICU4J collator.
TestCompress | Data compression tests.
TestConcurrent | Test concurrent access to JDBC objects.
TestConnectionInfo | Test the ConnectionInfo class.
TestDataPage | Data page tests.
TestDate | Tests the date parsing.
TestDateIso8601 | Test cases for DateTimeIso8601Utils.
TestDateTimeUtils | Unit tests for the DateTimeUtils class
TestExit | Tests the flag db_close_on_exit.
TestExit.MyDatabaseEventListener | A database event listener used in this test.
TestFile | Tests the in-memory file store.
TestFileLock | Tests the database file locking facility.
TestFileLockProcess | Tests database file locking.
TestFileLockSerialized | Test the serialized (server-less) mode.
TestFileSystem | Tests various file system.
TestFtp | Tests the FTP server tool.
TestIntArray | Tests the IntArray class.
TestIntIntHashMap | Tests the IntHashMap class.
TestIntPerfectHash | Tests the perfect hash tool.
TestJmx | Tests the JMX feature.
TestLocale | Tests that change the default locale.
TestMathUtils | Tests math utility methods.
TestMode | Unit test for the Mode class.
TestModifyOnWrite | Test that the database file is only modified when writing to the database.
TestMultiThreadedKernel | Tests the multi-threaded kernel feature.
TestNetUtils | Test the network utilities from `NetUtils`.
TestObjectDeserialization | Tests the ability to deserialize objects that are not part of the system class-loading scope.
TestOldVersion | Tests the compatibility with older versions
TestOverflow | Tests numeric overflow on various data types.
TestPageStore | Test the page store.
TestPageStore.MyDatabaseEventListener | A database event listener used in this test.
TestPageStoreCoverage | Test the page store.
TestPattern | Tests LIKE pattern matching.
TestPerfectHash | Tests the perfect hash tool.
TestPgServer | Tests the PostgreSQL server protocol compliant implementation.
TestReader | Tests the stream to UTF-8 reader conversion.
TestRecovery | Tests database recovery.
TestReopen | A test that calls another test, and after each write operation to the database file, it copies the file, and tries to reopen it.
TestSampleApps | Tests the sample apps.
TestScriptReader | Tests the script reader tool that breaks up SQL scripts in statements.
TestSecurity | Tests various security primitives.
TestServlet | Tests the DbStarter servlet.
TestShell | Test the shell tool.
TestSort | Tests the stable in-place sorting implementations.
TestStreams | Tests the LZF stream.
TestStringCache | Tests the string cache facility.
TestStringUtils | Tests string utility methods.
TestTimeStampWithTimeZone |
TestTools | Tests the database tools.
TestTraceSystem | Tests the trace system
TestUtils | Tests reflection utilities.
TestValue | Tests features of values.
TestValueHashMap | Tests the value hash map.
TestValueMemory | Tests the memory consumption of values.

## Package org.h2.test.unit Description

Unit tests that don't start the database (in most cases).