Package dev.orne.test.rnd.params
@API(status=EXPERIMENTAL,
since="0.1")
package dev.orne.test.rnd.params
Package for parameterizable generators system.
- Since:
- 0.1
-
ClassDescriptionAbstract implementation of
ParameterizableGenerator
.Abstract implementation ofParametersSourceExtractor
.Abstract implementation ofTargetedGenerator
.Abstract implementation ofTypedParameterizableGenerator
.Parameters for randomCollection
generation.Utility class for retrieving constraints annotations from generation targets.Generator that calls a constructor with generated parameters to generate values of the target type.Implementation ofTargetedGenerator
that generates random values of the target constructor parameter type.Default implementation forParametersExtrator
.Abstract generator that calls an executable with generated parameters to generate values of the target type.Generator that calls a static factory method with generated parameters to generate values of the target type.Base class for value generation parameters.Exception throw byGenerators
when parameters based value generation is requested but the suitable generator is not parameterizable.Interface for generation parameters of generic classes with two type parameters for key and values.Interface forKeyValueGenericParameters
keys type builders.Interface forKeyValueGenericParameters
values type builders.Generation parameters extractor that copies parameters betweenKeyValueGenericParameters
instances.The basic implementation ofKeyValueGenericParameters
.Generation parameters extractor that detectsTypeDeclaration
parameter sources and setsKeyValueGenericParameters.keysType
andKeyValueGenericParameters.valuesType
.Parameters for randomMap
generation.Generation parameters extractor that detectsMax
constraint annotations and setsNumParameters.max
.Implementation ofTargetedGenerator
that generates random values of the target method parameter type.Implementation ofTargetedGenerator
that generates random values of the target method return type.Generation parameters extractor that detectsMin
constraint annotations and setsNumParameters.min
.Generation parameters extractor that detectsNotNull
constraint annotations and setsGenerationParameters.nullable
to false.Interface for generation parameters for value types that can benull
.Interface forNullableParameters
builders.Generation parameters extractor that copies parameters betweenGenerationParameters
instances.The basic implementation ofNullableParameters
.Interface for number generation parameters.Interface forNumberParameters
builders.Generation parameters extractor that copies parameters betweenNumberParameters
instances.The basic implementation ofNumberParameters
.Interface for random value generators with optional parameters.Interface for generation parameters extractor.Registry of generation parameters source extractors.Functional interface for parameters extractor builder.Functional interface for generation parameters source extractors filter.Interface for generation parameters extractor from a source type.Fallback implementation ofParametersSourceExtractor
that does nothing.Implementation ofTargetedGenerator
that generates random values of the target parameter type.Generation parameters extractor that detectsPositive
constraint annotations and setsNumParameters.min
.Generation parameters extractor that detectsPositiveOrZero
constraint annotations and setsNumParameters.min
.Implementation ofTargetedGenerator
that generates random values of the type a target property.Interface for generation parameters of generic classes with a single type parameter.Interface forSimpleGenericParameters
builders.Generation parameters extractor that copies parameters betweenSimpleGenericParameters
instances.The basic implementation ofSimpleGenericParameters
.Generation parameters extractor that detectsTypeDeclaration
parameter sources and setsSimpleGenericParameters.type
.Generation parameters extractor that detectsSize
constraint annotations and setsSizeParameters.minSize
andSizeParameters.maxSize
.Interface for generation parameters that support sizing parameters.Interface forNumberParameters
builders.Generation parameters extractor that copies parameters betweenSizeParameters
instances.The basic implementation ofSizeParameters
.Parameters for randomString
generation.Interface for generators that target a property, method or constructor parameter or method return type.Generation parameters source that provides the declared type of the value to generate.Extension ofParameterizableGenerator
for generators that only provide one type of values.