| Package | Description |
|---|---|
| com.pholser.junit.quickcheck.generator | |
| com.pholser.junit.quickcheck.internal.generator |
| Modifier and Type | Method and Description |
|---|---|
<T> GenerationStatus |
GenerationStatus.setValue(GenerationStatus.Key<T> key,
T value)
Associates the given value with the given key for the duration of the
generation of a value for a property parameter, or until overwritten.
|
| Modifier and Type | Method and Description |
|---|---|
default T |
Gen._gen(SourceOfRandomness random,
GenerationStatus status)
Deprecated.
For use by junit-quickcheck only -- when we migrate to Java 9,
this method will likely become
private. |
T |
Fields.generate(SourceOfRandomness random,
GenerationStatus status) |
T |
Ctor.generate(SourceOfRandomness random,
GenerationStatus status) |
T |
Gen.generate(SourceOfRandomness random,
GenerationStatus status)
Generates a value, possibly influenced by a source of randomness and
metadata about the generation.
|
static <T,U> T |
Lambdas.makeLambda(Class<T> lambdaType,
Generator<U> returnValueGenerator,
GenerationStatus status)
Creates an instance of a given "functional interface" type, whose
single abstract method returns values of the type produced by the given
generator.
|
| Modifier and Type | Class and Description |
|---|---|
class |
PropertyParameterGenerationContext |
class |
SimpleGenerationStatus |
| Modifier and Type | Method and Description |
|---|---|
T |
LambdaGenerator.generate(SourceOfRandomness random,
GenerationStatus status) |
Object |
GuaranteeValuesGenerator.generate(SourceOfRandomness random,
GenerationStatus status) |
Zilch |
ZilchGenerator.generate(SourceOfRandomness random,
GenerationStatus status) |
Object |
ExhaustiveDomainGenerator.generate(SourceOfRandomness random,
GenerationStatus status) |
Object |
ArrayGenerator.generate(SourceOfRandomness random,
GenerationStatus status) |
Object |
CompositeGenerator.generate(SourceOfRandomness random,
GenerationStatus status) |
Object |
SamplingDomainGenerator.generate(SourceOfRandomness random,
GenerationStatus status) |
Enum<?> |
EnumGenerator.generate(SourceOfRandomness random,
GenerationStatus status) |
Copyright © 2019. All rights reserved.