public class PodamValidationSteps
extends java.lang.Object
Constructor and Description |
---|
PodamValidationSteps() |
Modifier and Type | Method and Description |
---|---|
void |
anyFieldWithPodamExcludeAnnotationShouldBeNull(java.lang.Object someObject) |
void |
theArrayOfTheGivenTypeShouldNotBeNullOrEmptyAndContainElementsOfTheRightType(java.lang.Object array,
java.lang.Class<?> elementType) |
void |
theArrayOfTheGivenTypeShouldNotBeNullOrEmptyAndContainExactlyTheGivenNumberOfElements(java.lang.Object array,
int size,
java.lang.Class<?> elementType) |
void |
theArrayShouldHaveExactlyTheExpectedNumberOfElements(java.lang.Object array,
int nbrElements) |
void |
theBooleanValueIsTrue(boolean boolValue) |
void |
theBooleanValueShouldBeFalse(boolean boolValue) |
void |
theByteValueShouldBeBetween(byte byteValue,
int minValue,
int maxValue) |
void |
theByteValueShouldBeGreaterOrEqualThan(byte byteValue,
int minValue) |
void |
theByteValueShouldBeLowerOrEqualThan(byte byteValue,
int maxValue) |
void |
theByteValueShouldHavePreciselyValueOf(byte byteValue,
byte preciseValue) |
void |
theCalendarFieldShouldBeValid(java.util.Calendar calendarField) |
void |
theCharValueShouldBeBetween(char charValue,
int minValue,
int maxValue) |
void |
theCharValueShouldBeExactly(char charValue,
char preciseValue) |
void |
theCharValueShouldBeGreaterOrEqualThan(char charValue,
char minValue) |
void |
theCharValueShouldBeLowerOrEqualThan(char charValue,
int maxValue) |
void |
theCollectionShouldBeEmpty(java.util.Collection<?> collection) |
void |
theCollectionShouldContainAtLeastOneElementOfType(java.util.Collection<?> accessed,
java.lang.Class<?> type) |
void |
theCollectionShouldHaveExactlyTheExpectedNumberOfElements(java.util.Collection<?> collection,
int nbrElements) |
void |
theCollectionShouldNotBeNullOrEmpty(java.util.Collection<?> collection) |
void |
theCollectionShouldNotBeNullOrEmptyAndContainElementsOfType(java.util.Collection<?> collection,
java.lang.Class<?> elementType) |
void |
theCollectionShouldNotBeNullOrEmptyAndShouldHaveExactlyTheExpectedNumberOfElements(java.util.Collection<?> collection,
java.lang.Class<?> elementType,
int nbrElements) |
void |
theDoubleValueShouldBeBetween(double doubleValue,
double minValue,
double maxValue) |
void |
theDoubleValueShouldBeExactly(double doubleValue,
double preciseValue) |
void |
theDoubleValueShouldBeGreaterOrEqualThan(double doubleValue,
double minValue) |
void |
theDoubleValueShouldBeLowerOrEqualThan(double doubleValue,
double maxValue) |
void |
theFloatValueShouldBeBetween(float floatValue,
float minValue,
float maxValue) |
void |
theFloatValueShouldBeGreaterOrEqualThan(float floatValue,
float minValue) |
void |
theFloatValueShouldBeLowerOrEqualThan(float floatValue,
float maxValue) |
void |
theFloatValueShouldBePrecisely(float floatValue,
float preciseValue) |
void |
theIntFieldShouldBeGreaterOrEqualToZero(int intField) |
void |
theIntFieldShouldHaveThePreciseValueOf(int intFieldWithPreciseValue,
int preciseValue) |
void |
theIntFieldShouldHaveValueBetween(int minValue,
int maxValue,
int intField) |
void |
theIntFieldShouldHaveValueLessThen(int intField,
int maxValue) |
void |
theIntFieldShouldHaveValueNotGreaterThan(int intField,
int maxValue) |
void |
theIntFieldShouldNotBeZero(int intField) |
void |
theLongFieldShouldBeGreaterOrEqualToZero(long longFieldValue) |
void |
theLongFieldShouldHaveThePreciseValueOf(long longValueWithPreciseValue,
long preciseValue) |
void |
theLongFieldShouldHaveValueBetween(int minValue,
int maxValue,
long longValue) |
void |
theLongFieldShouldHaveValueNotGreaterThan(long longValue,
int maxValue) |
void |
theLongValueShouldNotBeZero(long value) |
void |
theMapShouldBeEmpty(java.util.Map<?,?> map) |
private void |
theMapShouldNotBeNullOrEmpty(java.util.Map<?,?> map) |
void |
theMapShouldNotBeNullOrEmptyAndContainElementsOfType(java.util.Map<?,?> map,
java.lang.Class<?> keyType,
java.lang.Class<?> valueType) |
void |
theMapShouldNotBeNullOrEmptyAndShouldHaveExactlyTheExpectedNumberOfElements(java.util.Map<?,?> map,
java.lang.Class<?> keyType,
java.lang.Class<?> valueType,
int nbrElements) |
void |
theMemoizationShouldBeEnabled(uk.co.jemos.podam.api.DataProviderStrategy strategy,
boolean isMemoizationEnabled) |
void |
theObjectShouldBeNull(java.lang.Object pojo) |
void |
theObjectShouldNotBeNull(java.lang.Object pojo) |
void |
thePojoMustBeOfTheType(java.lang.Object pojo,
java.lang.Class<?> type) |
void |
thePojoShouldBeNull(java.lang.Object pojo) |
void |
thePojoShouldContainSomeData(java.lang.Object pojo) |
void |
theShortPreciseValueShouldBe(short shortFieldWithPreciseValue,
short preciseValue) |
void |
theShortValueShouldBeBetween(short shortValue,
int minValue,
int maxValue) |
void |
theShortValueShouldBeGreaterOrEqualThan(short shortValue,
int minValue) |
void |
theShortValueShouldBeLowerOrEqualThan(short shortValue,
int maxValue) |
void |
theStringFieldCannotBeNullOrEmpty(java.lang.String strField) |
void |
theStringMatchesAPattern(java.lang.String string,
java.lang.String pattern) |
void |
theStringValueShouldBeExactly(java.lang.String stringValue,
java.lang.String annotationPreciseValue) |
void |
theStringValueShouldHaveTheExactLengthOf(java.lang.String stringValue,
int stringLength) |
void |
theTwoCalendarObjectsShouldHaveTheSameTime(java.util.Calendar expectedValue,
java.util.Calendar actualValue) |
void |
theTwoObjectsShouldBeDifferent(java.lang.Object pojo1,
java.lang.Object pojo2) |
void |
theTwoObjectsShouldBeEqual(java.lang.Object expectedObject,
java.lang.Object actualObject) |
void |
theTwoObjectsShouldBeStrictlyEqual(java.lang.Object pojo1,
java.lang.Object pojo2) |
void |
theValueShouldBeNull(java.lang.Object value) |
public void theObjectShouldNotBeNull(java.lang.Object pojo)
public void thePojoShouldContainSomeData(java.lang.Object pojo)
public void thePojoShouldBeNull(java.lang.Object pojo)
public void theStringMatchesAPattern(java.lang.String string, java.lang.String pattern)
public void theIntFieldShouldNotBeZero(int intField)
public void theLongValueShouldNotBeZero(long value)
public void anyFieldWithPodamExcludeAnnotationShouldBeNull(java.lang.Object someObject)
public void theIntFieldShouldBeGreaterOrEqualToZero(int intField)
public void theIntFieldShouldHaveValueNotGreaterThan(int intField, int maxValue)
public void theIntFieldShouldHaveValueBetween(int minValue, int maxValue, int intField)
public void theIntFieldShouldHaveThePreciseValueOf(int intFieldWithPreciseValue, int preciseValue)
public void theLongFieldShouldBeGreaterOrEqualToZero(long longFieldValue)
public void theLongFieldShouldHaveValueNotGreaterThan(long longValue, int maxValue)
public void theLongFieldShouldHaveValueBetween(int minValue, int maxValue, long longValue)
public void theLongFieldShouldHaveThePreciseValueOf(long longValueWithPreciseValue, long preciseValue)
public void theIntFieldShouldHaveValueLessThen(int intField, int maxValue)
public void theCalendarFieldShouldBeValid(java.util.Calendar calendarField)
public void theStringFieldCannotBeNullOrEmpty(java.lang.String strField)
public void thePojoMustBeOfTheType(java.lang.Object pojo, java.lang.Class<?> type)
public void theByteValueShouldBeGreaterOrEqualThan(byte byteValue, int minValue)
public void theByteValueShouldBeLowerOrEqualThan(byte byteValue, int maxValue)
public void theByteValueShouldBeBetween(byte byteValue, int minValue, int maxValue)
public void theByteValueShouldHavePreciselyValueOf(byte byteValue, byte preciseValue)
public void theShortValueShouldBeGreaterOrEqualThan(short shortValue, int minValue)
public void theShortValueShouldBeLowerOrEqualThan(short shortValue, int maxValue)
public void theShortValueShouldBeBetween(short shortValue, int minValue, int maxValue)
public void theShortPreciseValueShouldBe(short shortFieldWithPreciseValue, short preciseValue)
public void theCharValueShouldBeGreaterOrEqualThan(char charValue, char minValue)
public void theCharValueShouldBeLowerOrEqualThan(char charValue, int maxValue)
public void theCharValueShouldBeBetween(char charValue, int minValue, int maxValue)
public void theCharValueShouldBeExactly(char charValue, char preciseValue)
public void theBooleanValueIsTrue(boolean boolValue)
public void theBooleanValueShouldBeFalse(boolean boolValue)
public void theFloatValueShouldBeGreaterOrEqualThan(float floatValue, float minValue)
public void theFloatValueShouldBeLowerOrEqualThan(float floatValue, float maxValue)
public void theFloatValueShouldBeBetween(float floatValue, float minValue, float maxValue)
public void theFloatValueShouldBePrecisely(float floatValue, float preciseValue)
public void theDoubleValueShouldBeGreaterOrEqualThan(double doubleValue, double minValue)
public void theDoubleValueShouldBeLowerOrEqualThan(double doubleValue, double maxValue)
public void theDoubleValueShouldBeBetween(double doubleValue, double minValue, double maxValue)
public void theDoubleValueShouldBeExactly(double doubleValue, double preciseValue)
public void theStringValueShouldHaveTheExactLengthOf(java.lang.String stringValue, int stringLength)
public void theStringValueShouldBeExactly(java.lang.String stringValue, java.lang.String annotationPreciseValue)
public void theArrayShouldHaveExactlyTheExpectedNumberOfElements(java.lang.Object array, int nbrElements)
public void theMapShouldNotBeNullOrEmptyAndShouldHaveExactlyTheExpectedNumberOfElements(java.util.Map<?,?> map, java.lang.Class<?> keyType, java.lang.Class<?> valueType, int nbrElements)
public void theCollectionShouldNotBeNullOrEmpty(java.util.Collection<?> collection)
public void theCollectionShouldHaveExactlyTheExpectedNumberOfElements(java.util.Collection<?> collection, int nbrElements)
public void theCollectionShouldNotBeNullOrEmptyAndShouldHaveExactlyTheExpectedNumberOfElements(java.util.Collection<?> collection, java.lang.Class<?> elementType, int nbrElements)
public void theTwoCalendarObjectsShouldHaveTheSameTime(java.util.Calendar expectedValue, java.util.Calendar actualValue)
public void theArrayOfTheGivenTypeShouldNotBeNullOrEmptyAndContainElementsOfTheRightType(java.lang.Object array, java.lang.Class<?> elementType)
public void theValueShouldBeNull(java.lang.Object value)
public void theTwoObjectsShouldBeEqual(java.lang.Object expectedObject, java.lang.Object actualObject)
public void theObjectShouldBeNull(java.lang.Object pojo)
public void theCollectionShouldNotBeNullOrEmptyAndContainElementsOfType(java.util.Collection<?> collection, java.lang.Class<?> elementType)
public void theMapShouldNotBeNullOrEmptyAndContainElementsOfType(java.util.Map<?,?> map, java.lang.Class<?> keyType, java.lang.Class<?> valueType)
public void theMapShouldBeEmpty(java.util.Map<?,?> map)
public void theCollectionShouldBeEmpty(java.util.Collection<?> collection)
public void theTwoObjectsShouldBeStrictlyEqual(java.lang.Object pojo1, java.lang.Object pojo2)
public void theTwoObjectsShouldBeDifferent(java.lang.Object pojo1, java.lang.Object pojo2)
public void theCollectionShouldContainAtLeastOneElementOfType(java.util.Collection<?> accessed, java.lang.Class<?> type)
public void theArrayOfTheGivenTypeShouldNotBeNullOrEmptyAndContainExactlyTheGivenNumberOfElements(java.lang.Object array, int size, java.lang.Class<?> elementType)
private void theMapShouldNotBeNullOrEmpty(java.util.Map<?,?> map)
public void theMemoizationShouldBeEnabled(uk.co.jemos.podam.api.DataProviderStrategy strategy, boolean isMemoizationEnabled)
Copyright © 2023. All rights reserved.