public abstract class AbstractServiceTests
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected Container |
container |
protected javax.sql.DataSource |
dataDataSource |
protected java.lang.String |
datalocation |
protected BmContext |
defaultContext |
protected SecurityContext |
defaultSecurityContext |
protected java.lang.String |
domainUid |
protected org.elasticsearch.client.transport.TransportClient |
esearchClient |
protected ItemStore |
itemStore |
protected java.lang.String |
owner |
protected Tag |
tag1 |
protected Tag |
tag2 |
protected Container |
tagContainer |
protected TagRef |
tagRef1 |
protected TagRef |
tagRef2 |
protected TagRefStore |
tagRefStore |
protected VNoteStore |
vnoteStore |
protected VNoteContainerStoreService |
vnoteStoreService |
Constructor and Description |
---|
AbstractServiceTests() |
Modifier and Type | Method and Description |
---|---|
void |
after() |
void |
before() |
protected Container |
createTestContainer() |
protected VNote |
defaultVNote() |
protected VNote |
defaultVNote(java.util.List<TagRef> categories) |
protected abstract INote |
getServiceNote(SecurityContext context,
java.lang.String containerUid) |
protected abstract INoteIndexMgmt |
getServiceNoteMgmt(SecurityContext context) |
protected abstract INotes |
getServiceNotes(SecurityContext context) |
protected void |
refreshIndex() |
protected void |
setGlobalExternalUrl() |
protected VNoteStore vnoteStore
protected TagRefStore tagRefStore
protected ItemStore itemStore
protected SecurityContext defaultSecurityContext
protected Container container
protected Container tagContainer
protected Tag tag1
protected Tag tag2
protected TagRef tagRef1
protected TagRef tagRef2
protected BmContext defaultContext
protected VNoteContainerStoreService vnoteStoreService
protected java.lang.String datalocation
protected javax.sql.DataSource dataDataSource
protected java.lang.String domainUid
protected java.lang.String owner
protected org.elasticsearch.client.transport.TransportClient esearchClient
public void before() throws java.lang.Exception
java.lang.Exception
protected Container createTestContainer() throws java.sql.SQLException
java.sql.SQLException
public void after() throws java.lang.Exception
java.lang.Exception
protected abstract INote getServiceNote(SecurityContext context, java.lang.String containerUid) throws ServerFault
ServerFault
protected abstract INoteIndexMgmt getServiceNoteMgmt(SecurityContext context) throws ServerFault
ServerFault
protected abstract INotes getServiceNotes(SecurityContext context) throws ServerFault
ServerFault
protected VNote defaultVNote()
protected void refreshIndex()
protected void setGlobalExternalUrl()
Copyright © 2023. All Rights Reserved.