T - the type to generatepublic abstract class AbstractGenerator<T>
extends com.pholser.junit.quickcheck.generator.Generator<T>
New generators should extend this class and implement generate().
| Modifier and Type | Method and Description |
|---|---|
protected abstract T |
generate() |
T |
generate(com.pholser.junit.quickcheck.random.SourceOfRandomness random,
com.pholser.junit.quickcheck.generator.GenerationStatus status) |
protected <S> List<S> |
listOf(Class<S> clazz,
int minSize,
int maxSize) |
protected <S> Set<S> |
setOf(Class<S> clazz,
int minSize,
int maxSize) |
addComponentGenerators, canGenerateForParametersOfTypes, canRegisterAsType, canShrink, compatibleWithTypeParameter, configurationAnnotationsOn, configure, configure, doShrink, gen, hasComponents, narrow, numberOfNeededComponents, provide, shrink, typesCopyright © 2018 Grakn Labs Ltd. All rights reserved.