public abstract class ClientTestBase extends Object
| Constructor and Description |
|---|
ClientTestBase() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkInteractionCorrelationIdentifiers(org.hawkular.btm.api.model.btxn.Producer producer,
org.hawkular.btm.api.model.btxn.Consumer consumer)
This method checks that two correlation identifiers are equivalent.
|
void |
close() |
protected <T extends org.hawkular.btm.api.model.btxn.Node> |
findNodes(List<org.hawkular.btm.api.model.btxn.Node> nodes,
Class<T> cls,
List<T> results)
This method finds nodes within a hierarchy of the required type.
|
int |
getPort() |
TestBTMServer |
getTestBTMServer() |
void |
init() |
protected boolean |
isProcessContent() |
protected boolean |
isProcessHeaders() |
protected void |
setProcessContent(boolean b) |
protected void |
setProcessHeaders(boolean b) |
void |
setTestBTMServer(TestBTMServer testBTMServer) |
public int getPort()
public void init()
public void close()
public TestBTMServer getTestBTMServer()
public void setTestBTMServer(TestBTMServer testBTMServer)
testBTMServer - the testBTMServer to setprotected void checkInteractionCorrelationIdentifiers(org.hawkular.btm.api.model.btxn.Producer producer,
org.hawkular.btm.api.model.btxn.Consumer consumer)
producer - The producerconsumer - The consumerprotected <T extends org.hawkular.btm.api.model.btxn.Node> void findNodes(List<org.hawkular.btm.api.model.btxn.Node> nodes, Class<T> cls, List<T> results)
nodes - The nodes to recursively checkcls - The class of interestresults - The resultsprotected void setProcessHeaders(boolean b)
protected void setProcessContent(boolean b)
protected boolean isProcessHeaders()
protected boolean isProcessContent()
Copyright © 2015 Red Hat, Inc.. All rights reserved.