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 randomCollectiongeneration.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 ofTargetedGeneratorthat 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 byGeneratorswhen 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 forKeyValueGenericParameterskeys type builders.Interface forKeyValueGenericParametersvalues type builders.Generation parameters extractor that copies parameters betweenKeyValueGenericParametersinstances.The basic implementation ofKeyValueGenericParameters.Generation parameters extractor that detectsTypeDeclarationparameter sources and setsKeyValueGenericParameters.keysTypeandKeyValueGenericParameters.valuesType.Parameters for randomMapgeneration.Generation parameters extractor that detectsMaxconstraint annotations and setsNumParameters.max.Implementation ofTargetedGeneratorthat generates random values of the target method parameter type.Implementation ofTargetedGeneratorthat generates random values of the target method return type.Generation parameters extractor that detectsMinconstraint annotations and setsNumParameters.min.Generation parameters extractor that detectsNotNullconstraint annotations and setsGenerationParameters.nullableto false.Interface for generation parameters for value types that can benull.Interface forNullableParametersbuilders.Generation parameters extractor that copies parameters betweenGenerationParametersinstances.The basic implementation ofNullableParameters.Interface for number generation parameters.Interface forNumberParametersbuilders.Generation parameters extractor that copies parameters betweenNumberParametersinstances.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 ofParametersSourceExtractorthat does nothing.Implementation ofTargetedGeneratorthat generates random values of the target parameter type.Generation parameters extractor that detectsPositiveconstraint annotations and setsNumParameters.min.Generation parameters extractor that detectsPositiveOrZeroconstraint annotations and setsNumParameters.min.Implementation ofTargetedGeneratorthat generates random values of the type a target property.Interface for generation parameters of generic classes with a single type parameter.Interface forSimpleGenericParametersbuilders.Generation parameters extractor that copies parameters betweenSimpleGenericParametersinstances.The basic implementation ofSimpleGenericParameters.Generation parameters extractor that detectsTypeDeclarationparameter sources and setsSimpleGenericParameters.type.Generation parameters extractor that detectsSizeconstraint annotations and setsSizeParameters.minSizeandSizeParameters.maxSize.Interface for generation parameters that support sizing parameters.Interface forNumberParametersbuilders.Generation parameters extractor that copies parameters betweenSizeParametersinstances.The basic implementation ofSizeParameters.Parameters for randomStringgeneration.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 ofParameterizableGeneratorfor generators that only provide one type of values.