Package dev.orne.i18n
Class I18nResourcesStringGenerator
java.lang.Object
dev.orne.test.rnd.AbstractGenerator
dev.orne.test.rnd.params.AbstractParameterizableGenerator<P>
dev.orne.test.rnd.params.AbstractTypedParameterizableGenerator<I18nResourcesString,dev.orne.test.rnd.params.StringGenerationParameters>
dev.orne.i18n.I18nResourcesStringGenerator
- All Implemented Interfaces:
dev.orne.test.rnd.Generator
,dev.orne.test.rnd.params.ParameterizableGenerator
,dev.orne.test.rnd.params.TypedParameterizableGenerator<I18nResourcesString>
,dev.orne.test.rnd.TypedGenerator<I18nResourcesString>
@API(status=INTERNAL,
since="0.1")
@Priority(-1000)
public class I18nResourcesStringGenerator
extends dev.orne.test.rnd.params.AbstractTypedParameterizableGenerator<I18nResourcesString,dev.orne.test.rnd.params.StringGenerationParameters>
Generator of
I18nResourcesString
values.- Since:
- 0.1
- Version:
- 1.0, 2023-10
- Author:
- (w) Iker Hernaez
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final int
The maximum random message arguments.protected static final int
The maximum random message codes.protected static final int
The minimum random message arguments.protected static final int
The minimum random message codes.Fields inherited from class dev.orne.test.rnd.AbstractGenerator
DEFAULT_NULL_PROBABILITY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@NotNull I18nResourcesString
defaultValue
(@NotNull dev.orne.test.rnd.params.StringGenerationParameters parameters) @NotNull I18nResourcesString
randomValue
(@NotNull dev.orne.test.rnd.params.StringGenerationParameters parameters) Methods inherited from class dev.orne.test.rnd.params.AbstractTypedParameterizableGenerator
defaultValue, defaultValue, defaultValue, equals, getValueType, hashCode, nullableDefaultValue, nullableDefaultValue, nullableDefaultValue, nullableRandomValue, nullableRandomValue, nullableRandomValue, randomValue, randomValue, randomValue, supports
Methods inherited from class dev.orne.test.rnd.params.AbstractParameterizableGenerator
createEmptyParams, createParams, defaultValue, defaultValue, getExtractor, getParametersType, nullableDefaultValue, nullableDefaultValue, nullableDefaultValue, nullableRandomValue, nullableRandomValue, nullableRandomValue, randomValue, randomValue
Methods inherited from class dev.orne.test.rnd.AbstractGenerator
assertSupported, getNullProbability, randomNull, setNullProbability, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface dev.orne.test.rnd.Generator
asParameterizable, defaultValue, getPriority, nullableDefaultValue, nullableRandomValue, randomValue
Methods inherited from interface dev.orne.test.rnd.params.ParameterizableGenerator
defaultValue, nullableDefaultValue, nullableRandomValue, randomValue
-
Field Details
-
MIN_CODES
protected static final int MIN_CODESThe minimum random message codes.- See Also:
-
MAX_CODES
protected static final int MAX_CODESThe maximum random message codes.- See Also:
-
MIN_ARGS
protected static final int MIN_ARGSThe minimum random message arguments.- See Also:
-
MAX_ARGS
protected static final int MAX_ARGSThe maximum random message arguments.- See Also:
-
-
Constructor Details
-
I18nResourcesStringGenerator
public I18nResourcesStringGenerator()Creates a new instance.
-
-
Method Details
-
defaultValue
@NotNull public @NotNull I18nResourcesString defaultValue(@NotNull @NotNull dev.orne.test.rnd.params.StringGenerationParameters parameters) - Specified by:
defaultValue
in classdev.orne.test.rnd.params.AbstractTypedParameterizableGenerator<I18nResourcesString,
dev.orne.test.rnd.params.StringGenerationParameters>
-
randomValue
@NotNull public @NotNull I18nResourcesString randomValue(@NotNull @NotNull dev.orne.test.rnd.params.StringGenerationParameters parameters) - Specified by:
randomValue
in classdev.orne.test.rnd.params.AbstractTypedParameterizableGenerator<I18nResourcesString,
dev.orne.test.rnd.params.StringGenerationParameters>
-