|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
ObjectSeedSequences
public final class SeedSequences extends Object
Provides functionality for creating a set of sequences that create a set of primitive values. Used by sequence generators.
| Modifier and Type | Field and Description |
|---|---|
static List<Object> |
primitiveSeeds
|
| Modifier and Type | Method and Description |
|---|---|
static Set<Sequence> |
defaultSeeds()
A set of sequences that create primitive values, e.g. |
static Set<Object> |
getSeeds(Class<?> c)
|
static Set<Sequence> |
getSeedsFromAnnotatedFields(Class<?>... classes)
Inspects the declared fields of the given classes. |
static Set<Sequence> |
objectsToSeeds(Collection<Object> objs)
Precondition: objs consists exclusively of boxed primitives and strings. |
| Methods inherited from class Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final List<Object> primitiveSeeds
| Method Detail |
|---|
public static Set<Sequence> defaultSeeds()
public static Set<Sequence> objectsToSeeds(Collection<Object> objs)
public static Set<Object> getSeeds(Class<?> c)
public static Set<Sequence> getSeedsFromAnnotatedFields(Class<?>... classes)
classes - A collection of classes containing @TestValue annotation on
one or more static fields.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||