Package org.h2.test.unit
Unit tests that don't start the database (in most cases).
-
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.TestBinaryOperation Test the binary operation.TestBitStream Test the bit stream (Golomb code and Huffman code) utility.TestBnf Test Bnf Sql parserTestCache Tests the cache.TestCharsetCollator Unittest for org.h2.value.CharsetCollatorTestClassLoaderLeak Test that static references within the database engine don't reference the class itself.TestCollation Test the ICU4J collator.TestCompress Data compression tests.TestConcurrentJdbc Test concurrent access to JDBC objects.TestConnectionInfo Test the ConnectionInfo class.TestDate Tests the date parsing.TestDateIso8601 Test cases for DateTimeIso8601Utils.TestDateTimeTemplate Test cases for DateTimeTemplate.TestDateTimeUtils Unit tests for the DateTimeUtils and IntervalUtils classes.TestDbException Tests DbException 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.TestFileSystem Tests various file system.TestFtp Tests the FTP server tool.TestGeometryUtils Tests the classes from org.h2.util.geometry package.TestIntArray Tests the IntArray class.TestInterval Test cases for Interval.TestIntPerfectHash Tests the perfect hash tool.TestJakartaServlet Tests the JakartaDbStarter servlet.TestJmx Tests the JMX feature.TestJsonUtils Tests the classes from org.h2.util.json package.TestKeywords Tests keywords.TestLocale Tests that change the default locale.TestMathUtils Tests math utility methods.TestMemoryEstimator Class TestMemoryEstimator.TestMemoryUnmapper Tests memory unmapper.TestMemoryUnmapper.Tester TestMode Unit test for the Mode class.TestMultiThreadedKernel Tests the multi-threaded kernel feature.TestMVTempResult Tests that MVTempResult implementations do not produce OOME.TestNetUtils Test the network utilities fromNetUtils.TestObjectDeserialization Tests the ability to deserialize objects that are not part of the system class-loading scope.TestOverflow Tests numeric overflow on various data types.TestPageStoreCoverage Test the page store.TestPattern Tests LIKE pattern matching.TestPerfectHash Tests the perfect hash tool.TestPgServer Tests the PostgreSQL server protocol compliant implementation.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 systemTestUpgrade Tests upgrade utility.TestUtils Tests reflection utilities.TestValue Tests features of values.TestValueMemory Tests the memory consumption of values.