- check(Random, int, int) - Method in interface javaslang.test.Checkable
-
Checks this property.
- check(int, int) - Method in interface javaslang.test.Checkable
-
Checks this property using the default random number generator
Checkable.RNG
.
- check() - Method in interface javaslang.test.Checkable
-
- check(Random, int, int) - Method in class javaslang.test.Property.Property1
-
- check(Random, int, int) - Method in class javaslang.test.Property.Property2
-
- check(Random, int, int) - Method in class javaslang.test.Property.Property3
-
- check(Random, int, int) - Method in class javaslang.test.Property.Property4
-
- check(Random, int, int) - Method in class javaslang.test.Property.Property5
-
- check(Random, int, int) - Method in class javaslang.test.Property.Property6
-
- check(Random, int, int) - Method in class javaslang.test.Property.Property7
-
- check(Random, int, int) - Method in class javaslang.test.Property.Property8
-
- Checkable - Interface in javaslang.test
-
- CheckResult - Interface in javaslang.test
-
Represents the result of a property check which is
Satisfied
, if all tests satisfied the given property
Falsified
, if a counter-example could be discovered that falsified the given property
Erroneous
, if an exception occurred executing the property check
Please note that a Satisfied
property check may be Exhausted
, if the property is an implication
and no sample could be found that satisfied the pre-condition.
- CheckResult.Erroneous - Class in javaslang.test
-
Represents an erroneous property check.
- CheckResult.Falsified - Class in javaslang.test
-
Represents a falsified property check.
- CheckResult.Satisfied - Class in javaslang.test
-
Represents a satisfied property check.
- choose(int, int) - Static method in interface javaslang.test.Gen
-
Chooses an int between min and max, bounds inclusive and numbers distributed according to the distribution of
the underlying random number generator.
- choose(long, long) - Static method in interface javaslang.test.Gen
-
Chooses a long between min and max, bounds inclusive and numbers distributed according to the distribution of
the underlying random number generator.
- choose(double, double) - Static method in interface javaslang.test.Gen
-
Chooses a double between min and max, bounds inclusive and numbers distributed according to the distribution
of the underlying random number generator.
- choose(char, char) - Static method in interface javaslang.test.Gen
-
Chooses a char between min and max, bounds inclusive and chars distributed according to the underlying random
number generator.
- choose(Class<T>) - Static method in interface javaslang.test.Gen
-
Chooses an enum value from all the enum constants defined in the enumerated type.
- choose(T[]) - Static method in interface javaslang.test.Gen
-
Chooses a value from all values in the array.
- choose(Iterable<T>) - Static method in interface javaslang.test.Gen
-
Chooses a value from all values in the iterable
- count() - Method in interface javaslang.test.CheckResult
-
The number of checks performed using random generated input data.
- count() - Method in class javaslang.test.CheckResult.Erroneous
-
- count() - Method in class javaslang.test.CheckResult.Falsified
-
- count() - Method in class javaslang.test.CheckResult.Satisfied
-
- fail() - Static method in interface javaslang.test.Gen
-
A failing generator which throws a RuntimeException("failed").
- fail(String) - Static method in interface javaslang.test.Gen
-
A failing generator which throws a RuntimeException.
- filter(Predicate<? super T>) - Method in interface javaslang.test.Arbitrary
-
Returns an Arbitrary based on this Arbitrary which produces values that fulfill the given predicate.
- filter(Predicate<? super T>) - Method in interface javaslang.test.Gen
-
Returns a generator based on this generator which produces values that fulfill the given predicate.
- FILTER_THRESHOLD - Static variable in interface javaslang.test.Gen
-
- flatMap(Function<? super T, ? extends Arbitrary<? extends U>>) - Method in interface javaslang.test.Arbitrary
-
Maps arbitrary objects T to arbitrary object U.
- flatMap(Function<? super T, ? extends Gen<? extends U>>) - Method in interface javaslang.test.Gen
-
Maps generated Ts to Us.
- forAll(Arbitrary<T1>) - Method in class javaslang.test.Property
-
Returns a logical for all quantor of 1 given variables.
- forAll(Arbitrary<T1>, Arbitrary<T2>) - Method in class javaslang.test.Property
-
Returns a logical for all quantor of 2 given variables.
- forAll(Arbitrary<T1>, Arbitrary<T2>, Arbitrary<T3>) - Method in class javaslang.test.Property
-
Returns a logical for all quantor of 3 given variables.
- forAll(Arbitrary<T1>, Arbitrary<T2>, Arbitrary<T3>, Arbitrary<T4>) - Method in class javaslang.test.Property
-
Returns a logical for all quantor of 4 given variables.
- forAll(Arbitrary<T1>, Arbitrary<T2>, Arbitrary<T3>, Arbitrary<T4>, Arbitrary<T5>) - Method in class javaslang.test.Property
-
Returns a logical for all quantor of 5 given variables.
- forAll(Arbitrary<T1>, Arbitrary<T2>, Arbitrary<T3>, Arbitrary<T4>, Arbitrary<T5>, Arbitrary<T6>) - Method in class javaslang.test.Property
-
Returns a logical for all quantor of 6 given variables.
- forAll(Arbitrary<T1>, Arbitrary<T2>, Arbitrary<T3>, Arbitrary<T4>, Arbitrary<T5>, Arbitrary<T6>, Arbitrary<T7>) - Method in class javaslang.test.Property
-
Returns a logical for all quantor of 7 given variables.
- forAll(Arbitrary<T1>, Arbitrary<T2>, Arbitrary<T3>, Arbitrary<T4>, Arbitrary<T5>, Arbitrary<T6>, Arbitrary<T7>, Arbitrary<T8>) - Method in class javaslang.test.Property
-
Returns a logical for all quantor of 8 given variables.
- frequency(Tuple2<Integer, Gen<T>>...) - Static method in interface javaslang.test.Gen
-
Chooses one of the given generators according to their frequency.
- frequency(Iterable<Tuple2<Integer, Gen<T>>>) - Static method in interface javaslang.test.Gen
-
Chooses one of the given generators according to their frequency.
- peek(Consumer<? super T>) - Method in interface javaslang.test.Arbitrary
-
- peek(Consumer<? super T>) - Method in interface javaslang.test.Gen
-
- Property - Class in javaslang.test
-
A property builder which provides a fluent API to build checkable properties.
- Property.ForAll1<T1> - Class in javaslang.test
-
Represents a logical for all quantor.
- Property.ForAll2<T1,T2> - Class in javaslang.test
-
Represents a logical for all quantor.
- Property.ForAll3<T1,T2,T3> - Class in javaslang.test
-
Represents a logical for all quantor.
- Property.ForAll4<T1,T2,T3,T4> - Class in javaslang.test
-
Represents a logical for all quantor.
- Property.ForAll5<T1,T2,T3,T4,T5> - Class in javaslang.test
-
Represents a logical for all quantor.
- Property.ForAll6<T1,T2,T3,T4,T5,T6> - Class in javaslang.test
-
Represents a logical for all quantor.
- Property.ForAll7<T1,T2,T3,T4,T5,T6,T7> - Class in javaslang.test
-
Represents a logical for all quantor.
- Property.ForAll8<T1,T2,T3,T4,T5,T6,T7,T8> - Class in javaslang.test
-
Represents a logical for all quantor.
- Property.Property1<T1> - Class in javaslang.test
-
Represents a 1-ary checkable property.
- Property.Property2<T1,T2> - Class in javaslang.test
-
Represents a 2-ary checkable property.
- Property.Property3<T1,T2,T3> - Class in javaslang.test
-
Represents a 3-ary checkable property.
- Property.Property4<T1,T2,T3,T4> - Class in javaslang.test
-
Represents a 4-ary checkable property.
- Property.Property5<T1,T2,T3,T4,T5> - Class in javaslang.test
-
Represents a 5-ary checkable property.
- Property.Property6<T1,T2,T3,T4,T5,T6> - Class in javaslang.test
-
Represents a 6-ary checkable property.
- Property.Property7<T1,T2,T3,T4,T5,T6,T7> - Class in javaslang.test
-
Represents a 7-ary checkable property.
- Property.Property8<T1,T2,T3,T4,T5,T6,T7,T8> - Class in javaslang.test
-
Represents a 8-ary checkable property.
- propertyName() - Method in class javaslang.test.CheckResult.Erroneous
-
- propertyName() - Method in class javaslang.test.CheckResult.Falsified
-
- propertyName() - Method in interface javaslang.test.CheckResult
-
The name of the checked property this result refers to.
- propertyName() - Method in class javaslang.test.CheckResult.Satisfied
-