public class ValueRecorder
extends Object
Records values produced during evaluation of an assertion statement's truth expression.
| Type Params | Return Type | Name and description |
|---|---|---|
|
public void |
clear()Removes all values recorded for the current assertion evaluation. |
|
public List<Value> |
getValues()Returns the recorded values in recording order. |
|
public Object |
record(Object value, int anchor)Records a value at the supplied anchor column and returns it unchanged. |
Removes all values recorded for the current assertion evaluation.
Returns the recorded values in recording order.
Records a value at the supplied anchor column and returns it unchanged.
value - the value produced while evaluating the assertionanchor - the 1-based column in the normalized assertion text, or a
non-positive value if the position is unknownvalue