Interface | Description |
---|---|
Gen<T> |
Represents a strategy for generating random values.
|
GenerationStatus |
Generator s are fed instances of this interface on each generation
so that, if they choose, they can use these instances to influence the
results of a generation for a particular property parameter. |
Generators |
An access point for available generators.
|
Shrink<T> |
Represents a strategy for producing objects "smaller than" a given object.
|
Class | Description |
---|---|
ComponentizedGenerator<T> |
Produces values for property parameters of types that have parameterizations
that would also need generation, such as collections, maps, and predicates.
|
Ctor<T> |
Produces instances of a class by generating values for the parameters of
one of the constructors on the class, and invoking the constructor.
|
Fields<T> |
Produces instances of a class by reflecting the class's fields and
generating random values for them.
|
GenerationStatus.Key<T> | |
Generator<T> |
Produces values for property parameters.
|
Lambdas |
Helper class for creating instances of "functional interfaces".
|
Exception | Description |
---|---|
GeneratorConfigurationException |
Raised if a problem arises when attempting to configure a generator with
annotations from a property parameter.
|
Annotation Type | Description |
---|---|
GeneratorConfiguration |
Apply this annotation to an annotation that marks property parameters,
in order that the marked annotation can be used to configure
generators for values of the parameter's type.
|
Size |
Mark a parameter of a
Property
method with this annotation to constrain the size of values generated for
the parameter. |
ValuesOf |
Mark a parameter of a
Property
method with this annotation to generate all the parameter type's values
in turn, rather than at random. |
© Copyright 2010-2016 Paul R. Holser, Jr. All rights reserved. Licensed under The MIT License. pholser@alumni.rice.edu