public class AbstractTestClass
extends java.lang.Object
Constructor and Description |
---|
AbstractTestClass() |
Modifier and Type | Method and Description |
---|---|
protected void |
assertTesterType() |
protected void |
checkMaximumVersion(java.lang.String reason,
int... vrmf)
Only run a test at a specific maximum version or lower.
|
protected void |
checkMinimumVersion(java.lang.String reason,
int... vrmf)
Only run a test at a specific minimum version or higher.
|
boolean |
complete(Tester tester,
Condition<?> endCondition,
long timeout,
java.util.concurrent.TimeUnit unit)
Test a topology that may run forever.
|
java.util.Map<java.lang.String,java.lang.Object> |
getConfig() |
StreamsContext.Type |
getDefaultTesterType() |
int |
getDefaultTimeout() |
StreamsContext<?> |
getTesterContext()
Return the default context for tests.
|
StreamsContext.Type |
getTesterType() |
Topology |
newTopology() |
void |
setTesterType() |
protected void |
skipVersion(java.lang.String reason,
int... vrmf)
Allow a test to be skipped for a specific version.
|
protected void |
splOK() |
boolean |
verifyComplete(Tester tester,
Condition<?> endCondition,
long timeout,
java.util.concurrent.TimeUnit unit) |
void |
verifyComplete(Tester tester,
Condition<?> endCondition) |
public void setTesterType()
protected void assertTesterType()
public StreamsContext.Type getDefaultTesterType()
public int getDefaultTimeout()
public StreamsContext.Type getTesterType()
public java.util.Map<java.lang.String,java.lang.Object> getConfig()
public StreamsContext<?> getTesterContext()
protected void splOK()
protected void checkMinimumVersion(java.lang.String reason, int... vrmf)
protected void checkMaximumVersion(java.lang.String reason, int... vrmf)
protected void skipVersion(java.lang.String reason, int... vrmf)
public Topology newTopology()
public boolean complete(Tester tester, Condition<?> endCondition, long timeout, java.util.concurrent.TimeUnit unit) throws java.lang.Exception
java.lang.Exception
public boolean verifyComplete(Tester tester, Condition<?> endCondition, long timeout, java.util.concurrent.TimeUnit unit) throws java.lang.Exception
java.lang.Exception