| Class |
Description |
|
DatabaseCleanupContext
|
Context that holds the discovered DatabaseCleaner implementations and
provides access to the application's data sources for cleanup operations. |
|
DatabaseCleanupExtension
|
Spock global extension that detects the DatabaseCleanup annotation on test classes
and methods, and registers the DatabaseCleanupInterceptor to perform database
cleanup after annotated tests. |
|
DatabaseCleanupInterceptor
|
Spock method interceptor that performs database cleanup after tests annotated
with DatabaseCleanup. |
|
DatabaseCleanupStats
|
Captures statistics from a single datasource cleanup operation, including which
tables were truncated and how many rows were in each table before truncation. |
|
DatasourceCleanupMapping
|
Represents the parsed mapping entries from a DatabaseCleanup annotation's
value() attribute. |
|
DatasourceCleanupMapping.Entry
|
A single parsed entry from the annotation value. |
|
DefaultApplicationContextResolver
|
Default implementation of ApplicationContextResolver that resolves the
ApplicationContext from the Spring TestContext captured by
TestContextHolderListener. |
|
TestContextHolderListener
|
A Spring TestExecutionListener that captures the current TestContext
in a java.lang.ThreadLocal so that it can be accessed by the database cleanup framework
during test execution. |