| Package | Description |
|---|---|
| uk.co.jemos.podam.api |
This package contains PODAM main APIs
|
| Modifier and Type | Method and Description |
|---|---|
Boolean |
AbstractRandomDataProviderStrategy.getBoolean(AttributeMetadata attributeMetadata)
It returns a boolean/Boolean value.
|
Boolean |
DataProviderStrategy.getBoolean(AttributeMetadata attributeMetadata)
It returns a boolean/Boolean value.
|
Byte |
AbstractRandomDataProviderStrategy.getByte(AttributeMetadata attributeMetadata)
It returns a byte/Byte value.
|
Byte |
DataProviderStrategy.getByte(AttributeMetadata attributeMetadata)
It returns a byte/Byte value.
|
Byte |
AbstractRandomDataProviderStrategy.getByteInRange(byte minValue,
byte maxValue,
AttributeMetadata attributeMetadata)
It returns a byte/Byte within min and max value (included).
|
Byte |
DataProviderStrategy.getByteInRange(byte minValue,
byte maxValue,
AttributeMetadata attributeMetadata)
It returns a byte/Byte within min and max value (included).
|
private Byte |
PodamFactoryImpl.getByteValueWithinRange(List<Annotation> annotations,
AttributeMetadata attributeMetadata)
It returns a random byte if the attribute was annotated with
PodamByteValue or null otherwise |
Character |
AbstractRandomDataProviderStrategy.getCharacter(AttributeMetadata attributeMetadata)
It returns a char/Character value.
|
Character |
DataProviderStrategy.getCharacter(AttributeMetadata attributeMetadata)
It returns a char/Character value.
|
Character |
AbstractRandomDataProviderStrategy.getCharacterInRange(char minValue,
char maxValue,
AttributeMetadata attributeMetadata)
It returns a char/Character value between min and max value (included).
|
Character |
DataProviderStrategy.getCharacterInRange(char minValue,
char maxValue,
AttributeMetadata attributeMetadata)
It returns a char/Character value between min and max value (included).
|
private Character |
PodamFactoryImpl.getCharacterValueWithinRange(List<Annotation> annotations,
AttributeMetadata attributeMetadata)
It creates and returns a random
Character value |
Double |
AbstractRandomDataProviderStrategy.getDouble(AttributeMetadata attributeMetadata)
It returns a double/Double value
|
Double |
DataProviderStrategy.getDouble(AttributeMetadata attributeMetadata)
It returns a double/Double value
|
Double |
AbstractRandomDataProviderStrategy.getDoubleInRange(double minValue,
double maxValue,
AttributeMetadata attributeMetadata)
It returns a double/Double value between min and max value (included).
|
Double |
DataProviderStrategy.getDoubleInRange(double minValue,
double maxValue,
AttributeMetadata attributeMetadata)
It returns a double/Double value between min and max value (included).
|
private Double |
PodamFactoryImpl.getDoubleValueWithinRange(List<Annotation> annotations,
AttributeMetadata attributeMetadata)
It creates and returns a random
Double value |
Float |
AbstractRandomDataProviderStrategy.getFloat(AttributeMetadata attributeMetadata)
It returns a float/Float value.
|
Float |
DataProviderStrategy.getFloat(AttributeMetadata attributeMetadata)
It returns a float/Float value.
|
Float |
AbstractRandomDataProviderStrategy.getFloatInRange(float minValue,
float maxValue,
AttributeMetadata attributeMetadata)
It returns a float/Float value between min and max value (included).
|
Float |
DataProviderStrategy.getFloatInRange(float minValue,
float maxValue,
AttributeMetadata attributeMetadata)
It returns a float/Float value between min and max value (included).
|
private Float |
PodamFactoryImpl.getFloatValueWithinRange(List<Annotation> annotations,
AttributeMetadata attributeMetadata)
Returns either a customised float value if a
PodamFloatValue
annotation was provided or a random float if this was not the case |
Integer |
AbstractRandomDataProviderStrategy.getInteger(AttributeMetadata attributeMetadata)
It returns an int/Integer value.
|
Integer |
DataProviderStrategy.getInteger(AttributeMetadata attributeMetadata)
It returns an int/Integer value.
|
int |
AbstractRandomDataProviderStrategy.getIntegerInRange(int minValue,
int maxValue,
AttributeMetadata attributeMetadata)
It returns an int/Integer value between min and max value (included).
|
int |
DataProviderStrategy.getIntegerInRange(int minValue,
int maxValue,
AttributeMetadata attributeMetadata)
It returns an int/Integer value between min and max value (included).
|
private Integer |
PodamFactoryImpl.getIntegerValueWithinRange(List<Annotation> annotations,
AttributeMetadata attributeMetadata)
Returns either a customised int value if a
PodamIntValue
annotation was provided or a random integer if this was not the case |
Long |
AbstractRandomDataProviderStrategy.getLong(AttributeMetadata attributeMetadata)
This implementation returns the current time in milliseconds.
|
Long |
DataProviderStrategy.getLong(AttributeMetadata attributeMetadata)
It returns a long/Long value.
|
Long |
AbstractRandomDataProviderStrategy.getLongInRange(long minValue,
long maxValue,
AttributeMetadata attributeMetadata)
It returns a long/Long value between min and max value (included).
|
Long |
DataProviderStrategy.getLongInRange(long minValue,
long maxValue,
AttributeMetadata attributeMetadata)
It returns a long/Long value between min and max value (included).
|
private Long |
PodamFactoryImpl.getLongValueWithinRange(List<Annotation> annotations,
AttributeMetadata attributeMetadata)
Returns either a customised long value if a
PodamLongValue
annotation was provided or a random long if this was not the case |
Short |
AbstractRandomDataProviderStrategy.getShort(AttributeMetadata attributeMetadata)
It returns a short/Short value.
|
Short |
DataProviderStrategy.getShort(AttributeMetadata attributeMetadata)
It returns a short/Short value.
|
Short |
AbstractRandomDataProviderStrategy.getShortInRange(short minValue,
short maxValue,
AttributeMetadata attributeMetadata)
It returns a short/Short value between min and max value (included).
|
Short |
DataProviderStrategy.getShortInRange(short minValue,
short maxValue,
AttributeMetadata attributeMetadata)
It returns a short/Short value between min and max value (included).
|
private Short |
PodamFactoryImpl.getShortValueWithinRange(List<Annotation> annotations,
AttributeMetadata attributeMetadata)
It returns a random short if the attribute was annotated with
PodamShortValue or null otherwise |
String |
AbstractRandomDataProviderStrategy.getStringOfLength(int length,
AttributeMetadata attributeMetadata)
It returns a String of
length characters. |
String |
DataProviderStrategy.getStringOfLength(int length,
AttributeMetadata attributeMetadata)
It returns a String of
length characters. |
String |
AbstractRandomDataProviderStrategy.getStringValue(AttributeMetadata attributeMetadata)
It returns a string value
|
String |
DataProviderStrategy.getStringValue(AttributeMetadata attributeMetadata)
It returns a string value
|
private Object |
PodamFactoryImpl.resolvePrimitiveValue(Class<?> primitiveClass,
List<Annotation> annotations,
AttributeMetadata attributeMetadata)
It resolves and returns the primitive value depending on the type
|
private String |
PodamFactoryImpl.resolveStringValue(List<Annotation> annotations,
AttributeMetadata attributeMetadata)
It creates and returns a String value, eventually customised by
annotations
|
private Object |
PodamFactoryImpl.resolveWrapperValue(Class<?> candidateWrapperClass,
List<Annotation> annotations,
AttributeMetadata attributeMetadata)
It attempts to resolve the given class as a wrapper class and if this is
the case it assigns a random value
|
Copyright © 2015. All rights reserved.