Uses of Interface
de.softwareforge.testing.postgres.embedded.EmbeddedPostgresPreparer
Package
Description
PostgreSQL management code.
JUnit 5 integration code.
-
Uses of EmbeddedPostgresPreparer in de.softwareforge.testing.postgres.embedded
Modifier and TypeClassDescriptionfinal class
AnEmbeddedPostgresPreparer<DataSource>
that uses the Flyway version control for your database framework to migrate a data source to a known state.Modifier and TypeFieldDescriptionprotected ImmutableSet.Builder<EmbeddedPostgresPreparer<DataSource>>
DatabaseManager.Builder.databasePreparers
DatabaseManager.Builder.instancePreparers
Modifier and TypeMethodDescriptionstatic <U> EmbeddedPostgresPreparer<U>
EmbeddedPostgresPreparer.noOp()
Returns a typed instance of a no-op (do nothing) preparer.Modifier and TypeMethodDescriptionDatabaseManager.Builder.withDatabasePreparer
(EmbeddedPostgresPreparer<DataSource> databasePreparer) Add a preparer for the template database.DatabaseManager.Builder.withInstancePreparer
(EmbeddedPostgresPreparer<EmbeddedPostgres.Builder> instancePreparer) Add a preparer for theEmbeddedPostgres.Builder
object.Modifier and TypeMethodDescriptionDatabaseManager.Builder.withDatabasePreparers
(Set<EmbeddedPostgresPreparer<DataSource>> databasePreparers) Add preparers for the template database.DatabaseManager.Builder.withInstancePreparers
(Set<EmbeddedPostgresPreparer<EmbeddedPostgres.Builder>> instancePreparers) Add preparers for theEmbeddedPostgres.Builder
object. -
Uses of EmbeddedPostgresPreparer in de.softwareforge.testing.postgres.junit5
Modifier and TypeMethodDescriptionMultiDatabaseBuilder.preparedInstance
(EmbeddedPostgresPreparer<DataSource> databasePreparer) Create a builder and register aEmbeddedPostgresPreparer<DataSource>
to set up the template database.SingleDatabaseBuilder.preparedInstance
(EmbeddedPostgresPreparer<DataSource> databasePreparer) Create a builder and register aEmbeddedPostgresPreparer<DataSource>
to set up the database.MultiDatabaseBuilder.preparedInstanceWithDefaults
(EmbeddedPostgresPreparer<DataSource> databasePreparer) Create a builder with standard initializations (EmbeddedPostgres.Builder.withDefaults()
) applied and register aEmbeddedPostgresPreparer<DataSource>
to set up the template database.SingleDatabaseBuilder.preparedInstanceWithDefaults
(EmbeddedPostgresPreparer<DataSource> databasePreparer) Create a builder with standard initializations (EmbeddedPostgres.Builder.withDefaults()
) applied and register aEmbeddedPostgresPreparer<DataSource>
to set up the database.