Package net.jqwik.api.arbitraries
Schnittstelle TraverseArbitrary<T extends @Nullable Object>
- Alle Superschnittstellen:
Arbitrary<T>
@API(status=MAINTAINED,
since="1.8.0")
public interface TraverseArbitrary<T extends @Nullable Object>
extends Arbitrary<T>
Fluent interface to configure arbitraries that try to generate instances
of a given type
T
from the type's available constructors and factory methods.-
Verschachtelte Klassen - Übersicht
Modifizierer und TypSchnittstelleBeschreibungstatic interface
A traverser describes how to travers a given type by providing a hook to resolve a parameter into an arbitrary and a means to find all relevant creators (constructors or factory methods) for a type that does not have a suitable default arbitrary.Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen net.jqwik.api.Arbitrary
Arbitrary.ArbitraryFacade
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungEnable recursive use of traversal: If a parameter of a creator function cannot be resolved, jqwik will also traverse this parameter's type.Von Schnittstelle geerbte Methoden net.jqwik.api.Arbitrary
allValues, array, asGeneric, collect, dontShrink, edgeCases, edgeCases, edgeCases, exhaustive, exhaustive, filter, filter, fixGenSize, flatMap, forEachValue, generator, generator, generatorWithEmbeddedEdgeCases, ignoreException, ignoreException, ignoreExceptions, ignoreExceptions, injectDuplicates, injectNull, isGeneratorMemoizable, iterator, list, map, optional, optional, sample, sampleStream, set, stream, tuple1, tuple2, tuple3, tuple4, tuple5, withoutEdgeCases
-
Methodendetails
-
enableRecursion
TraverseArbitrary<T> enableRecursion()Enable recursive use of traversal: If a parameter of a creator function cannot be resolved, jqwik will also traverse this parameter's type.- Gibt zurück:
- new arbitrary instance
-