| Constructor and Description |
|---|
GuaranteeValuesGenerator(ExhaustiveDomainGenerator guaranteed,
Generator<?> rest) |
| Modifier and Type | Method and Description |
|---|---|
Object |
generate(SourceOfRandomness random,
GenerationStatus status)
Generates a value, possibly influenced by a source of randomness and
metadata about the generation.
|
addComponentGenerators, canGenerateForParametersOfTypes, canRegisterAsType, canShrink, compatibleWithTypeParameter, configurationAnnotationsOn, configure, configure, copy, doShrink, gen, gen, hasComponents, magnitude, narrow, numberOfNeededComponents, provide, shrink, typespublic GuaranteeValuesGenerator(ExhaustiveDomainGenerator guaranteed, Generator<?> rest)
public Object generate(SourceOfRandomness random, GenerationStatus status)
Genrandom - source of randomness to be used when generating the valuestatus - an object that can be used to influence the generated
value. For example, generating lists can use the size method to generate lists with a given
number of elements.Copyright © 2019. All rights reserved.