public static class CheckResult.Satisfied extends Object implements CheckResult, Serializable
CheckResult.Erroneous, CheckResult.Falsified, CheckResult.Satisfied
Modifier and Type | Method and Description |
---|---|
int |
count()
The number of checks performed using random generated input data.
|
boolean |
equals(Object o) |
Option<Error> |
error()
An optional error.
|
int |
hashCode() |
boolean |
isErroneous()
If this check result is erroneous as specified above.
|
boolean |
isExhausted()
If this check result is exhausted as specified above.
|
boolean |
isFalsified()
If this check result is falsified as specified above.
|
boolean |
isSatisfied()
If this check result is satisfied as specified above.
|
String |
propertyName()
The name of the checked property this result refers to.
|
Option<Tuple> |
sample()
An optional sample which falsified the property or which lead to an error.
|
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
assertIsErroneous, assertIsFalsified, assertIsSatisfied, assertIsSatisfiedWithExhaustion
public boolean isSatisfied()
CheckResult
isSatisfied
in interface CheckResult
public boolean isFalsified()
CheckResult
isFalsified
in interface CheckResult
public boolean isErroneous()
CheckResult
isErroneous
in interface CheckResult
public boolean isExhausted()
CheckResult
isExhausted
in interface CheckResult
public String propertyName()
CheckResult
propertyName
in interface CheckResult
public int count()
CheckResult
count
in interface CheckResult
public Option<Tuple> sample()
CheckResult
sample
in interface CheckResult
public Option<Error> error()
CheckResult
error
in interface CheckResult
Copyright © 2016. All Rights Reserved.