Uses of Class
de.softwareforge.testing.postgres.embedded.DatabaseManager.Builder
Package
Description
PostgreSQL management code.
JUnit 5 integration code.
-
Uses of DatabaseManager.Builder in de.softwareforge.testing.postgres.embedded
Modifier and TypeMethodDescriptionDatabaseManager.multiDatabases()
Creates a newDatabaseManager.Builder<DatabaseManager>
instance that will create a new database on each call toDatabaseManager.getDatabaseInfo()
.DatabaseManager.singleDatabase()
Creates a newDatabaseManager.Builder<DatabaseManager>
instance that will return a connection to the same database on each call toDatabaseManager.getDatabaseInfo()
.DatabaseManager.Builder.withDatabasePreparer
(EmbeddedPostgresPreparer<DataSource> databasePreparer) Add a preparer for the template database.DatabaseManager.Builder.withDatabasePreparers
(Set<EmbeddedPostgresPreparer<DataSource>> databasePreparers) Add preparers for the template database.DatabaseManager.Builder.withInstancePreparer
(EmbeddedPostgresPreparer<EmbeddedPostgres.Builder> instancePreparer) Add a preparer for theEmbeddedPostgres.Builder
object.DatabaseManager.Builder.withInstancePreparers
(Set<EmbeddedPostgresPreparer<EmbeddedPostgres.Builder>> instancePreparers) Add preparers for theEmbeddedPostgres.Builder
object. -
Uses of DatabaseManager.Builder in de.softwareforge.testing.postgres.junit5
Modifier and TypeClassDescriptionstatic final class
Builder forEmbeddedPgExtension
customization.Modifier and TypeMethodDescriptionMultiDatabaseBuilder.instance()
Create a builder without any customizations applied.SingleDatabaseBuilder.instance()
Create a builder without any customizations applied.MultiDatabaseBuilder.instanceWithDefaults()
Create a builder with standard initializations (EmbeddedPostgres.Builder.withDefaults()
) applied.SingleDatabaseBuilder.instanceWithDefaults()
Create a builder with standard initializations (EmbeddedPostgres.Builder.withDefaults()
) applied.MultiDatabaseBuilder.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.