Used for specifying properties.
Used for specifying properties. Usage:
property("myProp") = ...
Returns a new property that holds if and only if both this and the given property hold.
Returns a new property that holds if and only if both this and the given property hold. If one of the properties doesn't generate a result, the new property will generate false.
Returns a new property that holds if and only if both this and the given property hold.
Returns a new property that holds if and only if both this and the given property hold. If one of the properties doesn't generate a result, the new property will generate the same result as the other property.
Put a label on the property to make test reports clearer
Put a label on the property to make test reports clearer
Put a label on the property to make test reports clearer
Put a label on the property to make test reports clearer
Returns a new property that holds if and only if both this and the given property generates a result with the exact same status.
Returns a new property that holds if and only if both this and the given property generates a result with the exact same status. Note that this means that if one of the properties is proved, and the other one passed, then the resulting property will fail.
Combines two properties through implication
Combines two properties through implication
Convenience method that checks the properties and reports the result on the console.
Convenience method that checks the properties and reports the
result on the console. If you need to get the results from the test use
the check
methods in org.scalacheck.Test instead.
Convenience method that checks the properties with the given parameters and reports the result on the console.
Convenience method that checks the properties with the given parameters
and reports the result on the console. If you need to get the results
from the test use the check
methods in org.scalacheck.Test
instead.
Convenience method that checks this property and reports the result on the console.
Convenience method that checks this property and reports the result on the console. The provided argument should be a function that takes the default test parameters (Test.Parameters.default) as input and outputs a modified Test.Parameters instance that Example use:
p.check(_.withMinSuccessfulTests(500)) p.check { _. withMinSuccessfulTests(80000). withWorkers(4) }
Adds all properties from another property collection to this one with a prefix this is prepended to each included property's name.
Adds all properties from another property collection to this one
Put a label on the property to make test reports clearer
Put a label on the property to make test reports clearer
Convenience method that makes it possible to use this property as an application that checks itself on execution
Convenience method that makes it possible to use this property as an application that checks itself on execution
Whether main should call System.exit with an exit code.
Whether main should call System.exit with an exit code. Defaults to true; override to change.
The logic for main, separated out to make it easier to avoid System.exit calls.
The logic for main, separated out to make it easier to avoid System.exit calls. Returns exit code.
Returns all properties of this collection in a list of name/property pairs.
Put a label on the property to make test reports clearer
Put a label on the property to make test reports clearer
Put a label on the property to make test reports clearer
Put a label on the property to make test reports clearer
Returns a new property that holds if either this or the given property (or both) hold.
Returns a new property that holds if either this or the given property (or both) hold.
Represents a collection of properties, with convenient methods for checking all properties at once. This class is itself a property, which holds if and only if all of the contained properties hold.
Properties are added in the following way: