| Interface | Description |
|---|---|
| GenerationStatus |
Generators 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. |
| 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> | Deprecated
This was introduced to alleviate the difficulties of old
Theory methods with many parameters,
and will likely go away. |
| Fields<T> | Deprecated
This was introduced to alleviate the difficulties of old
Theory methods with many parameters,
and will likely go away. |
| 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 © 2016. All rights reserved.