public abstract class BaseTestForEverythingList extends AbstractDatabaseHandlerTest
We have as set of classes that lookup lists they only differ by the label/view/folder name This is the base class to simplify them and avoid code repetition
Modifier and Type | Field and Description |
---|---|
protected com.hcl.domino.data.CollectionSearchQuery |
collectionSearchQuery |
protected io.vertx.core.json.JsonObject |
keepConfigJson |
protected java.util.List<com.hcl.domino.data.CollectionEntry> |
mockEntries |
protected com.hcl.domino.data.CollectionEntry |
mockEntry |
protected com.hcl.domino.data.DominoCollection |
mockNc |
protected com.hcl.domino.data.Document |
note |
protected com.hcl.domino.data.CollectionColumn |
nvc |
protected java.lang.String |
viewUnderTest |
acl, aclAccess, client, db, eventbusId, factory, incoming, logger, mockHolder, s, subscriber
Constructor and Description |
---|
BaseTestForEverythingList() |
Modifier and Type | Method and Description |
---|---|
protected void |
beforeEach(io.vertx.core.Vertx vertx) |
protected java.util.List<com.hcl.domino.data.CollectionEntry> |
getMockEntryList(int count) |
protected void |
initRequest(com.hcl.domino.keep.dbrequests.AsyncDominoJNX<io.vertx.core.json.JsonObject> ourRequest) |
protected abstract int |
plannedResultCount() |
protected abstract java.lang.String |
viewName() |
beforeEach2, beforeEachEnd, expectFailure, expectFailure, expectFailure, expectFailureBuffer, expectFailureBuffer, expectSuccess, getBufferParams, getJsonParams
@Mock protected com.hcl.domino.data.DominoCollection mockNc
@Mock protected com.hcl.domino.data.CollectionSearchQuery collectionSearchQuery
@Mock protected com.hcl.domino.data.CollectionColumn nvc
@Mock protected com.hcl.domino.data.CollectionEntry mockEntry
@Mock protected com.hcl.domino.data.Document note
protected java.util.List<com.hcl.domino.data.CollectionEntry> mockEntries
protected io.vertx.core.json.JsonObject keepConfigJson
protected java.lang.String viewUnderTest
protected void beforeEach(io.vertx.core.Vertx vertx)
beforeEach
in class AbstractDatabaseHandlerTest
vertx
- protected java.util.List<com.hcl.domino.data.CollectionEntry> getMockEntryList(int count)
protected void initRequest(com.hcl.domino.keep.dbrequests.AsyncDominoJNX<io.vertx.core.json.JsonObject> ourRequest)
protected abstract int plannedResultCount()
protected abstract java.lang.String viewName()