|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use BlueprintConfiguration | |
---|---|
net.sf.qualitytest.blueprint | |
net.sf.qualitytest.blueprint.configuration | |
net.sf.qualitytest.blueprint.strategy.creation |
Uses of BlueprintConfiguration in net.sf.qualitytest.blueprint |
---|
Methods in net.sf.qualitytest.blueprint that return BlueprintConfiguration | ||
---|---|---|
static BlueprintConfiguration |
Blueprint.def()
Return a new configuration for default blueprinting with zero or empty default values. |
|
static BlueprintConfiguration |
Blueprint.random()
Return a new configuration for random blueprinting. |
|
|
BlueprintConfiguration.with(Class<T> type,
CreationStrategy<?> creator)
Replace every attribute with the type type with a given value. |
|
|
BlueprintConfiguration.with(Class<T> type,
T value)
Replace every attribute with the type type with a given value. |
|
|
BlueprintConfiguration.with(CycleHandlingStrategy<T> cycleHandlingStrategy)
Handle detected cycles in the blueprinting graph using an additional strategy. |
|
|
BlueprintConfiguration.with(MatchingStrategy matchingStrategy)
Blueprint everything matching a given MatchingStrategy using this configuration. |
|
BlueprintConfiguration |
BlueprintConfiguration.with(MatchingStrategy matcher,
CreationStrategy<?> creator)
Replace every attribute which matches a given strategy with a given value. |
|
|
BlueprintConfiguration.with(String name,
T value)
Replace every attribute with the name name with a given value. |
|
BlueprintConfiguration |
BlueprintConfiguration.withPublicAttributes(boolean withPublicAttributes)
Configure whether public attributes should be filled with values during blueprinting. |
Methods in net.sf.qualitytest.blueprint with parameters of type BlueprintConfiguration | ||
---|---|---|
static
|
CollectionBlueprint.addMany(T collection,
Class<E> clazz,
int numberOfItems,
BlueprintConfiguration config)
A small utility to fill a collection automatically with blueprinted objects. |
|
static
|
Blueprint.construct(Class<T> clazz,
BlueprintConfiguration config)
Construct a Java-Object using a class as a blueprint. |
|
static
|
Blueprint.construct(Class<T> clazz,
BlueprintConfiguration config,
BlueprintSession session)
Construct a Java-Object using a class as a blueprint. |
|
T |
CreationStrategy.createValue(Class<?> expectedClazz,
BlueprintConfiguration config,
BlueprintSession session)
Create a new value which can be assigned to an attribute. |
Uses of BlueprintConfiguration in net.sf.qualitytest.blueprint.configuration |
---|
Classes in net.sf.qualitytest.blueprint.configuration that implement BlueprintConfiguration | |
---|---|
class |
DefaultBlueprintConfiguration
Default BlueprintConfiguration which assigns all primitive types and their corresponding object types which a
default value, which is usually 0 . |
class |
RandomBlueprintConfiguration
BlueprintConfiguration which assigns all primitive types and their corresponding object types with a random
value. |
Uses of BlueprintConfiguration in net.sf.qualitytest.blueprint.strategy.creation |
---|
Methods in net.sf.qualitytest.blueprint.strategy.creation with parameters of type BlueprintConfiguration | |
---|---|
T |
ValueCreationStrategy.createValue(Class<?> expectedClazz,
BlueprintConfiguration config,
BlueprintSession session)
Create a new value which can be assigned to an attribute. |
T |
IterateValueCreationStrategy.createValue(Class<?> expectedClazz,
BlueprintConfiguration config,
BlueprintSession session)
|
T |
IncrementValueCreationStrategy.createValue(Class<?> expectedClazz,
BlueprintConfiguration config,
BlueprintSession session)
|
Object |
DefaultArrayCreationStrategy.createValue(Class<?> expectedClass,
BlueprintConfiguration config,
BlueprintSession session)
|
Object |
BlueprintCreationStrategy.createValue(Class<?> expectedClazz,
BlueprintConfiguration config,
BlueprintSession session)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |