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 java.time.ZoneId |
tz |
protected java.time.ZoneId |
utcTz |
protected VTodoStore |
vtodoStore |
protected VTodoContainerStoreService |
vtodoStoreService |
Constructor and Description |
---|
AbstractServiceTests() |
Modifier and Type | Method and Description |
---|---|
void |
after() |
void |
before() |
protected Container |
createTestContainer() |
protected VTodo |
defaultVTodo() |
protected abstract ITodoList |
getService(SecurityContext context) |
protected void |
refreshIndex() |
protected VTodoStore vtodoStore
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 defaultContext
protected java.time.ZoneId tz
protected java.time.ZoneId utcTz
protected VTodoContainerStoreService vtodoStoreService
protected java.lang.String datalocation
protected javax.sql.DataSource dataDataSource
protected java.lang.String domainUid
protected java.lang.String owner
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 ITodoList getService(SecurityContext context) throws ServerFault
ServerFault
protected VTodo defaultVTodo()
protected void refreshIndex()
Copyright © 2021. All Rights Reserved.