public abstract class RouteTestBase extends Object
| Modifier and Type | Field and Description |
|---|---|
protected com.v5analytics.webster.HandlerChain |
chain |
protected org.visallo.core.config.Configuration |
configuration |
protected org.vertexium.Graph |
graph |
protected org.visallo.core.model.graph.GraphRepository |
graphRepository |
protected javax.servlet.http.HttpSession |
httpSession |
protected org.visallo.core.user.User |
nonProxiedUser |
protected org.visallo.core.model.ontology.OntologyRepository |
ontologyRepository |
protected javax.servlet.http.HttpServletRequest |
request |
protected ResourceBundle |
resourceBundle |
protected javax.servlet.http.HttpServletResponse |
response |
protected SessionUser |
sessionUser |
protected org.visallo.core.model.termMention.TermMentionRepository |
termMentionRepository |
protected org.visallo.core.user.ProxyUser |
user |
static String |
USER_ID |
protected org.visallo.core.model.user.UserRepository |
userRepository |
protected org.visallo.core.security.VisibilityTranslator |
visibilityTranslator |
protected org.visallo.core.model.workQueue.WorkQueueRepository |
workQueueRepository |
static String |
WORKSPACE_ID |
protected org.visallo.core.model.workspace.WorkspaceHelper |
workspaceHelper |
protected org.visallo.core.model.workspace.WorkspaceRepository |
workspaceRepository |
| Constructor and Description |
|---|
RouteTestBase() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
before() |
protected org.vertexium.inmemory.InMemoryGraph |
createGraph() |
protected ResourceBundle |
createResourceBundle() |
protected org.visallo.core.security.DirectVisibilityTranslator |
createVisibilityTranslator() |
protected Map<String,Object> |
getGraphConfiguration() |
protected byte[] |
getResponse() |
protected void |
setArrayParameter(String parameterName,
String[] values) |
protected void |
setParameter(String parameterName,
org.json.JSONArray json) |
protected void |
setParameter(String parameterName,
String value) |
public static final String WORKSPACE_ID
public static final String USER_ID
@Mock protected org.visallo.core.model.user.UserRepository userRepository
@Mock protected javax.servlet.http.HttpServletRequest request
@Mock protected javax.servlet.http.HttpServletResponse response
@Mock protected com.v5analytics.webster.HandlerChain chain
@Mock protected org.visallo.core.model.ontology.OntologyRepository ontologyRepository
@Mock protected org.visallo.core.model.workspace.WorkspaceRepository workspaceRepository
@Mock protected org.visallo.core.model.termMention.TermMentionRepository termMentionRepository
@Mock protected org.visallo.core.model.workspace.WorkspaceHelper workspaceHelper
@Mock protected org.visallo.core.model.graph.GraphRepository graphRepository
@Mock protected org.visallo.core.model.workQueue.WorkQueueRepository workQueueRepository
protected ResourceBundle resourceBundle
protected org.visallo.core.security.VisibilityTranslator visibilityTranslator
protected org.visallo.core.config.Configuration configuration
protected org.vertexium.Graph graph
@Mock protected javax.servlet.http.HttpSession httpSession
protected SessionUser sessionUser
protected org.visallo.core.user.ProxyUser user
protected org.visallo.core.user.User nonProxiedUser
protected void before()
throws IOException
IOExceptionprotected ResourceBundle createResourceBundle()
protected org.vertexium.inmemory.InMemoryGraph createGraph()
protected org.visallo.core.security.DirectVisibilityTranslator createVisibilityTranslator()
protected byte[] getResponse()
protected void setParameter(String parameterName, org.json.JSONArray json)
Copyright © 2013–2016 V5 Analytics. All rights reserved.