diff --git a/build.gradle b/build.gradle index 345d33bda..7636fbad2 100644 --- a/build.gradle +++ b/build.gradle @@ -2,7 +2,7 @@ ext { junitPlatformVersion = '1.4.1' junitJupiterVersion = '5.4.1' moduleName = 'net.jqwik' - jqwikVersion = '1.1.3-SNAPSHOT' + jqwikVersion = '1.1.3' } allprojects { diff --git a/docs/_layouts/default.html b/docs/_layouts/default.html index da142cec5..645dfca6b 100644 --- a/docs/_layouts/default.html +++ b/docs/_layouts/default.html @@ -22,7 +22,7 @@ View on GitHub

{{ site.title | default: site.github.repository_name }} - Latest Release: 1.1.2 + Latest Release: 1.1.3

Property-Based Testing in Java

diff --git a/docs/docs/1.1.3/javadoc/allclasses-frame.html b/docs/docs/1.1.3/javadoc/allclasses-frame.html new file mode 100644 index 000000000..5bf390cb9 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/allclasses-frame.html @@ -0,0 +1,155 @@ + + + + + +All Classes (documentation 1.1.3 API) + + + + + +

All Classes

+
+ +
+ + diff --git a/docs/docs/1.1.3/javadoc/allclasses-noframe.html b/docs/docs/1.1.3/javadoc/allclasses-noframe.html new file mode 100644 index 000000000..7697863f1 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/allclasses-noframe.html @@ -0,0 +1,155 @@ + + + + + +All Classes (documentation 1.1.3 API) + + + + + +

All Classes

+
+ +
+ + diff --git a/docs/docs/1.1.3/javadoc/constant-values.html b/docs/docs/1.1.3/javadoc/constant-values.html new file mode 100644 index 000000000..380226b63 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/constant-values.html @@ -0,0 +1,193 @@ + + + + + +Constant Field Values (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
+

Constant Field Values

+

Contents

+ +
+
+ + +

net.jqwik.*

+ + +
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/deprecated-list.html b/docs/docs/1.1.3/javadoc/deprecated-list.html new file mode 100644 index 000000000..8519ec440 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/deprecated-list.html @@ -0,0 +1,146 @@ + + + + + +Deprecated List (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
+

Deprecated API

+

Contents

+ +
+
+ + + +
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/help-doc.html b/docs/docs/1.1.3/javadoc/help-doc.html new file mode 100644 index 000000000..b999575a2 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/help-doc.html @@ -0,0 +1,223 @@ + + + + + +API Help (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
+

How This API Document Is Organized

+
This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.
+
+
+ +This help file applies to API documentation generated using the standard doclet.
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/index-all.html b/docs/docs/1.1.3/javadoc/index-all.html new file mode 100644 index 000000000..ae0f8802b --- /dev/null +++ b/docs/docs/1.1.3/javadoc/index-all.html @@ -0,0 +1,1995 @@ + + + + + +Index (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
A B C D E F G H I J L M N O P R S T U V W  + + +

A

+
+
aborted(Throwable, String) - Static method in class net.jqwik.api.lifecycle.PropertyExecutionResult
+
 
+
AbstractDomainContextBase - Class in net.jqwik.api.domains
+
+
Subclass for easier implementation of DomainContext
+
+
AbstractDomainContextBase() - Constructor for class net.jqwik.api.domains.AbstractDomainContextBase
+
 
+
acceptTargetType(TypeUsage) - Method in class net.jqwik.api.configurators.ArbitraryConfiguratorBase
+
+
Override if configurator only works for certain types of domain objects
+
+
Action<M> - Interface in net.jqwik.api.stateful
+
+
An action class represents a state change that can be preformed on a model M.
+
+
ActionSequence<M> - Interface in net.jqwik.api.stateful
+
+
A sequence of Actions that can be run with a model of type M
+
+
ActionSequence.RunState - Enum in net.jqwik.api.stateful
+
 
+
ActionSequenceArbitrary<M> - Interface in net.jqwik.api.stateful
+
 
+
AddLifecycleHook - Annotation Type in net.jqwik.api.lifecycle
+
+
Experimental feature.
+
+
AfterFailureMode - Enum in net.jqwik.api
+
+
The after-failure mode determines how a property behaves after it has been falsified.
+
+
all() - Method in interface net.jqwik.api.arbitraries.CharacterArbitrary
+
+
Allow all unicode chars to show up in generated values.
+
+
all() - Method in interface net.jqwik.api.arbitraries.StringArbitrary
+
+
Allow all unicode chars even noncharacters and private use characters + but only in plane 0 (aka Basic Multilingual Plane)
+
+
allValues() - Method in interface net.jqwik.api.Arbitrary
+
+
Create optional stream of all possible values this arbitrary could generate.
+
+
alpha() - Method in interface net.jqwik.api.arbitraries.StringArbitrary
+
+
Allow all alpha chars to show up in generated strings.
+
+
AlphaChars - Annotation Type in net.jqwik.api.constraints
+
+
Constrain the chars used to generate Strings or Characters to upper and lower case chars.
+
+
andThen(Function<Shrinkable<T>, ShrinkingSequence<T>>) - Method in interface net.jqwik.api.ShrinkingSequence
+
 
+
andThen(ShrinkingSequence<T>, Function<Shrinkable<T>, ShrinkingSequence<T>>) - Method in class net.jqwik.api.ShrinkingSequence.ShrinkingSequenceFacade
+
 
+
annotatedElement() - Method in interface net.jqwik.api.lifecycle.LifecycleContext
+
 
+
append(ShrinkingDistance) - Method in class net.jqwik.api.ShrinkingDistance
+
 
+
apply(T1, T2) - Method in interface net.jqwik.api.Combinators.F2
+
 
+
apply(T1, T2, T3) - Method in interface net.jqwik.api.Combinators.F3
+
 
+
apply(T1, T2, T3, T4) - Method in interface net.jqwik.api.Combinators.F4
+
 
+
apply(T1, T2, T3, T4, T5) - Method in interface net.jqwik.api.Combinators.F5
+
 
+
apply(T1, T2, T3, T4, T5, T6) - Method in interface net.jqwik.api.Combinators.F6
+
 
+
apply(T1, T2, T3, T4, T5, T6, T7) - Method in interface net.jqwik.api.Combinators.F7
+
 
+
apply(T1, T2, T3, T4, T5, T6, T7, T8) - Method in interface net.jqwik.api.Combinators.F8
+
 
+
Arbitraries - Class in net.jqwik.api
+
 
+
Arbitraries.ArbitrariesFacade - Class in net.jqwik.api
+
 
+
ArbitrariesFacade() - Constructor for class net.jqwik.api.Arbitraries.ArbitrariesFacade
+
 
+
Arbitrary<T> - Interface in net.jqwik.api
+
+
The main interface for representing objects that can be generated and shrunk.
+
+
Arbitrary.ArbitraryFacade - Class in net.jqwik.api
+
 
+
ArbitraryConfigurationException - Exception in net.jqwik.api.configurators
+
 
+
ArbitraryConfigurator - Interface in net.jqwik.api.configurators
+
+
Implementors can modify any arbitrary before it's being used for value generation.
+
+
ArbitraryConfiguratorBase - Class in net.jqwik.api.configurators
+
+
Using this base class is the easiest way to make use of the configuration mechanism + described in ArbitraryConfigurator + + + Implementations must be registered in /META-INF/services/net.jqwik.api.configurators.ArbitraryConfigurator + so that they will be automatically considered for arbitrary configuration.
+
+
ArbitraryConfiguratorBase() - Constructor for class net.jqwik.api.configurators.ArbitraryConfiguratorBase
+
 
+
ArbitraryFacade() - Constructor for class net.jqwik.api.Arbitrary.ArbitraryFacade
+
 
+
ArbitraryProvider - Interface in net.jqwik.api.providers
+
+
Implementation of this class are used to provide default arbitraries to + ForAll parameters without an explicit provider reference.
+
+
ArbitraryProvider.SubtypeProvider - Interface in net.jqwik.api.providers
+
 
+
around(AroundPropertyHook) - Method in interface net.jqwik.api.lifecycle.AroundPropertyHook
+
 
+
aroundProperty(PropertyLifecycleContext, PropertyExecutor) - Method in interface net.jqwik.api.lifecycle.AroundPropertyHook
+
 
+
AroundPropertyHook - Interface in net.jqwik.api.lifecycle
+
+
Experimental feature.
+
+
aroundPropertyProximity() - Method in interface net.jqwik.api.lifecycle.AroundPropertyHook
+
 
+
array(Arbitrary<T>, Class<A>) - Method in class net.jqwik.api.Arbitrary.ArbitraryFacade
+
 
+
array(Class<A>) - Method in interface net.jqwik.api.Arbitrary
+
+
Create a new arbitrary of type T[] using the existing arbitrary for generating the elements of the array.
+
+
as(Combinators.F2<T1, T2, R>) - Method in class net.jqwik.api.Combinators.Combinator2
+
 
+
as(Combinators.F3<T1, T2, T3, R>) - Method in class net.jqwik.api.Combinators.Combinator3
+
 
+
as(Combinators.F4<T1, T2, T3, T4, R>) - Method in class net.jqwik.api.Combinators.Combinator4
+
 
+
as(Combinators.F5<T1, T2, T3, T4, T5, R>) - Method in class net.jqwik.api.Combinators.Combinator5
+
 
+
as(Combinators.F6<T1, T2, T3, T4, T5, T6, R>) - Method in class net.jqwik.api.Combinators.Combinator6
+
 
+
as(Combinators.F7<T1, T2, T3, T4, T5, T6, T7, R>) - Method in class net.jqwik.api.Combinators.Combinator7
+
 
+
as(Combinators.F8<T1, T2, T3, T4, T5, T6, T7, T8, R>) - Method in class net.jqwik.api.Combinators.Combinator8
+
 
+
as(Function<List<T>, R>) - Method in class net.jqwik.api.Combinators.ListCombinator
+
 
+
ascii() - Method in interface net.jqwik.api.arbitraries.CharacterArbitrary
+
+
Allow all ascii chars to show up in generated values.
+
+
ascii() - Method in interface net.jqwik.api.arbitraries.StringArbitrary
+
+
Allow all ascii chars to show up in generated strings.
+
+
Assume - Class in net.jqwik.api
+
 
+
+ + + +

B

+
+
BASE - Static variable in interface net.jqwik.api.lifecycle.AroundPropertyHook
+
 
+
between(BigDecimal, BigDecimal) - Method in interface net.jqwik.api.arbitraries.BigDecimalArbitrary
+
+
Set the allowed lower min (included) and upper max (included) bounder of generated numbers.
+
+
between(BigInteger, BigInteger) - Method in interface net.jqwik.api.arbitraries.BigIntegerArbitrary
+
+
Set the allowed lower min (included) and upper max (included) bounder of generated numbers.
+
+
between(byte, byte) - Method in interface net.jqwik.api.arbitraries.ByteArbitrary
+
+
Set the allowed lower min (included) and upper max (includedI bounder of generated numbers.
+
+
between(char, char) - Method in interface net.jqwik.api.arbitraries.CharacterArbitrary
+
+
Deprecated. + +
+
+
between(double, double) - Method in interface net.jqwik.api.arbitraries.DoubleArbitrary
+
+
Set the allowed lower min (included) and upper max (included) bounder of generated numbers.
+
+
between(float, float) - Method in interface net.jqwik.api.arbitraries.FloatArbitrary
+
+
Set the allowed lower min (included) and upper max (included) bounder of generated numbers.
+
+
between(int, int) - Method in interface net.jqwik.api.arbitraries.IntegerArbitrary
+
+
Set the allowed lower min (included) and upper max (included) bounder of generated numbers.
+
+
between(long, long) - Method in interface net.jqwik.api.arbitraries.LongArbitrary
+
+
Set the allowed lower min (included) and upper max (included) bounder of generated numbers.
+
+
between(short, short) - Method in interface net.jqwik.api.arbitraries.ShortArbitrary
+
+
Set the allowed lower min (included) and upper max (included) bounder of generated numbers.
+
+
BigDecimalArbitrary - Interface in net.jqwik.api.arbitraries
+
+
Fluent interface to configure the generation of BigDecimal values.
+
+
bigDecimals() - Method in class net.jqwik.api.Arbitraries.ArbitrariesFacade
+
 
+
bigDecimals() - Static method in class net.jqwik.api.Arbitraries
+
+
Create an arbitrary that generates values of type BigDecimal.
+
+
BigIntegerArbitrary - Interface in net.jqwik.api.arbitraries
+
+
Fluent interface to configure the generation of BigInteger values.
+
+
bigIntegers() - Method in class net.jqwik.api.Arbitraries.ArbitrariesFacade
+
 
+
bigIntegers() - Static method in class net.jqwik.api.Arbitraries
+
+
Create an arbitrary that generates values of type BigInteger.
+
+
BigRange - Annotation Type in net.jqwik.api.constraints
+
+
Constrain the range of a generated "Big" number.
+
+
build(Function<B, T>) - Method in class net.jqwik.api.Combinators.BuilderCombinator
+
 
+
ByteArbitrary - Interface in net.jqwik.api.arbitraries
+
+
Fluent interface to configure the generation of Byte and byte values.
+
+
ByteRange - Annotation Type in net.jqwik.api.constraints
+
+
Constrain the range of a generated byte or Byte parameters.
+
+
bytes() - Method in class net.jqwik.api.Arbitraries.ArbitrariesFacade
+
 
+
bytes() - Static method in class net.jqwik.api.Arbitraries
+
+
Create an arbitrary that generates values of type Byte.
+
+
+ + + +

C

+
+
canBeAssignedTo(TypeUsage) - Method in interface net.jqwik.api.providers.TypeUsage
+
+
Check if an instance can be assigned to another TypeUsage instance.
+
+
CannotFindArbitraryException - Exception in net.jqwik.api
+
 
+
CannotFindArbitraryException(TypeUsage) - Constructor for exception net.jqwik.api.CannotFindArbitraryException
+
 
+
CannotFindArbitraryException(TypeUsage, ForAll) - Constructor for exception net.jqwik.api.CannotFindArbitraryException
+
 
+
canProvideFor(TypeUsage) - Method in interface net.jqwik.api.providers.ArbitraryProvider
+
+
Return true if the provider is suitable for targetType
+
+
CharacterArbitrary - Interface in net.jqwik.api.arbitraries
+
+
Fluent interface to configure the generation of Character and char values.
+
+
CharRange - Annotation Type in net.jqwik.api.constraints
+
+
Constrain the chars used to generate Strings or Characters to chars in the range + from from to to.
+
+
CharRangeList - Annotation Type in net.jqwik.api.constraints
+
 
+
chars() - Method in class net.jqwik.api.Arbitraries.ArbitrariesFacade
+
 
+
chars() - Static method in class net.jqwik.api.Arbitraries
+
+
Create an arbitrary that generates values of type Character.
+
+
Chars - Annotation Type in net.jqwik.api.constraints
+
+
Constrain the chars used to generate Strings or Characters to chars + contained in value.
+
+
CharsList - Annotation Type in net.jqwik.api.constraints
+
 
+
check(T) - Method in interface net.jqwik.api.stateful.Invariant
+
 
+
collect(Object...) - Static method in class net.jqwik.api.Statistics
+
+
Call this method to record an entry for statistical data about generated values.
+
+
collect(Object...) - Method in class net.jqwik.api.Statistics.StatisticsFacade
+
 
+
Combinators - Class in net.jqwik.api
+
 
+
Combinators.BuilderCombinator<B> - Class in net.jqwik.api
+
 
+
Combinators.CombinableBuilder<B,T> - Class in net.jqwik.api
+
 
+
Combinators.Combinator2<T1,T2> - Class in net.jqwik.api
+
 
+
Combinators.Combinator3<T1,T2,T3> - Class in net.jqwik.api
+
 
+
Combinators.Combinator4<T1,T2,T3,T4> - Class in net.jqwik.api
+
 
+
Combinators.Combinator5<T1,T2,T3,T4,T5> - Class in net.jqwik.api
+
 
+
Combinators.Combinator6<T1,T2,T3,T4,T5,T6> - Class in net.jqwik.api
+
 
+
Combinators.Combinator7<T1,T2,T3,T4,T5,T6,T7> - Class in net.jqwik.api
+
 
+
Combinators.Combinator8<T1,T2,T3,T4,T5,T6,T7,T8> - Class in net.jqwik.api
+
 
+
Combinators.CombinatorsFacade - Class in net.jqwik.api
+
 
+
Combinators.F2<T1,T2,R> - Interface in net.jqwik.api
+
 
+
Combinators.F3<T1,T2,T3,R> - Interface in net.jqwik.api
+
 
+
Combinators.F4<T1,T2,T3,T4,R> - Interface in net.jqwik.api
+
 
+
Combinators.F5<T1,T2,T3,T4,T5,R> - Interface in net.jqwik.api
+
 
+
Combinators.F6<T1,T2,T3,T4,T5,T6,R> - Interface in net.jqwik.api
+
 
+
Combinators.F7<T1,T2,T3,T4,T5,T6,T7,R> - Interface in net.jqwik.api
+
 
+
Combinators.F8<T1,T2,T3,T4,T5,T6,T7,T8,R> - Interface in net.jqwik.api
+
 
+
Combinators.ListCombinator<T> - Class in net.jqwik.api
+
 
+
CombinatorsFacade() - Constructor for class net.jqwik.api.Combinators.CombinatorsFacade
+
 
+
combine(Arbitrary<T1>, Arbitrary<T2>) - Static method in class net.jqwik.api.Combinators
+
+
Combine 2 arbitraries into one.
+
+
combine(Arbitrary<T1>, Arbitrary<T2>, Arbitrary<T3>) - Static method in class net.jqwik.api.Combinators
+
+
Combine 3 arbitraries into one.
+
+
combine(Arbitrary<T1>, Arbitrary<T2>, Arbitrary<T3>, Arbitrary<T4>) - Static method in class net.jqwik.api.Combinators
+
+
Combine 4 arbitraries into one.
+
+
combine(Arbitrary<T1>, Arbitrary<T2>, Arbitrary<T3>, Arbitrary<T4>, Arbitrary<T5>) - Static method in class net.jqwik.api.Combinators
+
+
Combine 5 arbitraries into one.
+
+
combine(Arbitrary<T1>, Arbitrary<T2>, Arbitrary<T3>, Arbitrary<T4>, Arbitrary<T5>, Arbitrary<T6>) - Static method in class net.jqwik.api.Combinators
+
+
Combine 6 arbitraries into one.
+
+
combine(Arbitrary<T1>, Arbitrary<T2>, Arbitrary<T3>, Arbitrary<T4>, Arbitrary<T5>, Arbitrary<T6>, Arbitrary<T7>) - Static method in class net.jqwik.api.Combinators
+
+
Combine 7 arbitraries into one.
+
+
combine(Arbitrary<T1>, Arbitrary<T2>, Arbitrary<T3>, Arbitrary<T4>, Arbitrary<T5>, Arbitrary<T6>, Arbitrary<T7>, Arbitrary<T8>) - Static method in class net.jqwik.api.Combinators
+
+
Combine 8 arbitraries into one.
+
+
combine(List<Arbitrary<T>>) - Static method in class net.jqwik.api.Combinators
+
+
Combine a list of arbitraries into one.
+
+
combine(List<AroundPropertyHook>) - Static method in interface net.jqwik.api.lifecycle.AroundPropertyHook
+
 
+
combine(List<SkipExecutionHook>) - Static method in interface net.jqwik.api.lifecycle.SkipExecutionHook
+
 
+
combine(List<Shrinkable<T>>) - Static method in class net.jqwik.api.ShrinkingDistance
+
 
+
combineExhaustive(List<Arbitrary<Object>>, Function<List<Object>, R>) - Method in class net.jqwik.api.Combinators.CombinatorsFacade
+
 
+
combineShrinkables(List<Shrinkable<Object>>, Function<List<Object>, R>) - Method in class net.jqwik.api.Combinators.CombinatorsFacade
+
 
+
compareTo(ArbitraryConfigurator) - Method in interface net.jqwik.api.configurators.ArbitraryConfigurator
+
 
+
compareTo(FalsificationResult<T>) - Method in class net.jqwik.api.FalsificationResult
+
 
+
compareTo(AroundPropertyHook) - Method in interface net.jqwik.api.lifecycle.AroundPropertyHook
+
 
+
compareTo(SkipExecutionHook) - Method in interface net.jqwik.api.lifecycle.SkipExecutionHook
+
 
+
compareTo(Shrinkable<T>) - Method in interface net.jqwik.api.Shrinkable
+
 
+
compareTo(ShrinkingDistance) - Method in class net.jqwik.api.ShrinkingDistance
+
 
+
configure(Arbitrary<T>, TypeUsage) - Method in interface net.jqwik.api.configurators.ArbitraryConfigurator
+
+
Configure a given arbitrary and return the configured instance.
+
+
configure(Arbitrary<T>, TypeUsage) - Method in class net.jqwik.api.configurators.ArbitraryConfiguratorBase
+
 
+
configure(ArbitraryConfigurator, TypeUsage) - Method in interface net.jqwik.api.configurators.SelfConfiguringArbitrary
+
+
Do all configuration yourself or delegate to ArbitraryConfigurator.configure(Arbitrary, TypeUsage) + of the configurator that's being handed in.
+
+
configure(Function<String, Optional<String>>) - Method in interface net.jqwik.api.lifecycle.LifecycleHook
+
 
+
constant(T) - Static method in class net.jqwik.api.Arbitraries
+
+
Create an arbitrary that will always generate the same value.
+
+
containedIn(Reporting[]) - Method in enum net.jqwik.api.Reporting
+
 
+
containerClass() - Method in interface net.jqwik.api.lifecycle.PropertyLifecycleContext
+
 
+
ContainerLifecycleContext - Interface in net.jqwik.api.lifecycle
+
+
Experimental feature.
+
+
create(Supplier<T>) - Static method in class net.jqwik.api.Arbitraries
+
+
Create an arbitrary that will use a supplier to generate a value.
+
+
current() - Method in interface net.jqwik.api.ShrinkingSequence
+
 
+
+ + + +

D

+
+
Data - Annotation Type in net.jqwik.api
+
+
Used to annotate methods that can provide data points for property methods.
+
+
DEFAULT_STEREOTYPE - Static variable in annotation type net.jqwik.api.Property
+
 
+
defaultFor(Class<T>, Class<?>[]) - Method in class net.jqwik.api.Arbitraries.ArbitrariesFacade
+
 
+
defaultFor(TypeUsage) - Method in class net.jqwik.api.Arbitraries.ArbitrariesFacade
+
 
+
defaultFor(Class<T>, Class<?>...) - Static method in class net.jqwik.api.Arbitraries
+
+
Find a registered arbitrary that will be used to generate values of type T.
+
+
defaultFor(TypeUsage) - Static method in class net.jqwik.api.Arbitraries
+
+
Find a registered arbitrary that will be used to generate values of type T.
+
+
digit() - Method in interface net.jqwik.api.arbitraries.CharacterArbitrary
+
+
Allow all numeric chars (digits) to show up in generated values.
+
+
dimensions() - Method in class net.jqwik.api.ShrinkingDistance
+
 
+
Disabled - Annotation Type in net.jqwik.api
+
+
Use @Disabled("reason to disable") to disable test container or test method + during normal test execution.
+
+
distance() - Method in class net.jqwik.api.FalsificationResult
+
 
+
distance() - Method in interface net.jqwik.api.Shrinkable
+
 
+
Domain - Annotation Type in net.jqwik.api.domains
+
+
Use @Domain(MyDomainContext.class) to use only + arbitrary providers and + arbitrary configurators + defined in given context class + + You can have many domains on the same element.
+
+
DomainContext - Interface in net.jqwik.api.domains
+
+
Class that implement this interface are used to annotate property methods or containers like this: + Domain(MyDomainContext.class).
+
+
DomainContext.DomainContextFacade - Class in net.jqwik.api.domains
+
 
+
DomainContext.Global - Class in net.jqwik.api.domains
+
 
+
DomainContextFacade() - Constructor for class net.jqwik.api.domains.DomainContext.DomainContextFacade
+
 
+
DomainList - Annotation Type in net.jqwik.api.domains
+
 
+
doNotSkip() - Static method in class net.jqwik.api.lifecycle.SkipExecutionHook.SkipResult
+
 
+
dontShrink(Shrinkable<T>) - Static method in interface net.jqwik.api.ShrinkingSequence
+
 
+
dontShrink(Shrinkable<T>) - Method in class net.jqwik.api.ShrinkingSequence.ShrinkingSequenceFacade
+
 
+
DoubleArbitrary - Interface in net.jqwik.api.arbitraries
+
+
Fluent interface to configure the generation of Double and double values.
+
+
DoubleRange - Annotation Type in net.jqwik.api.constraints
+
+
Constrain the range of a generated double or Double parameters.
+
+
doubles() - Method in class net.jqwik.api.Arbitraries.ArbitrariesFacade
+
 
+
doubles() - Static method in class net.jqwik.api.Arbitraries
+
+
Create an arbitrary that generates values of type Double.
+
+
+ + + +

E

+
+
equals(Object) - Method in class net.jqwik.api.ShrinkingDistance
+
 
+
equals(Object) - Method in class net.jqwik.api.Tuple.Tuple1
+
 
+
equals(Object) - Method in class net.jqwik.api.Tuple.Tuple2
+
 
+
equals(Object) - Method in class net.jqwik.api.Tuple.Tuple3
+
 
+
equals(Object) - Method in class net.jqwik.api.Tuple.Tuple4
+
 
+
equals(Object) - Method in class net.jqwik.api.Tuple.Tuple5
+
 
+
equals(Object) - Method in class net.jqwik.api.Tuple.Tuple6
+
 
+
equals(Object) - Method in class net.jqwik.api.Tuple.Tuple7
+
 
+
equals(Object) - Method in class net.jqwik.api.Tuple.Tuple8
+
 
+
Example - Annotation Type in net.jqwik.api
+
+
Use @Example to mark methods that are simple, example-based + test cases.
+
+
execute() - Method in interface net.jqwik.api.lifecycle.PropertyExecutor
+
 
+
exhaustive() - Method in interface net.jqwik.api.Arbitrary
+
+
Create the exhaustive generator for an arbitrary
+
+
exhaustiveChoose(List<T>) - Method in class net.jqwik.api.Arbitraries.ArbitrariesFacade
+
 
+
exhaustiveChoose(char[]) - Method in class net.jqwik.api.Arbitraries.ArbitrariesFacade
+
 
+
exhaustiveChoose(Class<T>) - Method in class net.jqwik.api.Arbitraries.ArbitrariesFacade
+
 
+
exhaustiveCreate(Supplier<T>) - Method in class net.jqwik.api.Arbitraries.ArbitrariesFacade
+
 
+
ExhaustiveGenerator<T> - Interface in net.jqwik.api
+
 
+
ExhaustiveGenerator.ExhaustiveGeneratorFacade - Class in net.jqwik.api
+
 
+
ExhaustiveGeneratorFacade() - Constructor for class net.jqwik.api.ExhaustiveGenerator.ExhaustiveGeneratorFacade
+
 
+
exhaustiveShuffle(List<T>) - Method in class net.jqwik.api.Arbitraries.ArbitrariesFacade
+
 
+
+ + + +

F

+
+
FacadeLoader - Class in net.jqwik.api
+
 
+
FacadeLoader() - Constructor for class net.jqwik.api.FacadeLoader
+
 
+
failed(Throwable, String, List<Object>) - Static method in class net.jqwik.api.lifecycle.PropertyExecutionResult
+
 
+
FalsificationResult<T> - Class in net.jqwik.api
+
 
+
FalsificationResult.Status - Enum in net.jqwik.api
+
 
+
falsified(Shrinkable<T>) - Static method in class net.jqwik.api.FalsificationResult
+
 
+
falsified(Shrinkable<T>, Throwable) - Static method in class net.jqwik.api.FalsificationResult
+
 
+
Falsifier<T> - Interface in net.jqwik.api
+
 
+
falsify(Shrinkable<T>) - Method in interface net.jqwik.api.Falsifier
+
 
+
filter(Predicate<T>) - Method in interface net.jqwik.api.Arbitrary
+
+
Create a new arbitrary of the same type T that creates and shrinks the original arbitrary but only allows + values that are accepted by the filterPredicate.
+
+
filter(ExhaustiveGenerator<T>, Predicate<T>) - Method in class net.jqwik.api.ExhaustiveGenerator.ExhaustiveGeneratorFacade
+
 
+
filter(Predicate<T>) - Method in interface net.jqwik.api.ExhaustiveGenerator
+
 
+
filter(Predicate<T>) - Method in class net.jqwik.api.FalsificationResult
+
 
+
filter(Predicate<T>) - Method in interface net.jqwik.api.RandomGenerator
+
 
+
filter(RandomGenerator<T>, Predicate<T>) - Method in class net.jqwik.api.RandomGenerator.RandomGeneratorFacade
+
 
+
filter(Predicate<T>) - Method in interface net.jqwik.api.Shrinkable
+
 
+
filter(Shrinkable<T>, Predicate<T>) - Method in class net.jqwik.api.Shrinkable.ShrinkableFacade
+
 
+
filtered(Shrinkable<T>) - Static method in class net.jqwik.api.FalsificationResult
+
 
+
finalModel() - Method in interface net.jqwik.api.stateful.ActionSequence
+
 
+
findAnnotation(Class<A>) - Method in interface net.jqwik.api.providers.TypeUsage
+
+
Return an Optional of the first instance of a specific annotationType + if there is one (directly or indirectly through meta-annotations).
+
+
fixGenSize(int) - Method in interface net.jqwik.api.Arbitrary
+
+
Fix the genSize of an arbitrary so that it can no longer be influenced from outside
+
+
flatAs(Combinators.F2<T1, T2, Arbitrary<R>>) - Method in class net.jqwik.api.Combinators.Combinator2
+
 
+
flatAs(Combinators.F3<T1, T2, T3, Arbitrary<R>>) - Method in class net.jqwik.api.Combinators.Combinator3
+
 
+
flatAs(Combinators.F4<T1, T2, T3, T4, Arbitrary<R>>) - Method in class net.jqwik.api.Combinators.Combinator4
+
 
+
flatAs(Combinators.F5<T1, T2, T3, T4, T5, Arbitrary<R>>) - Method in class net.jqwik.api.Combinators.Combinator5
+
 
+
flatAs(Combinators.F6<T1, T2, T3, T4, T5, T6, Arbitrary<R>>) - Method in class net.jqwik.api.Combinators.Combinator6
+
 
+
flatAs(Combinators.F7<T1, T2, T3, T4, T5, T6, T7, Arbitrary<R>>) - Method in class net.jqwik.api.Combinators.Combinator7
+
 
+
flatAs(Combinators.F8<T1, T2, T3, T4, T5, T6, T7, T8, Arbitrary<R>>) - Method in class net.jqwik.api.Combinators.Combinator8
+
 
+
flatAs(Function<List<T>, Arbitrary<R>>) - Method in class net.jqwik.api.Combinators.ListCombinator
+
 
+
flatMap(Function<T, Arbitrary<U>>) - Method in interface net.jqwik.api.Arbitrary
+
+
Create a new arbitrary of type U that uses the values of the existing arbitrary to create a new arbitrary + using the mapper function.
+
+
flatMap(Function<T, RandomGenerator<U>>) - Method in interface net.jqwik.api.RandomGenerator
+
 
+
flatMap(Function<T, Arbitrary<U>>, int) - Method in interface net.jqwik.api.RandomGenerator
+
 
+
flatMap(Shrinkable<T>, Function<T, RandomGenerator<U>>, long) - Method in class net.jqwik.api.RandomGenerator.RandomGeneratorFacade
+
 
+
flatMap(Shrinkable<T>, Function<T, Arbitrary<U>>, int, long) - Method in class net.jqwik.api.RandomGenerator.RandomGeneratorFacade
+
 
+
flatMap(Function<T, Arbitrary<U>>, int, long) - Method in interface net.jqwik.api.Shrinkable
+
 
+
flatMap(Shrinkable<T>, Function<T, Arbitrary<U>>, int, long) - Method in class net.jqwik.api.Shrinkable.ShrinkableFacade
+
 
+
flatMapExhaustiveGenerator(ExhaustiveGenerator<T>, Function<T, Arbitrary<U>>) - Method in class net.jqwik.api.Arbitrary.ArbitraryFacade
+
 
+
FloatArbitrary - Interface in net.jqwik.api.arbitraries
+
+
Fluent interface to configure the generation of Float and float values.
+
+
FloatRange - Annotation Type in net.jqwik.api.constraints
+
+
Constrain the range of a generated float or Float parameters.
+
+
floats() - Method in class net.jqwik.api.Arbitraries.ArbitrariesFacade
+
 
+
floats() - Static method in class net.jqwik.api.Arbitraries
+
+
Create an arbitrary that generates values of type Float.
+
+
ForAll - Annotation Type in net.jqwik.api
+
+
Used to annotate method parameters that will be provided by jqwik.
+
+
forCollection(Collection<Shrinkable<T>>) - Static method in class net.jqwik.api.ShrinkingDistance
+
 
+
forEachValue(Consumer<? super T>) - Method in interface net.jqwik.api.Arbitrary
+
+
Iterate through each value this arbitrary can generate if - and only if - + exhaustive generation is possible.
+
+
forType(Class<T>) - Method in class net.jqwik.api.Arbitraries.ArbitrariesFacade
+
 
+
forType(Class<T>) - Static method in class net.jqwik.api.Arbitraries
+
+
Create an arbitrary for type T that will by default use the type's + public constructors and public factory methods.
+
+
forType(Type) - Static method in interface net.jqwik.api.providers.TypeUsage
+
 
+
forType(Type) - Method in class net.jqwik.api.providers.TypeUsage.TypeUsageFacade
+
 
+
frequency(Tuple.Tuple2<Integer, T>...) - Static method in class net.jqwik.api.Arbitraries
+
+
Create an arbitrary that will randomly choose between all given values of the same type T.
+
+
frequency(List<Tuple.Tuple2<Integer, T>>) - Static method in class net.jqwik.api.Arbitraries
+
+
Create an arbitrary that will randomly choose between all given values of the same type T.
+
+
frequencyOf(List<Tuple.Tuple2<Integer, Arbitrary<T>>>) - Method in class net.jqwik.api.Arbitraries.ArbitrariesFacade
+
 
+
frequencyOf(Tuple.Tuple2<Integer, Arbitrary<T>>...) - Static method in class net.jqwik.api.Arbitraries
+
+
Create an arbitrary that will randomly choose between all given arbitraries of the same type T.
+
+
frequencyOf(List<Tuple.Tuple2<Integer, Arbitrary<T>>>) - Static method in class net.jqwik.api.Arbitraries
+
+
Create an arbitrary that will randomly choose between all given arbitraries of the same type T.
+
+
FromData - Annotation Type in net.jqwik.api
+
+
Used to annotate property methods.
+
+
fromGenerator(RandomGenerator<T>) - Static method in class net.jqwik.api.Arbitraries
+
+
Create an arbitrary of type T from a corresponding generator of type T.
+
+
+ + + +

G

+
+
GenerationMode - Enum in net.jqwik.api
+
+
The generation mode defines the generation behaviour of a property.
+
+
generator(int) - Method in interface net.jqwik.api.Arbitrary
+
+
Create the random generator for an arbitrary
+
+
get1() - Method in class net.jqwik.api.Tuple.Tuple1
+
 
+
get2() - Method in class net.jqwik.api.Tuple.Tuple2
+
 
+
get3() - Method in class net.jqwik.api.Tuple.Tuple3
+
 
+
get4() - Method in class net.jqwik.api.Tuple.Tuple4
+
 
+
get5() - Method in class net.jqwik.api.Tuple.Tuple5
+
 
+
get6() - Method in class net.jqwik.api.Tuple.Tuple6
+
 
+
get7() - Method in class net.jqwik.api.Tuple.Tuple7
+
 
+
get8() - Method in class net.jqwik.api.Tuple.Tuple8
+
 
+
getAnnotations() - Method in interface net.jqwik.api.providers.TypeUsage
+
+
Return all annotations of a parameter (or an annotated type argument).
+
+
getArbitraryConfigurators() - Method in class net.jqwik.api.domains.AbstractDomainContextBase
+
 
+
getArbitraryConfigurators() - Method in interface net.jqwik.api.domains.DomainContext
+
 
+
getArbitraryConfigurators() - Method in class net.jqwik.api.domains.DomainContext.Global
+
 
+
getArbitraryProviders() - Method in class net.jqwik.api.domains.AbstractDomainContextBase
+
 
+
getArbitraryProviders() - Method in interface net.jqwik.api.domains.DomainContext
+
 
+
getArbitraryProviders() - Method in class net.jqwik.api.domains.DomainContext.Global
+
 
+
getComponentType() - Method in interface net.jqwik.api.providers.TypeUsage
+
+
Return an Optional of an array's component type - if it is an array.
+
+
getFalsifiedSample() - Method in class net.jqwik.api.lifecycle.PropertyExecutionResult
+
 
+
getLowerBounds() - Method in interface net.jqwik.api.providers.TypeUsage
+
+
Return lower bounds if a generic type is a wildcard.
+
+
getRawType() - Method in interface net.jqwik.api.providers.TypeUsage
+
+
Return the raw type which is usually the class or interface you see in a parameters or return values + specification.
+
+
getSeed() - Method in class net.jqwik.api.lifecycle.PropertyExecutionResult
+
 
+
getStatus() - Method in class net.jqwik.api.lifecycle.PropertyExecutionResult
+
 
+
getThrowable() - Method in class net.jqwik.api.lifecycle.PropertyExecutionResult
+
 
+
getTypeArguments() - Method in interface net.jqwik.api.providers.TypeUsage
+
+
Return the type arguments of a generic type in the order of there appearance in a type's declaration.
+
+
getUpperBounds() - Method in interface net.jqwik.api.providers.TypeUsage
+
+
Return upper bounds if a generic type is a wildcard or type variable.
+
+
global() - Method in class net.jqwik.api.domains.DomainContext.DomainContextFacade
+
 
+
global() - Static method in interface net.jqwik.api.domains.DomainContext
+
 
+
Global() - Constructor for class net.jqwik.api.domains.DomainContext.Global
+
 
+
greaterOrEqual(BigDecimal) - Method in interface net.jqwik.api.arbitraries.BigDecimalArbitrary
+
+
Set the allowed lower min (included) bounder of generated numbers.
+
+
greaterOrEqual(BigInteger) - Method in interface net.jqwik.api.arbitraries.BigIntegerArbitrary
+
+
Set the allowed lower min (included) bounder of generated numbers.
+
+
greaterOrEqual(byte) - Method in interface net.jqwik.api.arbitraries.ByteArbitrary
+
+
Set the allowed lower min (included) bounder of generated numbers.
+
+
greaterOrEqual(double) - Method in interface net.jqwik.api.arbitraries.DoubleArbitrary
+
+
Set the allowed lower min (included) bounder of generated numbers.
+
+
greaterOrEqual(float) - Method in interface net.jqwik.api.arbitraries.FloatArbitrary
+
+
Set the allowed lower min (included) bounder of generated numbers.
+
+
greaterOrEqual(int) - Method in interface net.jqwik.api.arbitraries.IntegerArbitrary
+
+
Set the allowed lower min (included) bounder of generated numbers.
+
+
greaterOrEqual(long) - Method in interface net.jqwik.api.arbitraries.LongArbitrary
+
+
Set the allowed lower min (included) bounder of generated numbers.
+
+
greaterOrEqual(short) - Method in interface net.jqwik.api.arbitraries.ShortArbitrary
+
+
Set the allowed lower min (included) bounder of generated numbers.
+
+
Group - Annotation Type in net.jqwik.api
+
 
+
+ + + +

H

+
+
hashCode() - Method in class net.jqwik.api.ShrinkingDistance
+
 
+
hashCode() - Method in class net.jqwik.api.Tuple.Tuple1
+
 
+
hashCode() - Method in class net.jqwik.api.Tuple.Tuple2
+
 
+
hashCode() - Method in class net.jqwik.api.Tuple.Tuple3
+
 
+
hashCode() - Method in class net.jqwik.api.Tuple.Tuple4
+
 
+
hashCode() - Method in class net.jqwik.api.Tuple.Tuple5
+
 
+
hashCode() - Method in class net.jqwik.api.Tuple.Tuple6
+
 
+
hashCode() - Method in class net.jqwik.api.Tuple.Tuple7
+
 
+
hashCode() - Method in class net.jqwik.api.Tuple.Tuple8
+
 
+
+ + + +

I

+
+
in(Combinators.F2<B, T, C>) - Method in class net.jqwik.api.Combinators.CombinableBuilder
+
 
+
init(FalsificationResult<T>) - Method in interface net.jqwik.api.ShrinkingSequence
+
 
+
injectNull(double) - Method in interface net.jqwik.api.Arbitrary
+
+
Create a new arbitrary of the same type but inject null values with a probability of nullProbability.
+
+
injectNull(ExhaustiveGenerator<T>) - Method in class net.jqwik.api.ExhaustiveGenerator.ExhaustiveGeneratorFacade
+
 
+
injectNull() - Method in interface net.jqwik.api.ExhaustiveGenerator
+
 
+
injectNull(double) - Method in interface net.jqwik.api.RandomGenerator
+
 
+
IntegerArbitrary - Interface in net.jqwik.api.arbitraries
+
+
Fluent interface to configure the generation of Integer and int values.
+
+
integers() - Method in class net.jqwik.api.Arbitraries.ArbitrariesFacade
+
 
+
integers() - Static method in class net.jqwik.api.Arbitraries
+
+
Create an arbitrary that generates values of type Integer.
+
+
IntRange - Annotation Type in net.jqwik.api.constraints
+
+
Constrain the range of a generated int or Integer parameters.
+
+
Invariant<T> - Interface in net.jqwik.api.stateful
+
 
+
isAnnotated(Class<A>) - Method in interface net.jqwik.api.providers.TypeUsage
+
+
Return true if the current instance is annotated (directly or indirectly through meta-annotations) + with a specific annotationType.
+
+
isArray() - Method in interface net.jqwik.api.providers.TypeUsage
+
+
Return true if a type is an array type.
+
+
isAssignableFrom(Class<?>) - Method in interface net.jqwik.api.providers.TypeUsage
+
+
Check if a given providedClass is assignable from this generic type.
+
+
isEnum() - Method in interface net.jqwik.api.providers.TypeUsage
+
+
Return true if a type is an enum type.
+
+
isGeneric() - Method in interface net.jqwik.api.providers.TypeUsage
+
+
Return true if a type has any type arguments itself.
+
+
isOfType(Class<?>) - Method in interface net.jqwik.api.providers.TypeUsage
+
+
Check if an instance is of a specific raw type + + Most of the time this is what you want to do when checking for applicability of a + ArbitraryProvider.
+
+
isSkipped() - Method in class net.jqwik.api.lifecycle.SkipExecutionHook.SkipResult
+
+
Whether execution of the context should be skipped.
+
+
isSmallerThan(Shrinkable<T>) - Method in interface net.jqwik.api.Shrinkable
+
 
+
isTypeVariable() - Method in interface net.jqwik.api.providers.TypeUsage
+
+
Return true if a generic type is a wildcard.
+
+
isTypeVariableOrWildcard() - Method in interface net.jqwik.api.providers.TypeUsage
+
+
Return true if a generic type is a type variable or a wildcard.
+
+
isUnique() - Method in interface net.jqwik.api.ExhaustiveGenerator
+
+
This is a hack to make unique work for exhaustive generation
+
+
isWildcard() - Method in interface net.jqwik.api.providers.TypeUsage
+
+
Return true if a generic type is a wildcard.
+
+
items() - Method in interface net.jqwik.api.Tuple
+
 
+
items() - Method in class net.jqwik.api.Tuple.Tuple1
+
 
+
items() - Method in class net.jqwik.api.Tuple.Tuple2
+
 
+
items() - Method in class net.jqwik.api.Tuple.Tuple3
+
 
+
items() - Method in class net.jqwik.api.Tuple.Tuple4
+
 
+
items() - Method in class net.jqwik.api.Tuple.Tuple5
+
 
+
items() - Method in class net.jqwik.api.Tuple.Tuple6
+
 
+
items() - Method in class net.jqwik.api.Tuple.Tuple7
+
 
+
items() - Method in class net.jqwik.api.Tuple.Tuple8
+
 
+
iterator(Arbitrary<T>) - Method in class net.jqwik.api.Arbitrary.ArbitraryFacade
+
 
+
iterator() - Method in interface net.jqwik.api.Arbitrary
+
+
Create a new arbitrary of type Iterable<T> using the existing arbitrary for generating the elements of the + stream.
+
+
+ + + +

J

+
+
JqwikException - Exception in net.jqwik.api
+
+
Base exception for exceptions that are thrown during the discovery phase + and during setup of properties before they are actually run.
+
+
JqwikException(String) - Constructor for exception net.jqwik.api.JqwikException
+
 
+
JqwikException(String, Throwable) - Constructor for exception net.jqwik.api.JqwikException
+
 
+
+ + + +

L

+
+
Label - Annotation Type in net.jqwik.api
+
+
Use @Label("a descriptive name") to give test classes, groups and methods + a more readable label (aka display name).
+
+
label() - Method in interface net.jqwik.api.lifecycle.LifecycleContext
+
 
+
lazy(Supplier<Arbitrary<T>>) - Method in class net.jqwik.api.Arbitraries.ArbitrariesFacade
+
 
+
lazy(Supplier<Arbitrary<T>>) - Static method in class net.jqwik.api.Arbitraries
+
+
Create an arbitrary that will evaluate arbitrarySupplier as soon as it is used for generating values.
+
+
lessOrEqual(BigDecimal) - Method in interface net.jqwik.api.arbitraries.BigDecimalArbitrary
+
+
Set the allowed upper max (included) bounder of generated numbers.
+
+
lessOrEqual(BigInteger) - Method in interface net.jqwik.api.arbitraries.BigIntegerArbitrary
+
+
Set the allowed upper max (included) bounder of generated numbers.
+
+
lessOrEqual(byte) - Method in interface net.jqwik.api.arbitraries.ByteArbitrary
+
+
Set the allowed upper max (included) bounder of generated numbers.
+
+
lessOrEqual(double) - Method in interface net.jqwik.api.arbitraries.DoubleArbitrary
+
+
Set the allowed upper max (included) bounder of generated numbers.
+
+
lessOrEqual(float) - Method in interface net.jqwik.api.arbitraries.FloatArbitrary
+
+
Set the allowed upper max (included) bounder of generated numbers.
+
+
lessOrEqual(int) - Method in interface net.jqwik.api.arbitraries.IntegerArbitrary
+
+
Set the allowed upper max (included) bounder of generated numbers.
+
+
lessOrEqual(long) - Method in interface net.jqwik.api.arbitraries.LongArbitrary
+
+
Set the allowed upper max (included) bounder of generated numbers.
+
+
lessOrEqual(short) - Method in interface net.jqwik.api.arbitraries.ShortArbitrary
+
+
Set the allowed upper max (included) bounder of generated numbers.
+
+
LifecycleContext - Interface in net.jqwik.api.lifecycle
+
+
Experimental feature.
+
+
LifecycleHook<T extends LifecycleHook> - Interface in net.jqwik.api.lifecycle
+
+
Experimental feature.
+
+
LifecycleHooks - Annotation Type in net.jqwik.api.lifecycle
+
+
Experimental feature.
+
+
list(Arbitrary<T>) - Method in class net.jqwik.api.Arbitrary.ArbitraryFacade
+
 
+
list() - Method in interface net.jqwik.api.Arbitrary
+
+
Create a new arbitrary of type List<T> using the existing arbitrary for generating the elements of the list.
+
+
load(Class<T>) - Static method in class net.jqwik.api.FacadeLoader
+
+
Load single implementation of an API facade.
+
+
LongArbitrary - Interface in net.jqwik.api.arbitraries
+
+
Fluent interface to configure the generation of Long and long values.
+
+
LongRange - Annotation Type in net.jqwik.api.constraints
+
+
Constrain the range of a generated long or BigInteger parameters.
+
+
longs() - Method in class net.jqwik.api.Arbitraries.ArbitrariesFacade
+
 
+
longs() - Static method in class net.jqwik.api.Arbitraries
+
+
Create an arbitrary that generates values of type Long.
+
+
LowerChars - Annotation Type in net.jqwik.api.constraints
+
+
Constrain the chars used to generate Strings or Characters to lower case chars.
+
+
+ + + +

M

+
+
map(Function<T, U>) - Method in interface net.jqwik.api.Arbitrary
+
+
Create a new arbitrary of type U that maps the values of the original arbitrary using the mapper + function.
+
+
map(ExhaustiveGenerator<T>, Function<T, U>) - Method in class net.jqwik.api.ExhaustiveGenerator.ExhaustiveGeneratorFacade
+
 
+
map(Function<T, U>) - Method in interface net.jqwik.api.ExhaustiveGenerator
+
 
+
map(Function<Shrinkable<T>, Shrinkable<U>>) - Method in class net.jqwik.api.FalsificationResult
+
 
+
map(Function<T, U>) - Method in interface net.jqwik.api.RandomGenerator
+
 
+
map(Function<T, U>) - Method in interface net.jqwik.api.Shrinkable
+
 
+
map(Shrinkable<T>, Function<T, U>) - Method in class net.jqwik.api.Shrinkable.ShrinkableFacade
+
 
+
map(Function<FalsificationResult<T>, FalsificationResult<U>>) - Method in interface net.jqwik.api.ShrinkingSequence
+
 
+
map(ShrinkingSequence<T>, Function<FalsificationResult<T>, FalsificationResult<U>>) - Method in class net.jqwik.api.ShrinkingSequence.ShrinkingSequenceFacade
+
 
+
mapValue(Function<T, U>) - Method in interface net.jqwik.api.ShrinkingSequence
+
 
+
mapValue(ShrinkingSequence<T>, Function<T, U>) - Method in class net.jqwik.api.ShrinkingSequence.ShrinkingSequenceFacade
+
 
+
MAX_DISCARD_RATIO_NOT_SET - Static variable in annotation type net.jqwik.api.Property
+
 
+
maxCount() - Method in interface net.jqwik.api.ExhaustiveGenerator
+
 
+
modify(TypeArbitrary<T>) - Method in enum net.jqwik.api.constraints.UseTypeMode
+
 
+
+ + + +

N

+
+
Negative - Annotation Type in net.jqwik.api.constraints
+
+
Constrain the range of a generated number to be less than 0.
+
+
net.jqwik.api - package net.jqwik.api
+
 
+
net.jqwik.api.arbitraries - package net.jqwik.api.arbitraries
+
 
+
net.jqwik.api.configurators - package net.jqwik.api.configurators
+
 
+
net.jqwik.api.constraints - package net.jqwik.api.constraints
+
 
+
net.jqwik.api.domains - package net.jqwik.api.domains
+
 
+
net.jqwik.api.lifecycle - package net.jqwik.api.lifecycle
+
 
+
net.jqwik.api.providers - package net.jqwik.api.providers
+
 
+
net.jqwik.api.stateful - package net.jqwik.api.stateful
+
 
+
next(Random) - Method in interface net.jqwik.api.RandomGenerator
+
 
+
next(Runnable, Consumer<FalsificationResult<T>>) - Method in interface net.jqwik.api.ShrinkingSequence
+
 
+
NotEmpty - Annotation Type in net.jqwik.api.constraints
+
+
Constrain the size of generated "sizable" types to be at least 1.
+
+
notFalsified(Shrinkable<T>) - Static method in class net.jqwik.api.FalsificationResult
+
 
+
numeric() - Method in interface net.jqwik.api.arbitraries.StringArbitrary
+
+
Allow all numeric chars (digits) to show up in generated strings.
+
+
NumericChars - Annotation Type in net.jqwik.api.constraints
+
+
Constrain the chars used to generate Strings or Characters to digits.
+
+
+ + + +

O

+
+
of(T...) - Static method in class net.jqwik.api.Arbitraries
+
+
Create an arbitrary that will randomly choose from a given array of values.
+
+
of(List<T>) - Static method in class net.jqwik.api.Arbitraries
+
+
Create an arbitrary that will randomly choose from a given list of values.
+
+
of(char[]) - Static method in class net.jqwik.api.Arbitraries
+
+
Create an arbitrary of character values.
+
+
of(Class<T>) - Static method in class net.jqwik.api.Arbitraries
+
+
Create an arbitrary for enum values of type T.
+
+
of(Class<?>, TypeUsage...) - Static method in interface net.jqwik.api.providers.TypeUsage
+
 
+
of(Class<?>, TypeUsage...) - Method in class net.jqwik.api.providers.TypeUsage.TypeUsageFacade
+
 
+
of(long...) - Static method in class net.jqwik.api.ShrinkingDistance
+
 
+
of(E...) - Static method in class net.jqwik.api.Table
+
 
+
of(Tuple.Tuple1<T>...) - Static method in class net.jqwik.api.Table
+
 
+
of(Tuple.Tuple2<T1, T2>...) - Static method in class net.jqwik.api.Table
+
 
+
of(Tuple.Tuple3<T1, T2, T3>...) - Static method in class net.jqwik.api.Table
+
 
+
of(Tuple.Tuple4<T1, T2, T3, T4>...) - Static method in class net.jqwik.api.Table
+
 
+
of(Tuple.Tuple5<T1, T2, T3, T4, T5>...) - Static method in class net.jqwik.api.Table
+
 
+
of(Tuple.Tuple6<T1, T2, T3, T4, T5, T6>...) - Static method in class net.jqwik.api.Table
+
 
+
of(Tuple.Tuple7<T1, T2, T3, T4, T5, T6, T7>...) - Static method in class net.jqwik.api.Table
+
 
+
of(Tuple.Tuple8<T1, T2, T3, T4, T5, T6, T7, T8>...) - Static method in class net.jqwik.api.Table
+
 
+
of(T1) - Static method in interface net.jqwik.api.Tuple
+
 
+
of(T1, T2) - Static method in interface net.jqwik.api.Tuple
+
 
+
of(T1, T2, T3) - Static method in interface net.jqwik.api.Tuple
+
 
+
of(T1, T2, T3, T4) - Static method in interface net.jqwik.api.Tuple
+
 
+
of(T1, T2, T3, T4, T5) - Static method in interface net.jqwik.api.Tuple
+
 
+
of(T1, T2, T3, T4, T5, T6) - Static method in interface net.jqwik.api.Tuple
+
 
+
of(T1, T2, T3, T4, T5, T6, T7) - Static method in interface net.jqwik.api.Tuple
+
 
+
of(T1, T2, T3, T4, T5, T6, T7, T8) - Static method in interface net.jqwik.api.Tuple
+
 
+
ofLength(int) - Method in interface net.jqwik.api.arbitraries.StringArbitrary
+
+
Fix the length to length of generated strings.
+
+
ofMaxLength(int) - Method in interface net.jqwik.api.arbitraries.StringArbitrary
+
+
Set the maximum allowed length maxLength (included) of generated strings.
+
+
ofMaxSize(int) - Method in interface net.jqwik.api.arbitraries.SizableArbitrary
+
+
Set upper size boundary maxSize (included).
+
+
ofMaxSize(int) - Method in interface net.jqwik.api.stateful.ActionSequenceArbitrary
+
 
+
ofMinLength(int) - Method in interface net.jqwik.api.arbitraries.StringArbitrary
+
+
Set the minimum allowed length mixLength (included) of generated strings.
+
+
ofMinSize(int) - Method in interface net.jqwik.api.arbitraries.SizableArbitrary
+
+
Set lower size boundary minSize (included).
+
+
ofMinSize(int) - Method in interface net.jqwik.api.stateful.ActionSequenceArbitrary
+
 
+
ofScale(int) - Method in interface net.jqwik.api.arbitraries.BigDecimalArbitrary
+
+
Set the scale (maximum number of decimal places) to scale.
+
+
ofScale(int) - Method in interface net.jqwik.api.arbitraries.DoubleArbitrary
+
+
Set the scale (maximum number of decimal places) to scale.
+
+
ofScale(int) - Method in interface net.jqwik.api.arbitraries.FloatArbitrary
+
+
Set the scale (maximum number of decimal places) to scale.
+
+
ofSize(int) - Method in interface net.jqwik.api.arbitraries.SizableArbitrary
+
+
Fix the size to size.
+
+
ofSize(int) - Method in interface net.jqwik.api.stateful.ActionSequenceArbitrary
+
 
+
oneOf(List<Arbitrary<T>>) - Method in class net.jqwik.api.Arbitraries.ArbitrariesFacade
+
 
+
oneOf(Arbitrary<T>, Arbitrary<T>...) - Static method in class net.jqwik.api.Arbitraries
+
+
Create an arbitrary that will randomly choose between all given arbitraries of the same type T.
+
+
oneOf(List<Arbitrary<T>>) - Static method in class net.jqwik.api.Arbitraries
+
+
Create an arbitrary that will randomly choose between all given arbitraries of the same type T.
+
+
optional() - Method in interface net.jqwik.api.Arbitrary
+
+
Create a new arbitrary of type Optional<T> using the existing arbitrary for generating the elements of the + stream.
+
+
order() - Method in interface net.jqwik.api.configurators.ArbitraryConfigurator
+
+
Determines the order in which a configurator will be applied in regards to other configurators.
+
+
order() - Method in interface net.jqwik.api.lifecycle.SkipExecutionHook
+
 
+
+ + + +

P

+
+
plus(ShrinkingDistance) - Method in class net.jqwik.api.ShrinkingDistance
+
 
+
Positive - Annotation Type in net.jqwik.api.constraints
+
+
Constrain the range of a generated number to be greater than 0.
+
+
precondition(M) - Method in interface net.jqwik.api.stateful.Action
+
+
If this method returns false, the action will not be performed.
+
+
priority() - Method in interface net.jqwik.api.providers.ArbitraryProvider
+
+
Providers with higher priority will replace providers with lower priority.
+
+
PRIORITY_NOT_SET - Static variable in annotation type net.jqwik.api.domains.Domain
+
 
+
Property - Annotation Type in net.jqwik.api
+
+
Use @Property to mark methods that serve as properties.
+
+
PropertyExecutionResult - Class in net.jqwik.api.lifecycle
+
+
Experimental feature.
+
+
PropertyExecutionResult.Status - Enum in net.jqwik.api.lifecycle
+
+
Status of executing a single test or container.
+
+
PropertyExecutor - Interface in net.jqwik.api.lifecycle
+
+
Experimental feature.
+
+
PropertyLifecycleContext - Interface in net.jqwik.api.lifecycle
+
+
Experimental feature.
+
+
Provide - Annotation Type in net.jqwik.api
+
+
Used to annotate methods that can provide values for property method parameters.
+
+
provideFor(TypeUsage, ArbitraryProvider.SubtypeProvider) - Method in interface net.jqwik.api.providers.ArbitraryProvider
+
+
This is the method you must override in your own implementations of ArbitraryProvider.
+
+
+ + + +

R

+
+
randomChoose(List<T>) - Method in class net.jqwik.api.Arbitraries.ArbitrariesFacade
+
 
+
randomChoose(char[]) - Method in class net.jqwik.api.Arbitraries.ArbitrariesFacade
+
 
+
randomChoose(Class<T>) - Method in class net.jqwik.api.Arbitraries.ArbitrariesFacade
+
 
+
randomFrequency(List<Tuple.Tuple2<Integer, T>>) - Method in class net.jqwik.api.Arbitraries.ArbitrariesFacade
+
 
+
RandomGenerator<T> - Interface in net.jqwik.api
+
 
+
RandomGenerator.RandomGeneratorFacade - Class in net.jqwik.api
+
 
+
RandomGeneratorFacade() - Constructor for class net.jqwik.api.RandomGenerator.RandomGeneratorFacade
+
 
+
randoms() - Static method in class net.jqwik.api.Arbitraries
+
+
Create an arbitrary for Random objects.
+
+
randomSamples(T[]) - Method in class net.jqwik.api.Arbitraries.ArbitrariesFacade
+
 
+
randomShuffle(List<T>) - Method in class net.jqwik.api.Arbitraries.ArbitrariesFacade
+
 
+
randomValue(Function<Random, T>) - Static method in class net.jqwik.api.Arbitraries
+
+
Create an arbitrary that will generate values of type T using a generator function.
+
+
range(char, char) - Method in interface net.jqwik.api.arbitraries.CharacterArbitrary
+
+
Allow all chars within min (included) and max (included) to show up in generated values.
+
+
reason() - Method in class net.jqwik.api.lifecycle.SkipExecutionHook.SkipResult
+
+
Get the reason that execution of the context should be skipped, + if available.
+
+
recursive(Supplier<Arbitrary<T>>, Function<Arbitrary<T>, Arbitrary<T>>, int) - Static method in class net.jqwik.api.Arbitraries
+
+
Create an arbitrary by deterministic recursion.
+
+
registerArbitrary(TypeUsage, Arbitrary<?>) - Method in class net.jqwik.api.domains.AbstractDomainContextBase
+
 
+
registerArbitrary(Class<T>, Arbitrary<T>) - Method in class net.jqwik.api.domains.AbstractDomainContextBase
+
 
+
registerConfigurator(ArbitraryConfigurator) - Method in class net.jqwik.api.domains.AbstractDomainContextBase
+
 
+
registerProvider(ArbitraryProvider) - Method in class net.jqwik.api.domains.AbstractDomainContextBase
+
 
+
Report - Annotation Type in net.jqwik.api
+
+
Use @Report to specify what additional things should be reported + when running a property.
+
+
Reporting - Enum in net.jqwik.api
+
 
+
run(M) - Method in interface net.jqwik.api.stateful.Action
+
+
Perform an action on model M and return the same model (if it has state) + or a new one representing the new state.
+
+
run(M) - Method in interface net.jqwik.api.stateful.ActionSequence
+
 
+
runActions() - Method in interface net.jqwik.api.stateful.ActionSequence
+
 
+
runState() - Method in interface net.jqwik.api.stateful.ActionSequence
+
 
+
+ + + +

S

+
+
samples(T...) - Static method in class net.jqwik.api.Arbitraries
+
+
Create an arbitrary that will provide the sample values from first to last + and then start again at the beginning.
+
+
Scale - Annotation Type in net.jqwik.api.constraints
+
+
Use to constrain the maximum number of decimal places when generating decimal numbers.
+
+
SEED_NOT_SET - Static variable in annotation type net.jqwik.api.Property
+
 
+
SelfConfiguringArbitrary<T> - Interface in net.jqwik.api.configurators
+
+
An Arbitrary implementation can also implement this interface if it wants + to take over its own configuration which is usually being done by registered instances + of ArbitraryConfigurator.
+
+
sequences(Arbitrary<Action<M>>) - Method in class net.jqwik.api.Arbitraries.ArbitrariesFacade
+
 
+
sequences(Arbitrary<Action<M>>) - Static method in class net.jqwik.api.Arbitraries
+
+
Create an arbitrary to create a sequence of actions.
+
+
set(Arbitrary<T>) - Method in class net.jqwik.api.Arbitrary.ArbitraryFacade
+
 
+
set() - Method in interface net.jqwik.api.Arbitrary
+
+
Create a new arbitrary of type Set<T> using the existing arbitrary for generating the elements of the set.
+
+
setDefaultPriority(int) - Method in class net.jqwik.api.domains.AbstractDomainContextBase
+
 
+
setDefaultPriority(int) - Method in interface net.jqwik.api.domains.DomainContext
+
 
+
ShortArbitrary - Interface in net.jqwik.api.arbitraries
+
+
Fluent interface to configure the generation of Short and short values.
+
+
ShortRange - Annotation Type in net.jqwik.api.constraints
+
+
Constrain the range of a generated short or Short parameters.
+
+
shorts() - Method in class net.jqwik.api.Arbitraries.ArbitrariesFacade
+
 
+
shorts() - Static method in class net.jqwik.api.Arbitraries
+
+
Create an arbitrary that generates values of type Short.
+
+
shouldBeSkipped(LifecycleContext) - Method in interface net.jqwik.api.lifecycle.SkipExecutionHook
+
 
+
shrink(Falsifier<T>) - Method in interface net.jqwik.api.Shrinkable
+
 
+
shrinkable() - Method in class net.jqwik.api.FalsificationResult
+
 
+
Shrinkable<T> - Interface in net.jqwik.api
+
 
+
Shrinkable.ShrinkableFacade - Class in net.jqwik.api
+
 
+
ShrinkableFacade() - Constructor for class net.jqwik.api.Shrinkable.ShrinkableFacade
+
 
+
ShrinkingDistance - Class in net.jqwik.api
+
 
+
ShrinkingMode - Enum in net.jqwik.api
+
+
The shrinking mode defines the shrinking behaviour of a property.
+
+
ShrinkingSequence<T> - Interface in net.jqwik.api
+
 
+
ShrinkingSequence.ShrinkingSequenceFacade - Class in net.jqwik.api
+
 
+
ShrinkingSequenceFacade() - Constructor for class net.jqwik.api.ShrinkingSequence.ShrinkingSequenceFacade
+
 
+
shuffle(T...) - Static method in class net.jqwik.api.Arbitraries
+
+
Create an arbitrary that will always generate a list which is a + permutation of the values handed to it.
+
+
shuffle(List<T>) - Static method in class net.jqwik.api.Arbitraries
+
+
Create an arbitrary that will always generate a list which is a + permutation of the values handed to it.
+
+
SizableArbitrary<U> - Interface in net.jqwik.api.arbitraries
+
+
Fluent interface to configure arbitraries that have size constraints for generated values, e.g. collections and arrays.
+
+
Size - Annotation Type in net.jqwik.api.constraints
+
+
Constrain the size of generated "sizable" types.
+
+
size() - Method in class net.jqwik.api.ShrinkingDistance
+
 
+
size() - Method in interface net.jqwik.api.Tuple
+
 
+
size() - Method in class net.jqwik.api.Tuple.Tuple1
+
 
+
size() - Method in class net.jqwik.api.Tuple.Tuple2
+
 
+
size() - Method in class net.jqwik.api.Tuple.Tuple3
+
 
+
size() - Method in class net.jqwik.api.Tuple.Tuple4
+
 
+
size() - Method in class net.jqwik.api.Tuple.Tuple5
+
 
+
size() - Method in class net.jqwik.api.Tuple.Tuple6
+
 
+
size() - Method in class net.jqwik.api.Tuple.Tuple7
+
 
+
size() - Method in class net.jqwik.api.Tuple.Tuple8
+
 
+
skip(String) - Static method in class net.jqwik.api.lifecycle.SkipExecutionHook.SkipResult
+
 
+
SkipExecutionHook - Interface in net.jqwik.api.lifecycle
+
+
Experimental feature.
+
+
SkipExecutionHook.SkipResult - Class in net.jqwik.api.lifecycle
+
 
+
Statistics - Class in net.jqwik.api
+
+
This class serves as a container for static methods to collect statistical + data about generated values within a property method.
+
+
Statistics() - Constructor for class net.jqwik.api.Statistics
+
 
+
Statistics.StatisticsFacade - Class in net.jqwik.api
+
 
+
StatisticsFacade() - Constructor for class net.jqwik.api.Statistics.StatisticsFacade
+
 
+
status() - Method in class net.jqwik.api.FalsificationResult
+
 
+
stream(Arbitrary<T>) - Method in class net.jqwik.api.Arbitrary.ArbitraryFacade
+
 
+
stream() - Method in interface net.jqwik.api.Arbitrary
+
+
Create a new arbitrary of type Stream<T> using the existing arbitrary for generating the elements of the + stream.
+
+
stream(Random) - Method in interface net.jqwik.api.RandomGenerator
+
 
+
StringArbitrary - Interface in net.jqwik.api.arbitraries
+
+
Fluent interface to configure arbitraries that generate String values.
+
+
StringLength - Annotation Type in net.jqwik.api.constraints
+
+
Constrain the length of generated Strings.
+
+
strings() - Method in class net.jqwik.api.Arbitraries.ArbitrariesFacade
+
 
+
strings() - Static method in class net.jqwik.api.Arbitraries
+
+
Create an arbitrary that generates values of type String.
+
+
successful() - Static method in class net.jqwik.api.lifecycle.PropertyExecutionResult
+
 
+
successful(String) - Static method in class net.jqwik.api.lifecycle.PropertyExecutionResult
+
 
+
+ + + +

T

+
+
Table - Class in net.jqwik.api
+
 
+
Table() - Constructor for class net.jqwik.api.Table
+
 
+
Tag - Annotation Type in net.jqwik.api
+
+
Use @Tag("a tag") to give test classes, groups and methods an (additional) tag + which can later be used to select the set of tests to execute.
+
+
TagList - Annotation Type in net.jqwik.api
+
 
+
targetMethod() - Method in interface net.jqwik.api.lifecycle.PropertyLifecycleContext
+
 
+
testInstance() - Method in interface net.jqwik.api.lifecycle.PropertyLifecycleContext
+
 
+
that(boolean) - Static method in class net.jqwik.api.Assume
+
+
If condition does not hold, the current property method will be aborted, + i.e., it will not be executed but not counted as a try.
+
+
that(Supplier<Boolean>) - Static method in class net.jqwik.api.Assume
+
+
If condition provided by conditionSupplier does not hold, the current property method will be aborted, + i.e., it will not be executed but not counted as a try.
+
+
then(SkipExecutionHook) - Method in interface net.jqwik.api.lifecycle.SkipExecutionHook
+
 
+
throwable() - Method in class net.jqwik.api.FalsificationResult
+
 
+
TooManyFilterMissesException - Exception in net.jqwik.api
+
 
+
TooManyFilterMissesException(String) - Constructor for exception net.jqwik.api.TooManyFilterMissesException
+
 
+
toString() - Method in class net.jqwik.api.lifecycle.PropertyExecutionResult
+
 
+
toString() - Method in class net.jqwik.api.lifecycle.SkipExecutionHook.SkipResult
+
 
+
toString() - Method in class net.jqwik.api.ShrinkingDistance
+
 
+
toString() - Method in class net.jqwik.api.Tuple.Tuple1
+
 
+
toString() - Method in class net.jqwik.api.Tuple.Tuple2
+
 
+
toString() - Method in class net.jqwik.api.Tuple.Tuple3
+
 
+
toString() - Method in class net.jqwik.api.Tuple.Tuple4
+
 
+
toString() - Method in class net.jqwik.api.Tuple.Tuple5
+
 
+
toString() - Method in class net.jqwik.api.Tuple.Tuple6
+
 
+
toString() - Method in class net.jqwik.api.Tuple.Tuple7
+
 
+
toString() - Method in class net.jqwik.api.Tuple.Tuple8
+
 
+
TRIES_NOT_SET - Static variable in annotation type net.jqwik.api.Property
+
 
+
Tuple - Interface in net.jqwik.api
+
 
+
Tuple.Tuple1<T1> - Class in net.jqwik.api
+
 
+
Tuple.Tuple2<T1,T2> - Class in net.jqwik.api
+
 
+
Tuple.Tuple3<T1,T2,T3> - Class in net.jqwik.api
+
 
+
Tuple.Tuple4<T1,T2,T3,T4> - Class in net.jqwik.api
+
 
+
Tuple.Tuple5<T1,T2,T3,T4,T5> - Class in net.jqwik.api
+
 
+
Tuple.Tuple6<T1,T2,T3,T4,T5,T6> - Class in net.jqwik.api
+
 
+
Tuple.Tuple7<T1,T2,T3,T4,T5,T6,T7> - Class in net.jqwik.api
+
 
+
Tuple.Tuple8<T1,T2,T3,T4,T5,T6,T7,T8> - Class in net.jqwik.api
+
 
+
TypeArbitrary<T> - Interface in net.jqwik.api.arbitraries
+
+
Fluent interface to configure arbitraries that try to generate instances + of a given type T from the type's available constructors and factory methods.
+
+
TypeUsage - Interface in net.jqwik.api.providers
+
+
An instance of TypeUsage describes the information available for parameter or return types.
+
+
TypeUsage.TypeUsageFacade - Class in net.jqwik.api.providers
+
 
+
TypeUsageFacade() - Constructor for class net.jqwik.api.providers.TypeUsage.TypeUsageFacade
+
 
+
+ + + +

U

+
+
unique() - Method in interface net.jqwik.api.Arbitrary
+
+
Create a new arbitrary of the same type T that creates and shrinks the original arbitrary but will + never generate the same value twice.
+
+
Unique - Annotation Type in net.jqwik.api.constraints
+
+
Make a generated value to be unique withing the same try.
+
+
unique(ExhaustiveGenerator<T>) - Method in class net.jqwik.api.ExhaustiveGenerator.ExhaustiveGeneratorFacade
+
 
+
unique() - Method in interface net.jqwik.api.ExhaustiveGenerator
+
 
+
unique(RandomGenerator<T>) - Method in class net.jqwik.api.RandomGenerator.RandomGeneratorFacade
+
 
+
unique() - Method in interface net.jqwik.api.RandomGenerator
+
 
+
unshrinkable(T) - Method in class net.jqwik.api.Shrinkable.ShrinkableFacade
+
 
+
unshrinkable(T) - Static method in interface net.jqwik.api.Shrinkable
+
 
+
UpperChars - Annotation Type in net.jqwik.api.constraints
+
+
Constrain the chars used to generate Strings or Characters to upper and lower case chars.
+
+
use(Executable) - Method in interface net.jqwik.api.arbitraries.TypeArbitrary
+
+
Add another creator (function or constructor) to be used + for generating values of type T
+
+
use(Arbitrary<T>) - Method in class net.jqwik.api.Combinators.BuilderCombinator
+
 
+
useAllConstructors() - Method in interface net.jqwik.api.arbitraries.TypeArbitrary
+
+
Add all constructors (public, private or package scope) of class T to be used + for generating values of type T
+
+
useAllFactoryMethods() - Method in interface net.jqwik.api.arbitraries.TypeArbitrary
+
+
Add all factory methods (static methods with return type T) + of class T to be used for generating values of type T
+
+
useConstructors(Predicate<? super Constructor<?>>) - Method in interface net.jqwik.api.arbitraries.TypeArbitrary
+
+
Add all constructors (public, private or package scope) of class T to be used + for generating values of type T
+
+
useFactoryMethods(Predicate<Method>) - Method in interface net.jqwik.api.arbitraries.TypeArbitrary
+
+
Add all factory methods (static methods with return type T) + of class T to be used for generating values of type T
+
+
usePublicConstructors() - Method in interface net.jqwik.api.arbitraries.TypeArbitrary
+
+
Add public constructors of class T to be used + for generating values of type T
+
+
usePublicFactoryMethods() - Method in interface net.jqwik.api.arbitraries.TypeArbitrary
+
+
Add public factory methods (static methods with return type T) + of class T to be used for generating values of type T
+
+
UseType - Annotation Type in net.jqwik.api.constraints
+
+
Generate a value from the annotated class' or type's constructors or factory methods.
+
+
UseTypeMode - Enum in net.jqwik.api.constraints
+
 
+
+ + + +

V

+
+
value() - Method in class net.jqwik.api.FalsificationResult
+
 
+
value() - Method in interface net.jqwik.api.Shrinkable
+
 
+
valueOf(String) - Static method in enum net.jqwik.api.AfterFailureMode
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum net.jqwik.api.constraints.UseTypeMode
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum net.jqwik.api.FalsificationResult.Status
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum net.jqwik.api.GenerationMode
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum net.jqwik.api.lifecycle.PropertyExecutionResult.Status
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum net.jqwik.api.Reporting
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum net.jqwik.api.ShrinkingMode
+
+
Returns the enum constant of this type with the specified name.
+
+
valueOf(String) - Static method in enum net.jqwik.api.stateful.ActionSequence.RunState
+
+
Returns the enum constant of this type with the specified name.
+
+
values() - Static method in enum net.jqwik.api.AfterFailureMode
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum net.jqwik.api.constraints.UseTypeMode
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum net.jqwik.api.FalsificationResult.Status
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum net.jqwik.api.GenerationMode
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum net.jqwik.api.lifecycle.PropertyExecutionResult.Status
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum net.jqwik.api.Reporting
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum net.jqwik.api.ShrinkingMode
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
values() - Static method in enum net.jqwik.api.stateful.ActionSequence.RunState
+
+
Returns an array containing the constants of this enum type, in +the order they are declared.
+
+
+ + + +

W

+
+
whitespace() - Method in interface net.jqwik.api.arbitraries.CharacterArbitrary
+
+
Allow all whitespace chars to show up in generated values.
+
+
whitespace() - Method in interface net.jqwik.api.arbitraries.StringArbitrary
+
+
Allow all chars that will return true for + Character.isWhitespace(char).
+
+
Whitespace - Annotation Type in net.jqwik.api.constraints
+
+
Constrain the chars used to generate Strings or Characters to chars + that will return true for Character.isWhitespace(char).
+
+
wildcard(TypeUsage) - Method in class net.jqwik.api.providers.TypeUsage.TypeUsageFacade
+
 
+
wildcard(TypeUsage) - Static method in interface net.jqwik.api.providers.TypeUsage
+
 
+
with(char...) - Method in interface net.jqwik.api.arbitraries.CharacterArbitrary
+
+
Allow all chars in chars show up in generated values.
+
+
withBuilder(Supplier<B>) - Static method in class net.jqwik.api.Combinators
+
+
Combine Arbitraries by means of a builder.
+
+
withBuilder(Arbitrary<B>) - Static method in class net.jqwik.api.Combinators
+
+
Combine Arbitraries by means of a builder.
+
+
withCharRange(char, char) - Method in interface net.jqwik.api.arbitraries.StringArbitrary
+
+
Allow all chars within from (included) and to (included) to show up in generated strings.
+
+
withChars(char...) - Method in interface net.jqwik.api.arbitraries.StringArbitrary
+
+
Allow all chars in chars to show up in generated strings.
+
+
withEdgeCases(RandomGenerator<T>, int, List<Shrinkable<T>>) - Method in class net.jqwik.api.RandomGenerator.RandomGeneratorFacade
+
 
+
withEdgeCases(int, List<Shrinkable<T>>) - Method in interface net.jqwik.api.RandomGenerator
+
 
+
withFilter(Predicate<T>) - Method in interface net.jqwik.api.Falsifier
+
 
+
withInvariant(Invariant<M>) - Method in interface net.jqwik.api.stateful.ActionSequence
+
 
+
WithNull - Annotation Type in net.jqwik.api.constraints
+
+
Allows jqwik to inject null parameters into generated values.
+
+
withPostFilter(Predicate<T>) - Method in interface net.jqwik.api.Falsifier
+
 
+
withSamples(T...) - Method in interface net.jqwik.api.Arbitrary
+
+
Create a new arbitrary of the same type but inject values in samples first before continuing with standard + value generation.
+
+
withSamples(ExhaustiveGenerator<T>, T[]) - Method in class net.jqwik.api.ExhaustiveGenerator.ExhaustiveGeneratorFacade
+
 
+
withSamples(T[]) - Method in interface net.jqwik.api.ExhaustiveGenerator
+
 
+
withSamples(RandomGenerator<T>, T[]) - Method in class net.jqwik.api.RandomGenerator.RandomGeneratorFacade
+
 
+
withSamples(T...) - Method in interface net.jqwik.api.RandomGenerator
+
 
+
+A B C D E F G H I J L M N O P R S T U V W 
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/index.html b/docs/docs/1.1.3/javadoc/index.html new file mode 100644 index 000000000..61a3add10 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/index.html @@ -0,0 +1,75 @@ + + + + + +documentation 1.1.3 API + + + + + + + + + +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<h2>Frame Alert</h2> +<p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="overview-summary.html">Non-frame version</a>.</p> + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/AfterFailureMode.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/AfterFailureMode.html new file mode 100644 index 000000000..2debcbee8 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/AfterFailureMode.html @@ -0,0 +1,403 @@ + + + + + +AfterFailureMode (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api
+

Enum AfterFailureMode

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/Arbitraries.ArbitrariesFacade.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/Arbitraries.ArbitrariesFacade.html new file mode 100644 index 000000000..5a62411af --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/Arbitraries.ArbitrariesFacade.html @@ -0,0 +1,629 @@ + + + + + +Arbitraries.ArbitrariesFacade (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api
+

Class Arbitraries.ArbitrariesFacade

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/Arbitraries.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/Arbitraries.html new file mode 100644 index 000000000..5e7e88784 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/Arbitraries.html @@ -0,0 +1,1087 @@ + + + + + +Arbitraries (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api
+

Class Arbitraries

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/Arbitrary.ArbitraryFacade.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/Arbitrary.ArbitraryFacade.html new file mode 100644 index 000000000..957501176 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/Arbitrary.ArbitraryFacade.html @@ -0,0 +1,343 @@ + + + + + +Arbitrary.ArbitraryFacade (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api
+

Class Arbitrary.ArbitraryFacade

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/Arbitrary.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/Arbitrary.html new file mode 100644 index 000000000..a1dac81f1 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/Arbitrary.html @@ -0,0 +1,577 @@ + + + + + +Arbitrary (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api
+

Interface Arbitrary<T>

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/Assume.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/Assume.html new file mode 100644 index 000000000..6cd6407ff --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/Assume.html @@ -0,0 +1,272 @@ + + + + + +Assume (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api
+

Class Assume

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/CannotFindArbitraryException.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/CannotFindArbitraryException.html new file mode 100644 index 000000000..6674e1b12 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/CannotFindArbitraryException.html @@ -0,0 +1,286 @@ + + + + + +CannotFindArbitraryException (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api
+

Class CannotFindArbitraryException

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/Combinators.BuilderCombinator.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/Combinators.BuilderCombinator.html new file mode 100644 index 000000000..52ab8def7 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/Combinators.BuilderCombinator.html @@ -0,0 +1,254 @@ + + + + + +Combinators.BuilderCombinator (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api
+

Class Combinators.BuilderCombinator<B>

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/Combinators.CombinableBuilder.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/Combinators.CombinableBuilder.html new file mode 100644 index 000000000..f0a2466be --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/Combinators.CombinableBuilder.html @@ -0,0 +1,241 @@ + + + + + +Combinators.CombinableBuilder (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api
+

Class Combinators.CombinableBuilder<B,T>

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/Combinators.Combinator2.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/Combinators.Combinator2.html new file mode 100644 index 000000000..be28b1506 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/Combinators.Combinator2.html @@ -0,0 +1,252 @@ + + + + + +Combinators.Combinator2 (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api
+

Class Combinators.Combinator2<T1,T2>

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/Combinators.Combinator3.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/Combinators.Combinator3.html new file mode 100644 index 000000000..e7f058e8d --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/Combinators.Combinator3.html @@ -0,0 +1,252 @@ + + + + + +Combinators.Combinator3 (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api
+

Class Combinators.Combinator3<T1,T2,T3>

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/Combinators.Combinator4.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/Combinators.Combinator4.html new file mode 100644 index 000000000..2905c720d --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/Combinators.Combinator4.html @@ -0,0 +1,252 @@ + + + + + +Combinators.Combinator4 (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api
+

Class Combinators.Combinator4<T1,T2,T3,T4>

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/Combinators.Combinator5.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/Combinators.Combinator5.html new file mode 100644 index 000000000..53492c748 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/Combinators.Combinator5.html @@ -0,0 +1,252 @@ + + + + + +Combinators.Combinator5 (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api
+

Class Combinators.Combinator5<T1,T2,T3,T4,T5>

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/Combinators.Combinator6.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/Combinators.Combinator6.html new file mode 100644 index 000000000..58d480079 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/Combinators.Combinator6.html @@ -0,0 +1,252 @@ + + + + + +Combinators.Combinator6 (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api
+

Class Combinators.Combinator6<T1,T2,T3,T4,T5,T6>

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/Combinators.Combinator7.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/Combinators.Combinator7.html new file mode 100644 index 000000000..e83c7c92f --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/Combinators.Combinator7.html @@ -0,0 +1,252 @@ + + + + + +Combinators.Combinator7 (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api
+

Class Combinators.Combinator7<T1,T2,T3,T4,T5,T6,T7>

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/Combinators.Combinator8.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/Combinators.Combinator8.html new file mode 100644 index 000000000..ef371f4d4 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/Combinators.Combinator8.html @@ -0,0 +1,252 @@ + + + + + +Combinators.Combinator8 (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api
+

Class Combinators.Combinator8<T1,T2,T3,T4,T5,T6,T7,T8>

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/Combinators.CombinatorsFacade.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/Combinators.CombinatorsFacade.html new file mode 100644 index 000000000..e3c769b53 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/Combinators.CombinatorsFacade.html @@ -0,0 +1,291 @@ + + + + + +Combinators.CombinatorsFacade (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api
+

Class Combinators.CombinatorsFacade

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/Combinators.F2.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/Combinators.F2.html new file mode 100644 index 000000000..35f3debd3 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/Combinators.F2.html @@ -0,0 +1,233 @@ + + + + + +Combinators.F2 (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api
+

Interface Combinators.F2<T1,T2,R>

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/Combinators.F3.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/Combinators.F3.html new file mode 100644 index 000000000..cc06aeb84 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/Combinators.F3.html @@ -0,0 +1,235 @@ + + + + + +Combinators.F3 (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api
+

Interface Combinators.F3<T1,T2,T3,R>

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/Combinators.F4.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/Combinators.F4.html new file mode 100644 index 000000000..3f3b71c08 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/Combinators.F4.html @@ -0,0 +1,237 @@ + + + + + +Combinators.F4 (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api
+

Interface Combinators.F4<T1,T2,T3,T4,R>

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/Combinators.F5.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/Combinators.F5.html new file mode 100644 index 000000000..c7c064d71 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/Combinators.F5.html @@ -0,0 +1,239 @@ + + + + + +Combinators.F5 (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api
+

Interface Combinators.F5<T1,T2,T3,T4,T5,R>

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/Combinators.F6.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/Combinators.F6.html new file mode 100644 index 000000000..a3f23075f --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/Combinators.F6.html @@ -0,0 +1,241 @@ + + + + + +Combinators.F6 (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api
+

Interface Combinators.F6<T1,T2,T3,T4,T5,T6,R>

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/Combinators.F7.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/Combinators.F7.html new file mode 100644 index 000000000..c09269cfd --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/Combinators.F7.html @@ -0,0 +1,243 @@ + + + + + +Combinators.F7 (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api
+

Interface Combinators.F7<T1,T2,T3,T4,T5,T6,T7,R>

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/Combinators.F8.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/Combinators.F8.html new file mode 100644 index 000000000..6bc6e0131 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/Combinators.F8.html @@ -0,0 +1,245 @@ + + + + + +Combinators.F8 (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api
+

Interface Combinators.F8<T1,T2,T3,T4,T5,T6,T7,T8,R>

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/Combinators.ListCombinator.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/Combinators.ListCombinator.html new file mode 100644 index 000000000..b7089d828 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/Combinators.ListCombinator.html @@ -0,0 +1,252 @@ + + + + + +Combinators.ListCombinator (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api
+

Class Combinators.ListCombinator<T>

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/Combinators.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/Combinators.html new file mode 100644 index 000000000..4ea42ab5c --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/Combinators.html @@ -0,0 +1,578 @@ + + + + + +Combinators (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api
+

Class Combinators

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/Data.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/Data.html new file mode 100644 index 000000000..2c02874f2 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/Data.html @@ -0,0 +1,222 @@ + + + + + +Data (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api
+

Annotation Type Data

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/Disabled.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/Disabled.html new file mode 100644 index 000000000..c98334354 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/Disabled.html @@ -0,0 +1,223 @@ + + + + + +Disabled (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api
+

Annotation Type Disabled

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/Example.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/Example.html new file mode 100644 index 000000000..67637e23b --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/Example.html @@ -0,0 +1,180 @@ + + + + + +Example (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api
+

Annotation Type Example

+
+
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/ExhaustiveGenerator.ExhaustiveGeneratorFacade.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/ExhaustiveGenerator.ExhaustiveGeneratorFacade.html new file mode 100644 index 000000000..822d03024 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/ExhaustiveGenerator.ExhaustiveGeneratorFacade.html @@ -0,0 +1,334 @@ + + + + + +ExhaustiveGenerator.ExhaustiveGeneratorFacade (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api
+

Class ExhaustiveGenerator.ExhaustiveGeneratorFacade

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/ExhaustiveGenerator.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/ExhaustiveGenerator.html new file mode 100644 index 000000000..6f4e3219d --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/ExhaustiveGenerator.html @@ -0,0 +1,340 @@ + + + + + +ExhaustiveGenerator (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api
+

Interface ExhaustiveGenerator<T>

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/FacadeLoader.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/FacadeLoader.html new file mode 100644 index 000000000..63401c4f6 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/FacadeLoader.html @@ -0,0 +1,284 @@ + + + + + +FacadeLoader (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api
+

Class FacadeLoader

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/FalsificationResult.Status.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/FalsificationResult.Status.html new file mode 100644 index 000000000..a70817ed1 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/FalsificationResult.Status.html @@ -0,0 +1,355 @@ + + + + + +FalsificationResult.Status (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api
+

Enum FalsificationResult.Status

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/FalsificationResult.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/FalsificationResult.html new file mode 100644 index 000000000..fb7a29a51 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/FalsificationResult.html @@ -0,0 +1,410 @@ + + + + + +FalsificationResult (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api
+

Class FalsificationResult<T>

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/Falsifier.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/Falsifier.html new file mode 100644 index 000000000..8f0f74bb9 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/Falsifier.html @@ -0,0 +1,267 @@ + + + + + +Falsifier (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api
+

Interface Falsifier<T>

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/ForAll.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/ForAll.html new file mode 100644 index 000000000..6f6daa694 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/ForAll.html @@ -0,0 +1,229 @@ + + + + + +ForAll (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api
+

Annotation Type ForAll

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/FromData.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/FromData.html new file mode 100644 index 000000000..700ccfa7c --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/FromData.html @@ -0,0 +1,224 @@ + + + + + +FromData (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api
+

Annotation Type FromData

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/GenerationMode.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/GenerationMode.html new file mode 100644 index 000000000..06af567da --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/GenerationMode.html @@ -0,0 +1,405 @@ + + + + + +GenerationMode (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api
+

Enum GenerationMode

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/Group.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/Group.html new file mode 100644 index 000000000..34519087d --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/Group.html @@ -0,0 +1,167 @@ + + + + + +Group (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api
+

Annotation Type Group

+
+
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/JqwikException.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/JqwikException.html new file mode 100644 index 000000000..ed6cab273 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/JqwikException.html @@ -0,0 +1,289 @@ + + + + + +JqwikException (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api
+

Class JqwikException

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/Label.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/Label.html new file mode 100644 index 000000000..a61c3e037 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/Label.html @@ -0,0 +1,222 @@ + + + + + +Label (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api
+

Annotation Type Label

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/Property.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/Property.html new file mode 100644 index 000000000..7b5d5b5a6 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/Property.html @@ -0,0 +1,444 @@ + + + + + +Property (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api
+

Annotation Type Property

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/Provide.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/Provide.html new file mode 100644 index 000000000..727559177 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/Provide.html @@ -0,0 +1,222 @@ + + + + + +Provide (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api
+

Annotation Type Provide

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/RandomGenerator.RandomGeneratorFacade.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/RandomGenerator.RandomGeneratorFacade.html new file mode 100644 index 000000000..82034e36c --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/RandomGenerator.RandomGeneratorFacade.html @@ -0,0 +1,359 @@ + + + + + +RandomGenerator.RandomGeneratorFacade (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api
+

Class RandomGenerator.RandomGeneratorFacade

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/RandomGenerator.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/RandomGenerator.html new file mode 100644 index 000000000..f3da417ce --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/RandomGenerator.html @@ -0,0 +1,369 @@ + + + + + +RandomGenerator (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api
+

Interface RandomGenerator<T>

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/Report.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/Report.html new file mode 100644 index 000000000..aa52dc546 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/Report.html @@ -0,0 +1,220 @@ + + + + + +Report (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api
+

Annotation Type Report

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/Reporting.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/Reporting.html new file mode 100644 index 000000000..10951aae2 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/Reporting.html @@ -0,0 +1,354 @@ + + + + + +Reporting (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api
+

Enum Reporting

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/Shrinkable.ShrinkableFacade.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/Shrinkable.ShrinkableFacade.html new file mode 100644 index 000000000..22c5b80d1 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/Shrinkable.ShrinkableFacade.html @@ -0,0 +1,325 @@ + + + + + +Shrinkable.ShrinkableFacade (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api
+

Class Shrinkable.ShrinkableFacade

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/Shrinkable.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/Shrinkable.html new file mode 100644 index 000000000..a52891183 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/Shrinkable.html @@ -0,0 +1,361 @@ + + + + + +Shrinkable (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api
+

Interface Shrinkable<T>

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/ShrinkingDistance.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/ShrinkingDistance.html new file mode 100644 index 000000000..e29eb1fe4 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/ShrinkingDistance.html @@ -0,0 +1,398 @@ + + + + + +ShrinkingDistance (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api
+

Class ShrinkingDistance

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/ShrinkingMode.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/ShrinkingMode.html new file mode 100644 index 000000000..403bc9f9f --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/ShrinkingMode.html @@ -0,0 +1,371 @@ + + + + + +ShrinkingMode (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api
+

Enum ShrinkingMode

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/ShrinkingSequence.ShrinkingSequenceFacade.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/ShrinkingSequence.ShrinkingSequenceFacade.html new file mode 100644 index 000000000..1b2caf2b3 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/ShrinkingSequence.ShrinkingSequenceFacade.html @@ -0,0 +1,319 @@ + + + + + +ShrinkingSequence.ShrinkingSequenceFacade (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api
+

Class ShrinkingSequence.ShrinkingSequenceFacade

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/ShrinkingSequence.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/ShrinkingSequence.html new file mode 100644 index 000000000..93b7de88f --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/ShrinkingSequence.html @@ -0,0 +1,321 @@ + + + + + +ShrinkingSequence (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api
+

Interface ShrinkingSequence<T>

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/Statistics.StatisticsFacade.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/Statistics.StatisticsFacade.html new file mode 100644 index 000000000..9c01b74f7 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/Statistics.StatisticsFacade.html @@ -0,0 +1,273 @@ + + + + + +Statistics.StatisticsFacade (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api
+

Class Statistics.StatisticsFacade

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/Statistics.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/Statistics.html new file mode 100644 index 000000000..703cce8a7 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/Statistics.html @@ -0,0 +1,302 @@ + + + + + +Statistics (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api
+

Class Statistics

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/Table.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/Table.html new file mode 100644 index 000000000..da4103bc3 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/Table.html @@ -0,0 +1,377 @@ + + + + + +Table (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api
+

Class Table

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/Tag.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/Tag.html new file mode 100644 index 000000000..0f004631d --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/Tag.html @@ -0,0 +1,237 @@ + + + + + +Tag (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api
+

Annotation Type Tag

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/TagList.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/TagList.html new file mode 100644 index 000000000..a428d2658 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/TagList.html @@ -0,0 +1,214 @@ + + + + + +TagList (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api
+

Annotation Type TagList

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/TooManyFilterMissesException.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/TooManyFilterMissesException.html new file mode 100644 index 000000000..ba1703add --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/TooManyFilterMissesException.html @@ -0,0 +1,272 @@ + + + + + +TooManyFilterMissesException (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api
+

Class TooManyFilterMissesException

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/Tuple.Tuple1.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/Tuple.Tuple1.html new file mode 100644 index 000000000..508f2db8d --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/Tuple.Tuple1.html @@ -0,0 +1,359 @@ + + + + + +Tuple.Tuple1 (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api
+

Class Tuple.Tuple1<T1>

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/Tuple.Tuple2.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/Tuple.Tuple2.html new file mode 100644 index 000000000..192e3455a --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/Tuple.Tuple2.html @@ -0,0 +1,374 @@ + + + + + +Tuple.Tuple2 (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api
+

Class Tuple.Tuple2<T1,T2>

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/Tuple.Tuple3.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/Tuple.Tuple3.html new file mode 100644 index 000000000..be3c85d48 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/Tuple.Tuple3.html @@ -0,0 +1,386 @@ + + + + + +Tuple.Tuple3 (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api
+

Class Tuple.Tuple3<T1,T2,T3>

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/Tuple.Tuple4.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/Tuple.Tuple4.html new file mode 100644 index 000000000..894140f92 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/Tuple.Tuple4.html @@ -0,0 +1,398 @@ + + + + + +Tuple.Tuple4 (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api
+

Class Tuple.Tuple4<T1,T2,T3,T4>

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/Tuple.Tuple5.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/Tuple.Tuple5.html new file mode 100644 index 000000000..2e9af7669 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/Tuple.Tuple5.html @@ -0,0 +1,410 @@ + + + + + +Tuple.Tuple5 (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api
+

Class Tuple.Tuple5<T1,T2,T3,T4,T5>

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/Tuple.Tuple6.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/Tuple.Tuple6.html new file mode 100644 index 000000000..e8b39188d --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/Tuple.Tuple6.html @@ -0,0 +1,422 @@ + + + + + +Tuple.Tuple6 (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api
+

Class Tuple.Tuple6<T1,T2,T3,T4,T5,T6>

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/Tuple.Tuple7.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/Tuple.Tuple7.html new file mode 100644 index 000000000..a0aed1c50 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/Tuple.Tuple7.html @@ -0,0 +1,434 @@ + + + + + +Tuple.Tuple7 (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api
+

Class Tuple.Tuple7<T1,T2,T3,T4,T5,T6,T7>

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/Tuple.Tuple8.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/Tuple.Tuple8.html new file mode 100644 index 000000000..aed314e74 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/Tuple.Tuple8.html @@ -0,0 +1,442 @@ + + + + + +Tuple.Tuple8 (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api
+

Class Tuple.Tuple8<T1,T2,T3,T4,T5,T6,T7,T8>

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/Tuple.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/Tuple.html new file mode 100644 index 000000000..fbde7657f --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/Tuple.html @@ -0,0 +1,466 @@ + + + + + +Tuple (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api
+

Interface Tuple

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/arbitraries/BigDecimalArbitrary.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/arbitraries/BigDecimalArbitrary.html new file mode 100644 index 000000000..89c88cff0 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/arbitraries/BigDecimalArbitrary.html @@ -0,0 +1,302 @@ + + + + + +BigDecimalArbitrary (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api.arbitraries
+

Interface BigDecimalArbitrary

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/arbitraries/BigIntegerArbitrary.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/arbitraries/BigIntegerArbitrary.html new file mode 100644 index 000000000..b4a786d2d --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/arbitraries/BigIntegerArbitrary.html @@ -0,0 +1,286 @@ + + + + + +BigIntegerArbitrary (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api.arbitraries
+

Interface BigIntegerArbitrary

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/arbitraries/ByteArbitrary.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/arbitraries/ByteArbitrary.html new file mode 100644 index 000000000..7509ed3ce --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/arbitraries/ByteArbitrary.html @@ -0,0 +1,286 @@ + + + + + +ByteArbitrary (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api.arbitraries
+

Interface ByteArbitrary

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/arbitraries/CharacterArbitrary.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/arbitraries/CharacterArbitrary.html new file mode 100644 index 000000000..efe099132 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/arbitraries/CharacterArbitrary.html @@ -0,0 +1,375 @@ + + + + + +CharacterArbitrary (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api.arbitraries
+

Interface CharacterArbitrary

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/arbitraries/DoubleArbitrary.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/arbitraries/DoubleArbitrary.html new file mode 100644 index 000000000..68d7fab0b --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/arbitraries/DoubleArbitrary.html @@ -0,0 +1,302 @@ + + + + + +DoubleArbitrary (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api.arbitraries
+

Interface DoubleArbitrary

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/arbitraries/FloatArbitrary.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/arbitraries/FloatArbitrary.html new file mode 100644 index 000000000..4140beecd --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/arbitraries/FloatArbitrary.html @@ -0,0 +1,302 @@ + + + + + +FloatArbitrary (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api.arbitraries
+

Interface FloatArbitrary

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/arbitraries/IntegerArbitrary.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/arbitraries/IntegerArbitrary.html new file mode 100644 index 000000000..87ad002f7 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/arbitraries/IntegerArbitrary.html @@ -0,0 +1,286 @@ + + + + + +IntegerArbitrary (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api.arbitraries
+

Interface IntegerArbitrary

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/arbitraries/LongArbitrary.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/arbitraries/LongArbitrary.html new file mode 100644 index 000000000..b68d56440 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/arbitraries/LongArbitrary.html @@ -0,0 +1,286 @@ + + + + + +LongArbitrary (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api.arbitraries
+

Interface LongArbitrary

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/arbitraries/ShortArbitrary.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/arbitraries/ShortArbitrary.html new file mode 100644 index 000000000..d8d7be68c --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/arbitraries/ShortArbitrary.html @@ -0,0 +1,286 @@ + + + + + +ShortArbitrary (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api.arbitraries
+

Interface ShortArbitrary

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/arbitraries/SizableArbitrary.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/arbitraries/SizableArbitrary.html new file mode 100644 index 000000000..d9707568d --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/arbitraries/SizableArbitrary.html @@ -0,0 +1,288 @@ + + + + + +SizableArbitrary (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api.arbitraries
+

Interface SizableArbitrary<U>

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/arbitraries/StringArbitrary.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/arbitraries/StringArbitrary.html new file mode 100644 index 000000000..afb92fabf --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/arbitraries/StringArbitrary.html @@ -0,0 +1,414 @@ + + + + + +StringArbitrary (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api.arbitraries
+

Interface StringArbitrary

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/arbitraries/TypeArbitrary.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/arbitraries/TypeArbitrary.html new file mode 100644 index 000000000..3d9c26602 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/arbitraries/TypeArbitrary.html @@ -0,0 +1,409 @@ + + + + + +TypeArbitrary (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api.arbitraries
+

Interface TypeArbitrary<T>

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/arbitraries/package-frame.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/arbitraries/package-frame.html new file mode 100644 index 000000000..3f6ec5dc0 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/arbitraries/package-frame.html @@ -0,0 +1,31 @@ + + + + + +net.jqwik.api.arbitraries (documentation 1.1.3 API) + + + + + +

net.jqwik.api.arbitraries

+
+

Interfaces

+ +
+ + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/arbitraries/package-summary.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/arbitraries/package-summary.html new file mode 100644 index 000000000..3db921168 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/arbitraries/package-summary.html @@ -0,0 +1,209 @@ + + + + + +net.jqwik.api.arbitraries (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
+

Package net.jqwik.api.arbitraries

+
+
+ +
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/arbitraries/package-tree.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/arbitraries/package-tree.html new file mode 100644 index 000000000..85401655b --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/arbitraries/package-tree.html @@ -0,0 +1,146 @@ + + + + + +net.jqwik.api.arbitraries Class Hierarchy (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
+

Hierarchy For Package net.jqwik.api.arbitraries

+Package Hierarchies: + +
+
+

Interface Hierarchy

+ +
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/configurators/ArbitraryConfigurationException.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/configurators/ArbitraryConfigurationException.html new file mode 100644 index 000000000..168febfd5 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/configurators/ArbitraryConfigurationException.html @@ -0,0 +1,232 @@ + + + + + +ArbitraryConfigurationException (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api.configurators
+

Class ArbitraryConfigurationException

+
+
+ +
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/configurators/ArbitraryConfigurator.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/configurators/ArbitraryConfigurator.html new file mode 100644 index 000000000..72f2a55fd --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/configurators/ArbitraryConfigurator.html @@ -0,0 +1,288 @@ + + + + + +ArbitraryConfigurator (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api.configurators
+

Interface ArbitraryConfigurator

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/configurators/ArbitraryConfiguratorBase.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/configurators/ArbitraryConfiguratorBase.html new file mode 100644 index 000000000..aee7dd228 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/configurators/ArbitraryConfiguratorBase.html @@ -0,0 +1,334 @@ + + + + + +ArbitraryConfiguratorBase (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api.configurators
+

Class ArbitraryConfiguratorBase

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/configurators/SelfConfiguringArbitrary.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/configurators/SelfConfiguringArbitrary.html new file mode 100644 index 000000000..96f3cf06c --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/configurators/SelfConfiguringArbitrary.html @@ -0,0 +1,249 @@ + + + + + +SelfConfiguringArbitrary (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api.configurators
+

Interface SelfConfiguringArbitrary<T>

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/configurators/package-frame.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/configurators/package-frame.html new file mode 100644 index 000000000..1dcd341d8 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/configurators/package-frame.html @@ -0,0 +1,29 @@ + + + + + +net.jqwik.api.configurators (documentation 1.1.3 API) + + + + + +

net.jqwik.api.configurators

+
+

Interfaces

+ +

Classes

+ +

Exceptions

+ +
+ + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/configurators/package-summary.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/configurators/package-summary.html new file mode 100644 index 000000000..1f38dae30 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/configurators/package-summary.html @@ -0,0 +1,187 @@ + + + + + +net.jqwik.api.configurators (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
+

Package net.jqwik.api.configurators

+
+
+ +
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/configurators/package-tree.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/configurators/package-tree.html new file mode 100644 index 000000000..6018d84ab --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/configurators/package-tree.html @@ -0,0 +1,161 @@ + + + + + +net.jqwik.api.configurators Class Hierarchy (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
+

Hierarchy For Package net.jqwik.api.configurators

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +

Interface Hierarchy

+ +
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/AlphaChars.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/AlphaChars.html new file mode 100644 index 000000000..2c9b8667c --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/AlphaChars.html @@ -0,0 +1,178 @@ + + + + + +AlphaChars (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api.constraints
+

Annotation Type AlphaChars

+
+
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/BigRange.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/BigRange.html new file mode 100644 index 000000000..76ee88fbc --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/BigRange.html @@ -0,0 +1,251 @@ + + + + + +BigRange (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api.constraints
+

Annotation Type BigRange

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/ByteRange.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/ByteRange.html new file mode 100644 index 000000000..3668f639c --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/ByteRange.html @@ -0,0 +1,251 @@ + + + + + +ByteRange (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api.constraints
+

Annotation Type ByteRange

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/CharRange.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/CharRange.html new file mode 100644 index 000000000..87bef332d --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/CharRange.html @@ -0,0 +1,263 @@ + + + + + +CharRange (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api.constraints
+

Annotation Type CharRange

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/CharRangeList.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/CharRangeList.html new file mode 100644 index 000000000..caf53a5d7 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/CharRangeList.html @@ -0,0 +1,214 @@ + + + + + +CharRangeList (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api.constraints
+

Annotation Type CharRangeList

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/Chars.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/Chars.html new file mode 100644 index 000000000..441ce29ba --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/Chars.html @@ -0,0 +1,227 @@ + + + + + +Chars (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api.constraints
+

Annotation Type Chars

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/CharsList.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/CharsList.html new file mode 100644 index 000000000..9a12c2760 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/CharsList.html @@ -0,0 +1,214 @@ + + + + + +CharsList (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api.constraints
+

Annotation Type CharsList

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/DoubleRange.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/DoubleRange.html new file mode 100644 index 000000000..73f90231a --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/DoubleRange.html @@ -0,0 +1,251 @@ + + + + + +DoubleRange (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api.constraints
+

Annotation Type DoubleRange

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/FloatRange.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/FloatRange.html new file mode 100644 index 000000000..c5cd27ec8 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/FloatRange.html @@ -0,0 +1,251 @@ + + + + + +FloatRange (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api.constraints
+

Annotation Type FloatRange

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/IntRange.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/IntRange.html new file mode 100644 index 000000000..6cff0fd68 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/IntRange.html @@ -0,0 +1,251 @@ + + + + + +IntRange (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api.constraints
+

Annotation Type IntRange

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/LongRange.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/LongRange.html new file mode 100644 index 000000000..90696c9cf --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/LongRange.html @@ -0,0 +1,251 @@ + + + + + +LongRange (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api.constraints
+

Annotation Type LongRange

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/LowerChars.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/LowerChars.html new file mode 100644 index 000000000..3df5b3dec --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/LowerChars.html @@ -0,0 +1,178 @@ + + + + + +LowerChars (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api.constraints
+

Annotation Type LowerChars

+
+
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/Negative.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/Negative.html new file mode 100644 index 000000000..285866a17 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/Negative.html @@ -0,0 +1,174 @@ + + + + + +Negative (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api.constraints
+

Annotation Type Negative

+
+
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/NotEmpty.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/NotEmpty.html new file mode 100644 index 000000000..672efa6b3 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/NotEmpty.html @@ -0,0 +1,178 @@ + + + + + +NotEmpty (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api.constraints
+

Annotation Type NotEmpty

+
+
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/NumericChars.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/NumericChars.html new file mode 100644 index 000000000..332bbe3cd --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/NumericChars.html @@ -0,0 +1,179 @@ + + + + + +NumericChars (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api.constraints
+

Annotation Type NumericChars

+
+
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/Positive.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/Positive.html new file mode 100644 index 000000000..e42620f72 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/Positive.html @@ -0,0 +1,174 @@ + + + + + +Positive (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api.constraints
+

Annotation Type Positive

+
+
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/Scale.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/Scale.html new file mode 100644 index 000000000..c274f5f05 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/Scale.html @@ -0,0 +1,222 @@ + + + + + +Scale (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api.constraints
+

Annotation Type Scale

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/ShortRange.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/ShortRange.html new file mode 100644 index 000000000..0a9f7c7ab --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/ShortRange.html @@ -0,0 +1,251 @@ + + + + + +ShortRange (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api.constraints
+

Annotation Type ShortRange

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/Size.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/Size.html new file mode 100644 index 000000000..6c47c7dad --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/Size.html @@ -0,0 +1,265 @@ + + + + + +Size (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api.constraints
+

Annotation Type Size

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/StringLength.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/StringLength.html new file mode 100644 index 000000000..4477cafa7 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/StringLength.html @@ -0,0 +1,265 @@ + + + + + +StringLength (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api.constraints
+

Annotation Type StringLength

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/Unique.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/Unique.html new file mode 100644 index 000000000..33ab43cb1 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/Unique.html @@ -0,0 +1,175 @@ + + + + + +Unique (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api.constraints
+

Annotation Type Unique

+
+
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/UpperChars.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/UpperChars.html new file mode 100644 index 000000000..e7fba855f --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/UpperChars.html @@ -0,0 +1,180 @@ + + + + + +UpperChars (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api.constraints
+

Annotation Type UpperChars

+
+
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/UseType.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/UseType.html new file mode 100644 index 000000000..5d53d663b --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/UseType.html @@ -0,0 +1,234 @@ + + + + + +UseType (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api.constraints
+

Annotation Type UseType

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/UseTypeMode.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/UseTypeMode.html new file mode 100644 index 000000000..71dd3ec9e --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/UseTypeMode.html @@ -0,0 +1,380 @@ + + + + + +UseTypeMode (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api.constraints
+

Enum UseTypeMode

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/Whitespace.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/Whitespace.html new file mode 100644 index 000000000..f5bd52a8d --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/Whitespace.html @@ -0,0 +1,178 @@ + + + + + +Whitespace (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api.constraints
+

Annotation Type Whitespace

+
+
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/WithNull.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/WithNull.html new file mode 100644 index 000000000..415bc2998 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/WithNull.html @@ -0,0 +1,227 @@ + + + + + +WithNull (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api.constraints
+

Annotation Type WithNull

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/package-frame.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/package-frame.html new file mode 100644 index 000000000..375985715 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/package-frame.html @@ -0,0 +1,48 @@ + + + + + +net.jqwik.api.constraints (documentation 1.1.3 API) + + + + + +

net.jqwik.api.constraints

+
+

Enums

+ +

Annotation Types

+ +
+ + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/package-summary.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/package-summary.html new file mode 100644 index 000000000..052a0d986 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/package-summary.html @@ -0,0 +1,300 @@ + + + + + +net.jqwik.api.constraints (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
+

Package net.jqwik.api.constraints

+
+
+ +
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/package-tree.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/package-tree.html new file mode 100644 index 000000000..07ecf3b0d --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/constraints/package-tree.html @@ -0,0 +1,167 @@ + + + + + +net.jqwik.api.constraints Class Hierarchy (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
+

Hierarchy For Package net.jqwik.api.constraints

+Package Hierarchies: + +
+
+

Annotation Type Hierarchy

+ +

Enum Hierarchy

+ +
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/domains/AbstractDomainContextBase.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/domains/AbstractDomainContextBase.html new file mode 100644 index 000000000..8b2b628f4 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/domains/AbstractDomainContextBase.html @@ -0,0 +1,397 @@ + + + + + +AbstractDomainContextBase (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api.domains
+

Class AbstractDomainContextBase

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/domains/Domain.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/domains/Domain.html new file mode 100644 index 000000000..8f9ca3583 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/domains/Domain.html @@ -0,0 +1,299 @@ + + + + + +Domain (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api.domains
+

Annotation Type Domain

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/domains/DomainContext.DomainContextFacade.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/domains/DomainContext.DomainContextFacade.html new file mode 100644 index 000000000..91a3f7730 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/domains/DomainContext.DomainContextFacade.html @@ -0,0 +1,274 @@ + + + + + +DomainContext.DomainContextFacade (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api.domains
+

Class DomainContext.DomainContextFacade

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/domains/DomainContext.Global.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/domains/DomainContext.Global.html new file mode 100644 index 000000000..e212052e2 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/domains/DomainContext.Global.html @@ -0,0 +1,323 @@ + + + + + +DomainContext.Global (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api.domains
+

Class DomainContext.Global

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/domains/DomainContext.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/domains/DomainContext.html new file mode 100644 index 000000000..1938c7f5d --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/domains/DomainContext.html @@ -0,0 +1,299 @@ + + + + + +DomainContext (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api.domains
+

Interface DomainContext

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/domains/DomainList.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/domains/DomainList.html new file mode 100644 index 000000000..57b0dccf6 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/domains/DomainList.html @@ -0,0 +1,214 @@ + + + + + +DomainList (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api.domains
+

Annotation Type DomainList

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/domains/package-frame.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/domains/package-frame.html new file mode 100644 index 000000000..eb006723d --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/domains/package-frame.html @@ -0,0 +1,31 @@ + + + + + +net.jqwik.api.domains (documentation 1.1.3 API) + + + + + +

net.jqwik.api.domains

+
+

Interfaces

+ +

Classes

+ +

Annotation Types

+ +
+ + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/domains/package-summary.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/domains/package-summary.html new file mode 100644 index 000000000..b793700fa --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/domains/package-summary.html @@ -0,0 +1,194 @@ + + + + + +net.jqwik.api.domains (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
+

Package net.jqwik.api.domains

+
+
+ +
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/domains/package-tree.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/domains/package-tree.html new file mode 100644 index 000000000..a266ccf86 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/domains/package-tree.html @@ -0,0 +1,146 @@ + + + + + +net.jqwik.api.domains Class Hierarchy (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
+

Hierarchy For Package net.jqwik.api.domains

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +

Interface Hierarchy

+ +

Annotation Type Hierarchy

+ +
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/lifecycle/AddLifecycleHook.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/lifecycle/AddLifecycleHook.html new file mode 100644 index 000000000..258115463 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/lifecycle/AddLifecycleHook.html @@ -0,0 +1,215 @@ + + + + + +AddLifecycleHook (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api.lifecycle
+

Annotation Type AddLifecycleHook

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/lifecycle/AroundPropertyHook.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/lifecycle/AroundPropertyHook.html new file mode 100644 index 000000000..3767c3bb0 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/lifecycle/AroundPropertyHook.html @@ -0,0 +1,333 @@ + + + + + +AroundPropertyHook (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api.lifecycle
+

Interface AroundPropertyHook

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/lifecycle/ContainerLifecycleContext.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/lifecycle/ContainerLifecycleContext.html new file mode 100644 index 000000000..d1525157c --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/lifecycle/ContainerLifecycleContext.html @@ -0,0 +1,194 @@ + + + + + +ContainerLifecycleContext (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api.lifecycle
+

Interface ContainerLifecycleContext

+
+
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/lifecycle/LifecycleContext.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/lifecycle/LifecycleContext.html new file mode 100644 index 000000000..181b4d5fe --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/lifecycle/LifecycleContext.html @@ -0,0 +1,239 @@ + + + + + +LifecycleContext (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api.lifecycle
+

Interface LifecycleContext

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/lifecycle/LifecycleHook.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/lifecycle/LifecycleHook.html new file mode 100644 index 000000000..ed550ed54 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/lifecycle/LifecycleHook.html @@ -0,0 +1,238 @@ + + + + + +LifecycleHook (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api.lifecycle
+

Interface LifecycleHook<T extends LifecycleHook>

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/lifecycle/LifecycleHooks.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/lifecycle/LifecycleHooks.html new file mode 100644 index 000000000..600126343 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/lifecycle/LifecycleHooks.html @@ -0,0 +1,214 @@ + + + + + +LifecycleHooks (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api.lifecycle
+

Annotation Type LifecycleHooks

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/lifecycle/PropertyExecutionResult.Status.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/lifecycle/PropertyExecutionResult.Status.html new file mode 100644 index 000000000..61c50177a --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/lifecycle/PropertyExecutionResult.Status.html @@ -0,0 +1,371 @@ + + + + + +PropertyExecutionResult.Status (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api.lifecycle
+

Enum PropertyExecutionResult.Status

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/lifecycle/PropertyExecutionResult.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/lifecycle/PropertyExecutionResult.html new file mode 100644 index 000000000..c2b752945 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/lifecycle/PropertyExecutionResult.html @@ -0,0 +1,373 @@ + + + + + +PropertyExecutionResult (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api.lifecycle
+

Class PropertyExecutionResult

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/lifecycle/PropertyExecutor.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/lifecycle/PropertyExecutor.html new file mode 100644 index 000000000..b1a0e9f15 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/lifecycle/PropertyExecutor.html @@ -0,0 +1,227 @@ + + + + + +PropertyExecutor (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api.lifecycle
+

Interface PropertyExecutor

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/lifecycle/PropertyLifecycleContext.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/lifecycle/PropertyLifecycleContext.html new file mode 100644 index 000000000..f4f7a3ac7 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/lifecycle/PropertyLifecycleContext.html @@ -0,0 +1,260 @@ + + + + + +PropertyLifecycleContext (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api.lifecycle
+

Interface PropertyLifecycleContext

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/lifecycle/SkipExecutionHook.SkipResult.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/lifecycle/SkipExecutionHook.SkipResult.html new file mode 100644 index 000000000..dc0a685e2 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/lifecycle/SkipExecutionHook.SkipResult.html @@ -0,0 +1,307 @@ + + + + + +SkipExecutionHook.SkipResult (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api.lifecycle
+

Class SkipExecutionHook.SkipResult

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/lifecycle/SkipExecutionHook.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/lifecycle/SkipExecutionHook.html new file mode 100644 index 000000000..46e06f4e5 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/lifecycle/SkipExecutionHook.html @@ -0,0 +1,314 @@ + + + + + +SkipExecutionHook (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api.lifecycle
+

Interface SkipExecutionHook

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/lifecycle/package-frame.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/lifecycle/package-frame.html new file mode 100644 index 000000000..d87c6d21a --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/lifecycle/package-frame.html @@ -0,0 +1,40 @@ + + + + + +net.jqwik.api.lifecycle (documentation 1.1.3 API) + + + + + +

net.jqwik.api.lifecycle

+
+

Interfaces

+ +

Classes

+ +

Enums

+ +

Annotation Types

+ +
+ + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/lifecycle/package-summary.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/lifecycle/package-summary.html new file mode 100644 index 000000000..7e304bece --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/lifecycle/package-summary.html @@ -0,0 +1,239 @@ + + + + + +net.jqwik.api.lifecycle (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
+

Package net.jqwik.api.lifecycle

+
+
+ +
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/lifecycle/package-tree.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/lifecycle/package-tree.html new file mode 100644 index 000000000..06995b42a --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/lifecycle/package-tree.html @@ -0,0 +1,173 @@ + + + + + +net.jqwik.api.lifecycle Class Hierarchy (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
+

Hierarchy For Package net.jqwik.api.lifecycle

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +

Interface Hierarchy

+ +

Annotation Type Hierarchy

+ +

Enum Hierarchy

+ +
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/package-frame.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/package-frame.html new file mode 100644 index 000000000..d4e565bed --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/package-frame.html @@ -0,0 +1,99 @@ + + + + + +net.jqwik.api (documentation 1.1.3 API) + + + + + +

net.jqwik.api

+
+

Interfaces

+ +

Classes

+ +

Enums

+ +

Exceptions

+ +

Annotation Types

+ +
+ + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/package-summary.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/package-summary.html new file mode 100644 index 000000000..ac53f540d --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/package-summary.html @@ -0,0 +1,491 @@ + + + + + +net.jqwik.api (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
+

Package net.jqwik.api

+
+
+ +
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/package-tree.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/package-tree.html new file mode 100644 index 000000000..a93fdf2f4 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/package-tree.html @@ -0,0 +1,276 @@ + + + + + +net.jqwik.api Class Hierarchy (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
+

Hierarchy For Package net.jqwik.api

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +

Interface Hierarchy

+ +

Annotation Type Hierarchy

+ +

Enum Hierarchy

+ +
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/providers/ArbitraryProvider.SubtypeProvider.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/providers/ArbitraryProvider.SubtypeProvider.html new file mode 100644 index 000000000..0e7c2c398 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/providers/ArbitraryProvider.SubtypeProvider.html @@ -0,0 +1,200 @@ + + + + + +ArbitraryProvider.SubtypeProvider (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api.providers
+

Interface ArbitraryProvider.SubtypeProvider

+
+
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/providers/ArbitraryProvider.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/providers/ArbitraryProvider.html new file mode 100644 index 000000000..290e61880 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/providers/ArbitraryProvider.html @@ -0,0 +1,308 @@ + + + + + +ArbitraryProvider (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api.providers
+

Interface ArbitraryProvider

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/providers/TypeUsage.TypeUsageFacade.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/providers/TypeUsage.TypeUsageFacade.html new file mode 100644 index 000000000..caecd403d --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/providers/TypeUsage.TypeUsageFacade.html @@ -0,0 +1,302 @@ + + + + + +TypeUsage.TypeUsageFacade (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api.providers
+

Class TypeUsage.TypeUsageFacade

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/providers/TypeUsage.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/providers/TypeUsage.html new file mode 100644 index 000000000..7865e9900 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/providers/TypeUsage.html @@ -0,0 +1,577 @@ + + + + + +TypeUsage (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api.providers
+

Interface TypeUsage

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/providers/package-frame.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/providers/package-frame.html new file mode 100644 index 000000000..0a418b1a3 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/providers/package-frame.html @@ -0,0 +1,26 @@ + + + + + +net.jqwik.api.providers (documentation 1.1.3 API) + + + + + +

net.jqwik.api.providers

+
+

Interfaces

+ +

Classes

+ +
+ + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/providers/package-summary.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/providers/package-summary.html new file mode 100644 index 000000000..6207d2c65 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/providers/package-summary.html @@ -0,0 +1,168 @@ + + + + + +net.jqwik.api.providers (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
+

Package net.jqwik.api.providers

+
+
+ +
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/providers/package-tree.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/providers/package-tree.html new file mode 100644 index 000000000..83f4a0ca7 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/providers/package-tree.html @@ -0,0 +1,145 @@ + + + + + +net.jqwik.api.providers Class Hierarchy (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
+

Hierarchy For Package net.jqwik.api.providers

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +

Interface Hierarchy

+ +
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/stateful/Action.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/stateful/Action.html new file mode 100644 index 000000000..127f2753d --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/stateful/Action.html @@ -0,0 +1,263 @@ + + + + + +Action (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api.stateful
+

Interface Action<M>

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/stateful/ActionSequence.RunState.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/stateful/ActionSequence.RunState.html new file mode 100644 index 000000000..46572be91 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/stateful/ActionSequence.RunState.html @@ -0,0 +1,367 @@ + + + + + +ActionSequence.RunState (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api.stateful
+

Enum ActionSequence.RunState

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/stateful/ActionSequence.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/stateful/ActionSequence.html new file mode 100644 index 000000000..7946fb331 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/stateful/ActionSequence.html @@ -0,0 +1,299 @@ + + + + + +ActionSequence (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api.stateful
+

Interface ActionSequence<M>

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/stateful/ActionSequenceArbitrary.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/stateful/ActionSequenceArbitrary.html new file mode 100644 index 000000000..8ac5618ad --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/stateful/ActionSequenceArbitrary.html @@ -0,0 +1,298 @@ + + + + + +ActionSequenceArbitrary (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api.stateful
+

Interface ActionSequenceArbitrary<M>

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/stateful/Invariant.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/stateful/Invariant.html new file mode 100644 index 000000000..11792fc26 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/stateful/Invariant.html @@ -0,0 +1,228 @@ + + + + + +Invariant (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
net.jqwik.api.stateful
+

Interface Invariant<T>

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/stateful/package-frame.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/stateful/package-frame.html new file mode 100644 index 000000000..9f9bc98b7 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/stateful/package-frame.html @@ -0,0 +1,27 @@ + + + + + +net.jqwik.api.stateful (documentation 1.1.3 API) + + + + + +

net.jqwik.api.stateful

+
+

Interfaces

+ +

Enums

+ +
+ + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/stateful/package-summary.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/stateful/package-summary.html new file mode 100644 index 000000000..6fb6ba5b2 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/stateful/package-summary.html @@ -0,0 +1,171 @@ + + + + + +net.jqwik.api.stateful (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
+

Package net.jqwik.api.stateful

+
+
+ +
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/net/jqwik/api/stateful/package-tree.html b/docs/docs/1.1.3/javadoc/net/jqwik/api/stateful/package-tree.html new file mode 100644 index 000000000..d34413677 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/net/jqwik/api/stateful/package-tree.html @@ -0,0 +1,154 @@ + + + + + +net.jqwik.api.stateful Class Hierarchy (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
+

Hierarchy For Package net.jqwik.api.stateful

+Package Hierarchies: + +
+
+

Interface Hierarchy

+ +

Enum Hierarchy

+ +
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/overview-frame.html b/docs/docs/1.1.3/javadoc/overview-frame.html new file mode 100644 index 000000000..7d9e74675 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/overview-frame.html @@ -0,0 +1,28 @@ + + + + + +Overview List (documentation 1.1.3 API) + + + + + +
All Classes
+
+

Packages

+ +
+

 

+ + diff --git a/docs/docs/1.1.3/javadoc/overview-summary.html b/docs/docs/1.1.3/javadoc/overview-summary.html new file mode 100644 index 000000000..9f953ba4e --- /dev/null +++ b/docs/docs/1.1.3/javadoc/overview-summary.html @@ -0,0 +1,164 @@ + + + + + +Overview (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
+

documentation 1.1.3 API

+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Packages 
PackageDescription
net.jqwik.api 
net.jqwik.api.arbitraries 
net.jqwik.api.configurators 
net.jqwik.api.constraints 
net.jqwik.api.domains 
net.jqwik.api.lifecycle 
net.jqwik.api.providers 
net.jqwik.api.stateful 
+
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/overview-tree.html b/docs/docs/1.1.3/javadoc/overview-tree.html new file mode 100644 index 000000000..d6963aa49 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/overview-tree.html @@ -0,0 +1,369 @@ + + + + + +Class Hierarchy (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
+

Hierarchy For All Packages

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +

Interface Hierarchy

+ +

Annotation Type Hierarchy

+ +

Enum Hierarchy

+ +
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/package-list b/docs/docs/1.1.3/javadoc/package-list new file mode 100644 index 000000000..624b1e3bc --- /dev/null +++ b/docs/docs/1.1.3/javadoc/package-list @@ -0,0 +1,8 @@ +net.jqwik.api +net.jqwik.api.arbitraries +net.jqwik.api.configurators +net.jqwik.api.constraints +net.jqwik.api.domains +net.jqwik.api.lifecycle +net.jqwik.api.providers +net.jqwik.api.stateful diff --git a/docs/docs/1.1.3/javadoc/script.js b/docs/docs/1.1.3/javadoc/script.js new file mode 100644 index 000000000..b34635693 --- /dev/null +++ b/docs/docs/1.1.3/javadoc/script.js @@ -0,0 +1,30 @@ +function show(type) +{ + count = 0; + for (var key in methods) { + var row = document.getElementById(key); + if ((methods[key] & type) != 0) { + row.style.display = ''; + row.className = (count++ % 2) ? rowColor : altColor; + } + else + row.style.display = 'none'; + } + updateTabs(type); +} + +function updateTabs(type) +{ + for (var value in tabs) { + var sNode = document.getElementById(tabs[value][0]); + var spanNode = sNode.firstChild; + if (value == type) { + sNode.className = activeTableTab; + spanNode.innerHTML = tabs[value][1]; + } + else { + sNode.className = tableTab; + spanNode.innerHTML = "" + tabs[value][1] + ""; + } + } +} diff --git a/docs/docs/1.1.3/javadoc/serialized-form.html b/docs/docs/1.1.3/javadoc/serialized-form.html new file mode 100644 index 000000000..7121ac9fe --- /dev/null +++ b/docs/docs/1.1.3/javadoc/serialized-form.html @@ -0,0 +1,287 @@ + + + + + +Serialized Form (documentation 1.1.3 API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
+

Serialized Form

+
+
+ +
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/docs/docs/1.1.3/javadoc/stylesheet.css b/docs/docs/1.1.3/javadoc/stylesheet.css new file mode 100644 index 000000000..98055b22d --- /dev/null +++ b/docs/docs/1.1.3/javadoc/stylesheet.css @@ -0,0 +1,574 @@ +/* Javadoc style sheet */ +/* +Overall document style +*/ + +@import url('resources/fonts/dejavu.css'); + +body { + background-color:#ffffff; + color:#353833; + font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; + font-size:14px; + margin:0; +} +a:link, a:visited { + text-decoration:none; + color:#4A6782; +} +a:hover, a:focus { + text-decoration:none; + color:#bb7a2a; +} +a:active { + text-decoration:none; + color:#4A6782; +} +a[name] { + color:#353833; +} +a[name]:hover { + text-decoration:none; + color:#353833; +} +pre { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; +} +h1 { + font-size:20px; +} +h2 { + font-size:18px; +} +h3 { + font-size:16px; + font-style:italic; +} +h4 { + font-size:13px; +} +h5 { + font-size:12px; +} +h6 { + font-size:11px; +} +ul { + list-style-type:disc; +} +code, tt { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; + margin-top:8px; + line-height:1.4em; +} +dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; +} +table tr td dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + vertical-align:top; + padding-top:4px; +} +sup { + font-size:8px; +} +/* +Document title and Copyright styles +*/ +.clear { + clear:both; + height:0px; + overflow:hidden; +} +.aboutLanguage { + float:right; + padding:0px 21px; + font-size:11px; + z-index:200; + margin-top:-9px; +} +.legalCopy { + margin-left:.5em; +} +.bar a, .bar a:link, .bar a:visited, .bar a:active { + color:#FFFFFF; + text-decoration:none; +} +.bar a:hover, .bar a:focus { + color:#bb7a2a; +} +.tab { + background-color:#0066FF; + color:#ffffff; + padding:8px; + width:5em; + font-weight:bold; +} +/* +Navigation bar styles +*/ +.bar { + background-color:#4D7A97; + color:#FFFFFF; + padding:.8em .5em .4em .8em; + height:auto;/*height:1.8em;*/ + font-size:11px; + margin:0; +} +.topNav { + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.bottomNav { + margin-top:10px; + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.subNav { + background-color:#dee3e9; + float:left; + width:100%; + overflow:hidden; + font-size:12px; +} +.subNav div { + clear:left; + float:left; + padding:0 0 5px 6px; + text-transform:uppercase; +} +ul.navList, ul.subNavList { + float:left; + margin:0 25px 0 0; + padding:0; +} +ul.navList li{ + list-style:none; + float:left; + padding: 5px 6px; + text-transform:uppercase; +} +ul.subNavList li{ + list-style:none; + float:left; +} +.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { + color:#FFFFFF; + text-decoration:none; + text-transform:uppercase; +} +.topNav a:hover, .bottomNav a:hover { + text-decoration:none; + color:#bb7a2a; + text-transform:uppercase; +} +.navBarCell1Rev { + background-color:#F8981D; + color:#253441; + margin: auto 5px; +} +.skipNav { + position:absolute; + top:auto; + left:-9999px; + overflow:hidden; +} +/* +Page header and footer styles +*/ +.header, .footer { + clear:both; + margin:0 20px; + padding:5px 0 0 0; +} +.indexHeader { + margin:10px; + position:relative; +} +.indexHeader span{ + margin-right:15px; +} +.indexHeader h1 { + font-size:13px; +} +.title { + color:#2c4557; + margin:10px 0; +} +.subTitle { + margin:5px 0 0 0; +} +.header ul { + margin:0 0 15px 0; + padding:0; +} +.footer ul { + margin:20px 0 5px 0; +} +.header ul li, .footer ul li { + list-style:none; + font-size:13px; +} +/* +Heading styles +*/ +div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList ul.blockList li.blockList h3 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList li.blockList h3 { + padding:0; + margin:15px 0; +} +ul.blockList li.blockList h2 { + padding:0px 0 20px 0; +} +/* +Page layout container styles +*/ +.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { + clear:both; + padding:10px 20px; + position:relative; +} +.indexContainer { + margin:10px; + position:relative; + font-size:12px; +} +.indexContainer h2 { + font-size:13px; + padding:0 0 3px 0; +} +.indexContainer ul { + margin:0; + padding:0; +} +.indexContainer ul li { + list-style:none; + padding-top:2px; +} +.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { + font-size:12px; + font-weight:bold; + margin:10px 0 0 0; + color:#4E4E4E; +} +.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { + margin:5px 0 10px 0px; + font-size:14px; + font-family:'DejaVu Sans Mono',monospace; +} +.serializedFormContainer dl.nameValue dt { + margin-left:1px; + font-size:1.1em; + display:inline; + font-weight:bold; +} +.serializedFormContainer dl.nameValue dd { + margin:0 0 0 1px; + font-size:1.1em; + display:inline; +} +/* +List styles +*/ +ul.horizontal li { + display:inline; + font-size:0.9em; +} +ul.inheritance { + margin:0; + padding:0; +} +ul.inheritance li { + display:inline; + list-style:none; +} +ul.inheritance li ul.inheritance { + margin-left:15px; + padding-left:15px; + padding-top:1px; +} +ul.blockList, ul.blockListLast { + margin:10px 0 10px 0; + padding:0; +} +ul.blockList li.blockList, ul.blockListLast li.blockList { + list-style:none; + margin-bottom:15px; + line-height:1.4; +} +ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { + padding:0px 20px 5px 10px; + border:1px solid #ededed; + background-color:#f8f8f8; +} +ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { + padding:0 0 5px 8px; + background-color:#ffffff; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { + margin-left:0; + padding-left:0; + padding-bottom:15px; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { + list-style:none; + border-bottom:none; + padding-bottom:0; +} +table tr td dl, table tr td dl dt, table tr td dl dd { + margin-top:0; + margin-bottom:1px; +} +/* +Table styles +*/ +.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { + width:100%; + border-left:1px solid #EEE; + border-right:1px solid #EEE; + border-bottom:1px solid #EEE; +} +.overviewSummary, .memberSummary { + padding:0px; +} +.overviewSummary caption, .memberSummary caption, .typeSummary caption, +.useSummary caption, .constantsSummary caption, .deprecatedSummary caption { + position:relative; + text-align:left; + background-repeat:no-repeat; + color:#253441; + font-weight:bold; + clear:none; + overflow:hidden; + padding:0px; + padding-top:10px; + padding-left:1px; + margin:0px; + white-space:pre; +} +.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, +.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, +.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, +.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, +.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, +.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, +.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, +.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited { + color:#FFFFFF; +} +.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, +.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + padding-bottom:7px; + display:inline-block; + float:left; + background-color:#F8981D; + border: none; + height:16px; +} +.memberSummary caption span.activeTableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#F8981D; + height:16px; +} +.memberSummary caption span.tableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#4D7A97; + height:16px; +} +.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { + padding-top:0px; + padding-left:0px; + padding-right:0px; + background-image:none; + float:none; + display:inline; +} +.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, +.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { + display:none; + width:5px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .activeTableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .tableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + background-color:#4D7A97; + float:left; + +} +.overviewSummary td, .memberSummary td, .typeSummary td, +.useSummary td, .constantsSummary td, .deprecatedSummary td { + text-align:left; + padding:0px 0px 12px 10px; +} +th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, +td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ + vertical-align:top; + padding-right:0px; + padding-top:8px; + padding-bottom:3px; +} +th.colFirst, th.colLast, th.colOne, .constantsSummary th { + background:#dee3e9; + text-align:left; + padding:8px 3px 3px 7px; +} +td.colFirst, th.colFirst { + white-space:nowrap; + font-size:13px; +} +td.colLast, th.colLast { + font-size:13px; +} +td.colOne, th.colOne { + font-size:13px; +} +.overviewSummary td.colFirst, .overviewSummary th.colFirst, +.useSummary td.colFirst, .useSummary th.colFirst, +.overviewSummary td.colOne, .overviewSummary th.colOne, +.memberSummary td.colFirst, .memberSummary th.colFirst, +.memberSummary td.colOne, .memberSummary th.colOne, +.typeSummary td.colFirst{ + width:25%; + vertical-align:top; +} +td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { + font-weight:bold; +} +.tableSubHeadingColor { + background-color:#EEEEFF; +} +.altColor { + background-color:#FFFFFF; +} +.rowColor { + background-color:#EEEEEF; +} +/* +Content styles +*/ +.description pre { + margin-top:0; +} +.deprecatedContent { + margin:0; + padding:10px 0; +} +.docSummary { + padding:0; +} + +ul.blockList ul.blockList ul.blockList li.blockList h3 { + font-style:normal; +} + +div.block { + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; +} + +td.colLast div { + padding-top:0px; +} + + +td.colLast a { + padding-bottom:3px; +} +/* +Formatting effect styles +*/ +.sourceLineNo { + color:green; + padding:0 30px 0 0; +} +h1.hidden { + visibility:hidden; + overflow:hidden; + font-size:10px; +} +.block { + display:block; + margin:3px 10px 2px 0px; + color:#474747; +} +.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, +.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, +.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink { + font-weight:bold; +} +.deprecationComment, .emphasizedPhrase, .interfaceName { + font-style:italic; +} + +div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, +div.block div.block span.interfaceName { + font-style:normal; +} + +div.contentContainer ul.blockList li.blockList h2{ + padding-bottom:0px; +} diff --git a/docs/docs/1.1.3/user-guide.md b/docs/docs/1.1.3/user-guide.md new file mode 100644 index 000000000..26f3843d4 --- /dev/null +++ b/docs/docs/1.1.3/user-guide.md @@ -0,0 +1,2674 @@ +--- +title: jqwik User Guide - 1.1.3 +--- +

The jqwik User Guide +1.1.3 +

+ + + + +### Table of Contents + +- [How to Use](#how-to-use) + - [Gradle](#gradle) + - [Seeing jqwik Reporting in Gradle Output](#seeing-jqwik-reporting-in-gradle-output) + - [Maven](#maven) + - [Snapshot Releases](#snapshot-releases) + - [Project without Build Tool](#project-without-build-tool) +- [Creating an Example-based Test](#creating-an-example-based-test) +- [Creating a Property](#creating-a-property) + - [Optional `@Property` Parameters](#optional-property-parameters) + - [Additional Reporting](#additional-reporting) +- [Assertions](#assertions) +- [Lifecycle](#lifecycle) + - [Method Lifecycle](#method-lifecycle) + - [Other Lifecycles](#other-lifecycles) +- [Grouping Tests](#grouping-tests) +- [Naming and Labeling Tests](#naming-and-labeling-tests) +- [Tagging Tests](#tagging-tests) +- [Disabling Tests](#disabling-tests) +- [Default Parameter Generation](#default-parameter-generation) + - [Constraining Default Generation](#constraining-default-generation) + - [Allow Null Values](#allow-null-values) + - [Unique Values](#unique-values) + - [String Length](#string-length) + - [Character Sets](#character-sets) + - [List, Set, Stream and Array Size:](#list-set-stream-and-array-size) + - [Integer Constraints](#integer-constraints) + - [Decimal Constraints](#decimal-constraints) + - [Constraining parameterized types](#constraining-parameterized-types) + - [Providing variable types](#providing-variable-types) +- [Self-Made Annotations](#self-made-annotations) +- [Customized Parameter Generation](#customized-parameter-generation) + - [Static `Arbitraries` methods](#static-arbitraries-methods) + - [Generate values yourself](#generate-values-yourself) + - [Select values randomly](#select-values-randomly) + - [Select randomly with Weights](#select-randomly-with-weights) + - [Integers](#integers) + - [Decimals](#decimals) + - [Characters and Strings](#characters-and-strings) + - [java.util.Random](#javautilrandom) + - [Constants](#constants) + - [Create](#create) + - [Shuffling Permutations](#shuffling-permutations) + - [Default Types](#default-types) + - [Collections, Streams, Arrays and Optional](#collections-streams-arrays-and-optional) + - [Fluent Configuration Interfaces](#fluent-configuration-interfaces) + - [Generate `null` values](#generate-null-values) + - [Filtering](#filtering) + - [Creating unique values](#creating-unique-values) + - [Mapping](#mapping) + - [Flat Mapping](#flat-mapping) + - [Flat Mapping with Tuple Types](#flat-mapping-with-tuple-types) + - [Randomly Choosing among Arbitraries](#randomly-choosing-among-arbitraries) + - [Combining Arbitraries](#combining-arbitraries) + - [Combining Arbitraries with Builder](#combining-arbitraries-with-builder) + - [Flat Combination](#flat-combination) + - [Fix an Arbitrary's `genSize`](#fix-an-arbitrarys-gensize) + - [Generating all possible values](#generating-all-possible-values) + - [Iterating through all possible values](#iterating-through-all-possible-values) +- [Recursive Arbitraries](#recursive-arbitraries) + - [Probabilistic Recursion](#probabilistic-recursion) + - [Deterministic Recursion](#deterministic-recursion) + - [Deterministic Recursion with `recursive()`](#deterministic-recursion-with-recursive) +- [Contract Tests](#contract-tests) +- [Stateful Testing](#stateful-testing) + - [Specify Actions](#specify-actions) + - [Check Postconditions](#check-postconditions) + - [Number of actions](#number-of-actions) + - [Check Invariants](#check-invariants) +- [Assumptions](#assumptions) +- [Result Shrinking](#result-shrinking) + - [Integrated Shrinking](#integrated-shrinking) + - [Switch Shrinking Off](#switch-shrinking-off) + - [Switch Shrinking to Full Mode](#switch-shrinking-to-full-mode) +- [Collecting and Reporting Statistics](#collecting-and-reporting-statistics) +- [Providing Default Arbitraries](#providing-default-arbitraries) + - [Simple Arbitrary Providers](#simple-arbitrary-providers) + - [Arbitrary Providers for Parameterized Types](#arbitrary-providers-for-parameterized-types) + - [Arbitrary Provider Priority](#arbitrary-provider-priority) +- [Create your own Annotations for Arbitrary Configuration](#create-your-own-annotations-for-arbitrary-configuration) + - [Arbitrary Configuration Example: `@Odd`](#arbitrary-configuration-example-odd) +- [Domain and Domain Context](#domain-and-domain-context) + - [Domain example: American Addresses](#domain-example-american-addresses) +- [Generation from a Type's Interface](#generation-from-a-types-interface) +- [Implement your own Arbitraries and Generators](#implement-your-own-arbitraries-and-generators) +- [Exhaustive Generation](#exhaustive-generation) +- [Data-Driven Properties](#data-driven-properties) +- [Rerunning Falsified Properties](#rerunning-falsified-properties) +- [jqwik Configuration](#jqwik-configuration) +- [Release Notes](#release-notes) + + + +## How to Use + +__jqwik__ is an alternative test engine for the +[JUnit 5 platform](https://junit.org/junit5/docs/current/api/org/junit/platform/engine/TestEngine.html). +That means that you can use it either stand-alone or combine it with any other JUnit 5 engine, e.g. +[Jupiter (the standard engine)](https://junit.org/junit5/docs/current/user-guide/#dependency-metadata-junit-jupiter) or +[Vintage (aka JUnit 4)](https://junit.org/junit5/docs/current/user-guide/#dependency-metadata-junit-vintage). +All you have to do is add all needed engines to your `testCompile` dependencies as shown in the +[gradle file](#gradle) below. + +The latest release of __jqwik__ is deployed to [Maven Central](https://mvnrepository.com/). + +Snapshot releases can be fetched from https://oss.sonatype.org/content/repositories/snapshots. + + + +### Gradle + +Since version 4.6, Gradle has +[built-in support for the JUnit platform](https://docs.gradle.org/current/dsl/org.gradle.api.tasks.testing.Test.html). +Set up is rather simple; here are the relevant parts of a project's `build.gradle` file: + + +``` +repositories { + ... + mavenCentral() + + # For snapshot releases only: + maven { url 'https://oss.sonatype.org/content/repositories/snapshots' } + +} + +ext.junitPlatformVersion = '1.4.1' +ext.junitJupiterVersion = '5.4.1' + +ext.jqwikVersion = '1.1.3' + +test { + useJUnitPlatform { + includeEngines "jqwik" + + // includeTags "fast", "medium" + // excludeTags "slow" + } + + include '**/*Properties.class' + include '**/*Test.class' + include '**/*Tests.class' +} + +dependencies { + ... + + // aggregate jqwik dependency + testCompile "net.jqwik:jqwik:${jqwikVersion}" + + // Add if you also want to use the Jupiter engine or Assertions from it + testCompile("org.junit.jupiter:junit-jupiter-engine:5.4.1") + + // Add any other test library you need... + testCompile("org.assertj:assertj-core:3.9.1") + +} +``` + +With version 1.0.0 `net.jqwik:jqwik` has become an aggregating module to simplify jqwik +integration for standard users. +If you want to be more explicit about the real dependencies you can replace this dependency with + +``` + testCompile "net.jqwik:jqwik-api:${jqwikVersion}" + testRuntime "net.jqwik:jqwik-engine:${jqwikVersion}" +``` + +See [the Gradle section in JUnit 5's user guide](https://junit.org/junit5/docs/current/user-guide/#running-tests-build-gradle) +for more details on how to configure Gradle for the JUnit 5 platform. + +#### Seeing jqwik Reporting in Gradle Output + +Since Gradle does not yet support JUnit platform reporting +([see this Github issue](https://github.com/gradle/gradle/issues/4605)) +jqwik has switched to do its own reporting by default. This behaviour +[can be configured](#jqwik-configuration) through parameter `useJunitPlatformReporter` +(default: `false`). + +If you want to see jqwik's reports in the output use Gradle's command line option `--info`: + +``` +> gradle clean test --info +... +mypackage.MyClassProperties > myPropertyMethod STANDARD_OUT + timestamp = 2019-02-28T18:01:14.302, MyClassProperties:myPropertyMethod = + |-----------------------jqwik----------------------- + tries = 1000 | # of calls to property + checks = 1000 | # of not rejected calls + generation-mode = RANDOMIZED | parameters are randomly generated + seed = 1685744359484719817 | random seed to reproduce generated values +``` + +### Maven + +Configure the surefire plugin as described in +[the Maven section in JUnit 5's user guide](https://junit.org/junit5/docs/current/user-guide/#running-tests-build-maven) +and add the following dependency to your `pom.xml` file: + +``` + + ... + + net.jqwik + jqwik + 1.1.3 + test + + +``` + + +### Snapshot Releases + +Snapshot releases are available through Sonatype's +[snapshot repositories](#https://oss.sonatype.org/content/repositories/snapshots). + +Adding + +``` +https://oss.sonatype.org/content/repositories/snapshots +``` + +as a maven repository +will allow you to use _jqwik_'s snapshot release which contains all the latest features. + +### Project without Build Tool + +I've never tried it but using jqwik without gradle or some other tool to manage dependencies should also work. +You will have to add _at least_ the following jars to your classpath: + +- `jqwik-1.1.3.jar` +- `junit-platform-engine-1.4.1.jar` +- `junit-platform-commons-1.4.1.jar` +- `opentest4j-1.1.1.jar` +- `assertj-core-3.11.x.jar` in case you need assertion support + +## Creating an Example-based Test + +Just annotate a `public`, `protected` or package-scoped method with +[`@Example`](/docs/1.1.3/javadoc/net/jqwik/api/Example.html). +Example-based tests work just like plain JUnit-style test cases and +are not supposed to take any parameters. + +A test case method must +- either return a `boolean` value that signifies success (`true`) + or failure (`false`) of this test case. +- or return nothing (`void`) in which case you will probably + use [assertions](#assertions) in order to verify the test condition. + +[Here](https://github.com/jlink/jqwik/blob/1.1.3/documentation/src/test/java/net/jqwik/docs/ExampleBasedTests.java) +is a test class with two example-based tests: + +```java +import static org.assertj.core.api.Assertions.*; + +import net.jqwik.api.*; +import org.assertj.core.data.*; + +class ExampleBasedTests { + + @Example + void squareRootOf16is4() { + assertThat(Math.sqrt(16)).isCloseTo(4.0, Offset.offset(0.01)); + } + + @Example + boolean add1plu3is4() { + return (1 + 3) == 4; + } +} +``` + +## Creating a Property + +_Properties_ are the core concept of [property-based testing](/#properties). + +You create a _Property_ by annotating a `public`, `protected` +or package-scoped method with +[`@Property`](/docs/1.1.3/javadoc/net/jqwik/api/Property.html). +In contrast to examples a property method is supposed to have one or +more parameters, all of which must be annotated with +[`@ForAll`](/docs/1.1.3/javadoc/net/jqwik/api/ForAll.html). + +At test runtime the exact parameter values of the property method +will be filled in by _jqwik_. + +Just like an example test a property method has to +- either return a `boolean` value that signifies success (`true`) + or failure (`false`) of this property. +- or return nothing (`void`). In that case you will probably + use [assertions](#assertions) to check the property's invariant. + +If not [specified differently](#optional-property-parameters), +_jqwik_ __will run 1000 tries__, i.e. a 1000 different sets of +parameter values and execute the property method with each of those parameter sets. +The first failed execution will stop value generation +and be reported as failure - usually followed by an attempt to +[shrink](#result-shrinking) the falsified parameter set. + +[Here](https://github.com/jlink/jqwik/blob/1.1.3/documentation/src/test/java/net/jqwik/docs/PropertyBasedTests.java) +are two properties whose failures might surprise you: + +```java +import net.jqwik.api.*; +import org.assertj.core.api.*; + +class PropertyBasedTests { + + @Property + boolean absoluteValueOfAllNumbersIsPositive(@ForAll int anInteger) { + return Math.abs(anInteger) >= 0; + } + + @Property + void lengthOfConcatenatedStringIsGreaterThanLengthOfEach( + @ForAll String string1, @ForAll String string2 + ) { + String conc = string1 + string2; + Assertions.assertThat(conc.length()).isGreaterThan(string1.length()); + Assertions.assertThat(conc.length()).isGreaterThan(string2.length()); + } +} +``` + +Currently _jqwik_ cannot deal with parameters that are not +annotated with '@ForAll'. However, this might change +in future versions. + +### Optional `@Property` Parameters + +The [`@Property`](/docs/1.1.3/javadoc/net/jqwik/api/Property.html) +annotation has a few optional values: + +- `int tries`: The number of times _jqwik_ tries to generate parameter values for this method. + + The default is `1000` which can be overridden in [`jqwik.properties`](#jqwik-configuration). + +- `String seed`: The _random seed_ to use for generating values. If you do not specify a values + _jqwik_ will use a random _random seed_. The actual seed used is being reported by + each run property. + +- `int maxDiscardRatio`: The maximal number of tried versus actually checked property runs + in case you are using [Assumptions](#assumptions). If the ratio is exceeded _jqwik_ will + report this property as a failure. + + The default is `5` which can be overridden in [`jqwik.properties`](#jqwik-configuration). + +- `ShrinkingMode shrinking`: You can influence the way shrinking is done + - `ShrinkingMode.OFF`: No shrinking at all + - `ShrinkingMode.FULL`: Shrinking continues until no smaller value can + be found that also falsifies the property. + This might take very long or not end at all in rare cases. + - `ShrinkingMode.BOUNDED`: Shrinking is tried to a depth of 1000 steps + maximum per value. This is the default. + + Most of the time you want to stick with the default. Only if + bounded shrinking is reported - look at a falsified property's output! - + should you try with `ShrinkingMode.FULL`. + +- `GenerationMode generation`: You can direct _jqwik_ about the principal approach + it takes towards value generation. + + - `GenerationMode.AUTO` is the default. This will choose [exhaustive generation](#exhaustive-generation) + whenever this is deemed sensible, i.e., when the maximum number of generated values is + equal or less thant the configured `tries` attribute. + - `GenerationMode.RANDOMIZED` directs _jqwik_ to always generate values using its + randomized generators. + - `GenerationMode.EXHAUSTIVE` directs _jqwik_ to use [exhaustive generation](#exhaustive-generation) + if the arbitraries in use support exhaustive generation at all and if the calculated + maximum number of different values to generate is below `Integer.MAX_VALUE`. + - `GenerationMode.DATA_DRIVEN` directs _jqwik_ to feed values from a data provider + specified with `@FromData`. See [data-driven properties](#data-driven-properties) + for more information. + + The actual generation mode being used is reported for each property + together with the other information: + + ``` + tries = 10 + checks = 10 + generation-mode = EXHAUSTIVE + seed = 42859154278924201 + ``` + + +### Additional Reporting + +You can switch on additional reporting aspects by adding a +[`@Report(Reporting[])` annotation](/docs/1.1.3/javadoc/net/jqwik/api/Property.html) +to a property method. + +The following reporting aspects are available: + +- `Reporting.GENERATED` will report each generated set of parameters. +- `Reporting.FALSIFIED` will report each set of parameters + that is falsified during shrinking. + +## Assertions + +__jqwik__ does not come with any assertions, so you have to use one of the +third-party assertion libraries, e.g. [Hamcrest](http://hamcrest.org/) or +[AssertJ](http://joel-costigliola.github.io/assertj/). + +If you have Jupiter in your test dependencies anyway, you can also use the +static methods in `org.junit.jupiter.api.Assertions`. + +## Lifecycle + +### Method Lifecycle + +The current lifecycle of jqwik test methods is rather simple: + +- For each method, annotated with + [`@Property`](/docs/1.1.3/javadoc/net/jqwik/api/Property.html) + or [`@Example`](/docs/1.1.3/javadoc/net/jqwik/api/Example.html), + a new instance of the containing test class is created + in order to keep the individual tests isolated from each other. +- If you have preparatory work to do for each method, + create a constructor without parameters and do the work there. +- If you have cleanup work to do for each method, + the containing test class can implement `java.lang.AutoCloseable`. + The `close`-Method will be called after each test method execution. + +```java +import net.jqwik.api.*; + +class TestsWithLifecycle implements AutoCloseable { + + TestsWithLifecycle() { + System.out.println("Before each"); + } + + @Example void anExample() { + System.out.println("anExample"); + } + + @Property(tries = 5) + void aProperty(@ForAll String aString) { + System.out.println("anProperty: " + aString); + } + + @Override + public void close() throws Exception { + System.out.println("After each"); + } +} +``` + +[In this example](https://github.com/jlink/jqwik/blob/1.1.3/documentation/src/test/java/net/jqwik/docs/TestsWithLifecycle.java) +both the constructor and `close()` will be called twice times: +Once for `anExample()` and once for `aProperty(...)`. + +### Other Lifecycles + +Currently _jqwik_ does not have special support for a lifecycle per test container, +per test try or even package. Later versions of _jqwik_ might possible bring +more features in that field. +[Create an issue on github](https://github.com/jlink/jqwik/issues) with your concrete needs. + + +## Grouping Tests + +Within a containing test class you can group other containers by embedding +another non-static and non-private inner class and annotating it with `@Group`. +Grouping examples and properties is a means to improve the organization and +maintainability of your tests. + +Groups can be nested and there lifecycle is also nested, that means that +the lifecycle of a test class is also applied to inner groups of that container. +Have a look at [this example](https://github.com/jlink/jqwik/blob/1.1.3/documentation/src/test/java/net/jqwik/docs/TestsWithGroups.java): + +```java +import net.jqwik.api.*; + +class TestsWithGroups { + + @Property + void outer(@ForAll String aString) { + } + + @Group + class Group1 { + @Property + void group1Property(@ForAll String aString) { + } + + @Group + class Subgroup { + @Property + void subgroupProperty(@ForAll String aString) { + } + } + } + + @Group + class Group2 { + @Property + void group2Property(@ForAll String aString) { + } + } +} +``` + +## Naming and Labeling Tests + +Using Java-style camel case naming for your test container classes and property methods +will sometimes lead to hard to read display names in your test reports +and your IDE. +Therefore, _jqwik_ provides a simple way to insert spaces +into the displayed name of your test container or property: +just add underscores (`_`), which are valid Java identifier characters. +Each underscore will be replaced by a space for display purposes. + +If you want to tweak display names even more, +test container classes, groups, example methods and property methods can be labeled +using the annotation `@Label("a label")`. This label will be used to display the element +in test reports or within the IDE. +[In the following example](https://github.com/jlink/jqwik/blob/1.1.3/documentation/src/test/java/net/jqwik/docs/NamingExamples.java), +every test relevant element has been labeled: + +```java +@Label("Naming") +class NamingExamples { + + @Property + @Label("a property") + void aPropertyWithALabel() { } + + @Group + @Label("A Group") + class GroupWithLabel { + @Example + @Label("an example with äöüÄÖÜ") + void anExampleWithALabel() { } + } + + @Group + class Group_with_spaces { + @Example + void example_with_spaces() { } + } + +} +``` + +Labels can consist of any characters and don't have to be unique - but you probably want them +to be unique within their container. + +## Tagging Tests + +Test container classes, groups, example methods and property methods can be tagged +using the annotation `@Tag("a-tag")`. You can have many tags on the same element. + +Those tag can be used to filter the set of tests +[run by the IDE](https://blog.jetbrains.com/idea/2018/01/intellij-idea-starts-2018-1-early-access-program/) or +[the build tool](https://docs.gradle.org/4.6/release-notes.html#junit-5-support). +Tags are handed down from container (class or group) to its children (test methods or groups). + +Have a look at +[the following example](https://github.com/jlink/jqwik/blob/1.1.3/documentation/src/test/java/net/jqwik/docs/TaggingExamples.java). +Including the tag `integration-test` will include +all tests of the class. + +```java +@Tag("integration-test") +class TaggingExamples { + + @Property + @Tag("fast") + void aFastProperty() { } + + @Example + @Tag("slow") @Tag("involved") + void aSlowTest() { } +} +``` + +Tags must follow certain rules as described +[here](/docs/1.1.3/javadoc/net/jqwik/api/Tag.html) + +## Disabling Tests + +From time to time you might want to disable a test or all tests in a container +temporarily. You can do that by adding the +[`@Disabled`](/docs/1.1.3/javadoc/net/jqwik/api/Disabled.html) annotation +to a property method or a container class. + +```java +import net.jqwik.api.Disabled + +@Disabled("for whatever reason") +class DisablingExamples { + + @Property + @Disabled + void aDisabledProperty() { } + +} +``` + +Disabled properties will be reported by IDEs and build tools as "skipped" +together with the reason - if one has been provided. + +Be careful not to use the Jupiter annotation with the same name. +_Jqwik_ will refuse to execute methods that have Jupiter annotations. + + +## Default Parameter Generation + +_jqwik_ tries to generate values for those property method parameters that are +annotated with [`@ForAll`](/docs/1.1.3/javadoc/net/jqwik/api/ForAll.html). If the annotation does not have a `value` parameter, +jqwik will use default generation for the following types: + +- `Object` +- `String` +- Integral types `Byte`, `byte`, `Short`, `short` `Integer`, `int`, `Long`, `long` and `BigInteger` +- Floating types `Float`, `float`, `Double`, `double` and `BigDecimal` +- `Boolean` and `boolean` +- `Character` and `char` +- All `enum` types +- Collection types `List`, `Set` and `Stream` + as long as `T` can also be provided by default generation. +- `Iterable` and `Iterator` of types that are provided by default. +- `Optional` of types that are provided by default. +- Array `T[]` of types that are provided by default. +- `java.util.Random` + +If you use [`@ForAll`](/docs/1.1.3/javadoc/net/jqwik/api/ForAll.html) +with a value, e.g. `@ForAll("aMethodName")`, the method +referenced by `"aMethodName"` will be called to provide an Arbitrary of the +required type (see [Customized Parameter Generation](#customized-parameter-generation)). + +### Constraining Default Generation + +Default parameter generation can be influenced and constrained by additional annotations, +depending on the requested parameter type. + +#### Allow Null Values + +- [`@WithNull(double value = 0.1)`](/docs/1.1.3/javadoc/net/jqwik/api/constraints/WithNull.html): + Inject `null` into generated values with a probability of `value`. + + Works for all generated types. + +#### Unique Values + +- [`@Unique`](/docs/1.1.3/javadoc/net/jqwik/api/constraints/Unique.html): + Prevent duplicate values to be generated _per try_. That means that + there can still be duplicate values across several tries. That also means + that `@Unique` only makes sense as annotation for a parameter type, e.g.: + + ```java + @Property + void uniqueInList(@ForAll @Size(5) List<@IntRange(min = 0, max = 10) @Unique Integer> aList) { + Assertions.assertThat(aList).doesNotHaveDuplicates(); + Assertions.assertThat(aList).allMatch(anInt -> anInt >= 0 && anInt <= 10); + } + ``` + + Trying to generate a list with more than 11 elements would not work here. + + Works for all generated types. + +#### String Length + +- [`@StringLength(int value = 0, int min = 0, int max = 0)`](/docs/1.1.3/javadoc/net/jqwik/api/constraints/StringLength.html): + Set either fixed length through `value` or configure the length range between `min` and `max`. + +- [`@NotEmpty`](/docs/1.1.3/javadoc/net/jqwik/api/constraints/NotEmpty.html): + Set minimum length to `1`. + +#### Character Sets + +When generating chars any unicode character might be generated. + +When generating Strings, however, +Unicode "noncharacters" and "private use characters" +will not be generated unless you explicitly include them using +`@Chars` or `@CharRange` (see below). + +You can use the following annotations to restrict the set of allowed characters and even +combine several of them: + +- [`@Chars(chars[] value = {})`](/docs/1.1.3/javadoc/net/jqwik/api/constraints/Chars.html): + Specify a set of characters. + This annotation can be repeated which will add up all allowed chars. +- [`@CharRange(char from = 0, char to = 0)`](/docs/1.1.3/javadoc/net/jqwik/api/constraints/CharRange.html): + Specify a start and end character. + This annotation can be repeated which will add up all allowed chars. +- [`@NumericChars`](/docs/1.1.3/javadoc/net/jqwik/api/constraints/NumericChars.html): + Use digits `0` through `9` +- [`@LowerChars`](/docs/1.1.3/javadoc/net/jqwik/api/constraints/LowerChars.html): + Use lower case chars `a` through `z` +- [`@UpperChars`](/docs/1.1.3/javadoc/net/jqwik/api/constraints/UpperChars.html): + Use upper case chars `A` through `Z` +- [`@AlphaChars`](/docs/1.1.3/javadoc/net/jqwik/api/constraints/AlphaChars.html): + Lower and upper case chars are allowed. +- [`@Whitespace`](/docs/1.1.3/javadoc/net/jqwik/api/constraints/Whitespace.html): + All whitespace characters are allowed. + +They work for generated `String`s and `Character`s. + +#### List, Set, Stream and Array Size: + +- [`@Size(int value = 0, int min = 0, int max = 0)`](/docs/1.1.3/javadoc/net/jqwik/api/constraints/Size.html): + Set either fixed size through `value` or configure the size range between `min` and `max`. + +- [`@NotEmpty`](/docs/1.1.3/javadoc/net/jqwik/api/constraints/NotEmpty.html): + Set minimum size to `1`. + + +#### Integer Constraints + +- [`@ByteRange(byte min = 0, byte max = Byte.MAX_VALUE)`](/docs/1.1.3/javadoc/net/jqwik/api/constraints/ByteRange.html): + For `Byte` and `byte` only. +- [`@ShortRange(short min = 0, short max = Short.MAX_VALUE)`](/docs/1.1.3/javadoc/net/jqwik/api/constraints/ShortRange.html): + For `Short` and `short` only. +- [`@IntRange(int min = 0, int max = Integer.MAX_VALUE)`](/docs/1.1.3/javadoc/net/jqwik/api/constraints/IntRange.html): + For `Integer` and `int` only. +- [`@LongRange(long min = 0L, long max = Long.MAX_VALUE)`](/docs/1.1.3/javadoc/net/jqwik/api/constraints/LongRange.html): + For `Long` and `long` only. +- [`@BigRange(String min = "", String max = "")`](/docs/1.1.3/javadoc/net/jqwik/api/constraints/BigRange.html): + For `BigInteger` generation. +- [`@Positive`](/docs/1.1.3/javadoc/net/jqwik/api/constraints/Positive.html): + Numbers larger than `0`. For all integral types. +- [`@Negative`](/docs/1.1.3/javadoc/net/jqwik/api/constraints/Negative.html): + Numbers lower than `0`. For all integral types. + + +#### Decimal Constraints + +- [`@FloatRange(float min = 0.0f, float max = Float.MAX_VALUE)`](/docs/1.1.3/javadoc/net/jqwik/api/constraints/FloatRange.html): + For `Float` and `float` only. +- [`@DoubleRange(double min = 0.0, double max = Double.MAX_VALUE)`](/docs/1.1.3/javadoc/net/jqwik/api/constraints/DoubleRange.html): + For `Double` and `double` only. +- [`@BigRange(String min = "", String max = "")`](/docs/1.1.3/javadoc/net/jqwik/api/constraints/BigRange.html): + For `BigDecimal` generation. +- [`@Scale(int value)`](/docs/1.1.3/javadoc/net/jqwik/api/constraints/Scale.html): + Specify the maximum number of decimal places. For all decimal types. +- [`@Positive`](/docs/1.1.3/javadoc/net/jqwik/api/constraints/Positive.html): + Numbers larger than `0.0`. For all decimal types. +- [`@Negative`](/docs/1.1.3/javadoc/net/jqwik/api/constraints/Negative.html): + Numbers lower than `0.0`. For all decimal types. + +### Constraining parameterized types + +When you want to constrain the generation of contained parameter types you can annotate +the parameter type directly, e.g.: + +```java +@Property +void aProperty(@ForAll @Size(min= 1) List<@StringLength(max=10) String> listOfStrings) { +} +``` +will generate lists with a minimum size of 1 filled with Strings that have 10 characters max. + +### Providing variable types + +While checking properties of generically typed classes or functions, you often don't care +about the exact type of variables and therefore want to express them with type variables. +_jqwik_ can also handle type variables and wildcard types. The handling of upper and lower +bounds works mostly as you would expect it. + +Consider +[the following examples](https://github.com/jlink/jqwik/blob/1.1.3/documentation/src/test/java/net/jqwik/docs/VariableTypedPropertyExamples.java): + +```java +class VariableTypedPropertyExamples { + + @Property + boolean unboundedGenericTypesAreResolved(@ForAll List items, @ForAll T newItem) { + items.add(newItem); + return items.contains(newItem); + } + + @Property + void someBoundedGenericTypesCanBeResolved(@ForAll List items, @ForAll T newItem) { + } + + @Property + void someWildcardTypesWithUpperBoundsCanBeResolved(@ForAll List items) { + } + +} +``` + +In the case of unbounded type variables or an unbounded wildcard type, _jqwik_ +will create instanced of a special class (`WildcardObject`) under the hood. + +In the case of bounded type variables and bounded wildcard types, _jqwik_ +will check if any [registered arbitrary provider](#providing-default-arbitraries) +can provide suitable arbitraries and choose randomly between those. + +There is, however, a potentially unexpected behaviour, +when the same type variable is used in more than one place and can be +resolved by more than one arbitrary. In this case it can happen that the variable +does not represent the same type in all places. You can see this above +in property method `someBoundedGenericTypesCanBeResolved()` where `items` +might be a list of Strings but `newItem` of some number type - and all that +_in the same call to the method_! + +## Self-Made Annotations + +You can [make your own annotations](http://junit.org/junit5/docs/5.0.0/user-guide/#writing-tests-meta-annotations) +instead of using _jqwik_'s built-in ones. BTW, '@Example' is nothing but a plain annotation using [`@Property`](/docs/1.1.3/javadoc/net/jqwik/api/Property.html) +as "meta"-annotation. + +The following example provides an annotation to constrain String or Character generation to German letters only: + +```java +@Target({ ElementType.ANNOTATION_TYPE, ElementType.PARAMETER }) +@Retention(RetentionPolicy.RUNTIME) +@Digits +@AlphaChars +@Chars({'ä', 'ö', 'ü', 'Ä', 'Ö', 'Ü', 'ß'}) +@Chars({' ', '.', ',', ';', '?', '!'}) +@StringLength(min = 10, max = 100) +public @interface GermanText { } + +@Property(tries = 10) @Reporting(Reporting.GENERATED) +void aGermanText(@ForAll @GermanText String aText) {} +``` + +The drawback of self-made annotations is that they do not forward their parameters to meta-annotations, +which constrains their applicability to simple cases. + + +## Customized Parameter Generation + +Sometimes the possibilities of adjusting default parameter generation +through annotations is not enough. In that case you can delegate parameter +provision to another method. Look at the +[following example](https://github.com/jlink/jqwik/blob/1.1.3/documentation/src/test/java/net/jqwik/docs/ProvideMethodExamples.java): + +```java +@Property +boolean concatenatingStringWithInt( + @ForAll("shortStrings") String aShortString, + @ForAll("10 to 99") int aNumber +) { + String concatenated = aShortString + aNumber; + return concatenated.length() > 2 && concatenated.length() < 11; +} + +@Provide +Arbitrary shortStrings() { + return Arbitraries.strings().withCharRange('a', 'z') + .ofMinLength(1).ofMaxLength(8); +} + +@Provide("10 to 99") +Arbitrary numbers() { + return Arbitraries.integers().between(10, 99); +} +``` + +The String value of the [`@ForAll`](/docs/1.1.3/javadoc/net/jqwik/api/ForAll.html) +annotation serves as a reference to a +method within the same class (or one of its superclasses or owning classes). +This reference refers to either the method's name or the String value +of the method's `@Provide` annotation. + +The providing method has to return an object of type +[`@Arbitrary`](/docs/1.1.3/javadoc/net/jqwik/api/Arbitrary.html) +where `T` is the static type of the parameter to be provided. + +Parameter provision usually starts with a +[static method call to `Arbitraries`](#static-arbitraries-methods), maybe followed +by one or more [filtering](#filtering), [mapping](#mapping) or +[combining](#combining-arbitraries) actions. + + +### Static `Arbitraries` methods + +The starting point for generation usually is a static method call on class +[`Arbitraries`](/docs/1.1.3/javadoc/net/jqwik/api/Arbitraries.html). + +#### Generate values yourself + +- [`Arbitrary randomValue(Function generator)`](/docs/1.1.3/javadoc/net/jqwik/api/Arbitraries.html#randomValue-java.util.function.Function-): + Take a `random` instance and create an object from it. + Those values cannot be [shrunk](#result-shrinking), though. + + Generating prime numbers might look like that: + ```java + @Provide + Arbitrary primesGenerated() { + return Arbitraries.randomValue(random -> generatePrime(random)); + } + + private Integer generatePrime(Random random) { + int candidate; + do { + candidate = random.nextInt(10000) + 2; + } while (!isPrime(candidate)); + return candidate; + } + ``` + +- [`Arbitrary fromGenerator(RandomGenerator generator)`](/docs/1.1.3/javadoc/net/jqwik/api/Arbitraries.html#fromGenerator-net.jqwik.api.RandomGenerator-): + If the number of _tries_ influences value generation or if you want + to allow for [shrinking](#result-shrinking) you have to provide + your own `RandomGenerator` implementation. + +#### Select values randomly + +- [`Arbitrary of(U... values)`](/docs/1.1.3/javadoc/net/jqwik/api/Arbitraries.html#of-U...-): + Choose randomly from a list of values. Shrink towards the first one. + +- [`Arbitrary samples(T... samples)`](/docs/1.1.3/javadoc/net/jqwik/api/Arbitraries.html#samples-T...-): + Go through samples from first to last. Shrink towards the first sample. + + If instead you want to _add_ samples to an existing arbitrary you'd rather use + [`Arbitrary.withSamples(T... samples)`](/docs/1.1.3/javadoc/net/jqwik/api/Arbitrary.html#withSamples-T...-). + The following arbitrary: + + ```java + @Provide + Arbitrary integersWithPrimes() { + return Arbitraries.integers(- 1000, 1000).withSamples(2,3,5,7,11,13,17); + } + ``` + + will first generate the 7 enumerated prime numbers and only then generate random + integers between -1000 and +1000. + +- [`Arbitrary of(Class enumClass)`](/docs/1.1.3/javadoc/net/jqwik/api/Arbitraries.html#of-java.lang.Class-): + Choose randomly from all values of an `enum`. Shrink towards first enum value. + +#### Select randomly with Weights + +If you have a set of values to choose from with weighted probabilities, use +[`Arbitraries.frequency(...)`](/docs/1.1.3/javadoc/net/jqwik/api/Arbitraries.html#frequency-net.jqwik.api.Tuple.Tuple2...-): + +```java +@Property +void abcdWithFrequencies(@ForAll("abcdWeighted") String aString) { + Statistics.collect(aString); +} + +@Provide +Arbitrary abcdWeighted() { + return Arbitraries.frequency( + Tuple.of(1, "a"), + Tuple.of(5, "b"), + Tuple.of(10, "c"), + Tuple.of(20, "d") + ); +} +``` + +The first value of the tuple specifies the frequency of a particular value in relation to the +sum of all frequencies. In +[the given example](https://github.com/jlink/jqwik/blob/1.1.3/documentation/src/test/java/net/jqwik/docs/ChoosingExamples.java#L17) +the sum is 36, thus `"a"` will be generated with a probability of `1/36` +whereas `"d"` has a generation probability of `20/36` (= `5/9`). + +Shrinking moves towards the start of the frequency list. + +#### Integers + +- [`ByteArbitrary bytes()`](/docs/1.1.3/javadoc/net/jqwik/api/Arbitraries.html#bytes--) +- [`ShortArbitrary shorts()`](/docs/1.1.3/javadoc/net/jqwik/api/Arbitraries.html#shorts--) +- [`IntegerArbitrary integers()`](/docs/1.1.3/javadoc/net/jqwik/api/Arbitraries.html#integers--) +- [`LongArbitrary longs()`](/docs/1.1.3/javadoc/net/jqwik/api/Arbitraries.html#longs--) +- [`BigIntegerArbitrary bigIntegers()`](/docs/1.1.3/javadoc/net/jqwik/api/Arbitraries.html#bigIntegers--) + +#### Decimals + +- [`FloatArbitrary floats()`](/docs/1.1.3/javadoc/net/jqwik/api/Arbitraries.html#floats--) +- [`DoubleArbitrary doubles()`](/docs/1.1.3/javadoc/net/jqwik/api/Arbitraries.html#doubles--) +- [`BigDecimalArbitrary bigDecimals()`](/docs/1.1.3/javadoc/net/jqwik/api/Arbitraries.html#bigDecimals--) + +#### Characters and Strings + +- [`StringArbitrary strings()`](/docs/1.1.3/javadoc/net/jqwik/api/Arbitraries.html#strings--) +- [`CharacterArbitrary chars()`](/docs/1.1.3/javadoc/net/jqwik/api/Arbitraries.html#chars--) + +#### java.util.Random + +- [`Arbitrary randoms()`](/docs/1.1.3/javadoc/net/jqwik/api/Arbitraries.html#randoms--): + Random instances will never be shrunk + +#### Constants + +- [`Arbitrary constant(T value)`](/docs/1.1.3/javadoc/net/jqwik/api/Arbitraries.html#constant-T-): + In each try use the same unshrinkable `value` of type `T`. + +#### Create + +- [`Arbitrary create(Supplier supplier)`](/docs/1.1.3/javadoc/net/jqwik/api/Arbitraries.html#constant-java.util.function.Supplier-): + In each try use a new unshrinkable instance of type `T` using `supplier` to freshly create it. + +#### Shuffling Permutations + +- [`Arbitrary> shuffle(T ... values)`](/docs/1.1.3/javadoc/net/jqwik/api/Arbitraries.html#shuffle-T...-): + Return unshrinkable permutations of the `values` handed in. + +- [`Arbitrary> shuffle(List values)`](/docs/1.1.3/javadoc/net/jqwik/api/Arbitraries.html#shuffle-java.util.List-): + Return unshrinkable permutations of the `values` handed in. + +#### Default Types + +- [`Arbitrary defaultFor(Class type, Class ... parameterTypes)`](/docs/1.1.3/javadoc/net/jqwik/api/Arbitraries.html#defaultFor-java.lang.Class-java.lang.Class...-): + Return the default arbitrary available for type `type` [if one is provided](#providing-default-arbitraries) + by default. For parameterized types you can also specify the parameter types. + + Keep in mind, though, that the parameter types are lost in the type signature and therefore + cannot be used in the respective [`@ForAll`](/docs/1.1.3/javadoc/net/jqwik/api/ForAll.html) property method parameter. Raw types and wildcards, + however, match; thus the following example will work: + + ```java + @Property + boolean listWithWildcard(@ForAll("stringLists") List stringList) { + return stringList.isEmpty() || stringList.get(0) instanceof String; + } + + @Provide + Arbitrary stringLists() { + return Arbitraries.defaultFor(List.class, String.class); + } + ``` + +### Collections, Streams, Arrays and Optional + +Generating types who have generic type parameters, requires to start with +an `Arbitrary` instance for the generic type. You can create the corresponding collection arbitrary from there: + +- [`Arbitrary.list()`](/docs/1.1.3/javadoc/net/jqwik/api/Arbitrary.html#list--) +- [`Arbitrary.set()`](/docs/1.1.3/javadoc/net/jqwik/api/Arbitrary.html#set--) +- [`Arbitrary.streamOf()`](/docs/1.1.3/javadoc/net/jqwik/api/Arbitrary.html#stream--) +- [`Arbitrary.array(Class arrayClass)`](/docs/1.1.3/javadoc/net/jqwik/api/Arbitrary.html#array-java.lang.Class-) +- [`Arbitrary.optional()`](/docs/1.1.3/javadoc/net/jqwik/api/Arbitrary.html#optional--) + +### Fluent Configuration Interfaces + +Most specialized arbitrary interfaces provide special methods to configure things +like size, length, boundaries etc. Have a look at the Java doc for the following types: + +- [BigDecimalArbitrary](/docs/1.1.3/javadoc/net/jqwik/api/arbitraries/BigDecimalArbitrary.html) +- [BigIntegerArbitrary](/docs/1.1.3/javadoc/net/jqwik/api/arbitraries/BigIntegerArbitrary.html) +- [ByteArbitrary](/docs/1.1.3/javadoc/net/jqwik/api/arbitraries/ByteArbitrary.html) +- [CharacterArbitrary](/docs/1.1.3/javadoc/net/jqwik/api/arbitraries/CharacterArbitrary.html) +- [DoubleArbitrary](/docs/1.1.3/javadoc/net/jqwik/api/arbitraries/DoubleArbitrary.html) +- [FloatArbitrary](/docs/1.1.3/javadoc/net/jqwik/api/arbitraries/FloatArbitrary.html) +- [IntegerArbitrary](/docs/1.1.3/javadoc/net/jqwik/api/arbitraries/IntegerArbitrary.html) +- [LongArbitrary](/docs/1.1.3/javadoc/net/jqwik/api/arbitraries/LongArbitrary.html) +- [ShortArbitrary](/docs/1.1.3/javadoc/net/jqwik/api/arbitraries/ShortArbitrary.html) +- [SizableArbitrary](/docs/1.1.3/javadoc/net/jqwik/api/arbitraries/SizableArbitrary.html) +- [StringArbitrary](/docs/1.1.3/javadoc/net/jqwik/api/arbitraries/StringArbitrary.html) + + +Here are a +[two examples](https://github.com/jlink/jqwik/blob/1.1.3/documentation/src/test/java/net/jqwik/docs/FluentConfigurationExamples.java) +to give you a hint of what you can do: + +```java +@Provide +Arbitrary alphaNumericStringsWithMinLength5() { + return Arbitraries.strings().ofMinLength(5).alpha().numeric(); +} + +@Provide +Arbitrary> fixedSizedListOfPositiveIntegers() { + return Arbitraries.integers().greaterOrEqual(0).list().ofSize(17); +} +``` + +### Generate `null` values + +Predefined generators will never create `null` values. If you want to allow that, +call [`Arbitrary.injectNull(double probability)`](/docs/1.1.3/javadoc/net/jqwik/api/Arbitrary.html#injectNull-double-). +The following provider method creates an arbitrary that will return a `null` String +in about 1 of 100 generated values. + +```java +@Provide +Arbitrary stringsWithNull() { + return Arbitraries.strings(0, 10).injectNull(0.01); +} +``` + +### Filtering + +If you want to include only part of all the values generated by an arbitrary, +use +[`Arbitrary.filter(Predicate filterPredicate)`](/docs/1.1.3/javadoc/net/jqwik/api/Arbitrary.html#filter-java.util.function.Predicate-). +The following arbitrary will filter out all +even numbers from the stream of generated integers: + +```java +@Provide +Arbitrary oddNumbers() { + return Arbitraries.integers().filter(aNumber -> aNumber % 2 != 0); +} +``` + +Keep in mind that your filter condition should not be too restrictive. +If the generator fails to find a suitable value after 10000 trials, +the current property will be abandoned by throwing an exception. + +### Creating unique values + +If you want to make sure that all the values generated by an arbitrary are unique, +use +[`Arbitrary.unique()`](/docs/1.1.3/javadoc/net/jqwik/api/Arbitrary.html#unique--). +The following arbitrary will generate integers between 1 and 1000 but never the same integer twice: + +```java +@Provide +Arbitrary oddNumbers() { + return Arbitraries.integers().between(1, 1000).unique(); +} +``` + +This means that a maximum of 1000 values can be generated. If the generator fails +to find a yet unseen value after 10000 trials, +the current property will be abandoned by throwing an exception. + +### Mapping + +Sometimes it's easier to start with an existing arbitrary and use its generated values to +build other objects from them. In that case, use +[`Arbitrary.map(Function mapper)`](/docs/1.1.3/javadoc/net/jqwik/api/Arbitrary.html#map-java.util.function.Function-). +The following example uses generated integers to create numerical Strings: + +```java +@Provide +Arbitrary fiveDigitStrings() { + return Arbitraries.integers(10000, 99999).map(aNumber -> String.valueOf(aNumber)); +} +``` + +You could generate the same kind of values by constraining and filtering a generated String. +However, the [shrinking](#result-shrinking) target would probably be different. In the example above, shrinking +will move towards the lowest allowed number, that is `10000`. + + +### Flat Mapping + +Similar as in the case of `Arbitrary.map(..)` there are situations in which you want to use +a generated value in order to create another Arbitrary from it. Sounds complicated? +Have a look at the +[following example](https://github.com/jlink/jqwik/blob/1.1.3/documentation/src/test/java/net/jqwik/docs/FlatMappingExamples.java#L26): + +```java +@Property +boolean fixedSizedStrings(@ForAll("listsOfEqualSizedStrings")List lists) { + return lists.stream().distinct().count() == 1; +} + +@Provide +Arbitrary> listsOfEqualSizedStrings() { + Arbitrary integers2to5 = Arbitraries.integers().between(2, 5); + return integers2to5.flatMap(stringSize -> { + Arbitrary strings = Arbitraries.strings() // + .withCharRange('a', 'z') // + .ofMinLength(stringSize).ofMaxLength(stringSize); + return strings.list(); + }); +} +``` +The provider method will create random lists of strings, but in each list the size of the contained strings +will always be the same - between 2 and 5. + +### Flat Mapping with Tuple Types + +In the example above you used a generated value in order to create another arbitrary. +In those situations you often want to also provide the original values to your property test. + +Imagine, for instance, that you'd like to test properties of `String.substring(begin, end)`. +To randomize the method call, you not only need a string but also the `begin` and `end` indices. +However, both have dependencies: +- `end` must not be larger than the string size +- `begin` must not be larger than `end` +You can make _jqwik_ create all three values by using +[`flatMap`](/docs/1.1.3/javadoc/net/jqwik/api/Arbitrary.html#flatMap-java.util.function.Function-) +combined with a tuple type +[like this](https://github.com/jlink/jqwik/blob/1.1.3/documentation/src/test/java/net/jqwik/docs/FlatMappingExamples.java#L32): + + +```java +@Property +void substringLength(@ForAll("stringWithBeginEnd") Tuple3 stringBeginEnd) { + String aString = stringBeginEnd.get1(); + int begin = stringBeginEnd.get2(); + int end = stringBeginEnd.get3(); + Assertions.assertThat(aString.substring(begin, end).length()) + .isEqualTo(end - begin); +} + +@Provide +Arbitrary> stringWithBeginEnd() { + Arbitrary stringArbitrary = Arbitraries.strings() // + .withCharRange('a', 'z') // + .ofMinLength(2).ofMaxLength(20); + return stringArbitrary // + .flatMap(aString -> Arbitraries.integers().between(0, aString.length()) // + .flatMap(end -> Arbitraries.integers().between(0, end) // + .map(begin -> Tuple.of(aString, begin, end)))); +} +``` + +Mind the nested flat mapping, which is an aesthetic nuisance but nevertheless +very useful. + +### Randomly Choosing among Arbitraries + +If you have several arbitraries of the same type, you can create a new arbitrary of +the same type which will choose randomly one of those arbitraries before generating +a value: + +```java +@Property +boolean intsAreCreatedFromOneOfThreeArbitraries(@ForAll("oneOfThree") int anInt) { + String classifier = anInt < -1000 ? "below" : anInt > 1000 ? "above" : "one"; + Statistics.collect(classifier); + + return anInt < -1000 // + || Math.abs(anInt) == 1 // + || anInt > 1000; +} + +@Provide +Arbitrary oneOfThree() { + IntegerArbitrary below1000 = Arbitraries.integers().between(-2000, -1001); + IntegerArbitrary above1000 = Arbitraries.integers().between(1001, 2000); + Arbitrary oneOrMinusOne = Arbitraries.samples(-1, 1); + + return Arbitraries.oneOf(below1000, above1000, oneOrMinusOne); +} +``` + +[In this example](https://github.com/jlink/jqwik/blob/1.1.3/documentation/src/test/java/net/jqwik/docs/OneOfExamples.java) +the statistics should also give you an equal distribution between +the three types of integers. + +If you don't want to choose with equal probability - but with differing frequency - +you can do that in a similar way: + +```java +@Property(tries = 100) +@Report(Reporting.GENERATED) +boolean intsAreCreatedFromOneOfThreeArbitraries(@ForAll("oneOfThree") int anInt) { + return anInt < -1000 // + || Math.abs(anInt) == 1 // + || anInt > 1000; +} + +@Provide +Arbitrary oneOfThree() { + IntegerArbitrary below1000 = Arbitraries.integers().between(-1050, -1001); + IntegerArbitrary above1000 = Arbitraries.integers().between(1001, 1050); + Arbitrary oneOrMinusOne = Arbitraries.samples(-1, 1); + + return Arbitraries.frequencyOf( + Tuple.of(1, below1000), + Tuple.of(3, above1000), + Tuple.of(6, oneOrMinusOne) + ); +} +``` + +### Combining Arbitraries + +Sometimes just mapping a single stream of generated values is not enough to generate +a more complicated domain object. In those cases you can combine several arbitraries to +a single result arbitrary using +[`Combinators.combine()`](/docs/1.1.3/javadoc/net/jqwik/api/Combinators.html#combine-net.jqwik.api.Arbitrary-net.jqwik.api.Arbitrary-) +with up to eight arbitraries. +[Create an issue on github](https://github.com/jlink/jqwik/issues) if you need more than eight. + +[The following example](https://github.com/jlink/jqwik/blob/1.1.3/documentation/src/test/java/net/jqwik/docs/MappingAndCombinatorExamples.java#L25) +generates `Person` instances from three arbitraries as inputs. + +```java +@Property +void validPeopleHaveIDs(@ForAll("validPeople") Person aPerson) { + Assertions.assertThat(aPerson.getID()).contains("-"); + Assertions.assertThat(aPerson.getID().length()).isBetween(5, 24); +} + +@Provide +Arbitrary validPeople() { + Arbitrary names = Arbitraries.strings().withCharRange('a', 'z') + .ofMinLength(3).ofMaxLength(21); + Arbitrary ages = Arbitraries.integers().between(0, 130); + return Combinators.combine(names, ages) + .as((name, age) -> new Person(name, age)); +} + +class Person { + private final String name; + private final int age; + + public Person(String name, int age) { + this.name = name; + this.age = age; + } + + public String getID() { + return name + "-" + age; + } + + @Override + public String toString() { + return String.format("%s:%s", name, age); + } +} +``` + +The property should fail, thereby shrinking the falsified Person instance to +`[aaaaaaaaaaaaaaaaaaaaa:100]`. + +The `Combinators.combine` method accepts up to 8 parameters of type Arbitrary. +If you need more you have a few options: + +- Consider to group some parameters into an object of their own and change your design +- Generate inbetween arbitraries e.g. of type `Tuple` and combine those in another step +- Introduce a build for your domain object and combine them + [in this way](#combining-arbitraries-with-builder) + + +### Combining Arbitraries with Builder + +There's an alternative way to combine arbitraries to create an aggregated object +by using a builder for the aggregated object. Consider the example from +[above](#combining-arbitraries) and throw a `PersonBuilder` into the mix: + +```java +static class PersonBuilder { + + private String name = "A name"; + private int age = 42; + + public PersonBuilder withName(String name) { + this.name = name; + return this; + } + + public PersonBuilder withAge(int age) { + this.age = age; + return this; + } + + public Person build() { + return new Person(name, age); + } +} +``` + +Then you can go about generating people in the following way: + +```java +@Provide +Arbitrary validPeopleWithBuilder() { + Arbitrary names = + Arbitraries.strings().withCharRange('a', 'z').ofMinLength(2).ofMaxLength(20); + Arbitrary ages = Arbitraries.integers().between(0, 130); + + return Combinators.withBuilder(() -> new PersonBuilder()) + .use(names).in((builder, name) -> builder.withName(name)) + .use(ages).in((builder, age)-> builder.withAge(age)) + .build( builder -> builder.build()); +} +``` + +Have a look at +[Combinators.withBuilder(Supplier)](/docs/1.1.3/javadoc/net/jqwik/api/Combinators.html#withBuilder-java.util.function.Supplier-) +and [Combinators.withBuilder(Arbitrary)](/docs/1.1.3/javadoc/net/jqwik/api/Combinators.html#withBuilder-net.jqwik.api.Arbitrary-) +to check the API. + +#### Flat Combination + +If generating domain values requires to use several generated values to be used +in generating another one, there's the combination of flat mapping and combining: + +```java +@Property +boolean fullNameHasTwoParts(@ForAll("fullName") String aName) { + return aName.split(" ").length == 2; +} + +@Provide +Arbitrary fullName() { + IntegerArbitrary firstNameLength = Arbitraries.integers().between(2, 10); + IntegerArbitrary lastNameLength = Arbitraries.integers().between(2, 10); + return Combinators.combine(firstNameLength, lastNameLength).flatAs( (fLength, lLength) -> { + Arbitrary firstName = Arbitraries.strings().alpha().ofLength(fLength); + Arbitrary lastName = Arbitraries.strings().alpha().ofLength(fLength); + return Combinators.combine(firstName, lastName).as((f,l) -> f + " " + l); + }); +} +``` + +Often, however, there's an easier way to achieve the same goal which +does not require the flat combination of arbitraries: + +```java +@Provide +Arbitrary fullName2() { + Arbitrary firstName = Arbitraries.strings().alpha().ofMinLength(2).ofMaxLength(10); + Arbitrary lastName = Arbitraries.strings().alpha().ofMinLength(2).ofMaxLength(10); + return Combinators.combine(firstName, lastName).as((f, l) -> f + " " + l); +} +``` + +This is not only easier to understand but it usually improves shrinking. + +### Fix an Arbitrary's `genSize` + +Some generators (e.g. most number generators) are sensitive to the +`genSize` value that is used when creating them. +The default value for `genSize` is the number of tries configured for the property +they are used in. If there is a need to influence the behaviour of generators +you can do so by using +[`Arbitrary.fixGenSize(int)`](/docs/1.1.3/javadoc/net/jqwik/api/Arbitrary.html#fixGenSize-int-).. + + +### Generating all possible values + +There are a few cases when you don't want to generate individual values from an +arbitrary but use all possible values to construct another arbitrary. This can be achieved through +[`Arbitrary.allValues()`](/docs/1.1.3/javadoc/net/jqwik/api/Arbitrary.html#allValues--). + +Return type is `Optional>` because _jqwik_ can only perform this task if +[exhaustive generation](#exhaustive-generation) is doable. + + +### Iterating through all possible values + +You can also use an arbitrary to iterate through all values it specifies. +Use +[`Arbitrary.forEachValue(Consumer action)`](/docs/1.1.3/javadoc/net/jqwik/api/Arbitrary.html#forEachValue-java.util.function.Consumer-). +for that purpose. This only works when [exhaustive generation](#exhaustive-generation) is possible. +In other cases the attempt to iterate will result in an exception. + +This is typically useful when your test requires to assert some fact for all +values of a given (sub)set of objects. Here's a contrived example: + +```java +@Property +void canPressAnyKeyOnKeyboard(@ForAll Keyboard keyboard, @ForAll Key key) { + keyboard.press(key); + assertThat(keyboard.isPressed(key)); + + Arbitrary unpressedKeys = Arbitraries.of(keyboard.allKeys()).filter(k -> !k.equals(key)); + unpressedKeys.forEachValue(k -> assertThat(keyboard.isPressed(k)).isFalse()); +} +``` + +In this example a simple for loop over `allKeys()` would also work. In more complicated scenarios +_jqwik_ will do all the combinations and filtering for you. + + +## Recursive Arbitraries + +Sometimes it seems like a good idea to compose arbitraries and thereby +recursively calling an arbitrary creation method. Generating recursive data types +is one application field but you can also use it for other stuff. + +### Probabilistic Recursion + +Look at the +[following example](https://github.com/jlink/jqwik/blob/1.1.3/documentation/src/test/java/net/jqwik/docs/RecursiveExamples.java) +which generates sentences by recursively adding words to a sentence: + +```java +@Property +boolean sentencesEndWithAPoint(@ForAll("sentences") String aSentence) { + return aSentence.endsWith("."); +} + +@Provide +Arbitrary sentences() { + Arbitrary sentence = Combinators.combine( // + Arbitraries.lazy(this::sentences), // + word() // + ).as((s, w) -> w + " " + s); + return Arbitraries.oneOf( // + word().map(w -> w + "."), // + sentence, // + sentence, // + sentence // + ); +} + +private StringArbitrary word() { + return Arbitraries.strings().alpha().ofLength(5); +} +``` + +There are two things to which you must pay attention: + +- Use [`Arbitraries.lazy(Supplier>)`](/docs/1.1.3/javadoc/net/jqwik/api/Arbitraries.html#lazy-java.util.function.Supplier-) + to wrap the recursive call itself. + Otherwise _jqwik_'s attempt to build the arbitrary will quickly result in a stack overflow. +- Every recursion needs one or more base cases in order to stop recursion at some point. + Base cases must have a high enough probability, + otherwise a stack overflow will get you during value generation. + +### Deterministic Recursion + +An alternative to the non-deterministic recursion shown above, is to use classical +recursion with a counter to determine the base case. If you then use an arbitrary value +for the counter, the generated sentences will be very similar, and there is _no need_ +for using `Arbitraries.lazy()` at all: + +```java +@Property(tries = 10) +boolean sentencesEndWithAPoint(@ForAll("deterministic") String aSentence) { + return aSentence.endsWith("."); +} + +@Provide +Arbitrary deterministic() { + Arbitrary length = Arbitraries.integers().between(0, 10); + Arbitrary lastWord = word().map(w -> w + "."); + return length.flatMap(l -> deterministic(l, lastWord)); +} + +@Provide +Arbitrary deterministic(int length, Arbitrary sentence) { + if (length == 0) { + return sentence; + } + Arbitrary more = Combinators.combine(word(), sentence).as((w, s) -> w + " " + s); + return deterministic(length - 1, more); +} +``` + +### Deterministic Recursion with `recursive()` + +To further simplify this _jqwik_ provides a helper function: +[`Arbitraries.recursive(...)`](/docs/1.1.3/javadoc/net/jqwik/api/Arbitraries.html#recursive-java.util.function.Supplier-java.util.function.Function-int-). +Using that further simplifies the example: + +```java +@Property(tries = 10) +boolean sentencesEndWithAPoint(@ForAll("deterministic") String aSentence) { + return aSentence.endsWith("."); +} + +@Provide +Arbitrary deterministic() { + Arbitrary length = Arbitraries.integers().between(0, 10); + Arbitrary lastWord = word().map(w -> w + "."); + + return length.flatMap(l -> Arbitraries.recursive(() -> lastWord, s -> prependWord(s), l)); +} + +private Arbitrary prependWord(Arbitrary sentence) { + return Combinators.combine(word(), sentence).as((w, s) -> w + " " + s); +} +``` + + + +## Contract Tests + +When you combine type variables with properties defined in superclasses or interfaces +you can do some kind of _contract testing_. That means that you specify +the properties in a generically typed interface and specify the concrete class to +instantiate in a test container implementing the interface. + +The following example was influence by a similar feature in +[junit-quickcheck](http://pholser.github.io/junit-quickcheck/site/0.8/usage/contract-tests.html). +Here's the contract: + +```java +interface ComparatorContract { + Comparator subject(); + + @Property + default void symmetry(@ForAll("anyT") T x, @ForAll("anyT") T y) { + Comparator subject = subject(); + + Assertions.assertThat(signum(subject.compare(x, y))).isEqualTo(-signum(subject.compare(y, x))); + } + + @Provide + Arbitrary anyT(); +} +``` + +And here's the concrete test container that can be run to execute +the property with generated Strings: + +```java +class StringCaseInsensitiveProperties implements ComparatorContract { + + @Override public Comparator subject() { + return String::compareToIgnoreCase; + } + + @Override + @Provide + public Arbitrary anyT() { + return Arbitraries.strings().alpha().ofMaxLength(20); + } +} +``` + +What we can see here is that _jqwik_ is able to figure out the concrete +type of type variables when they are used in subtypes that fill in +the variables. + + +## Stateful Testing + +Despite its bad reputation _state_ is an important concept in object-oriented languages like Java. +We often have to deal with stateful objects or components whose state can be changed through methods. + +Thinking in a more formal way we can look at those objects as _state machines_ and the methods as +_actions_ that move the object from one state to another. Some actions have preconditions to constrain +when they can be invoked and some objects have invariants that should never be violated regardless +of the sequence of performed actions. + +To make this abstract concept concrete, let's look at a +[simple stack implementation](https://github.com/jlink/jqwik/blob/1.1.3/documentation/src/test/java/net/jqwik/docs/stateful/mystack/MyStringStack.java): + +```java +public class MyStringStack { + public void push(String element) { ... } + public String pop() { ... } + public void clear() { ... } + public boolean isEmpty() { ... } + public int size() { ... } + public String top() { ... } +} +``` + +### Specify Actions + +We can see at least three _actions_ with their preconditions and expected state changes: + +- [`Push`](https://github.com/jlink/jqwik/blob/1.1.3/documentation/src/test/java/net/jqwik/docs/stateful/mystack/PushAction.java): + Push a string onto the stack. The string should be on top afterwards and the size + should have increased by 1. + + ```java + import net.jqwik.api.stateful.*; + import org.assertj.core.api.*; + + class PushAction implements Action { + + private final String element; + + PushAction(String element) { + this.element = element; + } + + @Override + public MyStringStack run(MyStringStack model) { + int sizeBefore = model.size(); + model.push(element); + Assertions.assertThat(model.isEmpty()).isFalse(); + Assertions.assertThat(model.size()).isEqualTo(sizeBefore + 1); + return model; + } + + @Override + public String toString() { return String.format("push(%s)", element); } + } + ``` + +- [`Pop`](https://github.com/jlink/jqwik/blob/1.1.3/documentation/src/test/java/net/jqwik/docs/stateful/mystack/PopAction.java): + If (and only if) the stack is not empty, pop the element on top off the stack. + The size of the stack should have decreased by 1. + + ```java + class PopAction implements Action { + + @Override + public boolean precondition(MyStringStack model) { + return !model.isEmpty(); + } + + @Override + public MyStringStack run(MyStringStack model) { + int sizeBefore = model.size(); + String topBefore = model.top(); + + String popped = model.pop(); + Assertions.assertThat(popped).isEqualTo(topBefore); + Assertions.assertThat(model.size()).isEqualTo(sizeBefore - 1); + return model; + } + + @Override + public String toString() { return "pop"; } + } + ``` + +- [`Clear`](https://github.com/jlink/jqwik/blob/1.1.3/documentation/src/test/java/net/jqwik/docs/stateful/mystack/ClearAction.java): + Remove all elements from the stack which should be empty afterwards. + + ```java + class ClearAction implements Action { + + @Override + public MyStringStack run(MyStringStack model) { + model.clear(); + Assertions.assertThat(model.isEmpty()).isTrue(); + return model; + } + + @Override + public String toString() { return "clear"; } + } + ``` + +### Check Postconditions + +The fundamental property that _jqwik_ should try to falsify is: + + For any valid sequence of actions all required state changes + (aka postconditions) should be fulfilled. + +We can formulate that quite easily as a +[_jqwik_ property](https://github.com/jlink/jqwik/blob/1.1.3/documentation/src/test/java/net/jqwik/docs/stateful/mystack/MyStringStackProperties.java): + +```java +class MyStringStackProperties { + + @Property + void checkMyStack(@ForAll("sequences") ActionSequence actions) { + actions.run(new MyStringStack()); + } + + @Provide + Arbitrary> sequences() { + return Arbitraries.sequences(Arbitraries.oneOf(push(), pop(), clear())); + } + + private Arbitrary> push() { + return Arbitraries.strings().alpha().ofLength(5).map(PushAction::new); + } + + private Arbitrary> clear() { + return Arbitraries.constant(new ClearAction()); + } + + private Arbitrary> pop() { + return Arbitraries.constant(new PopAction()); + } +} +``` + +The interesting API elements are +- [`ActionSequence`](/docs/1.1.3/javadoc/net/jqwik/api/stateful/ActionSequence.html): + A generic collection type especially crafted for holding and shrinking of a list of actions. + As a convenience it will apply the actions to a model when you call `run(model)`. + +- [`Arbitraries.sequences()`](/docs/1.1.3/javadoc/net/jqwik/api/Arbitraries.html#sequences-net.jqwik.api.Arbitrary-): + This method will create the arbitrary for generating an `ActionSequence` given the + arbitrary for generating actions. + +To give _jqwik_ something to falsify, we broke the implementation of `clear()` so that +it won't clear everything if there are more than two elements on the stack: + +```java +public void clear() { + // Wrong implementation to provoke falsification for stacks with more than 2 elements + if (elements.size() > 2) { + elements.remove(0); + } else { + elements.clear(); + } +} +``` + +Running the property should now produce a result similar to: + +``` +org.opentest4j.AssertionFailedError: Run failed after following actions: + push(AAAAA) + push(AAAAA) + push(AAAAA) + clear + final state: ["AAAAA", "AAAAA"] +``` + +### Number of actions + +_jqwik_ will vary the number of generated actions according to the number +of `tries` of your property. For the default of 1000 tries a sequence will +have up to 32 actions. If need be you can specify the number of actions +to generate using either the fluent interface or the `@Size` annotation: + +```java +@Property +// check stack with sequences of 7 actions: +void checkMyStack(@ForAll("sequences") @Size(max = 7) ActionSequence actions) { + actions.run(new MyStringStack()); +} +``` + +The minimum number of generated actions in a sequence is 1 since checking +an empty sequence does not make sense. + +### Check Invariants + +We can also add invariants to our sequence checking property: + +```java +@Property +void checkMyStackWithInvariant(@ForAll("sequences") ActionSequence actions) { + actions + .withInvariant(stack -> Assertions.assertThat(stack.size()).isGreaterThanOrEqualTo(0)) + .withInvariant(stack -> Assertions.assertThat(stack.size()).isLessThan(5)) + .run(new MyStringStack()); +} +``` + +If we first fix the bug in `MyStringStack.clear()` our property should eventually fail +with the following result: + +``` +org.opentest4j.AssertionFailedError: Run failed after following actions: + push(AAAAA) + push(AAAAA) + push(AAAAA) + push(AAAAA) + push(AAAAA) + final state: ["AAAAA", "AAAAA", "AAAAA", "AAAAA", "AAAAA"] +``` + + +## Assumptions + +If you want to constrain the set of generated values in a way that embraces +more than one parameter, [filtering](#filtering) does not work. What you +can do instead is putting one or more assumptions at the beginning of your property. + +[The following property](https://github.com/jlink/jqwik/blob/1.1.3/documentation/src/test/java/net/jqwik/docs/AssumptionExamples.java) +works only on strings that are not equal: + +```java +@Property +boolean comparingUnequalStrings( // + @ForAll @StringLength(min = 1, max = 10) String string1, // + @ForAll @StringLength(min = 1, max = 10) String string2 // +) { + Assume.that(!string1.equals(string2)); + + return string1.compareTo(string2) != 0; +} +``` + +This is a reasonable use of +[`Assume.that(boolean condition)`](/docs/1.1.3/javadoc/net/jqwik/api/Assume.html#that-boolean-) +because most generated value sets will pass through. + +Have a look at a seemingly similar example: + +```java +@Property +boolean findingContainedStrings( // + @ForAll @StringLength(min = 1, max = 10) String container, // + @ForAll @StringLength(min = 1, max = 5) String contained // +) { + Assume.that(container.contains(contained)); + + return container.indexOf(contained) >= 0; +} +``` + +Despite the fact that the property condition itself is correct, the property will most likely +fail with the following message: + +``` +org.opentest4j.AssertionFailedError: + Property [findingContainedStrings] exhausted after [1000] tries and [980] rejections + +tries = 1000 +checks = 20 +seed = 1066117555581106850 +``` + +The problem is that - given a random generation of two strings - only in very few cases +one string will be contained in the other. _jqwik_ will report a property as `exhausted` +if the ratio between generated and accepted parameters is higher than 5. You can change +the maximum discard ratio by specifying a parameter `maxDiscardRatio` in the +[`@Property`](/docs/1.1.3/javadoc/net/jqwik/api/Property.html) annotation. +That's why changing to `@Property(maxDiscardRatio = 100)` in the previous example +will probably result in a successful property run, even though only a handful +cases - of 1000 generated - will actually be checked. + +In many cases turning up the accepted discard ration is a bad idea. With some creativity +we can often avoid the problem by generating out test data a bit differently. +Look at this variant of the above property, which also uses +[`Assume.that()`](/docs/1.1.3/javadoc/net/jqwik/api/Assume.html#that-boolean-) +but with a much lower discard ratio: + +```java +@Property +boolean findingContainedStrings_variant( // + @ForAll @StringLength(min = 5, max = 10) String container, // + @ForAll @IntRange(min = 1, max = 5) int length, // + @ForAll @IntRange(min = 0, max = 9) int startIndex // +) { + Assume.that((length + startIndex) <= container.length()); + + String contained = container.substring(startIndex, startIndex + length); + return container.indexOf(contained) >= 0; +} +``` + +## Result Shrinking + +If a property could be falsified with a generated set of values, _jqwik_ will +try to "shrink" this sample in order to find a "smaller" sample that also falsifies the property. + +Try this property: + +```java +@Property +boolean stringShouldBeShrunkToAA(@ForAll @AlphaChars String aString) { + return aString.length() > 5 || aString.length() < 2; +} +``` + +The test run result should look something like: + +``` +AssertionFailedError: Property [stringShouldBeShrunkToAA] falsified with sample ["AA"] + +tries = 38 +checks = 38 +seed = -633877439388930932 +sample = ["AA"] +original-sample ["LVtyB"] +``` + +In this case the _originalSample_ could be any string between 2 and 5 chars, whereas the final _sample_ +should be exactly `AA` since this is the shortest failing string and `A` has the lowest numeric value +of all allowed characters. + +### Integrated Shrinking + +_jqwik_'s shrinking approach is called _integrated shrinking_, as opposed to _type-based shrinking_ +which most property-based testing tools use. +The general idea and its advantages are explained +[here](http://hypothesis.works/articles/integrated-shrinking/). + +Consider a somewhat +[more complicated example](https://github.com/jlink/jqwik/blob/1.1.3/documentation/src/test/java/net/jqwik/docs/ShrinkingExamples.java#L15): + +```java +@Property +boolean shrinkingCanTakeLong(@ForAll("first") String first, @ForAll("second") String second) { + String aString = first + second; + return aString.length() > 5 || aString.length() < 2; +} + +@Provide +Arbitrary first() { + return Arbitraries.strings() + .withCharRange('a', 'z') + .ofMinLength(1).ofMaxLength(10) + .filter(string -> string.endsWith("h")); +} + +@Provide +Arbitrary second() { + return Arbitraries.strings() + .withCharRange('0', '9') + .ofMinLength(0).ofMaxLength(10) + .filter(string -> string.length() >= 1); +} +``` + +Shrinking still works, although there's quite a bit of filtering and string concatenation happening: +``` +AssertionFailedError: Property [shrinkingCanTakeLong] falsified with sample ["h", "0"] + +checks = 20 +tries = 20 +seed = -5596810132893895291 +sample = ["h", "0"] +original-sample ["gh", "774"] +``` + +### Switch Shrinking Off + +Sometimes shrinking takes a really long time or won't finish at all (usually a _jqwik_ bug!). +In those cases you can switch shrinking off for an individual property: + +```java +@Property(shrinking = ShrinkingMode.OFF) +void aPropertyWithLongShrinkingTimes( + @ForAll List> list1, + @ForAll List> list2 +) { ... } +``` + +### Switch Shrinking to Full Mode + +Sometimes you can find a message like + +``` +shrinking bound reached = + steps : 1000 + original value : [blah blah blah ...] + shrunk value : [bl bl bl ...] +``` + +in your testrun's output. +This happens in rare cases when _jqwik_ has not found the end of its search for +simpler falsifiable values after 1000 iterations. In those cases you +can try + +```java +@Property(shrinking = ShrinkingMode.FULL) +``` + +to tell _jqwik_ to go all the way, even if it takes a million steps, +even if it never ends... + +## Collecting and Reporting Statistics + +In many situations you'd like to know if _jqwik_ will really generate +the kind of values you expect and if the frequency and distribution of +certain value classes meets your testing needs. +[`Statistics.collect()`](/docs/1.1.3/javadoc/net/jqwik/api/Statistics.html#collect-java.lang.Object...-) +is made for this exact purpose. + +In the most simple case you'd like to know how often a certain value +is being generated: + +```java +@Property +void simpleStats(@ForAll RoundingMode mode) { + Statistics.collect(mode); +} +``` + +will create an output similar to that: + +``` +statistics for [MyTest:simpleStats] = + UNNECESSARY : 15 % + DOWN : 14 % + FLOOR : 13 % + UP : 13 % + HALF_DOWN : 13 % + HALF_EVEN : 12 % + CEILING : 11 % + HALF_UP : 11 % +``` + +More typical is the case in which you'll classify generated values +into two or more groups: + +```java +@Property +void integerStats(@ForAll int anInt) { + Statistics.collect(anInt > 0 ? "positive" : "negative"); +} +``` + +``` +statistics for [MyTest:integerStats] = + negative : 52 % + positive : 48 % +``` + +You can also collect the distribution in more than one category +and combine those categories: + +```java +@Property +void combinedIntegerStats(@ForAll int anInt) { + String posOrNeg = anInt > 0 ? "positive" : "negative"; + String evenOrOdd = anInt % 2 == 0 ? "even" : "odd"; + String bigOrSmall = Math.abs(anInt) > 50 ? "big" : "small"; + Statistics.collect(posOrNeg, evenOrOdd, bigOrSmall); +} +``` + +``` +statistics for [MyTest:combinedIntegerStats] = + positive odd big : 23 % + negative even big : 22 % + positive even big : 22 % + negative odd big : 21 % + positive odd small : 4 % + negative odd small : 3 % + negative even small : 3 % + positive even small : 2 % +``` + +And, of course, you can combine different generated parameters into +one statistical group: + +```java +@Property +void twoParameterStats( + @ForAll @Size(min = 1, max = 10) List aList, // + @ForAll @IntRange(min = 0, max = 10) int index // +) { + Statistics.collect(aList.size() > index ? "index within size" : null); +} +``` + +``` +collected statistics = + index within size : 48 % +``` + +As you can see, collected `null` values are not being reported. + +[Here](https://github.com/jlink/jqwik/blob/1.1.3/documentation/src/test/java/net/jqwik/docs/StatisticsExamples.java) +are a couple of examples to try out. + +## Providing Default Arbitraries + +Sometimes you want to use a certain, self-made `Arbitrary` for one of your own domain +classes, in all of your properties, and without having to add `@Provide` method +to all test classes. _jqwik_ enables this feature by using +Java’s `java.util.ServiceLoader` mechanism. All you have to do is: + +- Implement the interface [`ArbitraryProvider`](/docs/1.1.3/javadoc/net/jqwik/api/providers/ArbitraryProvider.html).
+ The implementing class _must_ have a default constructor without parameters. +- Register the implementation class in file + + ``` + META-INF/services/net.jqwik.api.providers.ArbitraryProvider + ``` + +_jqwik_ will then add an instance of your arbitrary provider into the list of +its default providers. Those default providers are considered for every test parameter annotated +with [`@ForAll`](/docs/1.1.3/javadoc/net/jqwik/api/ForAll.html) that has no explicit `value`. +By using this mechanism you can also replace the default providers +packaged into _jqwik_. + +### Simple Arbitrary Providers + +A simple provider is one that delivers arbitraries for types without type variables. +Consider the class [`Money`](https://github.com/jlink/jqwik/blob/1.1.3/documentation/src/test/java/net/jqwik/docs/defaultprovider/Money.java): + +```java +public class Money { + public BigDecimal getAmount() { + return amount; + } + + public String getCurrency() { + return currency; + } + + public Money(BigDecimal amount, String currency) { + this.amount = amount; + this.currency = currency; + } + + public Money times(int factor) { + return new Money(amount.multiply(new BigDecimal(factor)), currency); + } +} +``` + +If you register the following class +[`MoneyArbitraryProvider`](https://github.com/jlink/jqwik/blob/1.1.3/documentation/src/test/java/net/jqwik/docs/defaultprovider/MoneyArbitraryProvider.java): + +```java +package my.own.provider; + +public class MoneyArbitraryProvider implements ArbitraryProvider { + @Override + public boolean canProvideFor(TypeUsage targetType) { + return targetType.isOfType(Money.class); + } + + @Override + public Set> provideFor(TypeUsage targetType, SubtypeProvider subtypeProvider) { + Arbitrary amount = Arbitraries.bigDecimals() // + .between(BigDecimal.ZERO, new BigDecimal(1_000_000_000)) // + .ofScale(2); + Arbitrary currency = Arbitraries.of("EUR", "USD", "CHF"); + return Collections.singleton(Combinators.combine(amount, currency).as(Money::new)); + } +} +``` + +in file +[`META-INF/services/net.jqwik.api.providers.ArbitraryProvider`](https://github.com/jlink/jqwik/blob/1.1.3/documentation/src/test/resources/META-INF/services/net.jqwik.api.providers.ArbitraryProvider) +with such an entry: + +``` +my.own.provider.MoneyArbitraryProvider +``` + +The +[following property](https://github.com/jlink/jqwik/blob/1.1.3/documentation/src/test/java/net/jqwik/docs/defaultprovider/MoneyProperties.java) +will run without further ado - regardless the class you put it in: + +```java +@Property +void moneyCanBeMultiplied(@ForAll Money money) { + Money times2 = money.times(2); + Assertions.assertThat(times2.getCurrency()).isEqualTo(money.getCurrency()); + Assertions.assertThat(times2.getAmount()) + .isEqualTo(money.getAmount().multiply(new BigDecimal(2))); +} +``` + +### Arbitrary Providers for Parameterized Types + +Providing arbitraries for generic types requires a little bit more effort +since you have to create arbitraries for the "inner" types as well. +Let's have a look at the default provider for `java.util.Optional`: + +```java +public class OptionalArbitraryProvider implements ArbitraryProvider { + @Override + public boolean canProvideFor(TypeUsage targetType) { + return targetType.isOfType(Optional.class); + } + + @Override + public Set> provideFor(TypeUsage targetType, SubtypeProvider subtypeProvider) { + TypeUsage innerType = targetType.getTypeArguments().get(0); + return subtypeProvider.apply(innerType).stream() // + .map(Arbitrary::optional) + .collect(Collectors.toSet()); + } +} +``` + +Mind that `provideFor` returns a set of potential arbitraries. +That's necessary because the `subtypeProvider` might also deliver a choice of +subtype arbitraries. Not too difficult, is it? + + +### Arbitrary Provider Priority + +When more than one provider is suitable for a given type, _jqwik_ will randomly +choose between all available options. That's why you'll have to take additional +measures if you want to replace an already registered provider. The trick +is to override a provider's `priority()` method that returns `0` by default: + +```java +public class AlternativeStringArbitraryProvider implements ArbitraryProvider { + @Override + public boolean canProvideFor(TypeUsage targetType) { + return targetType.isAssignableFrom(String.class); + } + + @Override + public int priority() { + return 1; + } + + @Override + public Set> provideFor(TypeUsage targetType, SubtypeProvider subtypeProvider) { + return Collections.singleton(Arbitraries.constant("A String")); + } +} +``` + +If you register this class as arbitrary provider any `@ForAll String` will +be resolved to `"A String"`. + +## Create your own Annotations for Arbitrary Configuration + +All you can do [to constrain default parameter generation](#constraining-default-generation) +is adding another annotation to a parameter or its parameter types. What if the existing parameters +do not suffice your needs? Is there a way to enhance the set of constraint annotations? Yes, there is! + +The mechanism you can plug into is similar to what you do when +[providing your own default arbitrary providers](#providing-default-arbitraries). That means: + +1. Create an implementation of an interface, in this case + [`ArbitraryConfigurator`](/docs/1.1.3/javadoc/net/jqwik/api/configurators/ArbitraryConfigurator.html). +2. Register the implementation using using Java’s `java.util.ServiceLoader` mechanism. + +### Arbitrary Configuration Example: `@Odd` + +To demonstrate the idea let's create an annotation `@Odd` which will constrain any integer +generation to only generate odd numbers. First things first, so here's +the [`@Odd` annotation](https://github.com/jlink/jqwik/blob/1.1.3/documentation/src/test/java/net/jqwik/docs/arbitraryconfigurator/Odd.java) +together with the +[configurator implementation](https://github.com/jlink/jqwik/blob/1.1.3/documentation/src/test/java/net/jqwik/docs/arbitraryconfigurator/OddConfigurator.java): + +```java +@Target({ ElementType.ANNOTATION_TYPE, ElementType.PARAMETER, ElementType.TYPE_USE }) +@Retention(RetentionPolicy.RUNTIME) +public @interface Odd { +} + +public class OddConfigurator extends ArbitraryConfiguratorBase { + public Arbitrary configure(Arbitrary arbitrary, Odd odd) { + return arbitrary.filter(number -> Math.abs(number % 2) == 1); + } +} +``` + +Mind that the implementation uses an abstract base class - instead of the interface itself - +which simplifies implementation if you're only interested in a single annotation. + +If you now +[register the implementation](https://github.com/jlink/jqwik/blob/1.1.3/documentation/src/test/resources/META-INF/services/net.jqwik.api.configurators.ArbitraryConfigurator), +the [following example](https://github.com/jlink/jqwik/blob/1.1.3/documentation/src/test/java/net/jqwik/docs/arbitraryconfigurator/OddProperties.java) +will work: + +```java +@Property +boolean oddIntegersOnly(@ForAll @Odd int aNumber) { + return Math.abs(aNumber % 2) == 1; +} +``` + +There are a few catches, though: + +- Currently `OddConfigurator` will accept any target type since type erasure + will get rid of `` in configure-method's signature at runtime. + Therefore, using `@Odd` together with e.g. `BigInteger` will lead to a runtime + exception. You can prevent that by explicitly accepting only some target types: + + ```java + public class OddConfigurator extends ArbitraryConfiguratorBase { + + @Override + protected boolean acceptTargetType(TypeUsage targetType) { + return targetType.isAssignableFrom(Integer.class); + } + + public Arbitrary configure(Arbitrary arbitrary, Odd odd) { + return arbitrary.filter(number -> Math.abs(number % 2) == 1); + } + } + ``` + + Alternatively, you can check for an object's type directly and use different + filter algorithms: + + ```java + public Arbitrary configure(Arbitrary arbitrary, Odd odd) { + return arbitrary.filter(number -> { + if (number instanceof Integer) + return Math.abs((int) number % 2) == 1; + if (number instanceof BigInteger) + return ((BigInteger) number).remainder(BigInteger.valueOf(2)) + .abs().equals(BigInteger.ONE); + return false; + }); + } + ``` + +- You can combine `@Odd` with other annotations like `@Positive` or `@Range` or another + self-made configurator. In this case the order of configurator application might play a role, + which can be influenced by overriding the `order()` method of a configurator. + +## Domain and Domain Context + +Until now you have seen two ways to specify which arbitraries will be created for a given parameter: + +- Annotate the parameter with `@ForAll("providerMethod")`. +- [Register a global arbitrary provider](#providing-default-arbitraries) + that will be triggered by a known parameter signature. + +In many cases both approaches can be tedious to set up or require constant repetition of the same +annotation value. There's another way that allows you to collect a number of arbitrary providers +(and also arbitrary configurators) in a single place, called a `DomainContext` and tell +a property method or container to only use providers and configurators from those domain contexts +that are explicitly stated in a `@Domain(Class)` annotation. + +As for ways to implement domain context classes have a look at +[DomainContext](/docs/1.1.3/javadoc/net/jqwik/api/domains/DomainContext.html) +and [AbstractDomainContextBase](/docs/1.1.3/javadoc/net/jqwik/api/domains/AbstractDomainContextBase.html). + + +### Domain example: American Addresses + +Let's say that US postal addresses play a crucial role in the software that we're developing. +That's why there are a couple of classes that represent important domain concepts: +`Street`, `State`, `City` and `Address`. Since we have to generate instances of those classes +for our properties, we collect all arbitrary provision code in +[AmericanAddresses](https://github.com/jlink/jqwik/blob/1.1.3/documentation/src/test/java/net/jqwik/docs/domains/AmericanAddresses.java). +Now look at +[this example](https://github.com/jlink/jqwik/blob/1.1.3/documentation/src/test/java/net/jqwik/docs/domains/AddressProperties.java): + +```java +class AddressProperties { + + @Property + @Domain(AmericanAddresses.class) + void anAddressWithAStreetNumber(@ForAll Address anAddress, @ForAll int streetNumber) { + } + + @Property + @Domain(AmericanAddresses.class) + void globalDomainNotPresent(@ForAll Address anAddress, @ForAll String anyString) { + } + + @Property + @Domain(DomainContext.Global.class) + @Domain(AmericanAddresses.class) + void globalDomainCanBeAdded(@ForAll Address anAddress, @ForAll String anyString) { + } +} +``` + +The first two properties above will resolve their arbitraries solely through providers +specified in `AmericanAddresses`, whereas the last one also uses the default (global) context. +Since `AmericanAddresses` does not configure any arbitrary provider for `String` parameters, +property method `globalDomainNotPresent` will fail with a `CannotFindArbitraryException`. + +## Generation from a Type's Interface + +Some domain classes are mostly data holders. They come with constructors +or factory methods to create them and you might want to create different +instances by "just" filling the constructors' parameters with values +that are themselves generated. Using the building blocks you've seen until +now requires the use of `Arbitrary.map()` or even `Combinators.combine(...).as(...)` +to invoke the relevant constructor(s) and/or factories yourself. +There's a simpler way, though... + +Consider a simple `Person` class: + +```java +public class Person { + + private String name; + private final int age; + + public Person(String name, int age) { + if (name == null || name.trim().isEmpty()) + throw new IllegalArgumentException(); + if (age < 0 || age > 130) + throw new IllegalArgumentException(); + + this.name = name; + this.age = age; + } + + @Override + public String toString() { + return String.format("%s (%d)", name, age); + } +} +``` + +A first step to use arbitrarily generated `Person` objects without having +to write a lot of _jqwik_-specific boiler plat code could look like that: + +```java +@Property +void aPersonsIsAlwaysValid(@ForAll @UseType Person aPerson) { + Assertions.assertThat(aPerson.name).isNotBlank(); + Assertions.assertThat(aPerson.age).isBetween(0, 130); +} +``` + +Notice the annotation `@UseType` which tells _jqwik_ to use the type +information of `Person` to generate it. By default the framework will +use all public constructors and all public, static factory methods in +the class in order to generate instances. Whenever there's an exception during +generation they will be ignored; that way you'll only get valid instances. + +There are quite a few ways usage and configuration options. Have a look +at the [complete example](https://github.com/jlink/jqwik/blob/1.1.3/documentation/src/test/java/net/jqwik/docs/types/PersonProperties.java) +and check the following api entry points: + +- [UseType](/docs/1.1.3/javadoc/net/jqwik/api/constraints/UseType.html) +- [UseTypeMode](/docs/1.1.3/javadoc/net/jqwik/api/constraints/UseTypeMode.html) +- [Arbitraries.forType()](/docs/1.1.3/javadoc/net/jqwik/api/Arbitraries.html#forType-java.lang.Class-) +- [TypeArbitrary](/docs/1.1.3/javadoc/net/jqwik/api/arbitraries/TypeArbitrary.html) + +## Implement your own Arbitraries and Generators + +In your everyday property testing you will often get along without ever implementing +an arbitrary yourself. In cases where +[constraining default generation through annotations](#constraining-default-generation) +does not cut it, you can use all the mechanisms to configure, (flat-)map, filter and combine +the pre-implemented arbitraries. + +However, there are a few circumstances when you should think about rolling your own +implementation. The most important of which are: + +- You want to expand the fluent API for configuration purposes. +- The (randomized) generation of values needs different qualities than can easily be + derived by reusing existing arbitraries. +- Standard shrinking attempts do not come up with simple enough examples. + +In those - and maybe a few other cases - you can implement your own arbitrary. +To get a feel for what a usable implementation looks like, you might start with +having a look at some of the internal arbitraries: + +- [DefaultBigDecimalArbitrary](https://github.com/jlink/jqwik/blob/1.1.3/engine/src/main/java/net/jqwik/engine/properties/arbitraries/DefaultBigDecimalArbitrary.java) +- [DefaultStringArbitrary](https://github.com/jlink/jqwik/blob/1.1.3/engine/src/main/java/net/jqwik/engine/properties/arbitraries/DefaultStringArbitrary.java) + +Under the hood, most arbitraries use `RandomGenerator`s for the final value generation. Since +[`RandomGenerator`](/docs/1.1.3/javadoc/net/jqwik/api/RandomGenerator.html) +is a SAM type, most implementations are just lambda expression. +Start with the methods on +[`RandomGenerators`](https://github.com/jlink/jqwik/blob/1.1.3/engine/src/main/java/net/jqwik/engine/properties/arbitraries/randomized/RandomGenerators.java) +to figure out how they work. + +Since the topic is rather complicated, a detailed example will one day be published +in a separate article... + + +## Exhaustive Generation + +Sometimes it is possible to run a property method with all possible value combinations. +Consider the following example: + +```java +@Property +boolean allSquaresOnChessBoardExist( + @ForAll @CharRange(from = 'a', to = 'h') char column, + @ForAll @CharRange(from = '1', to = '8') char row +) { + return new ChessBoard().square(column, row).isOnBoard(); +} +``` + +The property is supposed to check that all valid squares in chess are present +on a new chess board. If _jqwik_ generated the values for `column` and `row` +randomly, 1000 tries might or might not produce all 64 different combinations. +Why not change strategies in cases like that and just iterate through all +possible values? + +This is exactly what _jqwik_ will do: +- As long as it can figure out that the maximum number of possible values + is equal or below a property's `tries` attribute (1000 by default), + all combinations will be generated. +- You can also enforce an exhaustive or randomized generation mode by using the + [Property.generation attribute](#optional-property-parameters). +- If _jqwik_ cannot figure out how to do exhaustive generation for one of the + participating arbitraries it will switch to randomized generation if in auto mode + or throw an exception if in exhaustive mode. + +Exhaustive generation is considered for: +- All integral types +- Characters and chars +- Enums +- Booleans +- Strings +- Fixed number of choices given by `Arbitraries.of()` +- Fixed number of choices given by `Arbitraries.shuffle()` +- Lists, sets, streams, optionals of the above +- Combinations of the above using `Combinators.combine()` +- Mapped arbitraries using `Arbitrary.map()` +- Filtered arbitraries using `Arbitrary.filter()` +- Flat mapped arbitraries using `Arbitrary.flatMap()` +- And a few other derived arbitraries... + + +## Data-Driven Properties + +In addition to the usual randomized generation of property parameters you have also +the possibility to feed a property with preconceived or deterministically generated +parameter sets. Why would you want to do that? One reason might be that you are aware +of some problematic test cases but they are rare enough that _jqwik_'s randomization +strategies don't generate them (often enough). Another reason could be that you'd like +to feed some properties with prerecorded data - maybe even from production. +And last but not least there's a chance that you want to check for a concrete result +given a set of input parameters. + +Feeding data into a property is quite simple: + +```java +@Data +Iterable> fizzBuzzExamples() { + return Table.of( + Tuple.of(1, "1"), + Tuple.of(3, "Fizz"), + Tuple.of(5, "Buzz"), + Tuple.of(15, "FizzBuzz") + ); +} + +@Property +@FromData("fizzBuzzExamples") +void fizzBuzzWorks(@ForAll int index, @ForAll String result) { + Assertions.assertThat(fizzBuzz(index)).isEqualTo(result); +} +``` + +All you have to do is annotate the property method with +`@FromData("dataProviderReference")`. The method you reference must be +annotated with `@Data` and return an object of type `Iterable`. +The [`Table` class](/docs/1.1.3/javadoc/net/jqwik/api/Table.html) +is just a convenient way to create such an object, but you can return +any collection or create an implementation of your own. + +Keep in mind that the `Tuple` subtype you choose must conform to the +number of `@ForAll` parameters in your property method, e.g. `Tuple.Tuple3` +for a method with three parameters. Otherwise _jqwik_ will fail the property +and tell you that the provided data is inconsistent with the method's parameters. + +Data points are fed to the property in their provided order. +The `tries` parameter of `@Property` will constrain the maximum data points +being tried. +Unlike parameterized tests in JUnit4 or Jupiter, _jqwik_ will report only the +first falsified data point. Thus, fixing the first failure might lead to another +falsified data point later on. There is also _no shrinking_ being done for data-driven +properties since _jqwik_ has no information about the constraints under which +the external data was conceived or generated. + +## Rerunning Falsified Properties + +When you rerun properties after they failed, they will - by default - use +the previous random seed so that the next run will generate the exact same +parameter data and thereby expose the same failing behaviour. This simplifies +debugging and regression testing since it makes a property's falsification +stick until the problem has been fixed. + +If you want to, you can change this behaviour for a given property like this: + +```java +@Property(afterFailure = AfterFailureMode.RANDOM_SEED) +void myProperty() { ... } +``` + +The `afterFailure` property can have one of four values: + +- `AfterFailureMode.PREVIOUS_SEED`: Choose the same seed that provoked the failure in the first place. + Provided no arbitrary provider code has been changed, this will generate the same + sequence of generated parameters as the previous test run. + +- `AfterFailureMode.RANDOM_SEED`: Choose a new random seed even after failure in the previous run. + A constant seed will always prevail thought, as in the following example: + + ```java + @Property(seed = "424242", afterFailure = AfterFailureMode.RANDOM_SEED) + void myProperty() { ... } + ``` + +- `AfterFailureMode.SAMPLE_ONLY`: Only run the property with just the last falsified (and shrunk) + generated sample set of parameters. This only works if all parameters could + be serialized. Look into your test run log to check out if a serialization problem occurred. + +- `AfterFailureMode.SAMPLE_FIRST`: Same as `SAMPLE_ONLY` but generate additional examples if the + property no longer fails with the recorded sample. + + +You can also determine the default behaviour of all properties by setting +the `defaultAfterFailure` property in the [configuration file](jqwik-configuration) +to one of those enum values. + +## jqwik Configuration + +_jqwik_ will look for a file `jqwik.properties` in your classpath in which you can configure +a few basic parameters: + +``` +database = .jqwik-database # The database to store data of previous runs +defaultTries = 1000 # The default number of tries for each property +defaultMaxDiscardRatio = 5 # The default ratio before assumption misses make a property fail +useJunitPlatformReporter = false # Set to true if you want to use platform reporting +defaultAfterFailure = PREVIOUS_SEED # Set default behaviour for falsified properties +reportOnlyFailures = false # Set to true if only falsified properties should be reported +``` + +## Release Notes + +Read this version's [release notes](/release-notes.html#113). \ No newline at end of file diff --git a/docs/docs/current/javadoc/index.html b/docs/docs/current/javadoc/index.html index 6d3450ca5..227052aad 100644 --- a/docs/docs/current/javadoc/index.html +++ b/docs/docs/current/javadoc/index.html @@ -2,10 +2,10 @@ jqwik Javadoc - + -

Redirect to latest version

+

Redirect to latest version

diff --git a/docs/docs/current/user-guide.md b/docs/docs/current/user-guide.md index 8b5d1452b..26f3843d4 100644 --- a/docs/docs/current/user-guide.md +++ b/docs/docs/current/user-guide.md @@ -1,8 +1,8 @@ --- -title: jqwik User Guide - 1.1.2 +title: jqwik User Guide - 1.1.3 ---

The jqwik User Guide -1.1.2 +1.1.3

@@ -138,7 +138,7 @@ repositories { ext.junitPlatformVersion = '1.4.1' ext.junitJupiterVersion = '5.4.1' -ext.jqwikVersion = '1.1.2' +ext.jqwikVersion = '1.1.3' test { useJUnitPlatform { @@ -214,7 +214,7 @@ and add the following dependency to your `pom.xml` file: net.jqwik jqwik - 1.1.2 + 1.1.3 test @@ -240,7 +240,7 @@ will allow you to use _jqwik_'s snapshot release which contains all the latest f I've never tried it but using jqwik without gradle or some other tool to manage dependencies should also work. You will have to add _at least_ the following jars to your classpath: -- `jqwik-1.1.2.jar` +- `jqwik-1.1.3.jar` - `junit-platform-engine-1.4.1.jar` - `junit-platform-commons-1.4.1.jar` - `opentest4j-1.1.1.jar` @@ -249,7 +249,7 @@ You will have to add _at least_ the following jars to your classpath: ## Creating an Example-based Test Just annotate a `public`, `protected` or package-scoped method with -[`@Example`](/docs/1.1.2/javadoc/net/jqwik/api/Example.html). +[`@Example`](/docs/1.1.3/javadoc/net/jqwik/api/Example.html). Example-based tests work just like plain JUnit-style test cases and are not supposed to take any parameters. @@ -259,7 +259,7 @@ A test case method must - or return nothing (`void`) in which case you will probably use [assertions](#assertions) in order to verify the test condition. -[Here](https://github.com/jlink/jqwik/blob/1.1.2/documentation/src/test/java/net/jqwik/docs/ExampleBasedTests.java) +[Here](https://github.com/jlink/jqwik/blob/1.1.3/documentation/src/test/java/net/jqwik/docs/ExampleBasedTests.java) is a test class with two example-based tests: ```java @@ -288,10 +288,10 @@ _Properties_ are the core concept of [property-based testing](/#properties). You create a _Property_ by annotating a `public`, `protected` or package-scoped method with -[`@Property`](/docs/1.1.2/javadoc/net/jqwik/api/Property.html). +[`@Property`](/docs/1.1.3/javadoc/net/jqwik/api/Property.html). In contrast to examples a property method is supposed to have one or more parameters, all of which must be annotated with -[`@ForAll`](/docs/1.1.2/javadoc/net/jqwik/api/ForAll.html). +[`@ForAll`](/docs/1.1.3/javadoc/net/jqwik/api/ForAll.html). At test runtime the exact parameter values of the property method will be filled in by _jqwik_. @@ -309,7 +309,7 @@ The first failed execution will stop value generation and be reported as failure - usually followed by an attempt to [shrink](#result-shrinking) the falsified parameter set. -[Here](https://github.com/jlink/jqwik/blob/1.1.2/documentation/src/test/java/net/jqwik/docs/PropertyBasedTests.java) +[Here](https://github.com/jlink/jqwik/blob/1.1.3/documentation/src/test/java/net/jqwik/docs/PropertyBasedTests.java) are two properties whose failures might surprise you: ```java @@ -340,7 +340,7 @@ in future versions. ### Optional `@Property` Parameters -The [`@Property`](/docs/1.1.2/javadoc/net/jqwik/api/Property.html) +The [`@Property`](/docs/1.1.3/javadoc/net/jqwik/api/Property.html) annotation has a few optional values: - `int tries`: The number of times _jqwik_ tries to generate parameter values for this method. @@ -398,7 +398,7 @@ annotation has a few optional values: ### Additional Reporting You can switch on additional reporting aspects by adding a -[`@Report(Reporting[])` annotation](/docs/1.1.2/javadoc/net/jqwik/api/Property.html) +[`@Report(Reporting[])` annotation](/docs/1.1.3/javadoc/net/jqwik/api/Property.html) to a property method. The following reporting aspects are available: @@ -423,8 +423,8 @@ static methods in `org.junit.jupiter.api.Assertions`. The current lifecycle of jqwik test methods is rather simple: - For each method, annotated with - [`@Property`](/docs/1.1.2/javadoc/net/jqwik/api/Property.html) - or [`@Example`](/docs/1.1.2/javadoc/net/jqwik/api/Example.html), + [`@Property`](/docs/1.1.3/javadoc/net/jqwik/api/Property.html) + or [`@Example`](/docs/1.1.3/javadoc/net/jqwik/api/Example.html), a new instance of the containing test class is created in order to keep the individual tests isolated from each other. - If you have preparatory work to do for each method, @@ -458,7 +458,7 @@ class TestsWithLifecycle implements AutoCloseable { } ``` -[In this example](https://github.com/jlink/jqwik/blob/1.1.2/documentation/src/test/java/net/jqwik/docs/TestsWithLifecycle.java) +[In this example](https://github.com/jlink/jqwik/blob/1.1.3/documentation/src/test/java/net/jqwik/docs/TestsWithLifecycle.java) both the constructor and `close()` will be called twice times: Once for `anExample()` and once for `aProperty(...)`. @@ -479,7 +479,7 @@ maintainability of your tests. Groups can be nested and there lifecycle is also nested, that means that the lifecycle of a test class is also applied to inner groups of that container. -Have a look at [this example](https://github.com/jlink/jqwik/blob/1.1.2/documentation/src/test/java/net/jqwik/docs/TestsWithGroups.java): +Have a look at [this example](https://github.com/jlink/jqwik/blob/1.1.3/documentation/src/test/java/net/jqwik/docs/TestsWithGroups.java): ```java import net.jqwik.api.*; @@ -527,7 +527,7 @@ If you want to tweak display names even more, test container classes, groups, example methods and property methods can be labeled using the annotation `@Label("a label")`. This label will be used to display the element in test reports or within the IDE. -[In the following example](https://github.com/jlink/jqwik/blob/1.1.2/documentation/src/test/java/net/jqwik/docs/NamingExamples.java), +[In the following example](https://github.com/jlink/jqwik/blob/1.1.3/documentation/src/test/java/net/jqwik/docs/NamingExamples.java), every test relevant element has been labeled: ```java @@ -569,7 +569,7 @@ Those tag can be used to filter the set of tests Tags are handed down from container (class or group) to its children (test methods or groups). Have a look at -[the following example](https://github.com/jlink/jqwik/blob/1.1.2/documentation/src/test/java/net/jqwik/docs/TaggingExamples.java). +[the following example](https://github.com/jlink/jqwik/blob/1.1.3/documentation/src/test/java/net/jqwik/docs/TaggingExamples.java). Including the tag `integration-test` will include all tests of the class. @@ -588,13 +588,13 @@ class TaggingExamples { ``` Tags must follow certain rules as described -[here](/docs/1.1.2/javadoc/net/jqwik/api/Tag.html) +[here](/docs/1.1.3/javadoc/net/jqwik/api/Tag.html) ## Disabling Tests From time to time you might want to disable a test or all tests in a container temporarily. You can do that by adding the -[`@Disabled`](/docs/1.1.2/javadoc/net/jqwik/api/Disabled.html) annotation +[`@Disabled`](/docs/1.1.3/javadoc/net/jqwik/api/Disabled.html) annotation to a property method or a container class. ```java @@ -620,7 +620,7 @@ _Jqwik_ will refuse to execute methods that have Jupiter annotations. ## Default Parameter Generation _jqwik_ tries to generate values for those property method parameters that are -annotated with [`@ForAll`](/docs/1.1.2/javadoc/net/jqwik/api/ForAll.html). If the annotation does not have a `value` parameter, +annotated with [`@ForAll`](/docs/1.1.3/javadoc/net/jqwik/api/ForAll.html). If the annotation does not have a `value` parameter, jqwik will use default generation for the following types: - `Object` @@ -637,7 +637,7 @@ jqwik will use default generation for the following types: - Array `T[]` of types that are provided by default. - `java.util.Random` -If you use [`@ForAll`](/docs/1.1.2/javadoc/net/jqwik/api/ForAll.html) +If you use [`@ForAll`](/docs/1.1.3/javadoc/net/jqwik/api/ForAll.html) with a value, e.g. `@ForAll("aMethodName")`, the method referenced by `"aMethodName"` will be called to provide an Arbitrary of the required type (see [Customized Parameter Generation](#customized-parameter-generation)). @@ -649,14 +649,14 @@ depending on the requested parameter type. #### Allow Null Values -- [`@WithNull(double value = 0.1)`](/docs/1.1.2/javadoc/net/jqwik/api/constraints/WithNull.html): +- [`@WithNull(double value = 0.1)`](/docs/1.1.3/javadoc/net/jqwik/api/constraints/WithNull.html): Inject `null` into generated values with a probability of `value`. Works for all generated types. #### Unique Values -- [`@Unique`](/docs/1.1.2/javadoc/net/jqwik/api/constraints/Unique.html): +- [`@Unique`](/docs/1.1.3/javadoc/net/jqwik/api/constraints/Unique.html): Prevent duplicate values to be generated _per try_. That means that there can still be duplicate values across several tries. That also means that `@Unique` only makes sense as annotation for a parameter type, e.g.: @@ -675,10 +675,10 @@ depending on the requested parameter type. #### String Length -- [`@StringLength(int value = 0, int min = 0, int max = 0)`](/docs/1.1.2/javadoc/net/jqwik/api/constraints/StringLength.html): +- [`@StringLength(int value = 0, int min = 0, int max = 0)`](/docs/1.1.3/javadoc/net/jqwik/api/constraints/StringLength.html): Set either fixed length through `value` or configure the length range between `min` and `max`. -- [`@NotEmpty`](/docs/1.1.2/javadoc/net/jqwik/api/constraints/NotEmpty.html): +- [`@NotEmpty`](/docs/1.1.3/javadoc/net/jqwik/api/constraints/NotEmpty.html): Set minimum length to `1`. #### Character Sets @@ -693,65 +693,65 @@ will not be generated unless you explicitly include them using You can use the following annotations to restrict the set of allowed characters and even combine several of them: -- [`@Chars(chars[] value = {})`](/docs/1.1.2/javadoc/net/jqwik/api/constraints/Chars.html): +- [`@Chars(chars[] value = {})`](/docs/1.1.3/javadoc/net/jqwik/api/constraints/Chars.html): Specify a set of characters. This annotation can be repeated which will add up all allowed chars. -- [`@CharRange(char from = 0, char to = 0)`](/docs/1.1.2/javadoc/net/jqwik/api/constraints/CharRange.html): +- [`@CharRange(char from = 0, char to = 0)`](/docs/1.1.3/javadoc/net/jqwik/api/constraints/CharRange.html): Specify a start and end character. This annotation can be repeated which will add up all allowed chars. -- [`@NumericChars`](/docs/1.1.2/javadoc/net/jqwik/api/constraints/NumericChars.html): +- [`@NumericChars`](/docs/1.1.3/javadoc/net/jqwik/api/constraints/NumericChars.html): Use digits `0` through `9` -- [`@LowerChars`](/docs/1.1.2/javadoc/net/jqwik/api/constraints/LowerChars.html): +- [`@LowerChars`](/docs/1.1.3/javadoc/net/jqwik/api/constraints/LowerChars.html): Use lower case chars `a` through `z` -- [`@UpperChars`](/docs/1.1.2/javadoc/net/jqwik/api/constraints/UpperChars.html): +- [`@UpperChars`](/docs/1.1.3/javadoc/net/jqwik/api/constraints/UpperChars.html): Use upper case chars `A` through `Z` -- [`@AlphaChars`](/docs/1.1.2/javadoc/net/jqwik/api/constraints/AlphaChars.html): +- [`@AlphaChars`](/docs/1.1.3/javadoc/net/jqwik/api/constraints/AlphaChars.html): Lower and upper case chars are allowed. -- [`@Whitespace`](/docs/1.1.2/javadoc/net/jqwik/api/constraints/Whitespace.html): +- [`@Whitespace`](/docs/1.1.3/javadoc/net/jqwik/api/constraints/Whitespace.html): All whitespace characters are allowed. They work for generated `String`s and `Character`s. #### List, Set, Stream and Array Size: -- [`@Size(int value = 0, int min = 0, int max = 0)`](/docs/1.1.2/javadoc/net/jqwik/api/constraints/Size.html): +- [`@Size(int value = 0, int min = 0, int max = 0)`](/docs/1.1.3/javadoc/net/jqwik/api/constraints/Size.html): Set either fixed size through `value` or configure the size range between `min` and `max`. -- [`@NotEmpty`](/docs/1.1.2/javadoc/net/jqwik/api/constraints/NotEmpty.html): +- [`@NotEmpty`](/docs/1.1.3/javadoc/net/jqwik/api/constraints/NotEmpty.html): Set minimum size to `1`. #### Integer Constraints -- [`@ByteRange(byte min = 0, byte max = Byte.MAX_VALUE)`](/docs/1.1.2/javadoc/net/jqwik/api/constraints/ByteRange.html): +- [`@ByteRange(byte min = 0, byte max = Byte.MAX_VALUE)`](/docs/1.1.3/javadoc/net/jqwik/api/constraints/ByteRange.html): For `Byte` and `byte` only. -- [`@ShortRange(short min = 0, short max = Short.MAX_VALUE)`](/docs/1.1.2/javadoc/net/jqwik/api/constraints/ShortRange.html): +- [`@ShortRange(short min = 0, short max = Short.MAX_VALUE)`](/docs/1.1.3/javadoc/net/jqwik/api/constraints/ShortRange.html): For `Short` and `short` only. -- [`@IntRange(int min = 0, int max = Integer.MAX_VALUE)`](/docs/1.1.2/javadoc/net/jqwik/api/constraints/IntRange.html): +- [`@IntRange(int min = 0, int max = Integer.MAX_VALUE)`](/docs/1.1.3/javadoc/net/jqwik/api/constraints/IntRange.html): For `Integer` and `int` only. -- [`@LongRange(long min = 0L, long max = Long.MAX_VALUE)`](/docs/1.1.2/javadoc/net/jqwik/api/constraints/LongRange.html): +- [`@LongRange(long min = 0L, long max = Long.MAX_VALUE)`](/docs/1.1.3/javadoc/net/jqwik/api/constraints/LongRange.html): For `Long` and `long` only. -- [`@BigRange(String min = "", String max = "")`](/docs/1.1.2/javadoc/net/jqwik/api/constraints/BigRange.html): +- [`@BigRange(String min = "", String max = "")`](/docs/1.1.3/javadoc/net/jqwik/api/constraints/BigRange.html): For `BigInteger` generation. -- [`@Positive`](/docs/1.1.2/javadoc/net/jqwik/api/constraints/Positive.html): +- [`@Positive`](/docs/1.1.3/javadoc/net/jqwik/api/constraints/Positive.html): Numbers larger than `0`. For all integral types. -- [`@Negative`](/docs/1.1.2/javadoc/net/jqwik/api/constraints/Negative.html): +- [`@Negative`](/docs/1.1.3/javadoc/net/jqwik/api/constraints/Negative.html): Numbers lower than `0`. For all integral types. #### Decimal Constraints -- [`@FloatRange(float min = 0.0f, float max = Float.MAX_VALUE)`](/docs/1.1.2/javadoc/net/jqwik/api/constraints/FloatRange.html): +- [`@FloatRange(float min = 0.0f, float max = Float.MAX_VALUE)`](/docs/1.1.3/javadoc/net/jqwik/api/constraints/FloatRange.html): For `Float` and `float` only. -- [`@DoubleRange(double min = 0.0, double max = Double.MAX_VALUE)`](/docs/1.1.2/javadoc/net/jqwik/api/constraints/DoubleRange.html): +- [`@DoubleRange(double min = 0.0, double max = Double.MAX_VALUE)`](/docs/1.1.3/javadoc/net/jqwik/api/constraints/DoubleRange.html): For `Double` and `double` only. -- [`@BigRange(String min = "", String max = "")`](/docs/1.1.2/javadoc/net/jqwik/api/constraints/BigRange.html): +- [`@BigRange(String min = "", String max = "")`](/docs/1.1.3/javadoc/net/jqwik/api/constraints/BigRange.html): For `BigDecimal` generation. -- [`@Scale(int value)`](/docs/1.1.2/javadoc/net/jqwik/api/constraints/Scale.html): +- [`@Scale(int value)`](/docs/1.1.3/javadoc/net/jqwik/api/constraints/Scale.html): Specify the maximum number of decimal places. For all decimal types. -- [`@Positive`](/docs/1.1.2/javadoc/net/jqwik/api/constraints/Positive.html): +- [`@Positive`](/docs/1.1.3/javadoc/net/jqwik/api/constraints/Positive.html): Numbers larger than `0.0`. For all decimal types. -- [`@Negative`](/docs/1.1.2/javadoc/net/jqwik/api/constraints/Negative.html): +- [`@Negative`](/docs/1.1.3/javadoc/net/jqwik/api/constraints/Negative.html): Numbers lower than `0.0`. For all decimal types. ### Constraining parameterized types @@ -774,7 +774,7 @@ _jqwik_ can also handle type variables and wildcard types. The handling of upper bounds works mostly as you would expect it. Consider -[the following examples](https://github.com/jlink/jqwik/blob/1.1.2/documentation/src/test/java/net/jqwik/docs/VariableTypedPropertyExamples.java): +[the following examples](https://github.com/jlink/jqwik/blob/1.1.3/documentation/src/test/java/net/jqwik/docs/VariableTypedPropertyExamples.java): ```java class VariableTypedPropertyExamples { @@ -814,7 +814,7 @@ _in the same call to the method_! ## Self-Made Annotations You can [make your own annotations](http://junit.org/junit5/docs/5.0.0/user-guide/#writing-tests-meta-annotations) -instead of using _jqwik_'s built-in ones. BTW, '@Example' is nothing but a plain annotation using [`@Property`](/docs/1.1.2/javadoc/net/jqwik/api/Property.html) +instead of using _jqwik_'s built-in ones. BTW, '@Example' is nothing but a plain annotation using [`@Property`](/docs/1.1.3/javadoc/net/jqwik/api/Property.html) as "meta"-annotation. The following example provides an annotation to constrain String or Character generation to German letters only: @@ -842,7 +842,7 @@ which constrains their applicability to simple cases. Sometimes the possibilities of adjusting default parameter generation through annotations is not enough. In that case you can delegate parameter provision to another method. Look at the -[following example](https://github.com/jlink/jqwik/blob/1.1.2/documentation/src/test/java/net/jqwik/docs/ProvideMethodExamples.java): +[following example](https://github.com/jlink/jqwik/blob/1.1.3/documentation/src/test/java/net/jqwik/docs/ProvideMethodExamples.java): ```java @Property @@ -866,14 +866,14 @@ Arbitrary numbers() { } ``` -The String value of the [`@ForAll`](/docs/1.1.2/javadoc/net/jqwik/api/ForAll.html) +The String value of the [`@ForAll`](/docs/1.1.3/javadoc/net/jqwik/api/ForAll.html) annotation serves as a reference to a method within the same class (or one of its superclasses or owning classes). This reference refers to either the method's name or the String value of the method's `@Provide` annotation. The providing method has to return an object of type -[`@Arbitrary`](/docs/1.1.2/javadoc/net/jqwik/api/Arbitrary.html) +[`@Arbitrary`](/docs/1.1.3/javadoc/net/jqwik/api/Arbitrary.html) where `T` is the static type of the parameter to be provided. Parameter provision usually starts with a @@ -885,11 +885,11 @@ by one or more [filtering](#filtering), [mapping](#mapping) or ### Static `Arbitraries` methods The starting point for generation usually is a static method call on class -[`Arbitraries`](/docs/1.1.2/javadoc/net/jqwik/api/Arbitraries.html). +[`Arbitraries`](/docs/1.1.3/javadoc/net/jqwik/api/Arbitraries.html). #### Generate values yourself -- [`Arbitrary randomValue(Function generator)`](/docs/1.1.2/javadoc/net/jqwik/api/Arbitraries.html#randomValue-java.util.function.Function-): +- [`Arbitrary randomValue(Function generator)`](/docs/1.1.3/javadoc/net/jqwik/api/Arbitraries.html#randomValue-java.util.function.Function-): Take a `random` instance and create an object from it. Those values cannot be [shrunk](#result-shrinking), though. @@ -909,21 +909,21 @@ The starting point for generation usually is a static method call on class } ``` -- [`Arbitrary fromGenerator(RandomGenerator generator)`](/docs/1.1.2/javadoc/net/jqwik/api/Arbitraries.html#fromGenerator-net.jqwik.api.RandomGenerator-): +- [`Arbitrary fromGenerator(RandomGenerator generator)`](/docs/1.1.3/javadoc/net/jqwik/api/Arbitraries.html#fromGenerator-net.jqwik.api.RandomGenerator-): If the number of _tries_ influences value generation or if you want to allow for [shrinking](#result-shrinking) you have to provide your own `RandomGenerator` implementation. #### Select values randomly -- [`Arbitrary of(U... values)`](/docs/1.1.2/javadoc/net/jqwik/api/Arbitraries.html#of-U...-): +- [`Arbitrary of(U... values)`](/docs/1.1.3/javadoc/net/jqwik/api/Arbitraries.html#of-U...-): Choose randomly from a list of values. Shrink towards the first one. -- [`Arbitrary samples(T... samples)`](/docs/1.1.2/javadoc/net/jqwik/api/Arbitraries.html#samples-T...-): +- [`Arbitrary samples(T... samples)`](/docs/1.1.3/javadoc/net/jqwik/api/Arbitraries.html#samples-T...-): Go through samples from first to last. Shrink towards the first sample. If instead you want to _add_ samples to an existing arbitrary you'd rather use - [`Arbitrary.withSamples(T... samples)`](/docs/1.1.2/javadoc/net/jqwik/api/Arbitrary.html#withSamples-T...-). + [`Arbitrary.withSamples(T... samples)`](/docs/1.1.3/javadoc/net/jqwik/api/Arbitrary.html#withSamples-T...-). The following arbitrary: ```java @@ -936,13 +936,13 @@ The starting point for generation usually is a static method call on class will first generate the 7 enumerated prime numbers and only then generate random integers between -1000 and +1000. -- [`Arbitrary of(Class enumClass)`](/docs/1.1.2/javadoc/net/jqwik/api/Arbitraries.html#of-java.lang.Class-): +- [`Arbitrary of(Class enumClass)`](/docs/1.1.3/javadoc/net/jqwik/api/Arbitraries.html#of-java.lang.Class-): Choose randomly from all values of an `enum`. Shrink towards first enum value. #### Select randomly with Weights If you have a set of values to choose from with weighted probabilities, use -[`Arbitraries.frequency(...)`](/docs/1.1.2/javadoc/net/jqwik/api/Arbitraries.html#frequency-net.jqwik.api.Tuple.Tuple2...-): +[`Arbitraries.frequency(...)`](/docs/1.1.3/javadoc/net/jqwik/api/Arbitraries.html#frequency-net.jqwik.api.Tuple.Tuple2...-): ```java @Property @@ -963,7 +963,7 @@ Arbitrary abcdWeighted() { The first value of the tuple specifies the frequency of a particular value in relation to the sum of all frequencies. In -[the given example](https://github.com/jlink/jqwik/blob/1.1.2/documentation/src/test/java/net/jqwik/docs/ChoosingExamples.java#L17) +[the given example](https://github.com/jlink/jqwik/blob/1.1.3/documentation/src/test/java/net/jqwik/docs/ChoosingExamples.java#L17) the sum is 36, thus `"a"` will be generated with a probability of `1/36` whereas `"d"` has a generation probability of `20/36` (= `5/9`). @@ -971,54 +971,54 @@ Shrinking moves towards the start of the frequency list. #### Integers -- [`ByteArbitrary bytes()`](/docs/1.1.2/javadoc/net/jqwik/api/Arbitraries.html#bytes--) -- [`ShortArbitrary shorts()`](/docs/1.1.2/javadoc/net/jqwik/api/Arbitraries.html#shorts--) -- [`IntegerArbitrary integers()`](/docs/1.1.2/javadoc/net/jqwik/api/Arbitraries.html#integers--) -- [`LongArbitrary longs()`](/docs/1.1.2/javadoc/net/jqwik/api/Arbitraries.html#longs--) -- [`BigIntegerArbitrary bigIntegers()`](/docs/1.1.2/javadoc/net/jqwik/api/Arbitraries.html#bigIntegers--) +- [`ByteArbitrary bytes()`](/docs/1.1.3/javadoc/net/jqwik/api/Arbitraries.html#bytes--) +- [`ShortArbitrary shorts()`](/docs/1.1.3/javadoc/net/jqwik/api/Arbitraries.html#shorts--) +- [`IntegerArbitrary integers()`](/docs/1.1.3/javadoc/net/jqwik/api/Arbitraries.html#integers--) +- [`LongArbitrary longs()`](/docs/1.1.3/javadoc/net/jqwik/api/Arbitraries.html#longs--) +- [`BigIntegerArbitrary bigIntegers()`](/docs/1.1.3/javadoc/net/jqwik/api/Arbitraries.html#bigIntegers--) #### Decimals -- [`FloatArbitrary floats()`](/docs/1.1.2/javadoc/net/jqwik/api/Arbitraries.html#floats--) -- [`DoubleArbitrary doubles()`](/docs/1.1.2/javadoc/net/jqwik/api/Arbitraries.html#doubles--) -- [`BigDecimalArbitrary bigDecimals()`](/docs/1.1.2/javadoc/net/jqwik/api/Arbitraries.html#bigDecimals--) +- [`FloatArbitrary floats()`](/docs/1.1.3/javadoc/net/jqwik/api/Arbitraries.html#floats--) +- [`DoubleArbitrary doubles()`](/docs/1.1.3/javadoc/net/jqwik/api/Arbitraries.html#doubles--) +- [`BigDecimalArbitrary bigDecimals()`](/docs/1.1.3/javadoc/net/jqwik/api/Arbitraries.html#bigDecimals--) #### Characters and Strings -- [`StringArbitrary strings()`](/docs/1.1.2/javadoc/net/jqwik/api/Arbitraries.html#strings--) -- [`CharacterArbitrary chars()`](/docs/1.1.2/javadoc/net/jqwik/api/Arbitraries.html#chars--) +- [`StringArbitrary strings()`](/docs/1.1.3/javadoc/net/jqwik/api/Arbitraries.html#strings--) +- [`CharacterArbitrary chars()`](/docs/1.1.3/javadoc/net/jqwik/api/Arbitraries.html#chars--) #### java.util.Random -- [`Arbitrary randoms()`](/docs/1.1.2/javadoc/net/jqwik/api/Arbitraries.html#randoms--): +- [`Arbitrary randoms()`](/docs/1.1.3/javadoc/net/jqwik/api/Arbitraries.html#randoms--): Random instances will never be shrunk #### Constants -- [`Arbitrary constant(T value)`](/docs/1.1.2/javadoc/net/jqwik/api/Arbitraries.html#constant-T-): +- [`Arbitrary constant(T value)`](/docs/1.1.3/javadoc/net/jqwik/api/Arbitraries.html#constant-T-): In each try use the same unshrinkable `value` of type `T`. #### Create -- [`Arbitrary create(Supplier supplier)`](/docs/1.1.2/javadoc/net/jqwik/api/Arbitraries.html#constant-java.util.function.Supplier-): +- [`Arbitrary create(Supplier supplier)`](/docs/1.1.3/javadoc/net/jqwik/api/Arbitraries.html#constant-java.util.function.Supplier-): In each try use a new unshrinkable instance of type `T` using `supplier` to freshly create it. #### Shuffling Permutations -- [`Arbitrary> shuffle(T ... values)`](/docs/1.1.2/javadoc/net/jqwik/api/Arbitraries.html#shuffle-T...-): +- [`Arbitrary> shuffle(T ... values)`](/docs/1.1.3/javadoc/net/jqwik/api/Arbitraries.html#shuffle-T...-): Return unshrinkable permutations of the `values` handed in. -- [`Arbitrary> shuffle(List values)`](/docs/1.1.2/javadoc/net/jqwik/api/Arbitraries.html#shuffle-java.util.List-): +- [`Arbitrary> shuffle(List values)`](/docs/1.1.3/javadoc/net/jqwik/api/Arbitraries.html#shuffle-java.util.List-): Return unshrinkable permutations of the `values` handed in. #### Default Types -- [`Arbitrary defaultFor(Class type, Class ... parameterTypes)`](/docs/1.1.2/javadoc/net/jqwik/api/Arbitraries.html#defaultFor-java.lang.Class-java.lang.Class...-): +- [`Arbitrary defaultFor(Class type, Class ... parameterTypes)`](/docs/1.1.3/javadoc/net/jqwik/api/Arbitraries.html#defaultFor-java.lang.Class-java.lang.Class...-): Return the default arbitrary available for type `type` [if one is provided](#providing-default-arbitraries) by default. For parameterized types you can also specify the parameter types. Keep in mind, though, that the parameter types are lost in the type signature and therefore - cannot be used in the respective [`@ForAll`](/docs/1.1.2/javadoc/net/jqwik/api/ForAll.html) property method parameter. Raw types and wildcards, + cannot be used in the respective [`@ForAll`](/docs/1.1.3/javadoc/net/jqwik/api/ForAll.html) property method parameter. Raw types and wildcards, however, match; thus the following example will work: ```java @@ -1038,32 +1038,32 @@ Shrinking moves towards the start of the frequency list. Generating types who have generic type parameters, requires to start with an `Arbitrary` instance for the generic type. You can create the corresponding collection arbitrary from there: -- [`Arbitrary.list()`](/docs/1.1.2/javadoc/net/jqwik/api/Arbitrary.html#list--) -- [`Arbitrary.set()`](/docs/1.1.2/javadoc/net/jqwik/api/Arbitrary.html#set--) -- [`Arbitrary.streamOf()`](/docs/1.1.2/javadoc/net/jqwik/api/Arbitrary.html#stream--) -- [`Arbitrary.array(Class arrayClass)`](/docs/1.1.2/javadoc/net/jqwik/api/Arbitrary.html#array-java.lang.Class-) -- [`Arbitrary.optional()`](/docs/1.1.2/javadoc/net/jqwik/api/Arbitrary.html#optional--) +- [`Arbitrary.list()`](/docs/1.1.3/javadoc/net/jqwik/api/Arbitrary.html#list--) +- [`Arbitrary.set()`](/docs/1.1.3/javadoc/net/jqwik/api/Arbitrary.html#set--) +- [`Arbitrary.streamOf()`](/docs/1.1.3/javadoc/net/jqwik/api/Arbitrary.html#stream--) +- [`Arbitrary.array(Class arrayClass)`](/docs/1.1.3/javadoc/net/jqwik/api/Arbitrary.html#array-java.lang.Class-) +- [`Arbitrary.optional()`](/docs/1.1.3/javadoc/net/jqwik/api/Arbitrary.html#optional--) ### Fluent Configuration Interfaces Most specialized arbitrary interfaces provide special methods to configure things like size, length, boundaries etc. Have a look at the Java doc for the following types: -- [BigDecimalArbitrary](/docs/1.1.2/javadoc/net/jqwik/api/arbitraries/BigDecimalArbitrary.html) -- [BigIntegerArbitrary](/docs/1.1.2/javadoc/net/jqwik/api/arbitraries/BigIntegerArbitrary.html) -- [ByteArbitrary](/docs/1.1.2/javadoc/net/jqwik/api/arbitraries/ByteArbitrary.html) -- [CharacterArbitrary](/docs/1.1.2/javadoc/net/jqwik/api/arbitraries/CharacterArbitrary.html) -- [DoubleArbitrary](/docs/1.1.2/javadoc/net/jqwik/api/arbitraries/DoubleArbitrary.html) -- [FloatArbitrary](/docs/1.1.2/javadoc/net/jqwik/api/arbitraries/FloatArbitrary.html) -- [IntegerArbitrary](/docs/1.1.2/javadoc/net/jqwik/api/arbitraries/IntegerArbitrary.html) -- [LongArbitrary](/docs/1.1.2/javadoc/net/jqwik/api/arbitraries/LongArbitrary.html) -- [ShortArbitrary](/docs/1.1.2/javadoc/net/jqwik/api/arbitraries/ShortArbitrary.html) -- [SizableArbitrary](/docs/1.1.2/javadoc/net/jqwik/api/arbitraries/SizableArbitrary.html) -- [StringArbitrary](/docs/1.1.2/javadoc/net/jqwik/api/arbitraries/StringArbitrary.html) +- [BigDecimalArbitrary](/docs/1.1.3/javadoc/net/jqwik/api/arbitraries/BigDecimalArbitrary.html) +- [BigIntegerArbitrary](/docs/1.1.3/javadoc/net/jqwik/api/arbitraries/BigIntegerArbitrary.html) +- [ByteArbitrary](/docs/1.1.3/javadoc/net/jqwik/api/arbitraries/ByteArbitrary.html) +- [CharacterArbitrary](/docs/1.1.3/javadoc/net/jqwik/api/arbitraries/CharacterArbitrary.html) +- [DoubleArbitrary](/docs/1.1.3/javadoc/net/jqwik/api/arbitraries/DoubleArbitrary.html) +- [FloatArbitrary](/docs/1.1.3/javadoc/net/jqwik/api/arbitraries/FloatArbitrary.html) +- [IntegerArbitrary](/docs/1.1.3/javadoc/net/jqwik/api/arbitraries/IntegerArbitrary.html) +- [LongArbitrary](/docs/1.1.3/javadoc/net/jqwik/api/arbitraries/LongArbitrary.html) +- [ShortArbitrary](/docs/1.1.3/javadoc/net/jqwik/api/arbitraries/ShortArbitrary.html) +- [SizableArbitrary](/docs/1.1.3/javadoc/net/jqwik/api/arbitraries/SizableArbitrary.html) +- [StringArbitrary](/docs/1.1.3/javadoc/net/jqwik/api/arbitraries/StringArbitrary.html) Here are a -[two examples](https://github.com/jlink/jqwik/blob/1.1.2/documentation/src/test/java/net/jqwik/docs/FluentConfigurationExamples.java) +[two examples](https://github.com/jlink/jqwik/blob/1.1.3/documentation/src/test/java/net/jqwik/docs/FluentConfigurationExamples.java) to give you a hint of what you can do: ```java @@ -1081,7 +1081,7 @@ Arbitrary> fixedSizedListOfPositiveIntegers() { ### Generate `null` values Predefined generators will never create `null` values. If you want to allow that, -call [`Arbitrary.injectNull(double probability)`](/docs/1.1.2/javadoc/net/jqwik/api/Arbitrary.html#injectNull-double-). +call [`Arbitrary.injectNull(double probability)`](/docs/1.1.3/javadoc/net/jqwik/api/Arbitrary.html#injectNull-double-). The following provider method creates an arbitrary that will return a `null` String in about 1 of 100 generated values. @@ -1096,7 +1096,7 @@ Arbitrary stringsWithNull() { If you want to include only part of all the values generated by an arbitrary, use -[`Arbitrary.filter(Predicate filterPredicate)`](/docs/1.1.2/javadoc/net/jqwik/api/Arbitrary.html#filter-java.util.function.Predicate-). +[`Arbitrary.filter(Predicate filterPredicate)`](/docs/1.1.3/javadoc/net/jqwik/api/Arbitrary.html#filter-java.util.function.Predicate-). The following arbitrary will filter out all even numbers from the stream of generated integers: @@ -1115,7 +1115,7 @@ the current property will be abandoned by throwing an exception. If you want to make sure that all the values generated by an arbitrary are unique, use -[`Arbitrary.unique()`](/docs/1.1.2/javadoc/net/jqwik/api/Arbitrary.html#unique--). +[`Arbitrary.unique()`](/docs/1.1.3/javadoc/net/jqwik/api/Arbitrary.html#unique--). The following arbitrary will generate integers between 1 and 1000 but never the same integer twice: ```java @@ -1133,7 +1133,7 @@ the current property will be abandoned by throwing an exception. Sometimes it's easier to start with an existing arbitrary and use its generated values to build other objects from them. In that case, use -[`Arbitrary.map(Function mapper)`](/docs/1.1.2/javadoc/net/jqwik/api/Arbitrary.html#map-java.util.function.Function-). +[`Arbitrary.map(Function mapper)`](/docs/1.1.3/javadoc/net/jqwik/api/Arbitrary.html#map-java.util.function.Function-). The following example uses generated integers to create numerical Strings: ```java @@ -1153,7 +1153,7 @@ will move towards the lowest allowed number, that is `10000`. Similar as in the case of `Arbitrary.map(..)` there are situations in which you want to use a generated value in order to create another Arbitrary from it. Sounds complicated? Have a look at the -[following example](https://github.com/jlink/jqwik/blob/1.1.2/documentation/src/test/java/net/jqwik/docs/FlatMappingExamples.java#L26): +[following example](https://github.com/jlink/jqwik/blob/1.1.3/documentation/src/test/java/net/jqwik/docs/FlatMappingExamples.java#L26): ```java @Property @@ -1186,9 +1186,9 @@ However, both have dependencies: - `end` must not be larger than the string size - `begin` must not be larger than `end` You can make _jqwik_ create all three values by using -[`flatMap`](/docs/1.1.2/javadoc/net/jqwik/api/Arbitrary.html#flatMap-java.util.function.Function-) +[`flatMap`](/docs/1.1.3/javadoc/net/jqwik/api/Arbitrary.html#flatMap-java.util.function.Function-) combined with a tuple type -[like this](https://github.com/jlink/jqwik/blob/1.1.2/documentation/src/test/java/net/jqwik/docs/FlatMappingExamples.java#L32): +[like this](https://github.com/jlink/jqwik/blob/1.1.3/documentation/src/test/java/net/jqwik/docs/FlatMappingExamples.java#L32): ```java @@ -1243,7 +1243,7 @@ Arbitrary oneOfThree() { } ``` -[In this example](https://github.com/jlink/jqwik/blob/1.1.2/documentation/src/test/java/net/jqwik/docs/OneOfExamples.java) +[In this example](https://github.com/jlink/jqwik/blob/1.1.3/documentation/src/test/java/net/jqwik/docs/OneOfExamples.java) the statistics should also give you an equal distribution between the three types of integers. @@ -1278,11 +1278,11 @@ Arbitrary oneOfThree() { Sometimes just mapping a single stream of generated values is not enough to generate a more complicated domain object. In those cases you can combine several arbitraries to a single result arbitrary using -[`Combinators.combine()`](/docs/1.1.2/javadoc/net/jqwik/api/Combinators.html#combine-net.jqwik.api.Arbitrary-net.jqwik.api.Arbitrary-) +[`Combinators.combine()`](/docs/1.1.3/javadoc/net/jqwik/api/Combinators.html#combine-net.jqwik.api.Arbitrary-net.jqwik.api.Arbitrary-) with up to eight arbitraries. [Create an issue on github](https://github.com/jlink/jqwik/issues) if you need more than eight. -[The following example](https://github.com/jlink/jqwik/blob/1.1.2/documentation/src/test/java/net/jqwik/docs/MappingAndCombinatorExamples.java#L25) +[The following example](https://github.com/jlink/jqwik/blob/1.1.3/documentation/src/test/java/net/jqwik/docs/MappingAndCombinatorExamples.java#L25) generates `Person` instances from three arbitraries as inputs. ```java @@ -1378,8 +1378,8 @@ Arbitrary validPeopleWithBuilder() { ``` Have a look at -[Combinators.withBuilder(Supplier)](/docs/1.1.2/javadoc/net/jqwik/api/Combinators.html#withBuilder-java.util.function.Supplier-) -and [Combinators.withBuilder(Arbitrary)](/docs/1.1.2/javadoc/net/jqwik/api/Combinators.html#withBuilder-net.jqwik.api.Arbitrary-) +[Combinators.withBuilder(Supplier)](/docs/1.1.3/javadoc/net/jqwik/api/Combinators.html#withBuilder-java.util.function.Supplier-) +and [Combinators.withBuilder(Arbitrary)](/docs/1.1.3/javadoc/net/jqwik/api/Combinators.html#withBuilder-net.jqwik.api.Arbitrary-) to check the API. #### Flat Combination @@ -1426,14 +1426,14 @@ Some generators (e.g. most number generators) are sensitive to the The default value for `genSize` is the number of tries configured for the property they are used in. If there is a need to influence the behaviour of generators you can do so by using -[`Arbitrary.fixGenSize(int)`](/docs/1.1.2/javadoc/net/jqwik/api/Arbitrary.html#fixGenSize-int-).. +[`Arbitrary.fixGenSize(int)`](/docs/1.1.3/javadoc/net/jqwik/api/Arbitrary.html#fixGenSize-int-).. ### Generating all possible values There are a few cases when you don't want to generate individual values from an arbitrary but use all possible values to construct another arbitrary. This can be achieved through -[`Arbitrary.allValues()`](/docs/1.1.2/javadoc/net/jqwik/api/Arbitrary.html#allValues--). +[`Arbitrary.allValues()`](/docs/1.1.3/javadoc/net/jqwik/api/Arbitrary.html#allValues--). Return type is `Optional>` because _jqwik_ can only perform this task if [exhaustive generation](#exhaustive-generation) is doable. @@ -1443,7 +1443,7 @@ Return type is `Optional>` because _jqwik_ can only perform this task You can also use an arbitrary to iterate through all values it specifies. Use -[`Arbitrary.forEachValue(Consumer action)`](/docs/1.1.2/javadoc/net/jqwik/api/Arbitrary.html#forEachValue-java.util.function.Consumer-). +[`Arbitrary.forEachValue(Consumer action)`](/docs/1.1.3/javadoc/net/jqwik/api/Arbitrary.html#forEachValue-java.util.function.Consumer-). for that purpose. This only works when [exhaustive generation](#exhaustive-generation) is possible. In other cases the attempt to iterate will result in an exception. @@ -1474,7 +1474,7 @@ is one application field but you can also use it for other stuff. ### Probabilistic Recursion Look at the -[following example](https://github.com/jlink/jqwik/blob/1.1.2/documentation/src/test/java/net/jqwik/docs/RecursiveExamples.java) +[following example](https://github.com/jlink/jqwik/blob/1.1.3/documentation/src/test/java/net/jqwik/docs/RecursiveExamples.java) which generates sentences by recursively adding words to a sentence: ```java @@ -1504,7 +1504,7 @@ private StringArbitrary word() { There are two things to which you must pay attention: -- Use [`Arbitraries.lazy(Supplier>)`](/docs/1.1.2/javadoc/net/jqwik/api/Arbitraries.html#lazy-java.util.function.Supplier-) +- Use [`Arbitraries.lazy(Supplier>)`](/docs/1.1.3/javadoc/net/jqwik/api/Arbitraries.html#lazy-java.util.function.Supplier-) to wrap the recursive call itself. Otherwise _jqwik_'s attempt to build the arbitrary will quickly result in a stack overflow. - Every recursion needs one or more base cases in order to stop recursion at some point. @@ -1544,7 +1544,7 @@ Arbitrary deterministic(int length, Arbitrary sentence) { ### Deterministic Recursion with `recursive()` To further simplify this _jqwik_ provides a helper function: -[`Arbitraries.recursive(...)`](/docs/1.1.2/javadoc/net/jqwik/api/Arbitraries.html#recursive-java.util.function.Supplier-java.util.function.Function-int-). +[`Arbitraries.recursive(...)`](/docs/1.1.3/javadoc/net/jqwik/api/Arbitraries.html#recursive-java.util.function.Supplier-java.util.function.Function-int-). Using that further simplifies the example: ```java @@ -1629,7 +1629,7 @@ when they can be invoked and some objects have invariants that should never be v of the sequence of performed actions. To make this abstract concept concrete, let's look at a -[simple stack implementation](https://github.com/jlink/jqwik/blob/1.1.2/documentation/src/test/java/net/jqwik/docs/stateful/mystack/MyStringStack.java): +[simple stack implementation](https://github.com/jlink/jqwik/blob/1.1.3/documentation/src/test/java/net/jqwik/docs/stateful/mystack/MyStringStack.java): ```java public class MyStringStack { @@ -1646,7 +1646,7 @@ public class MyStringStack { We can see at least three _actions_ with their preconditions and expected state changes: -- [`Push`](https://github.com/jlink/jqwik/blob/1.1.2/documentation/src/test/java/net/jqwik/docs/stateful/mystack/PushAction.java): +- [`Push`](https://github.com/jlink/jqwik/blob/1.1.3/documentation/src/test/java/net/jqwik/docs/stateful/mystack/PushAction.java): Push a string onto the stack. The string should be on top afterwards and the size should have increased by 1. @@ -1676,7 +1676,7 @@ We can see at least three _actions_ with their preconditions and expected state } ``` -- [`Pop`](https://github.com/jlink/jqwik/blob/1.1.2/documentation/src/test/java/net/jqwik/docs/stateful/mystack/PopAction.java): +- [`Pop`](https://github.com/jlink/jqwik/blob/1.1.3/documentation/src/test/java/net/jqwik/docs/stateful/mystack/PopAction.java): If (and only if) the stack is not empty, pop the element on top off the stack. The size of the stack should have decreased by 1. @@ -1704,7 +1704,7 @@ We can see at least three _actions_ with their preconditions and expected state } ``` -- [`Clear`](https://github.com/jlink/jqwik/blob/1.1.2/documentation/src/test/java/net/jqwik/docs/stateful/mystack/ClearAction.java): +- [`Clear`](https://github.com/jlink/jqwik/blob/1.1.3/documentation/src/test/java/net/jqwik/docs/stateful/mystack/ClearAction.java): Remove all elements from the stack which should be empty afterwards. ```java @@ -1730,7 +1730,7 @@ The fundamental property that _jqwik_ should try to falsify is: (aka postconditions) should be fulfilled. We can formulate that quite easily as a -[_jqwik_ property](https://github.com/jlink/jqwik/blob/1.1.2/documentation/src/test/java/net/jqwik/docs/stateful/mystack/MyStringStackProperties.java): +[_jqwik_ property](https://github.com/jlink/jqwik/blob/1.1.3/documentation/src/test/java/net/jqwik/docs/stateful/mystack/MyStringStackProperties.java): ```java class MyStringStackProperties { @@ -1760,11 +1760,11 @@ class MyStringStackProperties { ``` The interesting API elements are -- [`ActionSequence`](/docs/1.1.2/javadoc/net/jqwik/api/stateful/ActionSequence.html): +- [`ActionSequence`](/docs/1.1.3/javadoc/net/jqwik/api/stateful/ActionSequence.html): A generic collection type especially crafted for holding and shrinking of a list of actions. As a convenience it will apply the actions to a model when you call `run(model)`. -- [`Arbitraries.sequences()`](/docs/1.1.2/javadoc/net/jqwik/api/Arbitraries.html#sequences-net.jqwik.api.Arbitrary-): +- [`Arbitraries.sequences()`](/docs/1.1.3/javadoc/net/jqwik/api/Arbitraries.html#sequences-net.jqwik.api.Arbitrary-): This method will create the arbitrary for generating an `ActionSequence` given the arbitrary for generating actions. @@ -1845,7 +1845,7 @@ If you want to constrain the set of generated values in a way that embraces more than one parameter, [filtering](#filtering) does not work. What you can do instead is putting one or more assumptions at the beginning of your property. -[The following property](https://github.com/jlink/jqwik/blob/1.1.2/documentation/src/test/java/net/jqwik/docs/AssumptionExamples.java) +[The following property](https://github.com/jlink/jqwik/blob/1.1.3/documentation/src/test/java/net/jqwik/docs/AssumptionExamples.java) works only on strings that are not equal: ```java @@ -1861,7 +1861,7 @@ boolean comparingUnequalStrings( // ``` This is a reasonable use of -[`Assume.that(boolean condition)`](/docs/1.1.2/javadoc/net/jqwik/api/Assume.html#that-boolean-) +[`Assume.that(boolean condition)`](/docs/1.1.3/javadoc/net/jqwik/api/Assume.html#that-boolean-) because most generated value sets will pass through. Have a look at a seemingly similar example: @@ -1894,7 +1894,7 @@ The problem is that - given a random generation of two strings - only in very fe one string will be contained in the other. _jqwik_ will report a property as `exhausted` if the ratio between generated and accepted parameters is higher than 5. You can change the maximum discard ratio by specifying a parameter `maxDiscardRatio` in the -[`@Property`](/docs/1.1.2/javadoc/net/jqwik/api/Property.html) annotation. +[`@Property`](/docs/1.1.3/javadoc/net/jqwik/api/Property.html) annotation. That's why changing to `@Property(maxDiscardRatio = 100)` in the previous example will probably result in a successful property run, even though only a handful cases - of 1000 generated - will actually be checked. @@ -1902,7 +1902,7 @@ cases - of 1000 generated - will actually be checked. In many cases turning up the accepted discard ration is a bad idea. With some creativity we can often avoid the problem by generating out test data a bit differently. Look at this variant of the above property, which also uses -[`Assume.that()`](/docs/1.1.2/javadoc/net/jqwik/api/Assume.html#that-boolean-) +[`Assume.that()`](/docs/1.1.3/javadoc/net/jqwik/api/Assume.html#that-boolean-) but with a much lower discard ratio: ```java @@ -1957,7 +1957,7 @@ The general idea and its advantages are explained [here](http://hypothesis.works/articles/integrated-shrinking/). Consider a somewhat -[more complicated example](https://github.com/jlink/jqwik/blob/1.1.2/documentation/src/test/java/net/jqwik/docs/ShrinkingExamples.java#L15): +[more complicated example](https://github.com/jlink/jqwik/blob/1.1.3/documentation/src/test/java/net/jqwik/docs/ShrinkingExamples.java#L15): ```java @Property @@ -2035,7 +2035,7 @@ even if it never ends... In many situations you'd like to know if _jqwik_ will really generate the kind of values you expect and if the frequency and distribution of certain value classes meets your testing needs. -[`Statistics.collect()`](/docs/1.1.2/javadoc/net/jqwik/api/Statistics.html#collect-java.lang.Object...-) +[`Statistics.collect()`](/docs/1.1.3/javadoc/net/jqwik/api/Statistics.html#collect-java.lang.Object...-) is made for this exact purpose. In the most simple case you'd like to know how often a certain value @@ -2123,7 +2123,7 @@ collected statistics = As you can see, collected `null` values are not being reported. -[Here](https://github.com/jlink/jqwik/blob/1.1.2/documentation/src/test/java/net/jqwik/docs/StatisticsExamples.java) +[Here](https://github.com/jlink/jqwik/blob/1.1.3/documentation/src/test/java/net/jqwik/docs/StatisticsExamples.java) are a couple of examples to try out. ## Providing Default Arbitraries @@ -2133,7 +2133,7 @@ classes, in all of your properties, and without having to add `@Provide` method to all test classes. _jqwik_ enables this feature by using Java’s `java.util.ServiceLoader` mechanism. All you have to do is: -- Implement the interface [`ArbitraryProvider`](/docs/1.1.2/javadoc/net/jqwik/api/providers/ArbitraryProvider.html).
+- Implement the interface [`ArbitraryProvider`](/docs/1.1.3/javadoc/net/jqwik/api/providers/ArbitraryProvider.html).
The implementing class _must_ have a default constructor without parameters. - Register the implementation class in file @@ -2143,14 +2143,14 @@ Java’s `java.util.ServiceLoader` mechanism. All you have to do is: _jqwik_ will then add an instance of your arbitrary provider into the list of its default providers. Those default providers are considered for every test parameter annotated -with [`@ForAll`](/docs/1.1.2/javadoc/net/jqwik/api/ForAll.html) that has no explicit `value`. +with [`@ForAll`](/docs/1.1.3/javadoc/net/jqwik/api/ForAll.html) that has no explicit `value`. By using this mechanism you can also replace the default providers packaged into _jqwik_. ### Simple Arbitrary Providers A simple provider is one that delivers arbitraries for types without type variables. -Consider the class [`Money`](https://github.com/jlink/jqwik/blob/1.1.2/documentation/src/test/java/net/jqwik/docs/defaultprovider/Money.java): +Consider the class [`Money`](https://github.com/jlink/jqwik/blob/1.1.3/documentation/src/test/java/net/jqwik/docs/defaultprovider/Money.java): ```java public class Money { @@ -2174,7 +2174,7 @@ public class Money { ``` If you register the following class -[`MoneyArbitraryProvider`](https://github.com/jlink/jqwik/blob/1.1.2/documentation/src/test/java/net/jqwik/docs/defaultprovider/MoneyArbitraryProvider.java): +[`MoneyArbitraryProvider`](https://github.com/jlink/jqwik/blob/1.1.3/documentation/src/test/java/net/jqwik/docs/defaultprovider/MoneyArbitraryProvider.java): ```java package my.own.provider; @@ -2197,7 +2197,7 @@ public class MoneyArbitraryProvider implements ArbitraryProvider { ``` in file -[`META-INF/services/net.jqwik.api.providers.ArbitraryProvider`](https://github.com/jlink/jqwik/blob/1.1.2/documentation/src/test/resources/META-INF/services/net.jqwik.api.providers.ArbitraryProvider) +[`META-INF/services/net.jqwik.api.providers.ArbitraryProvider`](https://github.com/jlink/jqwik/blob/1.1.3/documentation/src/test/resources/META-INF/services/net.jqwik.api.providers.ArbitraryProvider) with such an entry: ``` @@ -2205,7 +2205,7 @@ my.own.provider.MoneyArbitraryProvider ``` The -[following property](https://github.com/jlink/jqwik/blob/1.1.2/documentation/src/test/java/net/jqwik/docs/defaultprovider/MoneyProperties.java) +[following property](https://github.com/jlink/jqwik/blob/1.1.3/documentation/src/test/java/net/jqwik/docs/defaultprovider/MoneyProperties.java) will run without further ado - regardless the class you put it in: ```java @@ -2285,16 +2285,16 @@ The mechanism you can plug into is similar to what you do when [providing your own default arbitrary providers](#providing-default-arbitraries). That means: 1. Create an implementation of an interface, in this case - [`ArbitraryConfigurator`](/docs/1.1.2/javadoc/net/jqwik/api/configurators/ArbitraryConfigurator.html). + [`ArbitraryConfigurator`](/docs/1.1.3/javadoc/net/jqwik/api/configurators/ArbitraryConfigurator.html). 2. Register the implementation using using Java’s `java.util.ServiceLoader` mechanism. ### Arbitrary Configuration Example: `@Odd` To demonstrate the idea let's create an annotation `@Odd` which will constrain any integer generation to only generate odd numbers. First things first, so here's -the [`@Odd` annotation](https://github.com/jlink/jqwik/blob/1.1.2/documentation/src/test/java/net/jqwik/docs/arbitraryconfigurator/Odd.java) +the [`@Odd` annotation](https://github.com/jlink/jqwik/blob/1.1.3/documentation/src/test/java/net/jqwik/docs/arbitraryconfigurator/Odd.java) together with the -[configurator implementation](https://github.com/jlink/jqwik/blob/1.1.2/documentation/src/test/java/net/jqwik/docs/arbitraryconfigurator/OddConfigurator.java): +[configurator implementation](https://github.com/jlink/jqwik/blob/1.1.3/documentation/src/test/java/net/jqwik/docs/arbitraryconfigurator/OddConfigurator.java): ```java @Target({ ElementType.ANNOTATION_TYPE, ElementType.PARAMETER, ElementType.TYPE_USE }) @@ -2313,8 +2313,8 @@ Mind that the implementation uses an abstract base class - instead of the interf which simplifies implementation if you're only interested in a single annotation. If you now -[register the implementation](https://github.com/jlink/jqwik/blob/1.1.2/documentation/src/test/resources/META-INF/services/net.jqwik.api.configurators.ArbitraryConfigurator), -the [following example](https://github.com/jlink/jqwik/blob/1.1.2/documentation/src/test/java/net/jqwik/docs/arbitraryconfigurator/OddProperties.java) +[register the implementation](https://github.com/jlink/jqwik/blob/1.1.3/documentation/src/test/resources/META-INF/services/net.jqwik.api.configurators.ArbitraryConfigurator), +the [following example](https://github.com/jlink/jqwik/blob/1.1.3/documentation/src/test/java/net/jqwik/docs/arbitraryconfigurator/OddProperties.java) will work: ```java @@ -2380,8 +2380,8 @@ a property method or container to only use providers and configurators from thos that are explicitly stated in a `@Domain(Class)` annotation. As for ways to implement domain context classes have a look at -[DomainContext](/docs/1.1.2/javadoc/net/jqwik/api/domains/DomainContext.html) -and [AbstractDomainContextBase](/docs/1.1.2/javadoc/net/jqwik/api/domains/AbstractDomainContextBase.html). +[DomainContext](/docs/1.1.3/javadoc/net/jqwik/api/domains/DomainContext.html) +and [AbstractDomainContextBase](/docs/1.1.3/javadoc/net/jqwik/api/domains/AbstractDomainContextBase.html). ### Domain example: American Addresses @@ -2390,9 +2390,9 @@ Let's say that US postal addresses play a crucial role in the software that we'r That's why there are a couple of classes that represent important domain concepts: `Street`, `State`, `City` and `Address`. Since we have to generate instances of those classes for our properties, we collect all arbitrary provision code in -[AmericanAddresses](https://github.com/jlink/jqwik/blob/1.1.2/documentation/src/test/java/net/jqwik/docs/domains/AmericanAddresses.java). +[AmericanAddresses](https://github.com/jlink/jqwik/blob/1.1.3/documentation/src/test/java/net/jqwik/docs/domains/AmericanAddresses.java). Now look at -[this example](https://github.com/jlink/jqwik/blob/1.1.2/documentation/src/test/java/net/jqwik/docs/domains/AddressProperties.java): +[this example](https://github.com/jlink/jqwik/blob/1.1.3/documentation/src/test/java/net/jqwik/docs/domains/AddressProperties.java): ```java class AddressProperties { @@ -2473,13 +2473,13 @@ the class in order to generate instances. Whenever there's an exception during generation they will be ignored; that way you'll only get valid instances. There are quite a few ways usage and configuration options. Have a look -at the [complete example](https://github.com/jlink/jqwik/blob/1.1.2/documentation/src/test/java/net/jqwik/docs/types/PersonProperties.java) +at the [complete example](https://github.com/jlink/jqwik/blob/1.1.3/documentation/src/test/java/net/jqwik/docs/types/PersonProperties.java) and check the following api entry points: -- [UseType](/docs/1.1.2/javadoc/net/jqwik/api/constraints/UseType.html) -- [UseTypeMode](/docs/1.1.2/javadoc/net/jqwik/api/constraints/UseTypeMode.html) -- [Arbitraries.forType()](/docs/1.1.2/javadoc/net/jqwik/api/Arbitraries.html#forType-java.lang.Class-) -- [TypeArbitrary](/docs/1.1.2/javadoc/net/jqwik/api/arbitraries/TypeArbitrary.html) +- [UseType](/docs/1.1.3/javadoc/net/jqwik/api/constraints/UseType.html) +- [UseTypeMode](/docs/1.1.3/javadoc/net/jqwik/api/constraints/UseTypeMode.html) +- [Arbitraries.forType()](/docs/1.1.3/javadoc/net/jqwik/api/Arbitraries.html#forType-java.lang.Class-) +- [TypeArbitrary](/docs/1.1.3/javadoc/net/jqwik/api/arbitraries/TypeArbitrary.html) ## Implement your own Arbitraries and Generators @@ -2501,14 +2501,14 @@ In those - and maybe a few other cases - you can implement your own arbitrary. To get a feel for what a usable implementation looks like, you might start with having a look at some of the internal arbitraries: -- [DefaultBigDecimalArbitrary](https://github.com/jlink/jqwik/blob/1.1.2/engine/src/main/java/net/jqwik/engine/properties/arbitraries/DefaultBigDecimalArbitrary.java) -- [DefaultStringArbitrary](https://github.com/jlink/jqwik/blob/1.1.2/engine/src/main/java/net/jqwik/engine/properties/arbitraries/DefaultStringArbitrary.java) +- [DefaultBigDecimalArbitrary](https://github.com/jlink/jqwik/blob/1.1.3/engine/src/main/java/net/jqwik/engine/properties/arbitraries/DefaultBigDecimalArbitrary.java) +- [DefaultStringArbitrary](https://github.com/jlink/jqwik/blob/1.1.3/engine/src/main/java/net/jqwik/engine/properties/arbitraries/DefaultStringArbitrary.java) Under the hood, most arbitraries use `RandomGenerator`s for the final value generation. Since -[`RandomGenerator`](/docs/1.1.2/javadoc/net/jqwik/api/RandomGenerator.html) +[`RandomGenerator`](/docs/1.1.3/javadoc/net/jqwik/api/RandomGenerator.html) is a SAM type, most implementations are just lambda expression. Start with the methods on -[`RandomGenerators`](https://github.com/jlink/jqwik/blob/1.1.2/engine/src/main/java/net/jqwik/engine/properties/arbitraries/randomized/RandomGenerators.java) +[`RandomGenerators`](https://github.com/jlink/jqwik/blob/1.1.3/engine/src/main/java/net/jqwik/engine/properties/arbitraries/randomized/RandomGenerators.java) to figure out how they work. Since the topic is rather complicated, a detailed example will one day be published @@ -2596,7 +2596,7 @@ void fizzBuzzWorks(@ForAll int index, @ForAll String result) { All you have to do is annotate the property method with `@FromData("dataProviderReference")`. The method you reference must be annotated with `@Data` and return an object of type `Iterable`. -The [`Table` class](/docs/1.1.2/javadoc/net/jqwik/api/Table.html) +The [`Table` class](/docs/1.1.3/javadoc/net/jqwik/api/Table.html) is just a convenient way to create such an object, but you can return any collection or create an implementation of your own. @@ -2671,4 +2671,4 @@ reportOnlyFailures = false # Set to true if only falsified properties s ## Release Notes -Read this version's [release notes](/release-notes.html#112). \ No newline at end of file +Read this version's [release notes](/release-notes.html#113). \ No newline at end of file diff --git a/docs/release-notes.md b/docs/release-notes.md index 8c4abcb94..3a27822fc 100644 --- a/docs/release-notes.md +++ b/docs/release-notes.md @@ -9,7 +9,7 @@ title: jqwik Release Notes ### Table of Contents -- [1.1.3-SNAPSHOT](#113-snapshot) +- [1.1.3](#113) - [1.1.2](#112) - [1.1.1](#111) - [1.1.0](#110) @@ -19,12 +19,12 @@ title: jqwik Release Notes -## 1.1.3-SNAPSHOT +## 1.1.3

-User guide +User guide and -javadoc +javadoc

- Whitespace characters for generation of Strings and chars are now