Package io.github.zero88.jooqx
Class LegacyTestDefinition.LegacyDBContainerTest<K extends org.testcontainers.containers.JdbcDatabaseContainer<?>,P extends io.vertx.ext.jdbc.spi.DataSourceProvider>
java.lang.Object
io.github.zero88.jooqx.LegacyTestDefinition.LegacyDBContainerTest<K,P>
- All Implemented Interfaces:
HasDBProvider<K,
,DBContainerProvider<K>> io.github.zero88.jooqx.JooqDSLProvider
,io.github.zero88.jooqx.provider.BaseJooqxFacade<io.vertx.ext.sql.SQLClient,
,io.vertx.core.json.JsonArray, io.github.zero88.jooqx.LegacySQLPreparedQuery, io.github.zero88.jooqx.LegacySQLCollector, io.github.zero88.jooqx.LegacyJooqx> io.github.zero88.jooqx.provider.BaseJooqxProvider<io.vertx.ext.sql.SQLClient,
,io.vertx.core.json.JsonArray, io.github.zero88.jooqx.LegacySQLPreparedQuery, io.github.zero88.jooqx.LegacySQLCollector, io.github.zero88.jooqx.LegacyJooqx> io.github.zero88.jooqx.provider.ErrorConverterProvider
,io.github.zero88.jooqx.provider.JDBCExtension<P>
,io.github.zero88.jooqx.provider.LegacyJooqxProvider
,io.github.zero88.jooqx.provider.LegacySQLClientProvider<P>
,io.github.zero88.jooqx.provider.SQLClientOptionParser<io.vertx.core.json.JsonObject>
,io.github.zero88.jooqx.provider.SQLClientProvider<io.vertx.ext.sql.SQLClient>
,io.github.zero88.jooqx.provider.TypeMapperRegistryProvider
,SQLTest<io.vertx.ext.sql.SQLClient,
,io.vertx.core.json.JsonArray, io.github.zero88.jooqx.LegacySQLPreparedQuery, io.github.zero88.jooqx.LegacySQLCollector, io.github.zero88.jooqx.LegacyJooqx, K, DBContainerProvider<K>> SQLTest.LegacySQLTest<K,
DBContainerProvider<K>, P>
- Direct Known Subclasses:
PgSQLLegacyTest
- Enclosing interface:
- LegacyTestDefinition
public abstract static class LegacyTestDefinition.LegacyDBContainerTest<K extends org.testcontainers.containers.JdbcDatabaseContainer<?>,P extends io.vertx.ext.jdbc.spi.DataSourceProvider>
extends Object
implements SQLTest.LegacySQLTest<K,DBContainerProvider<K>,P>
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.github.zero88.jooqx.provider.JDBCExtension
io.github.zero88.jooqx.provider.JDBCExtension.AgroalExtension, io.github.zero88.jooqx.provider.JDBCExtension.C3P0Extension, io.github.zero88.jooqx.provider.JDBCExtension.HikariCPExtension
Nested classes/interfaces inherited from interface io.github.zero88.jooqx.SQLTest
SQLTest.JooqxTest<S extends io.vertx.sqlclient.SqlClient,
K, D extends io.github.zero88.jooqx.provider.DBProvider<K>>, SQLTest.LegacySQLTest<K, D extends io.github.zero88.jooqx.provider.DBProvider<K>, P extends io.vertx.ext.jdbc.spi.DataSourceProvider> -
Field Summary
Modifier and TypeFieldDescriptionprotected SQLConnectionOption
protected K
protected io.github.zero88.jooqx.LegacyJooqx
static int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected K
protected io.vertx.core.json.JsonObject
Init SQL connection optionsprotected @Nullable io.vertx.core.json.JsonObject
Init SQL pool optionsstatic void
setup()
void
tearDown
(io.vertx.core.Vertx vertx, io.vertx.junit5.VertxTestContext ctx) void
tearUp
(io.vertx.core.Vertx vertx, io.vertx.junit5.VertxTestContext ctx) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.github.zero88.jooqx.provider.BaseJooqxFacade
jooqx, jooqx
Methods inherited from interface io.github.zero88.jooqx.provider.BaseJooqxProvider
createPreparedQuery, createResultCollector
Methods inherited from interface io.github.zero88.jooqx.provider.ErrorConverterProvider
errorConverter
Methods inherited from interface io.github.zero88.jooqx.HasDBProvider
dbProvider
Methods inherited from interface io.github.zero88.jooqx.provider.JDBCExtension
dataSourceProviderClass, jdbcDataSourceClass, optimizeDataSourceProviderConfig
Methods inherited from interface io.github.zero88.jooqx.JooqDSLProvider
dsl
Methods inherited from interface io.github.zero88.jooqx.provider.LegacyJooqxProvider
createExecutor
Methods inherited from interface io.github.zero88.jooqx.provider.LegacySQLClientProvider
close, open, parseConn, parsePool, sqlClientClass
Methods inherited from interface io.github.zero88.jooqx.SQLTest.LegacySQLTest
clientProvider, jooqxProvider
Methods inherited from interface io.github.zero88.jooqx.provider.TypeMapperRegistryProvider
typeMapperRegistry
-
Field Details
-
db
-
TIMEOUT_IN_SECOND
public static int TIMEOUT_IN_SECOND -
jooqx
protected io.github.zero88.jooqx.LegacyJooqx jooqx -
connOpt
-
-
Constructor Details
-
LegacyDBContainerTest
public LegacyDBContainerTest()
-
-
Method Details
-
getDatabase
-
setup
@BeforeAll public static void setup() -
tearUp
@BeforeEach public void tearUp(io.vertx.core.Vertx vertx, io.vertx.junit5.VertxTestContext ctx) -
tearDown
@AfterEach public void tearDown(io.vertx.core.Vertx vertx, io.vertx.junit5.VertxTestContext ctx) -
initConnOptions
protected io.vertx.core.json.JsonObject initConnOptions()Init SQL connection options- Returns:
- sql connection option
-
initPoolOptions
@Nullable protected @Nullable io.vertx.core.json.JsonObject initPoolOptions()Init SQL pool options- Returns:
- pool options
- See Also:
-
PoolOptions
-