Interface | Description |
---|---|
IDatabaseTester |
This interface defines the behavior of a DatabaseTester, which is responsible
for adding DBUnit features as composition on existing test cases (instead of
extending DBTestCase directly).
|
Class | Description |
---|---|
AbstractDatabaseTester |
Basic implementation of IDatabaseTester.
Implementations of IDatabaseTester may use this class as a starting point. |
Assertion |
Provides static methods for the most common DbUnit assertion needs.
|
DatabaseTestCase | |
DataSourceBasedDBTestCase |
TestCase that uses a DataSourceDatabaseTester.
|
DataSourceDatabaseTester |
DatabaseTester that uses a
DataSource to create connections. |
DBTestCase |
Base testCase for database testing.
Subclasses may override DBTestCase.newDatabaseTester() to plug-in a different implementation
of IDatabaseTester.Default implementation uses a PropertiesBasedJdbcDatabaseTester . |
DefaultDatabaseTester |
Default implementation of AbstractDatabaseTester, which does not know how
to get a connection by itself.
|
JdbcBasedDBTestCase |
TestCase that uses a JdbcDatabaseTester.
|
JdbcDatabaseTester |
DatabaseTester that uses JDBC's Driver Manager to create connections.
|
JndiBasedDBTestCase |
TestCase that uses a JndiDatabaseTester.
|
JndiDatabaseTester |
DatabaseTester that pulls a DataSource from a JNDI location.
|
PropertiesBasedJdbcDatabaseTester |
DatabaseTester that configures a DriverManager from environment properties.
This class defines a set of keys for system properties that need to be present in the environment before using it. |
Exception | Description |
---|---|
DatabaseUnitException | |
DatabaseUnitRuntimeException |
Copyright © 2002-2012. All Rights Reserved.