public final class MismatchVisitor extends Object implements CheckVisitor
NONE| Constructor and Description |
|---|
MismatchVisitor() |
| Modifier and Type | Method and Description |
|---|---|
CheckVisitor |
label(Check<?> name) |
CheckVisitor |
negative(Check<?> name) |
CheckVisitor |
node(Check<?> name)
Notify, that this is a node, that will contain a subtree of the evaluation of children.
|
String |
toString() |
void |
trace(Object data,
boolean result) |
void |
trace(String expectation,
Object actualValue,
boolean result)
Capture simple atomic (leaf) verification with defined expectation, actual value and result of the
evaluation.
|
public void trace(String expectation, Object actualValue, boolean result)
CheckVisitortrace in interface CheckVisitorexpectation - Expectation descriptionactualValue - Actual valueresult - Result of the executed evaluation.public CheckVisitor node(Check<?> name)
CheckVisitornode in interface CheckVisitorname - Name of the node.public CheckVisitor label(Check<?> name)
label in interface CheckVisitorpublic CheckVisitor negative(Check<?> name)
negative in interface CheckVisitorpublic void trace(Object data, boolean result)
trace in interface CheckVisitorCopyright © 2018. All rights reserved.