All Classes
-
All Classes Interface Summary Class Summary Enum Summary Exception Summary Annotation Types Summary Class Description AbstractDatasetParser Abstract implementation ofDatasetParser
that createReader
from givenResource
and executeAbstractDatasetParser.doParse(Reader)
.AbstractJdbcConnectionFactory Abstract connection factory that can be used to automatically wrap exception.AbstractJsonParser Abstract implementation ofJsonParser
that createReader
from givenResource
and executeAbstractDatasetParser.doParse(Reader)
.AbstractParserException Wrap external parsing exception.AbstractYamlParser Abstract implementation ofJsonParser
that createReader
from givenResource
and executeAbstractDatasetParser.doParse(Reader)
.Annotations Static Annotation Utilities.Cache<K,V> Cache of values identified by a key.CacheFactory Factory forCache
instances.CacheLoader<K,V> Cache loader: the role of a loader is to compute the value to store in a cache.ClassInstantiationException Exception thrown when a class cannot be instantiated because of: Missing empty public constructor. The empty constructor is not public. Etc.ClassUtils Static Class Utilities.CurrentTimestampValueReplacementsProvider AReplacementsProvider
that will map following values to the current date:current_timestamp
CURRENT_TIMESTAMP
current_timestamp()
CURRENT_TIMESTAMP()
CurrentTimeValueReplacementsProvider AReplacementsProvider
that will map following values to the current time (according to the system timezone):current_time
CURRENT_TIME
current_time()
CURRENT_TIME()
DataSetFactory Factory to create instance ofIDataSet
.DataSetLoaderException Exception thrown when DataSet cannot be loaded.DatasetParser DbUnitAllowEmptyFieldsInterceptor An interceptor that can enable/disable the"allowEmptyFields"
feature of DbUnit.DbUnitBatchedStatementsInterceptor An interceptor that can enable/disable the"batchedStatements"
feature of DbUnit.DbUnitBatchSizeInterceptor An interceptor that can set the"batchSize"
property of DbUnit.DbUnitCaseSensitiveTableNamesInterceptor An interceptor that can enable/disable the"caseSensitiveTableNames"
feature of DbUnit.DbUnitConfig Annotation that can be used to customize DBUnit configuration property when the DbUnit connection will be created.DbUnitConfigInterceptor An interceptor that can be used to apply some custom DbUnit configuration on aDatabaseConfig
instance.DbUnitConnection Set the DBUnit connection configuration.DbUnitDataSet Data set annotation, used to specify which data set should be loaded for the next test.DbUnitDatatypeFactoryInterceptor An interceptor that can specify the"datatypeFactory"
property of DbUnit.DbUnitDatatypeWarningInterceptor An interceptor that can enable/disable the"datatypeWarning"
feature of DbUnit.DbUnitEmbeddedDatabaseExtension A simple and easy-to-use integration between DbUnit and springEmbeddedDatabase
.DbUnitEmbeddedDatabaseRule This rule provide a fine integration between spring embedded database and dbunit: Ensure that embedded database is started and available before dbUnit load dataSet. Shutdown database after test.DbUnitException DbUnit exception.DbUnitExtension A simple JUnit Jupiter extension for DbUnit.DbUnitFetchSizeInterceptor An interceptor that can set the"fetchSize"
property of DbUnit.DbUnitInit DbUnit initialization: allow user to run SQL scripts before loading DbUnit data set.DbUnitJunitRunner Implementation of JUnitRunner
to fill and clear database between each tests.DbUnitLiquibase DbUnit liquibase integration: allow test to initialize database with liquibase and load DbUnit data set next.DbUnitMetadataHandlerInterceptor An interceptor that can set the"metadataHandler"
property of DbUnit.DbUnitOperation Set ofDatabaseOperation
supported out of the box.DbUnitQualifiedTableNamesInterceptor An interceptor that can enable/disable the"qualifiedTableNames"
feature of DbUnit.DbUnitReplacements Annotation that define the list ofReplacements
to use during test suite.DbUnitRule JUnit Rule to setup DbUnit database for each tests.DbUnitRunner Generic class to run DbUnit before/after test method invocation.DbUnitSetup Database operation to execute before test is executed.DbUnitSpring A meta-annotation to automatically integrate Spring with DbUnit.DbUnitTearDown Database operation to execute after test is executed.DbUnitTest DbUnitTestExecutionListener Spring test execution listener running DbUnit data set before and after test methods: GetDataSource
bean fromApplicationContext
. Load data set, retrieved usingDbUnitDataSet
annotation. Run setup operation before test method execution. Run tear down operation after test method method execution..DirectoryDataSet Directory dataSet.DirectoryDataSetBuilder Builder forDirectoryDataSet
instances.EmbeddedDatabaseConfiguration EmbeddedDatabaseExtension A JUnit Jupiter extension that can be used to start/stop an embedded database.EmbeddedDatabaseRule A JUnit 4Rule
that can be used to start/stop embedded database.EmbeddedDatabaseRunner A standalone runner that can be used to start/stop embedded database.Exceptions Static Exception Utilities.Files Static Files Utilities.Io Static IO Utilities.JacksonYamlParser YAML Parser using Jackson (V2)ObjectMapper
as internal implementation.JdbcConfiguration JDBC Configuration, defined by: URL Connection. User. Password.JdbcConnectionFactory Factory that should create instance ofConnection
.JdbcDataSourceConnectionFactory JdbcDefaultConnectionFactory JdbcException Wrap external SQL exception.JsonDataSet Implementation ofIDataSet
with JSON file as input.JsonDataSetBuilder Builder forJsonDataSet
instances.JsonException Wrap external JSON parsing exception.JsonParser Parse JSON file and return DBUnit dataSet asMap
.JsonParserFactory The goal of this factory is to create default instances ofJsonParser
.LiquibaseUpdater Run liquibase change sets against SQL connection.Logger Logger contract.LoggerProvider Loggers Logger factory.NowValueReplacementsProvider AReplacementsProvider
that will map following valuesto the current date (i.enew Date()
):NOW()
now()
NullValueReplacementsProvider Objects Static Objects Utilities.PreConditions Static PreConditions Utilities.ReaderVisitor Visitor executed when a stream is read line by line.Replacements Replacement Objects.Replacements.Builder Builder used to create new replacements objects.ReplacementsProvider Replacements provider, used to create re-usable replacements objects.Resource ResourceException Error thrown when an error occurred when dealing with resources.ResourceLoader Implementations of strategies to load resources.ResourceNotFoundException Error thrown when resource is not found.ResourceNotValidException Error thrown when resource is not a valid resource.SnakeYamlParser YAML Parser using SnakeYAML as internal implementation.SqlParserException Exception thrown if an error occurred during SQL parsing.SqlScriptParser Run SQL scripts against SQLConnection
.SqlScriptParserConfiguration Configuration for SQL scripts parser.SqlScriptParserConfiguration.Builder Builder forSqlScriptParserConfiguration
.Strings Static Strings Utilities.ToStringBuilder Utility class to implement easilytoString
methods.TransactionalDbUnitTestExecutionListener Provide integration between springTransactionalTestExecutionListener
and customDbUnitTestExecutionListener
:TransactionalTestExecutionListener
will be executed first.DbUnitTestExecutionListener
will be executed last.YamlDataSet Implementation ofIDataSet
with YAML file as input.YamlDataSetBuilder Builder forYamlDataSet
instances.YamlException Wrap external YAML parsing exception.YamlParser Parse YAML file and return DBUnit dataSet asMap
.YamlParserFactory The goal of this factory is to create default instances ofYamlParser
.