public class PropertyContext
A class PropertyContext is used when executing a propery test.
It allows feedback and tracking of the state of the property test.
class PropertyContext| Constructor and Description |
|---|
PropertyContext()
A
class PropertyContext is used when executing a propery test.
It allows feedback and tracking of the state of the property test. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addValue(java.lang.Object any) |
int |
attempts() |
java.util.Map<java.lang.String,java.lang.Integer> |
classificationCounts() |
void |
classify(boolean condition,
java.lang.String trueLabel) |
void |
classify(boolean condition,
java.lang.String trueLabel,
java.lang.String falseLabel) |
java.util.List<java.lang.Object> |
values() |
public PropertyContext()
A class PropertyContext is used when executing a propery test.
It allows feedback and tracking of the state of the property test.
class PropertyContextpublic int attempts()
public boolean addValue(java.lang.Object any)
public java.util.List<java.lang.Object> values()
public java.util.Map<java.lang.String,java.lang.Integer> classificationCounts()
public void classify(boolean condition,
java.lang.String trueLabel)
public void classify(boolean condition,
java.lang.String trueLabel,
java.lang.String falseLabel)