public static class PathDecomposition.TestData
extends java.lang.Object
Constructor and Description |
---|
PathDecomposition.TestData() |
Modifier and Type | Method and Description |
---|---|
Edge |
getErrorEdge()
Returns the edge which caused failure.
|
Node |
getErrorNode()
Returns the node which caused failure.
|
PathDecomposition.TestResult |
getResult()
Returns whether this TestData denotes success or failure, and which
kind of failure it denotes.
|
boolean |
isOkay()
Determines whether this
TestData object denotes success. |
public PathDecomposition.TestResult getResult()
This method returns one of the following values:
TestResult.OK
- successTestResult.NOT_CONNECTED
- failure; one node occurs in
non-connected subpathsTestResult.EDGE_MISSING
- failure; there is an edge
of which the nodes are not contained together in some bagTestResult.NODE_MISSING
- failure; there is a node
which does not occur in some bagTestData
objectpublic Node getErrorNode()
null
if this TestData
object
denotes success or an error related to an edge.TestData
objectpublic Edge getErrorEdge()
null
if this TestData
object
denotes success or an error related to a node.TestData
objectpublic boolean isOkay()
TestData
object denotes success.true
if this TestData
object
denotes success, false
otherwise