public class CheckVisitorDecorator extends Object implements CheckVisitor
NONE| Constructor and Description |
|---|
CheckVisitorDecorator(CheckVisitor visitor,
CheckVisitor decorator) |
| Modifier and Type | Method and Description |
|---|---|
CheckVisitor |
label(Check<?> check) |
CheckVisitor |
negative(Check<?> check) |
CheckVisitor |
node(Check<?> check)
Notify, that this is a node, that will contain a subtree of the evaluation of children.
|
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 CheckVisitorDecorator(CheckVisitor visitor, CheckVisitor decorator)
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<?> check)
CheckVisitornode in interface CheckVisitorcheck - Name of the node.public CheckVisitor label(Check<?> check)
label in interface CheckVisitorpublic CheckVisitor negative(Check<?> check)
negative in interface CheckVisitorpublic void trace(Object data, boolean result)
trace in interface CheckVisitorCopyright © 2018. All rights reserved.