public final class ExpectationVisitor extends Object implements ResultVisitor
| Constructor and Description |
|---|
ExpectationVisitor(StringBuilder builder) |
| Modifier and Type | Method and Description |
|---|---|
void |
actual(Object actualValue,
Result result) |
void |
aggregation(Object description,
String glue,
List<Result> itemResults,
boolean result) |
void |
error(Throwable throwable) |
void |
expectation(Object expectation,
boolean result) |
void |
invert(Result result) |
void |
tableAggregation(Object prefix,
List<Check<?>> checks,
List<?> items,
List<TableInResult.Cell> results,
boolean value) |
String |
toString() |
void |
transformation(Object name,
Result dependency,
boolean result) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitvisitpublic ExpectationVisitor(StringBuilder builder)
public void actual(Object actualValue, Result result)
actual in interface ResultVisitorpublic void expectation(Object expectation, boolean result)
expectation in interface ResultVisitorpublic void transformation(Object name, Result dependency, boolean result)
transformation in interface ResultVisitorpublic void aggregation(Object description, String glue, List<Result> itemResults, boolean result)
aggregation in interface ResultVisitorpublic void tableAggregation(Object prefix, List<Check<?>> checks, List<?> items, List<TableInResult.Cell> results, boolean value)
tableAggregation in interface ResultVisitorpublic void error(Throwable throwable)
error in interface ResultVisitorpublic void invert(Result result)
invert in interface ResultVisitorCopyright © 2021. All rights reserved.