Satisfied, if all tests satisfied the given propertyFalsified, if a counter-example could be discovered that falsified the given propertyErroneous, if an exception occurred executing the property checkSatisfied property check may be Exhausted, if the property is an implication
and no sample could be found that satisfied the pre-condition. In this case the post-condition is satisfied by
definition (see ex falso quodlibet).
| Modifier and Type | Class and Description |
|---|---|
| public static class | CheckResult.
Represents an erroneous property check. |
| public static class | CheckResult.
Represents a falsified property check. |
| public static class | CheckResult.
Represents a satisfied property check. |
| Modifier and Type | Method and Description |
|---|---|
| public default void | |
| public default void | |
| public default void | |
| public default void | assertIsSatisfiedWithExhaustion(boolean
The exhausted state to be checked in the case of a satisfied CheckResult. exhausted)Asserts that this CheckResult is satisfied with a given exhausted state. |
| public int | Returns: the number of checks performedThe number of checks performed using random generated input data. |
| public Option | |
| public boolean | Returns: true, if this check result is erroneous, false otherwiseIf this check result is erroneous as specified above. |
| public boolean | Returns: true, if this check result is exhausted, false otherwiseIf this check result is exhausted as specified above. |
| public boolean | Returns: true, if this check result is falsified, false otherwiseIf this check result is falsified as specified above. |
| public boolean | Returns: true, if this check result is satisfied, false otherwiseIf this check result is satisfied as specified above. |
| public String | |
| public Option | Returns: an optional sampleAn optional sample which falsified the property or which lead to an error. |
| assertIsErroneous | back to summary |
|---|---|
| public default void assertIsErroneous() Asserts that this CheckResult is erroneous.
| |
| assertIsFalsified | back to summary |
|---|---|
| public default void assertIsFalsified() Asserts that this CheckResult is falsified.
| |
| assertIsSatisfied | back to summary |
|---|---|
| public default void assertIsSatisfied() Asserts that this CheckResult is satisfied.
| |
| assertIsSatisfiedWithExhaustion | back to summary |
|---|---|
| public default void assertIsSatisfiedWithExhaustion(boolean exhausted) Asserts that this CheckResult is satisfied with a given exhausted state.
| |
| count | back to summary |
|---|---|
| public int count() The number of checks performed using random generated input data.
| |
| error | back to summary |
|---|---|
| public Option An optional error. | |
| isErroneous | back to summary |
|---|---|
| public boolean isErroneous() If this check result is erroneous as specified above.
| |
| isExhausted | back to summary |
|---|---|
| public boolean isExhausted() If this check result is exhausted as specified above.
| |
| isFalsified | back to summary |
|---|---|
| public boolean isFalsified() If this check result is falsified as specified above.
| |
| isSatisfied | back to summary |
|---|---|
| public boolean isSatisfied() If this check result is satisfied as specified above.
| |
| propertyName | back to summary |
|---|---|
| public String propertyName() The name of the checked property this result refers to.
| |
| sample | back to summary |
|---|---|
| public Option An optional sample which falsified the property or which lead to an error. | |
| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private final Error | |
| private final String | |
| private final Option | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | count()
Implements io. The number of checks performed using random generated input data. |
| pack-priv boolean | |
| pack-priv int | |
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. Indicates whether some other object is "equal to" this one. |
| public Option | |
| public int | |
| public boolean | isErroneous()
Implements io. If this check result is erroneous as specified above. |
| public boolean | isExhausted()
Implements io. If this check result is exhausted as specified above. |
| public boolean | isFalsified()
Implements io. If this check result is falsified as specified above. |
| public boolean | isSatisfied()
Implements io. If this check result is satisfied as specified above. |
| public String | propertyName()
Implements io. The name of the checked property this result refers to. |
| public Option | sample()
Implements io. An optional sample which falsified the property or which lead to an error. |
| public String |
| count | back to summary |
|---|---|
| private final int count | |
| error | back to summary |
|---|---|
| private final Error error | |
| propertyName | back to summary |
|---|---|
| private final String propertyName | |
| sample | back to summary |
|---|---|
| private final Option<Tuple> sample | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| Erroneous | back to summary |
|---|---|
| pack-priv Erroneous(String propertyName, int count, Error error, Option<Tuple> sample) | |
| count | back to summary |
|---|---|
| public int count() Implements io. Doc from io. The number of checks performed using random generated input data.
| |
| deepEquals | back to summary |
|---|---|
| pack-priv boolean deepEquals(Throwable t1, Throwable t2) | |
| deepHashCode | back to summary |
|---|---|
| pack-priv int deepHashCode(Throwable t) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| error | back to summary |
|---|---|
| public Option Implements io. Doc from io. An optional error. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| isErroneous | back to summary |
|---|---|
| public boolean isErroneous() Implements io. Doc from io. If this check result is erroneous as specified above.
| |
| isExhausted | back to summary |
|---|---|
| public boolean isExhausted() Implements io. Doc from io. If this check result is exhausted as specified above.
| |
| isFalsified | back to summary |
|---|---|
| public boolean isFalsified() Implements io. Doc from io. If this check result is falsified as specified above.
| |
| isSatisfied | back to summary |
|---|---|
| public boolean isSatisfied() Implements io. Doc from io. If this check result is satisfied as specified above.
| |
| propertyName | back to summary |
|---|---|
| public String propertyName() Implements io. Doc from io. The name of the checked property this result refers to. | |
| sample | back to summary |
|---|---|
| public Option Implements io. Doc from io. An optional sample which falsified the property or which lead to an error. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private final String | |
| private final Tuple | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | count()
Implements io. The number of checks performed using random generated input data. |
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. Indicates whether some other object is "equal to" this one. |
| public Option | |
| public int | |
| public boolean | isErroneous()
Implements io. If this check result is erroneous as specified above. |
| public boolean | isExhausted()
Implements io. If this check result is exhausted as specified above. |
| public boolean | isFalsified()
Implements io. If this check result is falsified as specified above. |
| public boolean | isSatisfied()
Implements io. If this check result is satisfied as specified above. |
| public String | propertyName()
Implements io. The name of the checked property this result refers to. |
| public Option | sample()
Implements io. An optional sample which falsified the property or which lead to an error. |
| public String |
| count | back to summary |
|---|---|
| private final int count | |
| propertyName | back to summary |
|---|---|
| private final String propertyName | |
| sample | back to summary |
|---|---|
| private final Tuple sample | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| Falsified | back to summary |
|---|---|
| pack-priv Falsified(String propertyName, int count, Tuple sample) | |
| count | back to summary |
|---|---|
| public int count() Implements io. Doc from io. The number of checks performed using random generated input data.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| error | back to summary |
|---|---|
| public Option Implements io. Doc from io. An optional error. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| isErroneous | back to summary |
|---|---|
| public boolean isErroneous() Implements io. Doc from io. If this check result is erroneous as specified above.
| |
| isExhausted | back to summary |
|---|---|
| public boolean isExhausted() Implements io. Doc from io. If this check result is exhausted as specified above.
| |
| isFalsified | back to summary |
|---|---|
| public boolean isFalsified() Implements io. Doc from io. If this check result is falsified as specified above.
| |
| isSatisfied | back to summary |
|---|---|
| public boolean isSatisfied() Implements io. Doc from io. If this check result is satisfied as specified above.
| |
| propertyName | back to summary |
|---|---|
| public String propertyName() Implements io. Doc from io. The name of the checked property this result refers to. | |
| sample | back to summary |
|---|---|
| public Option Implements io. Doc from io. An optional sample which falsified the property or which lead to an error. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private final boolean | |
| private final String | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | count()
Implements io. The number of checks performed using random generated input data. |
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. Indicates whether some other object is "equal to" this one. |
| public Option | |
| public int | |
| public boolean | isErroneous()
Implements io. If this check result is erroneous as specified above. |
| public boolean | isExhausted()
Implements io. If this check result is exhausted as specified above. |
| public boolean | isFalsified()
Implements io. If this check result is falsified as specified above. |
| public boolean | isSatisfied()
Implements io. If this check result is satisfied as specified above. |
| public String | propertyName()
Implements io. The name of the checked property this result refers to. |
| public Option | sample()
Implements io. An optional sample which falsified the property or which lead to an error. |
| public String |
| count | back to summary |
|---|---|
| private final int count | |
| exhausted | back to summary |
|---|---|
| private final boolean exhausted | |
| propertyName | back to summary |
|---|---|
| private final String propertyName | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| Satisfied | back to summary |
|---|---|
| pack-priv Satisfied(String propertyName, int count, boolean exhausted) | |
| count | back to summary |
|---|---|
| public int count() Implements io. Doc from io. The number of checks performed using random generated input data.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| error | back to summary |
|---|---|
| public Option Implements io. Doc from io. An optional error. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| isErroneous | back to summary |
|---|---|
| public boolean isErroneous() Implements io. Doc from io. If this check result is erroneous as specified above.
| |
| isExhausted | back to summary |
|---|---|
| public boolean isExhausted() Implements io. Doc from io. If this check result is exhausted as specified above.
| |
| isFalsified | back to summary |
|---|---|
| public boolean isFalsified() Implements io. Doc from io. If this check result is falsified as specified above.
| |
| isSatisfied | back to summary |
|---|---|
| public boolean isSatisfied() Implements io. Doc from io. If this check result is satisfied as specified above.
| |
| propertyName | back to summary |
|---|---|
| public String propertyName() Implements io. Doc from io. The name of the checked property this result refers to. | |
| sample | back to summary |
|---|---|
| public Option Implements io. Doc from io. An optional sample which falsified the property or which lead to an error. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |