Package dev.orne.test.rnd
Class TestGenerator
java.lang.Object
dev.orne.test.rnd.AbstractGenerator
dev.orne.test.rnd.TestGenerator
- All Implemented Interfaces:
Generator
Implementation of
Generator
for tests.- Since:
- 0.1
- Version:
- 1.0, 2022-10
- Author:
- (w) Iker Hernaez
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from class dev.orne.test.rnd.AbstractGenerator
DEFAULT_NULL_PROBABILITY
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> T
defaultValue
(@NotNull Class<T> type) <T> T
randomValue
(@NotNull Class<T> type) boolean
Methods inherited from class dev.orne.test.rnd.AbstractGenerator
assertSupported, equals, getNullProbability, hashCode, nullableDefaultValue, nullableRandomValue, 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, getPriority
-
Field Details
-
PRIORITY
public static final int PRIORITYThe generator priority.- See Also:
-
-
Constructor Details
-
TestGenerator
public TestGenerator()Creates a new instance.
-
-
Method Details
-
supports
-
defaultValue
-
randomValue
-