public class TestEventTree extends EventTree
Modifier and Type | Field and Description |
---|---|
protected java.lang.String[] |
expected |
CONFIG_KEY, root
Constructor and Description |
---|
TestEventTree() |
TestEventTree(Event root) |
Modifier and Type | Method and Description |
---|---|
boolean |
checkPath(Event lastEvent)
this should be overridden in case we want to check if this is an expected trace
The generic form can only check if this is a valid end event.
|
float |
getPathCoverage(java.lang.String[] expected) |
boolean |
isCompletelyCovered()
override this if the concrete model can keep track of coverage
call at the end of execution
|
boolean |
isCompletelyCovered(java.lang.String[] expected) |
addPath, checkPath, createRoot, getMaxDepth, getPathCoverage, getRoot, interleave, interleave, printPaths, printTree, removeSource, visibleEndEvents
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
alternatives, anyCombination, anyPermutation, event, event, generatePermutation, iteration, sequence
public TestEventTree()
public TestEventTree(Event root)
public boolean checkPath(Event lastEvent)
EventTree
public boolean isCompletelyCovered()
EventTree
isCompletelyCovered
in class EventTree
public boolean isCompletelyCovered(java.lang.String[] expected)
public float getPathCoverage(java.lang.String[] expected)