| Package | Description |
|---|---|
| com.pholser.junit.quickcheck.generator | |
| com.pholser.junit.quickcheck.internal | |
| com.pholser.junit.quickcheck.internal.generator |
| Modifier and Type | Class and Description |
|---|---|
class |
ComponentizedGenerator<T>
Produces values for property parameters of types that have parameterizations
that would also need generation, such as collections, maps, and predicates.
|
class |
Ctor<T>
Deprecated.
This was introduced to alleviate the difficulties of old
Theory methods with many parameters,
and will likely go away. |
class |
Fields<T>
Deprecated.
This was introduced to alleviate the difficulties of old
Theory methods with many parameters,
and will likely go away. |
| Modifier and Type | Method and Description |
|---|---|
protected List<Generator<?>> |
ComponentizedGenerator.componentGenerators() |
| Modifier and Type | Method and Description |
|---|---|
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 | Method and Description |
|---|---|
void |
Generator.addComponentGenerators(List<Generator<?>> newComponents)
Adds component generators to this generator.
|
void |
ComponentizedGenerator.addComponentGenerators(List<Generator<?>> newComponents) |
| Modifier and Type | Method and Description |
|---|---|
List<Weighted<Generator<?>>> |
ParameterTypeContext.explicitGenerators() |
| Modifier and Type | Class and Description |
|---|---|
class |
ArrayGenerator |
class |
CompositeGenerator |
class |
EnumGenerator |
class |
LambdaGenerator<T,U> |
class |
ZilchGenerator |
| Modifier and Type | Method and Description |
|---|---|
Generator<?> |
CompositeGenerator.composed(int index) |
Generator<?> |
GeneratorRepository.generatorFor(ParameterTypeContext parameter) |
Generator<?> |
GeneratorRepository.produceGenerator(ParameterTypeContext parameter) |
| Modifier and Type | Method and Description |
|---|---|
Iterator<Generator<?>> |
ServiceLoaderGeneratorSource.iterator() |
| Modifier and Type | Method and Description |
|---|---|
GeneratorRepository |
GeneratorRepository.register(Generator<?> source) |
| Modifier and Type | Method and Description |
|---|---|
GeneratorRepository |
GeneratorRepository.register(Iterable<Generator<?>> source) |
| Constructor and Description |
|---|
ArrayGenerator(Class<?> componentType,
Generator<?> component) |
LambdaGenerator(Class<T> lambdaType,
Generator<U> returnValueGenerator) |
| Constructor and Description |
|---|
CompositeGenerator(List<Weighted<Generator<?>>> composed) |
Copyright © 2016. All rights reserved.