public class BaseForDbIntegrationTests
extends java.lang.Object
Base class that handles IntegrationTest that test actual db interaction from DBRequesthandlder to concrete class extending AbstractAsyncDomino No mocking provided
Modifier and Type | Field and Description |
---|---|
protected com.hcl.domino.data.Database |
db |
protected com.hcl.domino.keep.KeepFactory |
factory |
protected static org.slf4j.Logger |
logger |
protected com.hcl.domino.keep.dbrequests.KeepJnxSession |
s |
protected TestSubscriberJsonIntegration |
subscriber |
protected static java.lang.String |
TEST_DB |
protected static java.lang.String |
TEST_USER |
protected io.vertx.junit5.VertxTestContext |
testContext |
Constructor and Description |
---|
BaseForDbIntegrationTests() |
Modifier and Type | Method and Description |
---|---|
protected void |
beforeEach(io.vertx.core.Vertx vertx) |
protected void |
beforeEach2(org.junit.jupiter.api.TestInfo testInfo) |
protected void |
beforeEachClose() |
protected java.util.Optional<com.hcl.domino.keep.dbrequests.AsyncDominoJNX<io.vertx.core.json.JsonObject>> |
getRequest(io.vertx.core.Vertx vertx,
java.lang.String className,
io.vertx.core.json.JsonObject body) |
protected void |
initDemoDb() |
protected void |
initSession(java.lang.String incomingUserName) |
protected static final org.slf4j.Logger logger
protected static final java.lang.String TEST_USER
protected static final java.lang.String TEST_DB
protected com.hcl.domino.keep.dbrequests.KeepJnxSession s
protected com.hcl.domino.data.Database db
protected com.hcl.domino.keep.KeepFactory factory
protected TestSubscriberJsonIntegration subscriber
protected io.vertx.junit5.VertxTestContext testContext
@BeforeEach protected void beforeEach(io.vertx.core.Vertx vertx)
vertx
- Runtime, used in sub classes@BeforeEach protected void beforeEach2(org.junit.jupiter.api.TestInfo testInfo)
@AfterEach protected void beforeEachClose()
protected java.util.Optional<com.hcl.domino.keep.dbrequests.AsyncDominoJNX<io.vertx.core.json.JsonObject>> getRequest(io.vertx.core.Vertx vertx, java.lang.String className, io.vertx.core.json.JsonObject body)
protected void initDemoDb() throws com.hcl.domino.keep.exceptions.KeepExceptionInsufficientAccess
com.hcl.domino.keep.exceptions.KeepExceptionInsufficientAccess
protected void initSession(java.lang.String incomingUserName)