Class CheckResult.Erroneous
java.lang.Object
io.vavr.test.CheckResult.Erroneous
- All Implemented Interfaces:
CheckResult, Serializable
- Enclosing interface:
CheckResult
Represents an erroneous property check.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface CheckResult
CheckResult.Erroneous, CheckResult.Falsified, CheckResult.Satisfied -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcount()The number of checks performed using random generated input data.(package private) booleandeepEquals(Throwable t1, Throwable t2) (package private) intbooleanerror()An optional error.inthashCode()booleanIf this check result is erroneous as specified above.booleanIf this check result is exhausted as specified above.booleanIf this check result is falsified as specified above.booleanIf this check result is satisfied as specified above.The name of the checked property this result refers to.sample()An optional sample which falsified the property or which lead to an error.toString()Methods inherited from interface CheckResult
assertIsErroneous, assertIsFalsified, assertIsSatisfied, assertIsSatisfiedWithExhaustion
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
propertyName
-
count
private final int count -
error
-
sample
-
-
Constructor Details
-
Erroneous
-
-
Method Details
-
isSatisfied
public boolean isSatisfied()Description copied from interface:CheckResultIf this check result is satisfied as specified above.- Specified by:
isSatisfiedin interfaceCheckResult- Returns:
- true, if this check result is satisfied, false otherwise
-
isFalsified
public boolean isFalsified()Description copied from interface:CheckResultIf this check result is falsified as specified above.- Specified by:
isFalsifiedin interfaceCheckResult- Returns:
- true, if this check result is falsified, false otherwise
-
isErroneous
public boolean isErroneous()Description copied from interface:CheckResultIf this check result is erroneous as specified above.- Specified by:
isErroneousin interfaceCheckResult- Returns:
- true, if this check result is erroneous, false otherwise
-
isExhausted
public boolean isExhausted()Description copied from interface:CheckResultIf this check result is exhausted as specified above.- Specified by:
isExhaustedin interfaceCheckResult- Returns:
- true, if this check result is exhausted, false otherwise
-
propertyName
Description copied from interface:CheckResultThe name of the checked property this result refers to.- Specified by:
propertyNamein interfaceCheckResult- Returns:
- a property name
-
count
public int count()Description copied from interface:CheckResultThe number of checks performed using random generated input data.- Specified by:
countin interfaceCheckResult- Returns:
- the number of checks performed
-
sample
Description copied from interface:CheckResultAn optional sample which falsified the property or which lead to an error.- Specified by:
samplein interfaceCheckResult- Returns:
- an optional sample
-
error
Description copied from interface:CheckResultAn optional error.- Specified by:
errorin interfaceCheckResult- Returns:
- an optional error
-
equals
-
deepEquals
-
hashCode
-
deepHashCode
-
toString
-