public final class MismatchResultVisitor extends Object implements ResultVisitor
| Constructor and Description |
|---|
MismatchResultVisitor() |
| 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) |
ResultVisitor |
visit(Result result) |
public ResultVisitor visit(Result result)
visit in interface ResultVisitorpublic 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.