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.HikariCPExtensionNested 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
FieldsModifier and TypeFieldDescriptionprotected SQLConnectionOptionprotected Kprotected io.github.zero88.jooqx.LegacyJooqxstatic int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Kprotected io.vertx.core.json.JsonObjectInit SQL connection optionsprotected @Nullable io.vertx.core.json.JsonObjectInit SQL pool optionsstatic voidsetup()voidtearDown(io.vertx.core.Vertx vertx, io.vertx.junit5.VertxTestContext ctx) voidtearUp(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, waitMethods inherited from interface io.github.zero88.jooqx.provider.BaseJooqxFacade
jooqx, jooqxMethods inherited from interface io.github.zero88.jooqx.provider.BaseJooqxProvider
createPreparedQuery, createResultCollectorMethods inherited from interface io.github.zero88.jooqx.provider.ErrorConverterProvider
errorConverterMethods inherited from interface io.github.zero88.jooqx.HasDBProvider
dbProviderMethods inherited from interface io.github.zero88.jooqx.provider.JDBCExtension
dataSourceProviderClass, jdbcDataSourceClass, optimizeDataSourceProviderConfigMethods inherited from interface io.github.zero88.jooqx.JooqDSLProvider
dslMethods inherited from interface io.github.zero88.jooqx.provider.LegacyJooqxProvider
createExecutorMethods inherited from interface io.github.zero88.jooqx.provider.LegacySQLClientProvider
close, open, parseConn, parsePool, sqlClientClassMethods inherited from interface io.github.zero88.jooqx.SQLTest.LegacySQLTest
clientProvider, jooqxProviderMethods 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
-