Uses of Interface
net.sf.qualitytest.blueprint.CreationStrategy

Packages that use CreationStrategy
net.sf.qualitytest.blueprint   
net.sf.qualitytest.blueprint.strategy.creation   
 

Uses of CreationStrategy in net.sf.qualitytest.blueprint
 

Methods in net.sf.qualitytest.blueprint that return CreationStrategy
 CreationStrategy<?> BlueprintConfiguration.findCreationStrategyForField(Field field)
          Find a creation strategy that matches on the given field.
 CreationStrategy<?> BlueprintConfiguration.findCreationStrategyForMethod(Method method)
          Find a creation strategy that matches on the given method.
 CreationStrategy<?> BlueprintConfiguration.findCreationStrategyForType(Class<?> clazz)
          Find a creation strategy that matches on a given type.
static
<T> CreationStrategy<T>
Create.nil()
          Always create null.
static CreationStrategy<Boolean> Create.randomBoolean()
          Create a random boolean (true or false).
static CreationStrategy<Byte> Create.randomByte()
          Create a random byte.
static CreationStrategy<Character> Create.randomChar()
          Create a random character.
static CreationStrategy<Double> Create.randomDouble()
          Create a random double.
static CreationStrategy<Enum<?>> Create.randomEnum()
          Create a random enum constant whenever an enumeration is requested.
static CreationStrategy<Float> Create.randomFloat()
          Create a random float.
static CreationStrategy<Integer> Create.randomInteger()
          Create a random integer.
static CreationStrategy<Long> Create.randomLong()
          Create a random long.
static CreationStrategy<Short> Create.randomShort()
          Create a random short.
static
<T> CreationStrategy<T>
Create.value(T value)
          Always create this value, when requested.
 

Methods in net.sf.qualitytest.blueprint with parameters of type CreationStrategy
<T> BlueprintConfiguration
BlueprintConfiguration.with(Class<T> type, CreationStrategy<?> creator)
          Replace every attribute with the type type with a given value.
 BlueprintConfiguration BlueprintConfiguration.with(MatchingStrategy matcher, CreationStrategy<?> creator)
          Replace every attribute which matches a given strategy with a given value.
 

Uses of CreationStrategy in net.sf.qualitytest.blueprint.strategy.creation
 

Classes in net.sf.qualitytest.blueprint.strategy.creation that implement CreationStrategy
 class BlueprintCreationStrategy
          This CreationStrategy constructs the requested object using Blueprint itself.
 class BlueprintStringCreationStrategy
          Strategy which creates random strings using Blueprint.string().
 class DefaultArrayCreationStrategy
           
 class DefaultEnumCreationStrategy
          Creation strategy which creates an enum using the first value in an enum constant.
 class IncrementValueCreationStrategy<T extends Number>
          Strategy to create values and increment each new value by 1.
 class IterateValueCreationStrategy<T>
          Strategy to iterate through a range of values, whenever a new value is requested.
 class NullValueCreationStrategy<T>
          A strategy which always returns null.
 class RandomBooleanValueCreationStrategy
          Strategy to create a random boolean value.
 class RandomByteValueCreationStrategy
          Strategy to create a random byte value.
 class RandomCharValueCreationStrategy
          Strategy to create a random char value.
 class RandomDoubleValueCreationStrategy
          Strategy to create a random double value.
 class RandomEnumCreationStrategy
          Creation strategy which creates a random enum constant during construction of a blueprint.
 class RandomFloatValueCreationStrategy
          Strategy to create a random float value.
 class RandomIntValueCreationStrategy
          Strategy to create a random integer value.
 class RandomLongValueCreationStrategy
          Strategy to create a random long value.
 class RandomShortValueCreationStrategy
          Strategy to create a random short value.
 class SingleValueCreationStrategy<T>
          Always use the same value.
 class ValueCreationStrategy<T>
          Definition of an interface to create values for attribute assignments.
 



Copyright © 2012-2013. All Rights Reserved.