public abstract class AbstractServiceTests
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected VCardContainerStoreService |
cardStoreService |
protected Container |
container |
protected BmContext |
context |
protected SecurityContext |
defaultSecurityContext |
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 VCardStore |
vCardStore |
Constructor and Description |
---|
AbstractServiceTests() |
Modifier and Type | Method and Description |
---|---|
void |
after() |
void |
before() |
protected java.lang.String |
create(VCard card) |
protected VCard |
createAndGet(java.lang.String uid,
VCard card) |
protected Container |
createTestContainer(java.lang.String userUid) |
protected VCard |
defaultVCard() |
protected abstract IAddressBook |
getService(SecurityContext context) |
protected void |
refreshIndexes() |
protected VCardStore vCardStore
protected TagRefStore tagRefStore
protected ItemStore itemStore
protected SecurityContext defaultSecurityContext
protected Container container
protected org.elasticsearch.client.transport.TransportClient esearchClient
protected Container tagContainer
protected Tag tag1
protected Tag tag2
protected TagRef tagRef1
protected TagRef tagRef2
protected BmContext context
protected java.lang.String owner
protected VCardContainerStoreService cardStoreService
public void before() throws java.lang.Exception
java.lang.Exception
protected Container createTestContainer(java.lang.String userUid) throws java.sql.SQLException
java.sql.SQLException
public void after() throws java.lang.Exception
java.lang.Exception
protected abstract IAddressBook getService(SecurityContext context) throws ServerFault
ServerFault
protected java.lang.String create(VCard card)
protected VCard defaultVCard()
protected void refreshIndexes()
Copyright © 2021. All Rights Reserved.