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, visibleEndEventsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitalternatives, anyCombination, anyPermutation, event, event, generatePermutation, iteration, sequencepublic TestEventTree()
public TestEventTree(Event root)
public boolean checkPath(Event lastEvent)
EventTreepublic boolean isCompletelyCovered()
EventTreeisCompletelyCovered in class EventTreepublic boolean isCompletelyCovered(java.lang.String[] expected)
public float getPathCoverage(java.lang.String[] expected)