Package com.hp.lft.verifications
Class Verify
java.lang.Object
com.hp.lft.verifications.Verify
Class for verifying expected values in your application.
*
When a Verify method returns a false value, the step fails, but the failure does not throw an exception or cause the test to stop running.
When a Verify method returns a false value, the step fails, but the failure does not throw an exception or cause the test to stop running.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
areEqual
(double expected, double actual) Checks whether two double values are equal.static boolean
Checks whether two double values are equal.static boolean
Checks whether two double values are equal.static boolean
areEqual
(double expected, double actual, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether two double values are equal.static boolean
Checks whether two float values are equal.static boolean
areEqual
(int expected, int actual) Checks whether two integer values are equal.static boolean
Checks whether two integer values are equal.static boolean
Checks whether two integer values are equal.static boolean
areEqual
(int expected, int actual, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether two integer values are equal.static boolean
areEqual
(long expected, long actual) Checks whether two long values are equal.static boolean
Checks whether two long values are equal.static boolean
Checks whether two long values are equal.static boolean
areEqual
(long expected, long actual, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether two long values are equal.static boolean
areEqual
(short expected, short actual) Checks whether two short values are equal.static boolean
Checks whether two short values are equal.static boolean
Checks whether two short values are equal.static boolean
areEqual
(short expected, short actual, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether two short values are equal.static boolean
areEqual
(Comparable expected, Comparable actual) Checks whether two Comparable values are equal.static boolean
areEqual
(Comparable expected, Comparable actual, String verificationName) Checks whether two Comparable values are equal.static boolean
areEqual
(Comparable expected, Comparable actual, String verificationName, String verificationDescription) Checks whether two Comparable values are equal.static boolean
areEqual
(Comparable expected, Comparable actual, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether two Comparable values are equal.static boolean
Checks whether two Iterable values are equal.static boolean
Checks whether two Iterable values are equal.static boolean
areEqual
(Iterable expected, Iterable actual, String verificationName, String verificationDescription) Checks whether two Iterable values are equal.static boolean
areEqual
(Iterable expected, Iterable actual, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether two Iterable values are equal.static boolean
Checks whether two String values are equal.static boolean
Checks whether two String values are equal.static boolean
Checks whether two String values are equal.static boolean
areEqualIgnoringCase
(String expected, String actual) Checks whether two string values are equal, ignoring case.static boolean
areEqualIgnoringCase
(String expected, String actual, String verificationName) Checks whether two string values are equal, ignoring case.static boolean
areEqualIgnoringCase
(String expected, String actual, String verificationName, String verificationDescription) Checks whether two string values are equal, ignoring case.static boolean
areEqualIgnoringCase
(String expected, String actual, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether two string values are equal, ignoring case.static boolean
areNotEqual
(double expected, double actual) Checks whether two double values are different.static boolean
areNotEqual
(double expected, double actual, String verificationName) Checks whether two double values are different.static boolean
areNotEqual
(double expected, double actual, String verificationName, String verificationDescription) Checks whether two double values are different.static boolean
areNotEqual
(double expected, double actual, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether two double values are different.static boolean
areNotEqual
(int expected, int actual) Checks whether two integer values are different.static boolean
areNotEqual
(int expected, int actual, String verificationName) Checks whether two integer values are different.static boolean
areNotEqual
(int expected, int actual, String verificationName, String verificationDescription) Checks whether two integer values are different.static boolean
areNotEqual
(int expected, int actual, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether two integer values are different.static boolean
areNotEqual
(long expected, long actual) Checks whether two long values are different.static boolean
areNotEqual
(long expected, long actual, String verificationName) Checks whether two long values are different.static boolean
areNotEqual
(long expected, long actual, String verificationName, String verificationDescription) Checks whether two long values are different.static boolean
areNotEqual
(long expected, long actual, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether two long values are different.static boolean
areNotEqual
(short expected, short actual) Checks whether two short values are different.static boolean
areNotEqual
(short expected, short actual, String verificationName) Checks whether two short values are different.static boolean
areNotEqual
(short expected, short actual, String verificationName, String verificationDescription) Checks whether two short values are different.static boolean
areNotEqual
(short expected, short actual, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether two short values are different.static boolean
areNotEqual
(Comparable expected, Comparable actual) Checks whether two decimal values are different.static boolean
areNotEqual
(Comparable expected, Comparable actual, String verificationName) Checks whether two Comparable values are different.static boolean
areNotEqual
(Comparable expected, Comparable actual, String verificationName, String verificationDescription) Checks whether two Comparable values are different.static boolean
areNotEqual
(Comparable expected, Comparable actual, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether two Comparable values are different.static boolean
areNotEqual
(Iterable expected, Iterable actual, String verificationName, String verificationDescription) Checks whether two Iterable values are different.static boolean
areNotEqual
(Iterable expected, Iterable actual, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether two Iterable values are different.static boolean
areNotEqual
(String expected, String actual) Checks whether two String values are different.static boolean
areNotEqual
(String expected, String actual, String verificationName) Checks whether two String values are different.static boolean
areNotEqual
(String expected, String actual, String verificationName, String verificationDescription) Checks whether two String values are different.static boolean
areNotEqualIgnoringCase
(String expected, String actual) Checks whether two string values are different, ignoring case.static boolean
areNotEqualIgnoringCase
(String expected, String actual, String verificationName) Checks whether two string values are different, ignoring case.static boolean
areNotEqualIgnoringCase
(String expected, String actual, String verificationName, String verificationDescription) Checks whether two string values are different, ignoring case.static boolean
areNotEqualIgnoringCase
(String expected, String actual, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether two string values are different, ignoring case.static boolean
Checks whether the provided collection contains the object provided in the second argument.static boolean
Checks whether the provided collection contains the object provided in the second argument.static boolean
contains
(Iterable collection, Object element, String verificationName, String verificationDescription) Checks whether the provided collection contains the object provided in the second argument.static boolean
contains
(Iterable collection, Object element, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether the provided collection contains the object provided in the second argument.static boolean
Checks whether the first string specified is contained within the second string.static boolean
Checks whether the first string specified is contained within the second string.static boolean
Checks whether the first string specified is contained within the second string.static boolean
contains
(String substring, String source, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether the first string specified is contained within the second string.static boolean
Checks whether the 'expected' string is the last part of the 'actual' string.static boolean
Checks whether the 'expected' string is the last part of the 'actual' string.static boolean
Checks whether the 'expected' string is the last part of the 'actual' string.static boolean
endsWith
(String suffix, String source, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether the 'expected' string is the last part of the 'actual' string.static boolean
greater
(double arg1, double arg2) Checks whether the first number specified is greater than the second for double values.static boolean
Checks whether the first number specified is greater than the second for double values.static boolean
Checks whether the first number specified is greater than the second for double values.static boolean
greater
(double arg1, double arg2, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether the first number specified is greater than the second for double values.static boolean
greater
(float arg1, float arg2) Checks whether the first number specified is greater than the second for float values.static boolean
Checks whether the first number specified is greater than the second for float values.static boolean
Checks whether the first number specified is greater than the second for float values.static boolean
greater
(float arg1, float arg2, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether the first number specified is greater than the second for float values.static boolean
greater
(int arg1, int arg2) Checks whether the first number specified is greater than the second for integer values.static boolean
Checks whether the first number specified is greater than the second for integer values.static boolean
Checks whether the first number specified is greater than the second for integer values.static boolean
greater
(int arg1, int arg2, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether the first number specified is greater than the second for integer values.static boolean
greater
(long arg1, long arg2) Checks whether the first number specified is greater than the second for long values.static boolean
Checks whether the first number specified is greater than the second for long values.static boolean
Checks whether the first number specified is greater than the second for long values.static boolean
greater
(long arg1, long arg2, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether the first number specified is greater than the second for long values.static boolean
greater
(short arg1, short arg2) Checks whether the first number specified is greater than the second for short values.static boolean
Checks whether the first number specified is greater than the second for short values.static boolean
Checks whether the first number specified is greater than the second for short values.static boolean
greater
(short arg1, short arg2, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether the first number specified is greater than the second for short values.static boolean
greater
(Comparable arg1, Comparable arg2) Checks whether the first number specified is greater than the second for Comparable values.static boolean
greater
(Comparable arg1, Comparable arg2, String verificationName) Checks whether the first number specified is greater than the second for Comparable values.static boolean
greater
(Comparable arg1, Comparable arg2, String verificationName, String verificationDescription) Checks whether the first number specified is greater than the second for Comparable values.static boolean
greater
(Comparable arg1, Comparable arg2, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether the first number specified is greater than the second for Comparable values.static boolean
greaterOrEqual
(double arg1, double arg2) Checks whether the first number specified is greater than or equal to the second for double values.static boolean
greaterOrEqual
(double arg1, double arg2, String verificationName) Checks whether the first number specified is greater than or equal to the second for double values.static boolean
greaterOrEqual
(double arg1, double arg2, String verificationName, String verificationDescription) Checks whether the first number specified is greater than or equal to the second for double values.static boolean
greaterOrEqual
(double arg1, double arg2, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether the first number specified is greater than or equal to the second for double values.static boolean
greaterOrEqual
(float arg1, float arg2) Checks whether the first number specified is greater than or equal to the second for float values.static boolean
greaterOrEqual
(float arg1, float arg2, String verificationName) Checks whether the first number specified is greater than or equal to the second for float values.static boolean
greaterOrEqual
(float arg1, float arg2, String verificationName, String verificationDescription) Checks whether the first number specified is greater than or equal to the second for float values.static boolean
greaterOrEqual
(float arg1, float arg2, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether the first number specified is greater than or equal to the second for float values.static boolean
greaterOrEqual
(int arg1, int arg2) Checks whether the first number specified is greater than or equal to the second for integer values.static boolean
greaterOrEqual
(int arg1, int arg2, String verificationName) Checks whether the first number specified is greater than or equal to the second for integer values.static boolean
greaterOrEqual
(int arg1, int arg2, String verificationName, String verificationDescription) Checks whether the first number specified is greater than or equal to the second for integer values.static boolean
greaterOrEqual
(int arg1, int arg2, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether the first number specified is greater than or equal to the second for integer values.static boolean
greaterOrEqual
(long arg1, long arg2) Checks whether the first number specified is greater than or equal to the second for long values.static boolean
greaterOrEqual
(long arg1, long arg2, String verificationName) Checks whether the first number specified is greater than or equal to the second for long values.static boolean
greaterOrEqual
(long arg1, long arg2, String verificationName, String verificationDescription) Checks whether the first number specified is greater than or equal to the second for long values.static boolean
greaterOrEqual
(long arg1, long arg2, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether the first number specified is greater than or equal to the second for long values.static boolean
greaterOrEqual
(short arg1, short arg2) Checks whether the first number specified is greater than or equal to the second for short values.static boolean
greaterOrEqual
(short arg1, short arg2, String verificationName) Checks whether the first number specified is greater than or equal to the second for short values.static boolean
greaterOrEqual
(short arg1, short arg2, String verificationName, String verificationDescription) Checks whether the first number specified is greater than or equal to the second for short values.static boolean
greaterOrEqual
(short arg1, short arg2, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether the first number specified is greater than or equal to the second for short values.static boolean
greaterOrEqual
(Comparable arg1, Comparable arg2) Checks whether the first number specified is greater than or equal to the second for Comparable values.static boolean
greaterOrEqual
(Comparable arg1, Comparable arg2, String verificationName) Checks whether the first number specified is greater than or equal to the second for Comparable values.static boolean
greaterOrEqual
(Comparable arg1, Comparable arg2, String verificationName, String verificationDescription) Checks whether the first number specified is greater than or equal to the second for Comparable values.static boolean
greaterOrEqual
(Comparable arg1, Comparable arg2, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether the first number specified is greater than or equal to the second for Comparable values.static boolean
isFalse
(boolean condition) Checks whether the specified condition is false.static boolean
Checks whether the specified condition is false.static boolean
/** Checks whether the specified condition is false.static boolean
isFalse
(boolean condition, String verificationName, String verificationDescription, RenderedImage verificationImage) /** Checks whether the specified condition is false.static boolean
Checks whether the specified regular expression matches the specified string value.static boolean
Checks whether the specified regular expression matches the specified string value.static boolean
isMatch
(String actual, String regexPattern, String verificationName, String verificationDescription) Checks whether the specified regular expression matches the specified string value.static boolean
isMatch
(String actual, String regexPattern, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether the specified regular expression matches the specified string value.static boolean
isNotNullOrEmpty
(Iterable collection) Checks whether the specified collection is not null or empty.static boolean
isNotNullOrEmpty
(Iterable collection, String verificationName) Checks whether the specified collection is not null or empty.static boolean
isNotNullOrEmpty
(Iterable collection, String verificationName, String verificationDescription) Checks whether the specified collection is not null or empty.static boolean
isNotNullOrEmpty
(Iterable collection, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether the specified collection is not null or empty.static boolean
isNotNullOrEmpty
(String aString) Checks whether the specified string is not null or empty.static boolean
isNotNullOrEmpty
(String aString, String verificationName) Checks whether the specified string is not null or empty.static boolean
isNotNullOrEmpty
(String aString, String verificationName, String verificationDescription) Checks whether the specified string is not null or empty.static boolean
isNotNullOrEmpty
(String aString, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether the specified string is not null or empty.static boolean
isNullOrEmpty
(Iterable collection) Checks whether the specified collection is null or empty.static boolean
isNullOrEmpty
(Iterable collection, String verificationName) Checks whether the specified collection is null or empty.static boolean
isNullOrEmpty
(Iterable collection, String verificationName, String verificationDescription) Checks whether the specified collection is null or empty.static boolean
isNullOrEmpty
(Iterable collection, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether the specified collection is null or empty.static boolean
isNullOrEmpty
(String aString) Checks whether the specified string is null or empty.static boolean
isNullOrEmpty
(String aString, String verificationName) Checks whether the specified string is null or empty.static boolean
isNullOrEmpty
(String aString, String verificationName, String verificationDescription) Checks whether the specified string is null or empty.static boolean
isNullOrEmpty
(String aString, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether the specified string is null or empty.static boolean
isTrue
(boolean condition) Checks whether the specified condition is true.static boolean
Checks whether the specified condition is true.static boolean
Checks whether the specified condition is true.static boolean
isTrue
(boolean condition, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether the specified condition is true.static boolean
less
(double arg1, double arg2) Checks whether the first number specified is less than the second for double values.static boolean
Checks whether the first number specified is less than the second for double values.static boolean
Checks whether the first number specified is less than the second for double values.static boolean
less
(double arg1, double arg2, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether the first number specified is less than the second for double values.static boolean
less
(float arg1, float arg2) Checks whether the first number specified is less than the second for float values.static boolean
Checks whether the first number specified is less than the second for float values.static boolean
Checks whether the first number specified is less than the second for float values.static boolean
less
(float arg1, float arg2, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether the first number specified is less than the second for float values.static boolean
less
(int arg1, int arg2) Checks whether the first number specified is less than the second for integer values.static boolean
Checks whether the first number specified is less than the second for integer values.static boolean
Checks whether the first number specified is less than the second for integer values.static boolean
less
(int arg1, int arg2, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether the first number specified is less than the second for integer values.static boolean
less
(long arg1, long arg2) Checks whether the first number specified is less than the second for long values.static boolean
Checks whether the first number specified is less than the second for long values.static boolean
Checks whether the first number specified is less than the second for long values.static boolean
less
(long arg1, long arg2, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether the first number specified is less than the second for long values.static boolean
less
(short arg1, short arg2) Checks whether the first number specified is less than the second for short values.static boolean
Checks whether the first number specified is less than the second for short values.static boolean
Checks whether the first number specified is less than the second for short values.static boolean
less
(short arg1, short arg2, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether the first number specified is less than the second for short values.static boolean
less
(Comparable arg1, Comparable arg2) Checks whether the first number specified is less than the second for Comparable values.static boolean
less
(Comparable arg1, Comparable arg2, String verificationName) Checks whether the first number specified is less than the second for Comparable values.static boolean
less
(Comparable arg1, Comparable arg2, String verificationName, String verificationDescription) Checks whether the first number specified is less than the second for Comparable values.static boolean
less
(Comparable arg1, Comparable arg2, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether the first number specified is less than the second for Comparable values.static boolean
lessOrEqual
(double arg1, double arg2) Checks whether the first number specified is less than or equal to the second for double values.static boolean
lessOrEqual
(double arg1, double arg2, String verificationName) Checks whether the first number specified is less than or equal to the second for double values.static boolean
lessOrEqual
(double arg1, double arg2, String verificationName, String verificationDescription) Checks whether the first number specified is less than or equal to the second for double values.static boolean
lessOrEqual
(double arg1, double arg2, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether the first number specified is less than or equal to the second for double values.static boolean
lessOrEqual
(float arg1, float arg2) Checks whether the first number specified is less than or equal to the second for float values.static boolean
lessOrEqual
(float arg1, float arg2, String verificationName) Checks whether the first number specified is less than or equal to the second for float values.static boolean
lessOrEqual
(float arg1, float arg2, String verificationName, String verificationDescription) Checks whether the first number specified is less than or equal to the second for float values.static boolean
lessOrEqual
(float arg1, float arg2, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether the first number specified is less than or equal to the second for float values.static boolean
lessOrEqual
(int arg1, int arg2) Checks whether the first number specified is less than or equal to the second for integer values.static boolean
lessOrEqual
(int arg1, int arg2, String verificationName) Checks whether the first number specified is less than or equal to the second for integer values.static boolean
lessOrEqual
(int arg1, int arg2, String verificationName, String verificationDescription) Checks whether the first number specified is less than or equal to the second for integer values.static boolean
lessOrEqual
(int arg1, int arg2, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether the first number specified is less than or equal to the second for integer values.static boolean
lessOrEqual
(long arg1, long arg2) Checks whether the first number specified is less than or equal to the second for long values.static boolean
lessOrEqual
(long arg1, long arg2, String verificationName) Checks whether the first number specified is less than or equal to the second for long values.static boolean
lessOrEqual
(long arg1, long arg2, String verificationName, String verificationDescription) Checks whether the first number specified is less than or equal to the second for long values.static boolean
lessOrEqual
(long arg1, long arg2, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether the first number specified is less than or equal to the second for long values.static boolean
lessOrEqual
(short arg1, short arg2) Checks whether the first number specified is less than or equal to the second for short values.static boolean
lessOrEqual
(short arg1, short arg2, String verificationName) Checks whether the first number specified is less than or equal to the second for short values.static boolean
lessOrEqual
(short arg1, short arg2, String verificationName, String verificationDescription) Checks whether the first number specified is less than or equal to the second for short values.static boolean
lessOrEqual
(short arg1, short arg2, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether the first number specified is less than or equal to the second for short values.static boolean
lessOrEqual
(Comparable arg1, Comparable arg2) Checks whether the first number specified is less than or equal to the second for Comparable values.static boolean
lessOrEqual
(Comparable arg1, Comparable arg2, String verificationName) Checks whether the first number specified is less than or equal to the second for Comparable values.static boolean
lessOrEqual
(Comparable arg1, Comparable arg2, String verificationName, String verificationDescription) Checks whether the first number specified is less than or equal to the second for Comparable values.static boolean
lessOrEqual
(Comparable arg1, Comparable arg2, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether the first number specified is less than or equal to the second for Comparable values.static boolean
startsWith
(String prefix, String source) Checks whether the 'expected' string is the first part of the 'actual' string.static boolean
startsWith
(String prefix, String source, String verificationName) Checks whether the 'expected' string is the first part of the 'actual' string.static boolean
startsWith
(String prefix, String source, String verificationName, String verificationDescription) Checks whether the 'expected' string is the first part of the 'actual' string.static boolean
startsWith
(String prefix, String source, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether the 'expected' string is the first part of the 'actual' string.
-
Constructor Details
-
Verify
public Verify()
-
-
Method Details
-
greaterOrEqual
public static boolean greaterOrEqual(int arg1, int arg2) Checks whether the first number specified is greater than or equal to the second for integer values.- Parameters:
arg1
- the first value, expected to be the larger number.arg2
- the second value, expected to be the smaller number.- Returns:
- true if the first number specified is greater than or equal to the second for integer values.
-
greaterOrEqual
public static boolean greaterOrEqual(long arg1, long arg2) Checks whether the first number specified is greater than or equal to the second for long values.- Parameters:
arg1
- the first value, expected to be the larger number.arg2
- the second value, expected to be the smaller number.- Returns:
- true if the first number specified is greater than or equal to the second for long values.
-
greaterOrEqual
public static boolean greaterOrEqual(short arg1, short arg2) Checks whether the first number specified is greater than or equal to the second for short values.- Parameters:
arg1
- the first value, expected to be the larger number.arg2
- the second value, expected to be the smaller number.- Returns:
- true if the first number specified is greater than or equal to the second for short values.
-
greaterOrEqual
public static boolean greaterOrEqual(double arg1, double arg2) Checks whether the first number specified is greater than or equal to the second for double values.- Parameters:
arg1
- the first value, expected to be the larger number.arg2
- the second value, expected to be the smaller number.- Returns:
- true if the first number specified is greater than or equal to the second for double values.
-
greaterOrEqual
public static boolean greaterOrEqual(float arg1, float arg2) Checks whether the first number specified is greater than or equal to the second for float values.- Parameters:
arg1
- the first value, expected to be the larger number.arg2
- the second value, expected to be the smaller number.- Returns:
- true if the first number specified is greater than or equal to the second for float values.
-
greaterOrEqual
Checks whether the first number specified is greater than or equal to the second for Comparable values.- Parameters:
arg1
- the first value, expected to be the larger number.arg2
- the second value, expected to be the smaller number.- Returns:
- true if the first number specified is greater than or equal to the second for Comparable values.
-
greaterOrEqual
Checks whether the first number specified is greater than or equal to the second for integer values.- Parameters:
arg1
- the first value, expected to be the larger number.arg2
- the second value, expected to be the smaller number.verificationName
- the verification title.- Returns:
- true if the first number specified is greater than or equal to the second for integer values.
-
greaterOrEqual
Checks whether the first number specified is greater than or equal to the second for long values.- Parameters:
arg1
- the first value, expected to be the larger number.arg2
- the second value, expected to be the smaller number.verificationName
- the verification title.- Returns:
- true if the first number specified is greater than or equal to the second for long values.
-
greaterOrEqual
Checks whether the first number specified is greater than or equal to the second for short values.- Parameters:
arg1
- the first value, expected to be the larger number.arg2
- the second value, expected to be the smaller number.verificationName
- the verification title.- Returns:
- true if the first number specified is greater than or equal to the second for short values.
-
greaterOrEqual
Checks whether the first number specified is greater than or equal to the second for double values.- Parameters:
arg1
- the first value, expected to be the larger number.arg2
- the second value, expected to be the smaller number.verificationName
- the verification title.- Returns:
- true if the first number specified is greater than or equal to the second for double values.
-
greaterOrEqual
Checks whether the first number specified is greater than or equal to the second for float values.- Parameters:
arg1
- the first value, expected to be the larger number.arg2
- the second value, expected to be the smaller number.verificationName
- the verification title.- Returns:
- true if the first number specified is greater than or equal to the second for float values.
-
greaterOrEqual
Checks whether the first number specified is greater than or equal to the second for Comparable values.- Parameters:
arg1
- the first value, expected to be the larger number.arg2
- the second value, expected to be the smaller number.verificationName
- the verification title.- Returns:
- true if the first number specified is greater than or equal to the second for Comparable values.
-
greaterOrEqual
public static boolean greaterOrEqual(int arg1, int arg2, String verificationName, String verificationDescription) Checks whether the first number specified is greater than or equal to the second for integer values.- Parameters:
arg1
- the first value, expected to be the larger number.arg2
- the second value, expected to be the smaller number.verificationName
- the verification title.verificationDescription
- the verification description.- Returns:
- true if the first number specified is greater than or equal to the second for integer integer.
-
greaterOrEqual
public static boolean greaterOrEqual(long arg1, long arg2, String verificationName, String verificationDescription) Checks whether the first number specified is greater than or equal to the second for long values.- Parameters:
arg1
- the first value, expected to be the larger number.arg2
- the second value, expected to be the smaller number.verificationName
- the verification title.verificationDescription
- the verification description.- Returns:
- true if the first number specified is greater than or equal to the second for long values.
-
greaterOrEqual
public static boolean greaterOrEqual(short arg1, short arg2, String verificationName, String verificationDescription) Checks whether the first number specified is greater than or equal to the second for short values.- Parameters:
arg1
- the first value, expected to be the larger number.arg2
- the second value, expected to be the smaller number.verificationName
- the verification title.verificationDescription
- the verification description.- Returns:
- true if the first number specified is greater than or equal to the second for short values.
-
greaterOrEqual
public static boolean greaterOrEqual(double arg1, double arg2, String verificationName, String verificationDescription) Checks whether the first number specified is greater than or equal to the second for double values.- Parameters:
arg1
- the first value, expected to be the larger number.arg2
- the second value, expected to be the smaller number.verificationName
- the verification title.verificationDescription
- the verification description.- Returns:
- true if the first number specified is greater than or equal to the second for double values.
-
greaterOrEqual
public static boolean greaterOrEqual(float arg1, float arg2, String verificationName, String verificationDescription) Checks whether the first number specified is greater than or equal to the second for float values.- Parameters:
arg1
- the first value, expected to be the larger number.arg2
- the second value, expected to be the smaller number.verificationName
- the verification title.verificationDescription
- the verification description.- Returns:
- true if the first number specified is greater than or equal to the second for float values.
-
greaterOrEqual
public static boolean greaterOrEqual(Comparable arg1, Comparable arg2, String verificationName, String verificationDescription) Checks whether the first number specified is greater than or equal to the second for Comparable values.- Parameters:
arg1
- the first value, expected to be the larger number.arg2
- the second value, expected to be the smaller number.verificationName
- the verification title.verificationDescription
- the verification description.- Returns:
- true if the first number specified is greater than or equal to the second for Comparable values.
-
greaterOrEqual
public static boolean greaterOrEqual(int arg1, int arg2, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether the first number specified is greater than or equal to the second for integer values.- Parameters:
arg1
- the first value, expected to be the larger number.arg2
- the second value, expected to be the smaller number.verificationName
- the verification title.verificationDescription
- the verification description.verificationImage
- an image related to the verification.- Returns:
- true if the first number specified is greater than or equal to the second for integer integer.
-
greaterOrEqual
public static boolean greaterOrEqual(long arg1, long arg2, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether the first number specified is greater than or equal to the second for long values.- Parameters:
arg1
- the first value, expected to be the larger number.arg2
- the second value, expected to be the smaller number.verificationName
- the verification title.verificationDescription
- the verification description.verificationImage
- an image related to the verification.- Returns:
- true if the first number specified is greater than or equal to the second for long values.
-
greaterOrEqual
public static boolean greaterOrEqual(short arg1, short arg2, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether the first number specified is greater than or equal to the second for short values.- Parameters:
arg1
- the first value, expected to be the larger number.arg2
- the second value, expected to be the smaller number.verificationName
- the verification title.verificationDescription
- the verification description.verificationImage
- an image related to the verification.- Returns:
- true if the first number specified is greater than or equal to the second for short values.
-
greaterOrEqual
public static boolean greaterOrEqual(double arg1, double arg2, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether the first number specified is greater than or equal to the second for double values.- Parameters:
arg1
- the first value, expected to be the larger number.arg2
- the second value, expected to be the smaller number.verificationName
- the verification title.verificationDescription
- the verification description.verificationImage
- an image related to the verification.- Returns:
- true if the first number specified is greater than or equal to the second for double values.
-
greaterOrEqual
public static boolean greaterOrEqual(float arg1, float arg2, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether the first number specified is greater than or equal to the second for float values.- Parameters:
arg1
- the first value, expected to be the larger number.arg2
- the second value, expected to be the smaller number.verificationName
- the verification title.verificationDescription
- the verification description.verificationImage
- an image related to the verification.- Returns:
- true if the first number specified is greater than or equal to the second for float values.
-
greaterOrEqual
public static boolean greaterOrEqual(Comparable arg1, Comparable arg2, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether the first number specified is greater than or equal to the second for Comparable values.- Parameters:
arg1
- the first value, expected to be the larger number.arg2
- the second value, expected to be the smaller number.verificationName
- the verification title.verificationDescription
- the verification description.verificationImage
- an image related to the verification.- Returns:
- true if the first number specified is greater than or equal to the second for Comparable values.
-
lessOrEqual
public static boolean lessOrEqual(int arg1, int arg2) Checks whether the first number specified is less than or equal to the second for integer values.- Parameters:
arg1
- the first value, expected to be the smaller number.arg2
- the second value, expected to be the larger number.- Returns:
- true if the first number specified is less than or equal to the second for integer values.
-
lessOrEqual
public static boolean lessOrEqual(long arg1, long arg2) Checks whether the first number specified is less than or equal to the second for long values.- Parameters:
arg1
- the first value, expected to be the smaller number.arg2
- the second value, expected to be the larger number.- Returns:
- true if the first number specified is less than or equal to the second for long values.
-
lessOrEqual
public static boolean lessOrEqual(double arg1, double arg2) Checks whether the first number specified is less than or equal to the second for double values.- Parameters:
arg1
- the first value, expected to be the smaller number.arg2
- the second value, expected to be the larger number.- Returns:
- true if the first number specified is less than or equal to the second for double values.
-
lessOrEqual
public static boolean lessOrEqual(float arg1, float arg2) Checks whether the first number specified is less than or equal to the second for float values.- Parameters:
arg1
- the first value, expected to be the smaller number.arg2
- the second value, expected to be the larger number.- Returns:
- true if the first number specified is less than or equal to the second for float values.
-
lessOrEqual
public static boolean lessOrEqual(short arg1, short arg2) Checks whether the first number specified is less than or equal to the second for short values.- Parameters:
arg1
- the first value, expected to be the smaller number.arg2
- the second value, expected to be the larger number.- Returns:
- true if the first number specified is less than or equal to the second for short values.
-
lessOrEqual
Checks whether the first number specified is less than or equal to the second for Comparable values.- Parameters:
arg1
- the first value, expected to be the smaller number.arg2
- the second value, expected to be the larger number.- Returns:
- true if the first number specified is less than or equal to the second for Comparable values.
-
lessOrEqual
public static boolean lessOrEqual(int arg1, int arg2, String verificationName, String verificationDescription) Checks whether the first number specified is less than or equal to the second for integer values.- Parameters:
arg1
- the first value, expected to be the smaller number.arg2
- the second value, expected to be the larger number.verificationName
- the verification title.verificationDescription
- the verification description.- Returns:
- true if the first number specified is less than or equal to the second for integer values.
-
lessOrEqual
public static boolean lessOrEqual(long arg1, long arg2, String verificationName, String verificationDescription) Checks whether the first number specified is less than or equal to the second for long values.- Parameters:
arg1
- the first value, expected to be the smaller number.arg2
- the second value, expected to be the larger number.verificationName
- the verification title.verificationDescription
- the verification description.- Returns:
- true if the first number specified is less than or equal to the second for long values.
-
lessOrEqual
public static boolean lessOrEqual(double arg1, double arg2, String verificationName, String verificationDescription) Checks whether the first number specified is less than or equal to the second for double values.- Parameters:
arg1
- the first value, expected to be the smaller number.arg2
- the second value, expected to be the larger number.verificationName
- the verification title.verificationDescription
- the verification description.- Returns:
- true if the first number specified is less than or equal to the second for double values.
-
lessOrEqual
public static boolean lessOrEqual(float arg1, float arg2, String verificationName, String verificationDescription) Checks whether the first number specified is less than or equal to the second for float values.- Parameters:
arg1
- the first value, expected to be the smaller number.arg2
- the second value, expected to be the larger number.verificationName
- the verification title.verificationDescription
- the verification description.- Returns:
- true if the first number specified is less than or equal to the second for float values.
-
lessOrEqual
public static boolean lessOrEqual(short arg1, short arg2, String verificationName, String verificationDescription) Checks whether the first number specified is less than or equal to the second for short values.- Parameters:
arg1
- the first value, expected to be the smaller number.arg2
- the second value, expected to be the larger number.verificationName
- the verification title.verificationDescription
- the verification description.- Returns:
- true if the first number specified is less than or equal to the second for short values.
-
lessOrEqual
public static boolean lessOrEqual(Comparable arg1, Comparable arg2, String verificationName, String verificationDescription) Checks whether the first number specified is less than or equal to the second for Comparable values.- Parameters:
arg1
- the first value, expected to be the smaller number.arg2
- the second value, expected to be the larger number.verificationName
- the verification title.verificationDescription
- the verification description.- Returns:
- true if the first number specified is less than or equal to the second for Comparable values.
-
lessOrEqual
public static boolean lessOrEqual(int arg1, int arg2, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether the first number specified is less than or equal to the second for integer values.- Parameters:
arg1
- the first value, expected to be the smaller number.arg2
- the second value, expected to be the larger number.verificationName
- the verification title.verificationDescription
- the verification description.verificationImage
- an image related to the verification.- Returns:
- true if the first number specified is less than or equal to the second for integer values.
-
lessOrEqual
public static boolean lessOrEqual(long arg1, long arg2, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether the first number specified is less than or equal to the second for long values.- Parameters:
arg1
- the first value, expected to be the smaller number.arg2
- the second value, expected to be the larger number.verificationName
- the verification title.verificationDescription
- the verification description.verificationImage
- an image related to the verification.- Returns:
- true if the first number specified is less than or equal to the second for long values.
-
lessOrEqual
public static boolean lessOrEqual(double arg1, double arg2, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether the first number specified is less than or equal to the second for double values.- Parameters:
arg1
- the first value, expected to be the smaller number.arg2
- the second value, expected to be the larger number.verificationName
- the verification title.verificationDescription
- the verification description.verificationImage
- an image related to the verification.- Returns:
- true if the first number specified is less than or equal to the second for double values.
-
lessOrEqual
public static boolean lessOrEqual(float arg1, float arg2, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether the first number specified is less than or equal to the second for float values.- Parameters:
arg1
- the first value, expected to be the smaller number.arg2
- the second value, expected to be the larger number.verificationName
- the verification title.verificationDescription
- the verification description.verificationImage
- an image related to the verification.- Returns:
- true if the first number specified is less than or equal to the second for float values.
-
lessOrEqual
public static boolean lessOrEqual(short arg1, short arg2, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether the first number specified is less than or equal to the second for short values.- Parameters:
arg1
- the first value, expected to be the smaller number.arg2
- the second value, expected to be the larger number.verificationName
- the verification title.verificationDescription
- the verification description.verificationImage
- an image related to the verification.- Returns:
- true if the first number specified is less than or equal to the second for short values.
-
lessOrEqual
public static boolean lessOrEqual(Comparable arg1, Comparable arg2, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether the first number specified is less than or equal to the second for Comparable values.- Parameters:
arg1
- the first value, expected to be the smaller number.arg2
- the second value, expected to be the larger number.verificationName
- the verification title.verificationDescription
- the verification description.verificationImage
- an image related to the verification.- Returns:
- true if the first number specified is less than or equal to the second for Comparable values.
-
lessOrEqual
Checks whether the first number specified is less than or equal to the second for integer values.- Parameters:
arg1
- the first value, expected to be the smaller number.arg2
- the second value, expected to be the larger number.verificationName
- the verification title.- Returns:
- true if the first number specified is less than or equal to the second for integer values.
-
lessOrEqual
Checks whether the first number specified is less than or equal to the second for long values.- Parameters:
arg1
- the first value, expected to be the smaller number.arg2
- the second value, expected to be the larger number.verificationName
- the verification title.- Returns:
- true if the first number specified is less than or equal to the second for long values.
-
lessOrEqual
Checks whether the first number specified is less than or equal to the second for double values.- Parameters:
arg1
- the first value, expected to be the smaller number.arg2
- the second value, expected to be the larger number.verificationName
- the verification title.- Returns:
- true if the first number specified is less than or equal to the second for double values.
-
lessOrEqual
Checks whether the first number specified is less than or equal to the second for float values.- Parameters:
arg1
- the first value, expected to be the smaller number.arg2
- the second value, expected to be the larger number.verificationName
- the verification title.- Returns:
- true if the first number specified is less than or equal to the second for float values.
-
lessOrEqual
Checks whether the first number specified is less than or equal to the second for short values.- Parameters:
arg1
- the first value, expected to be the smaller number.arg2
- the second value, expected to be the larger number.verificationName
- the verification title.- Returns:
- true if the first number specified is less than or equal to the second for short values.
-
lessOrEqual
Checks whether the first number specified is less than or equal to the second for Comparable values.- Parameters:
arg1
- the first value, expected to be the smaller number.arg2
- the second value, expected to be the larger number.verificationName
- the verification title.- Returns:
- true if the first number specified is less than or equal to the second for Comparable values.
-
contains
public static boolean contains(Iterable collection, Object element, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether the provided collection contains the object provided in the second argument.- Parameters:
collection
- the collection to check.element
- the object to search for.verificationName
- the verification title.verificationDescription
- the verification description.verificationImage
- an image related to the verification.- Returns:
- true if the provided collection contains the object provided in the second argument.
-
contains
public static boolean contains(Iterable collection, Object element, String verificationName, String verificationDescription) Checks whether the provided collection contains the object provided in the second argument.- Parameters:
collection
- the collection to check.element
- the object to search for.verificationName
- the verification title.verificationDescription
- the verification description.- Returns:
- true if the provided collection contains the object provided in the second argument.
-
contains
Checks whether the provided collection contains the object provided in the second argument.- Parameters:
collection
- the collection to check.element
- the object to search for.verificationName
- the verification title.- Returns:
- true if the provided collection contains the object provided in the second argument.
-
contains
Checks whether the provided collection contains the object provided in the second argument.- Parameters:
collection
- the collection to check.element
- the object to search for.- Returns:
- true if the provided collection contains the object provided in the second argument.
-
areEqual
public static boolean areEqual(Iterable expected, Iterable actual, String verificationName, String verificationDescription) Checks whether two Iterable values are equal.- Parameters:
expected
- the expected value.actual
- the actual value.verificationName
- the verification title.verificationDescription
- the verification description.- Returns:
- true if two Iterable values are equal.
-
areEqual
public static boolean areEqual(Iterable expected, Iterable actual, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether two Iterable values are equal.- Parameters:
expected
- the expected value.actual
- the actual value.verificationName
- the verification title.verificationDescription
- the verification description.verificationImage
- an image related to the verification.- Returns:
- true if two Iterable values are equal.
-
areEqual
Checks whether two Iterable values are equal.- Parameters:
expected
- the expected value.actual
- the actual value.verificationName
- the verification title.- Returns:
- true if two Iterable values are equal.
-
areEqual
Checks whether two Iterable values are equal.- Parameters:
expected
- the expected value.actual
- the actual value.- Returns:
- true if two Iterable values are equal.
-
areEqual
public static boolean areEqual(int expected, int actual, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether two integer values are equal.- Parameters:
expected
- the expected value.actual
- the actual value.verificationName
- the verification title.verificationDescription
- the verification description.verificationImage
- an image related to the verification.- Returns:
- true if two integer values are equal.
-
areEqual
public static boolean areEqual(long expected, long actual, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether two long values are equal.- Parameters:
expected
- the expected value.actual
- the actual value.verificationName
- the verification title.verificationDescription
- the verification description.verificationImage
- an image related to the verification.- Returns:
- true if two long values are equal.
-
areEqual
public static boolean areEqual(double expected, double actual, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether two double values are equal.- Parameters:
expected
- the expected value.actual
- the actual value.verificationName
- the verification title.verificationDescription
- the verification description.verificationImage
- an image related to the verification.- Returns:
- true if two double values are equal.
-
areEqual
public static boolean areEqual(short expected, short actual, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether two short values are equal.- Parameters:
expected
- the expected value.actual
- the actual value.verificationName
- the verification title.verificationDescription
- the verification description.verificationImage
- an image related to the verification.- Returns:
- true if two short values are equal.
-
areEqual
public static boolean areEqual(Comparable expected, Comparable actual, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether two Comparable values are equal.- Parameters:
expected
- the expected value.actual
- the actual value.verificationName
- the verification title.verificationDescription
- the verification description.verificationImage
- an image related to the verification.- Returns:
- true if two Comparable values are equal.
-
areEqual
public static boolean areEqual(int expected, int actual, String verificationName, String verificationDescription) Checks whether two integer values are equal.- Parameters:
expected
- the expected value.actual
- the actual value.verificationName
- the verification title.verificationDescription
- the verification description.- Returns:
- true if two integer values are equal.
-
areEqual
public static boolean areEqual(long expected, long actual, String verificationName, String verificationDescription) Checks whether two long values are equal.- Parameters:
expected
- the expected value.actual
- the actual value.verificationName
- the verification title.verificationDescription
- the verification description.- Returns:
- true if two long values are equal.
-
areEqual
public static boolean areEqual(double expected, double actual, String verificationName, String verificationDescription) Checks whether two double values are equal.- Parameters:
expected
- the expected value.actual
- the actual value.verificationName
- the verification title.verificationDescription
- the verification description.- Returns:
- true if two double values are equal.
-
areEqual
public static boolean areEqual(short expected, short actual, String verificationName, String verificationDescription) Checks whether two short values are equal.- Parameters:
expected
- the expected value.actual
- the actual value.verificationName
- the verification title.verificationDescription
- the verification description.- Returns:
- true if two short values are equal.
-
areEqual
public static boolean areEqual(Comparable expected, Comparable actual, String verificationName, String verificationDescription) Checks whether two Comparable values are equal.- Parameters:
expected
- the expected value.actual
- the actual value.verificationName
- the verification title.verificationDescription
- the verification description.- Returns:
- true if two Comparable values are equal.
-
areEqual
Checks whether two integer values are equal.- Parameters:
expected
- the expected value.actual
- the actual value.verificationName
- the verification title.- Returns:
- true if two integer values are equal.
-
areEqual
Checks whether two long values are equal.- Parameters:
expected
- the expected value.actual
- the actual value.verificationName
- the verification title.- Returns:
- true if two long values are equal.
-
areEqual
Checks whether two float values are equal.- Parameters:
expected
- the expected value.actual
- the actual value.verificationName
- the verification title.- Returns:
- true if two float values are equal.
-
areEqual
Checks whether two double values are equal.- Parameters:
expected
- the expected value.actual
- the actual value.verificationName
- the verification title.- Returns:
- true if two double values are equal.
-
areEqual
Checks whether two short values are equal.- Parameters:
expected
- the expected value.actual
- the actual value.verificationName
- the verification title.- Returns:
- true if two short values are equal.
-
areEqual
Checks whether two Comparable values are equal.- Parameters:
expected
- the expected value.actual
- the actual value.verificationName
- the verification title.- Returns:
- true if two Comparable values are equal.
-
areEqual
public static boolean areEqual(int expected, int actual) Checks whether two integer values are equal.- Parameters:
expected
- the expected value.actual
- the actual value.- Returns:
- true if two integer values are equal.
-
areEqual
public static boolean areEqual(long expected, long actual) Checks whether two long values are equal.- Parameters:
expected
- the expected value.actual
- the actual value.- Returns:
- true if two long values are equal.
-
areEqual
public static boolean areEqual(double expected, double actual) Checks whether two double values are equal.- Parameters:
expected
- the expected value.actual
- the actual value.- Returns:
- true if two double values are equal.
-
areEqual
public static boolean areEqual(short expected, short actual) Checks whether two short values are equal.- Parameters:
expected
- the expected value.actual
- the actual value.- Returns:
- true if two short values are equal.
-
areEqual
Checks whether two Comparable values are equal.- Parameters:
expected
- the expected value.actual
- the actual value.- Returns:
- true if two Comparable values are equal.
-
areEqual
public static boolean areEqual(String expected, String actual, String verificationName, String verificationDescription) Checks whether two String values are equal.- Parameters:
expected
- the expected value.actual
- the actual value.verificationName
- the verification title.verificationDescription
- the verification description.- Returns:
- true if two String values are equal.
-
areEqual
Checks whether two String values are equal.- Parameters:
expected
- the expected value.actual
- the actual value.verificationName
- the verification title.- Returns:
- true if two String values are equal.
-
areEqual
Checks whether two String values are equal.- Parameters:
expected
- the expected value.actual
- the actual value.- Returns:
- true if two two String values are equal.
-
areNotEqual
public static boolean areNotEqual(int expected, int actual, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether two integer values are different.- Parameters:
expected
- the expected value.actual
- the actual value.verificationName
- the verification title.verificationDescription
- the verification description.verificationImage
- an image related to the verification.- Returns:
- true if two integer values are different.
-
areNotEqual
public static boolean areNotEqual(long expected, long actual, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether two long values are different.- Parameters:
expected
- the expected value.actual
- the actual value.verificationName
- the verification title.verificationDescription
- the verification description.verificationImage
- an image related to the verification.- Returns:
- true if two long values are different.
-
areNotEqual
public static boolean areNotEqual(Iterable expected, Iterable actual, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether two Iterable values are different.- Parameters:
expected
- the expected value.actual
- the actual value.verificationName
- the verification title.verificationDescription
- the verification description.verificationImage
- an image related to the verification.- Returns:
- true if two Iterable values are different.
-
areNotEqual
public static boolean areNotEqual(double expected, double actual, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether two double values are different.- Parameters:
expected
- the expected value.actual
- the actual value.verificationName
- the verification title.verificationDescription
- the verification description.verificationImage
- an image related to the verification.- Returns:
- true if two double values are different.
-
areNotEqual
public static boolean areNotEqual(short expected, short actual, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether two short values are different.- Parameters:
expected
- the expected value.actual
- the actual value.verificationName
- the verification title.verificationDescription
- the verification description.verificationImage
- an image related to the verification.- Returns:
- true if two short values are different.
-
areNotEqual
public static boolean areNotEqual(Comparable expected, Comparable actual, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether two Comparable values are different.- Parameters:
expected
- the expected value.actual
- the actual value.verificationName
- the verification title.verificationDescription
- the verification description.verificationImage
- an image related to the verification.- Returns:
- true if two Comparable values are different.
-
areNotEqual
public static boolean areNotEqual(int expected, int actual, String verificationName, String verificationDescription) Checks whether two integer values are different.- Parameters:
expected
- the expected value.actual
- the actual value.verificationName
- the verification title.verificationDescription
- the verification description.- Returns:
- true if two integer values are different.
-
areNotEqual
public static boolean areNotEqual(long expected, long actual, String verificationName, String verificationDescription) Checks whether two long values are different.- Parameters:
expected
- the expected value.actual
- the actual value.verificationName
- the verification title.verificationDescription
- the verification description.- Returns:
- true if two long values are different.
-
areNotEqual
public static boolean areNotEqual(Iterable expected, Iterable actual, String verificationName, String verificationDescription) Checks whether two Iterable values are different.- Parameters:
expected
- the expected value.actual
- the actual value.verificationName
- the verification title.verificationDescription
- the verification description.- Returns:
- true if two Iterable values are different.
-
areNotEqual
public static boolean areNotEqual(double expected, double actual, String verificationName, String verificationDescription) Checks whether two double values are different.- Parameters:
expected
- the expected value.actual
- the actual value.verificationName
- the verification title.verificationDescription
- the verification description.- Returns:
- true if two double values are different.
-
areNotEqual
public static boolean areNotEqual(short expected, short actual, String verificationName, String verificationDescription) Checks whether two short values are different.- Parameters:
expected
- the expected value.actual
- the actual value.verificationName
- the verification title.verificationDescription
- the verification description.- Returns:
- true if two short values are different.
-
areNotEqual
public static boolean areNotEqual(Comparable expected, Comparable actual, String verificationName, String verificationDescription) Checks whether two Comparable values are different.- Parameters:
expected
- the expected value.actual
- the actual value.verificationName
- the verification title.verificationDescription
- the verification description.- Returns:
- true if two Comparable values are different.
-
areNotEqual
Checks whether two integer values are different.- Parameters:
expected
- the expected value.actual
- the actual value.verificationName
- the verification title.- Returns:
- true if two integer values are different.
-
areNotEqual
Checks whether two long values are different.- Parameters:
expected
- the expected value.actual
- the actual value.verificationName
- the verification title.- Returns:
- true if two long values are different.
-
areNotEqual
Checks whether two double values are different.- Parameters:
expected
- the expected value.actual
- the actual value.verificationName
- the verification title.- Returns:
- true if two double values are different.
-
areNotEqual
Checks whether two short values are different.- Parameters:
expected
- the expected value.actual
- the actual value.verificationName
- the verification title.- Returns:
- true if two short values are different.
-
areNotEqual
Checks whether two Comparable values are different.- Parameters:
expected
- the expected value.actual
- the actual value.verificationName
- the verification title.- Returns:
- true if two Comparable values are different.
-
areNotEqual
public static boolean areNotEqual(int expected, int actual) Checks whether two integer values are different.- Parameters:
expected
- the expected value.actual
- the actual value.- Returns:
- true if two integer values are different.
-
areNotEqual
public static boolean areNotEqual(long expected, long actual) Checks whether two long values are different.- Parameters:
expected
- the expected value.actual
- the actual value.- Returns:
- true if two long values are different.
-
areNotEqual
public static boolean areNotEqual(double expected, double actual) Checks whether two double values are different.- Parameters:
expected
- the expected value.actual
- the actual value.- Returns:
- true if two double values are different.
-
areNotEqual
public static boolean areNotEqual(short expected, short actual) Checks whether two short values are different.- Parameters:
expected
- the expected value.actual
- the actual value.- Returns:
- true if two short values are different.
-
areNotEqual
Checks whether two decimal values are different.- Parameters:
expected
- the expected value.actual
- the actual value.- Returns:
- true if two decimal values are different.
-
areNotEqual
public static boolean areNotEqual(String expected, String actual, String verificationName, String verificationDescription) Checks whether two String values are different.- Parameters:
expected
- the expected value.actual
- the actual value.verificationName
- the verification title.verificationDescription
- the verification description.- Returns:
- true if two String values are different.
-
areNotEqual
Checks whether two String values are different.- Parameters:
expected
- the expected value.actual
- the actual value.verificationName
- the verification title.- Returns:
- true if two String values are different.
-
areNotEqual
Checks whether two String values are different.- Parameters:
expected
- the expected value.actual
- the actual value.- Returns:
- true if two String values are different.
-
areNotEqualIgnoringCase
public static boolean areNotEqualIgnoringCase(String expected, String actual, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether two string values are different, ignoring case.- Parameters:
expected
- the expected string.actual
- the actual string.verificationName
- the verification title.verificationDescription
- the verification description.verificationImage
- an image related to the verification.- Returns:
- true if two string values are different, ignoring case.
-
areNotEqualIgnoringCase
public static boolean areNotEqualIgnoringCase(String expected, String actual, String verificationName, String verificationDescription) Checks whether two string values are different, ignoring case.- Parameters:
expected
- the expected string.actual
- the actual string.verificationName
- the verification title.verificationDescription
- the verification description.- Returns:
- true if two string values are different, ignoring case.
-
areNotEqualIgnoringCase
public static boolean areNotEqualIgnoringCase(String expected, String actual, String verificationName) Checks whether two string values are different, ignoring case.- Parameters:
expected
- the expected string.actual
- the actual string.verificationName
- the verification title.- Returns:
- true if two string values are different, ignoring case.
-
areNotEqualIgnoringCase
Checks whether two string values are different, ignoring case.- Parameters:
expected
- the expected string.actual
- the actual string.- Returns:
- true if two string values are different, ignoring case.
-
greater
public static boolean greater(int arg1, int arg2, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether the first number specified is greater than the second for integer values.- Parameters:
arg1
- the first value, expected to be the larger number.arg2
- the second value, expected to be the smaller number.verificationName
- the verification title.verificationDescription
- the verification description.- Returns:
- true if the first number specified is greater than the second for integer values.
-
greater
public static boolean greater(long arg1, long arg2, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether the first number specified is greater than the second for long values.- Parameters:
arg1
- the first value, expected to be the larger number.arg2
- the second value, expected to be the smaller number.verificationName
- the verification title.verificationDescription
- the verification description.- Returns:
- true if the first number specified is greater than the second for long values.
-
greater
public static boolean greater(double arg1, double arg2, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether the first number specified is greater than the second for double values.- Parameters:
arg1
- the first value, expected to be the larger number.arg2
- the second value, expected to be the smaller number.verificationName
- the verification title.verificationDescription
- the verification description.- Returns:
- true if the first number specified is greater than the second for double values.
-
greater
public static boolean greater(float arg1, float arg2, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether the first number specified is greater than the second for float values.- Parameters:
arg1
- the first value, expected to be the larger number.arg2
- the second value, expected to be the smaller number.verificationName
- the verification title.verificationDescription
- the verification description.- Returns:
- true if the first number specified is greater than the second for float values.
-
greater
public static boolean greater(short arg1, short arg2, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether the first number specified is greater than the second for short values.- Parameters:
arg1
- the first value, expected to be the larger number.arg2
- the second value, expected to be the smaller number.verificationName
- the verification title.verificationDescription
- the verification description.- Returns:
- true if the first number specified is greater than the second for short values.
-
greater
public static boolean greater(Comparable arg1, Comparable arg2, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether the first number specified is greater than the second for Comparable values.- Parameters:
arg1
- the first value, expected to be the larger number.arg2
- the second value, expected to be the smaller number.verificationName
- the verification title.verificationDescription
- the verification description.- Returns:
- true if the first number specified is greater than the second for Comparable values.
-
greater
public static boolean greater(int arg1, int arg2, String verificationName, String verificationDescription) Checks whether the first number specified is greater than the second for integer values.- Parameters:
arg1
- the first value, expected to be the larger number.arg2
- the second value, expected to be the smaller number.verificationName
- the verification title.verificationDescription
- the verification description.- Returns:
- true if the first number specified is greater than the second for integer values.
-
greater
public static boolean greater(long arg1, long arg2, String verificationName, String verificationDescription) Checks whether the first number specified is greater than the second for long values.- Parameters:
arg1
- the first value, expected to be the larger number.arg2
- the second value, expected to be the smaller number.verificationName
- the verification title.verificationDescription
- the verification description.- Returns:
- true if the first number specified is greater than the second for long values.
-
greater
public static boolean greater(double arg1, double arg2, String verificationName, String verificationDescription) Checks whether the first number specified is greater than the second for double values.- Parameters:
arg1
- the first value, expected to be the larger number.arg2
- the second value, expected to be the smaller number.verificationName
- the verification title.verificationDescription
- the verification description.- Returns:
- true if the first number specified is greater than the second for double values.
-
greater
public static boolean greater(float arg1, float arg2, String verificationName, String verificationDescription) Checks whether the first number specified is greater than the second for float values.- Parameters:
arg1
- the first value, expected to be the larger number.arg2
- the second value, expected to be the smaller number.verificationName
- the verification title.verificationDescription
- the verification description.- Returns:
- true if the first number specified is greater than the second for float values.
-
greater
public static boolean greater(short arg1, short arg2, String verificationName, String verificationDescription) Checks whether the first number specified is greater than the second for short values.- Parameters:
arg1
- the first value, expected to be the larger number.arg2
- the second value, expected to be the smaller number.verificationName
- the verification title.verificationDescription
- the verification description.- Returns:
- true if the first number specified is greater than the second for short values.
-
greater
public static boolean greater(Comparable arg1, Comparable arg2, String verificationName, String verificationDescription) Checks whether the first number specified is greater than the second for Comparable values.- Parameters:
arg1
- the first value, expected to be the larger number.arg2
- the second value, expected to be the smaller number.verificationName
- the verification title.verificationDescription
- the verification description.- Returns:
- true if the first number specified is greater than the second for Comparable values.
-
greater
Checks whether the first number specified is greater than the second for integer values.- Parameters:
arg1
- the first value, expected to be the larger number.arg2
- the second value, expected to be the smaller number.verificationName
- the verification title.- Returns:
- true if the first number specified is greater than the second for integer values.
-
greater
Checks whether the first number specified is greater than the second for long values.- Parameters:
arg1
- the first value, expected to be the larger number.arg2
- the second value, expected to be the smaller number.verificationName
- the verification title.- Returns:
- true if the first number specified is greater than the second for long values.
-
greater
Checks whether the first number specified is greater than the second for double values.- Parameters:
arg1
- the first value, expected to be the larger number.arg2
- the second value, expected to be the smaller number.verificationName
- the verification title.- Returns:
- true if the first number specified is greater than the second for double values.
-
greater
Checks whether the first number specified is greater than the second for float values.- Parameters:
arg1
- the first value, expected to be the larger number.arg2
- the second value, expected to be the smaller number.verificationName
- the verification title.- Returns:
- true if the first number specified is greater than the second for float values.
-
greater
Checks whether the first number specified is greater than the second for short values.- Parameters:
arg1
- the first value, expected to be the larger number.arg2
- the second value, expected to be the smaller number.verificationName
- the verification title.- Returns:
- true if the first number specified is greater than the second for short values.
-
greater
Checks whether the first number specified is greater than the second for Comparable values.- Parameters:
arg1
- the first value, expected to be the larger number.arg2
- the second value, expected to be the smaller number.verificationName
- the verification title.- Returns:
- true if the first number specified is greater than the second for Comparable values.
-
greater
public static boolean greater(int arg1, int arg2) Checks whether the first number specified is greater than the second for integer values.- Parameters:
arg1
- the first value, expected to be the larger number.arg2
- the second value, expected to be the smaller number.- Returns:
- true if the first number specified is greater than the second for integer values.
-
greater
public static boolean greater(long arg1, long arg2) Checks whether the first number specified is greater than the second for long values.- Parameters:
arg1
- the first value, expected to be the larger number.arg2
- the second value, expected to be the smaller number.- Returns:
- true if the first number specified is greater than the second for long values.
-
greater
public static boolean greater(double arg1, double arg2) Checks whether the first number specified is greater than the second for double values.- Parameters:
arg1
- the first value, expected to be the larger number.arg2
- the second value, expected to be the smaller number.- Returns:
- true if the first number specified is greater than the second for double values.
-
greater
public static boolean greater(float arg1, float arg2) Checks whether the first number specified is greater than the second for float values.- Parameters:
arg1
- the first value, expected to be the larger number.arg2
- the second value, expected to be the smaller number.- Returns:
- true if the first number specified is greater than the second for float values.
-
greater
public static boolean greater(short arg1, short arg2) Checks whether the first number specified is greater than the second for short values.- Parameters:
arg1
- the first value, expected to be the larger number.arg2
- the second value, expected to be the smaller number.- Returns:
- true if the first number specified is greater than the second for short values.
-
greater
Checks whether the first number specified is greater than the second for Comparable values.- Parameters:
arg1
- the first value, expected to be the larger number.arg2
- the second value, expected to be the smaller number.- Returns:
- true if the first number specified is greater than the second for Comparable values.
-
less
public static boolean less(int arg1, int arg2, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether the first number specified is less than the second for integer values.- Parameters:
arg1
- the first value, expected to be the smaller number.arg2
- the second value, expected to be the larger number.verificationName
- the verification title.verificationDescription
- the verification description.verificationImage
- an image related to the verification.- Returns:
- true if the first number specified is less than the second for integer values.
-
less
public static boolean less(long arg1, long arg2, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether the first number specified is less than the second for long values.- Parameters:
arg1
- the first value, expected to be the smaller number.arg2
- the second value, expected to be the larger number.verificationName
- the verification title.verificationDescription
- the verification description.verificationImage
- an image related to the verification.- Returns:
- true if the first number specified is less than the second for long values.
-
less
public static boolean less(double arg1, double arg2, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether the first number specified is less than the second for double values.- Parameters:
arg1
- the first value, expected to be the smaller number.arg2
- the second value, expected to be the larger number.verificationName
- the verification title.verificationDescription
- the verification description.verificationImage
- an image related to the verification.- Returns:
- true if the first number specified is less than the second for double values.
-
less
public static boolean less(float arg1, float arg2, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether the first number specified is less than the second for float values.- Parameters:
arg1
- the first value, expected to be the smaller number.arg2
- the second value, expected to be the larger number.verificationName
- the verification title.verificationDescription
- the verification description.verificationImage
- an image related to the verification.- Returns:
- true if the first number specified is less than the second for float values.
-
less
public static boolean less(short arg1, short arg2, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether the first number specified is less than the second for short values.- Parameters:
arg1
- the first value, expected to be the smaller number.arg2
- the second value, expected to be the larger number.verificationName
- the verification title.verificationDescription
- the verification description.verificationImage
- an image related to the verification.- Returns:
- true if the first number specified is less than the second for short values.
-
less
public static boolean less(Comparable arg1, Comparable arg2, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether the first number specified is less than the second for Comparable values.- Parameters:
arg1
- the first value, expected to be the smaller number.arg2
- the second value, expected to be the larger number.verificationName
- the verification title.verificationDescription
- the verification description.verificationImage
- an image related to the verification.- Returns:
- true if the first number specified is less than the second for Comparable values.
-
less
public static boolean less(int arg1, int arg2, String verificationName, String verificationDescription) Checks whether the first number specified is less than the second for integer values.- Parameters:
arg1
- the first value, expected to be the smaller number.arg2
- the second value, expected to be the larger number.verificationName
- the verification title.verificationDescription
- the verification description.- Returns:
- true if the first number specified is less than the second for integer values.
-
less
public static boolean less(long arg1, long arg2, String verificationName, String verificationDescription) Checks whether the first number specified is less than the second for long values.- Parameters:
arg1
- the first value, expected to be the smaller number.arg2
- the second value, expected to be the larger number.verificationName
- the verification title.verificationDescription
- the verification description.- Returns:
- true if the first number specified is less than the second for long values.
-
less
public static boolean less(double arg1, double arg2, String verificationName, String verificationDescription) Checks whether the first number specified is less than the second for double values.- Parameters:
arg1
- the first value, expected to be the smaller number.arg2
- the second value, expected to be the larger number.verificationName
- the verification title.verificationDescription
- the verification description.- Returns:
- true if the first number specified is less than the second for double values.
-
less
public static boolean less(float arg1, float arg2, String verificationName, String verificationDescription) Checks whether the first number specified is less than the second for float values.- Parameters:
arg1
- the first value, expected to be the smaller number.arg2
- the second value, expected to be the larger number.verificationName
- the verification title.verificationDescription
- the verification description.- Returns:
- true if the first number specified is less than the second for float values.
-
less
public static boolean less(short arg1, short arg2, String verificationName, String verificationDescription) Checks whether the first number specified is less than the second for short values.- Parameters:
arg1
- the first value, expected to be the smaller number.arg2
- the second value, expected to be the larger number.verificationName
- the verification title.verificationDescription
- the verification description.- Returns:
- true if the first number specified is less than the second for short values.
-
less
public static boolean less(Comparable arg1, Comparable arg2, String verificationName, String verificationDescription) Checks whether the first number specified is less than the second for Comparable values.- Parameters:
arg1
- the first value, expected to be the smaller number.arg2
- the second value, expected to be the larger number.verificationName
- the verification title.verificationDescription
- the verification description.- Returns:
- true if the first number specified is less than the second for Comparable values.
-
less
Checks whether the first number specified is less than the second for integer values.- Parameters:
arg1
- the first value, expected to be the smaller number.arg2
- the second value, expected to be the larger number.verificationName
- the verification title.- Returns:
- true if the first number specified is less than the second for integer values.
-
less
Checks whether the first number specified is less than the second for long values.- Parameters:
arg1
- the first value, expected to be the smaller number.arg2
- the second value, expected to be the larger number.verificationName
- the verification title.- Returns:
- true if the first number specified is less than the second for long values.
-
less
Checks whether the first number specified is less than the second for double values.- Parameters:
arg1
- the first value, expected to be the smaller number.arg2
- the second value, expected to be the larger number.verificationName
- the verification title.- Returns:
- true if the first number specified is less than the second for double values.
-
less
Checks whether the first number specified is less than the second for float values.- Parameters:
arg1
- the first value, expected to be the smaller number.arg2
- the second value, expected to be the larger number.verificationName
- the verification title.- Returns:
- true if the first number specified is less than the second for float values.
-
less
Checks whether the first number specified is less than the second for short values.- Parameters:
arg1
- the first value, expected to be the smaller number.arg2
- the second value, expected to be the larger number.verificationName
- the verification title.- Returns:
- true if the first number specified is less than the second for short values.
-
less
Checks whether the first number specified is less than the second for Comparable values.- Parameters:
arg1
- the first value, expected to be the smaller number.arg2
- the second value, expected to be the larger number.verificationName
- the verification title.- Returns:
- true if the first number specified is less than the second for Comparable values.
-
less
public static boolean less(int arg1, int arg2) Checks whether the first number specified is less than the second for integer values.- Parameters:
arg1
- the first value, expected to be the smaller number.arg2
- the second value, expected to be the larger number.- Returns:
- true if the first number specified is less than the second for integer values.
-
less
public static boolean less(long arg1, long arg2) Checks whether the first number specified is less than the second for long values.- Parameters:
arg1
- the first value, expected to be the smaller number.arg2
- the second value, expected to be the larger number.- Returns:
- true if the first number specified is less than the second for long values.
-
less
public static boolean less(double arg1, double arg2) Checks whether the first number specified is less than the second for double values.- Parameters:
arg1
- the first value, expected to be the smaller number.arg2
- the second value, expected to be the larger number.- Returns:
- true if the first number specified is less than the second for double values.
-
less
public static boolean less(float arg1, float arg2) Checks whether the first number specified is less than the second for float values.- Parameters:
arg1
- the first value, expected to be the smaller number.arg2
- the second value, expected to be the larger number.- Returns:
- true if the first number specified is less than the second for float values.
-
less
public static boolean less(short arg1, short arg2) Checks whether the first number specified is less than the second for short values.- Parameters:
arg1
- the first value, expected to be the smaller number.arg2
- the second value, expected to be the larger number.- Returns:
- true if the first number specified is less than the second for short values.
-
less
Checks whether the first number specified is less than the second for Comparable values.- Parameters:
arg1
- the first value, expected to be the smaller number.arg2
- the second value, expected to be the larger number.- Returns:
- true if the first number specified is less than the second for Comparable values.
-
isTrue
public static boolean isTrue(boolean condition, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether the specified condition is true.- Parameters:
condition
- the condition to check.verificationName
- the verification title.verificationDescription
- the verification description.verificationImage
- an image related to the verification.- Returns:
- true if the specified condition is true.
-
isTrue
public static boolean isTrue(boolean condition, String verificationName, String verificationDescription) Checks whether the specified condition is true.- Parameters:
condition
- the condition to check.verificationName
- the verification title.verificationDescription
- the verification description.- Returns:
- true if the specified condition is true.
-
isTrue
Checks whether the specified condition is true.- Parameters:
condition
- the condition to check.verificationName
- the verification title.- Returns:
- true if the specified condition is true.
-
isTrue
public static boolean isTrue(boolean condition) Checks whether the specified condition is true.- Parameters:
condition
- the condition to check.- Returns:
- true if the specified condition is true.
-
isFalse
public static boolean isFalse(boolean condition, String verificationName, String verificationDescription, RenderedImage verificationImage) /** Checks whether the specified condition is false.- Parameters:
condition
- the condition to check.verificationName
- the verification title.verificationDescription
- the verification description.verificationImage
- an image related to the verification.- Returns:
- true if the specified condition is false.
-
isFalse
public static boolean isFalse(boolean condition, String verificationName, String verificationDescription) /** Checks whether the specified condition is false.- Parameters:
condition
- the condition to check.verificationName
- the verification title.verificationDescription
- the verification description.- Returns:
- true if the specified condition is false.
-
isFalse
Checks whether the specified condition is false.- Parameters:
condition
- the condition to check.verificationName
- the verification title.- Returns:
- true if the specified condition is false.
-
isFalse
public static boolean isFalse(boolean condition) Checks whether the specified condition is false.- Parameters:
condition
- the condition to check.- Returns:
- true if the specified condition is false.
-
isNullOrEmpty
public static boolean isNullOrEmpty(String aString, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether the specified string is null or empty.- Parameters:
aString
- the string to check.verificationName
- the verification title.verificationDescription
- the verification description.verificationImage
- an image related to the verification.- Returns:
- true if the specified string is null or empty.
-
isNullOrEmpty
public static boolean isNullOrEmpty(String aString, String verificationName, String verificationDescription) Checks whether the specified string is null or empty.- Parameters:
aString
- the string to check.verificationName
- the verification title.verificationDescription
- the verification description.- Returns:
- true if the specified string is null or empty.
-
isNullOrEmpty
Checks whether the specified string is null or empty.- Parameters:
aString
- the string to check.verificationName
- the verification title.- Returns:
- true if the specified string is null or empty.
-
isNullOrEmpty
Checks whether the specified string is null or empty.- Parameters:
aString
- the string to check.- Returns:
- true if the specified string is null or empty.
-
isNotNullOrEmpty
public static boolean isNotNullOrEmpty(String aString, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether the specified string is not null or empty.- Parameters:
aString
- the string to check.verificationName
- the verification title.verificationDescription
- the verification description.verificationImage
- an image related to the verification.- Returns:
- true if the specified string is not null or empty.
-
isNotNullOrEmpty
public static boolean isNotNullOrEmpty(String aString, String verificationName, String verificationDescription) Checks whether the specified string is not null or empty.- Parameters:
aString
- the string to check.verificationName
- the verification title.verificationDescription
- the verification description.- Returns:
- true if the specified string is not null or empty.
-
isNotNullOrEmpty
Checks whether the specified string is not null or empty.- Parameters:
aString
- the string to check..verificationName
- the verification title.- Returns:
- true if the specified string is not null or empty.
-
isNotNullOrEmpty
Checks whether the specified string is not null or empty.- Parameters:
aString
- the string to check.- Returns:
- true if the specified string is not null or empty.
-
isNullOrEmpty
public static boolean isNullOrEmpty(Iterable collection, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether the specified collection is null or empty.- Parameters:
collection
- the collection to check.verificationName
- the verification title.verificationDescription
- the verification description.verificationImage
- an image related to the verification.- Returns:
- true if the specified collection is null or empty.
-
isNullOrEmpty
public static boolean isNullOrEmpty(Iterable collection, String verificationName, String verificationDescription) Checks whether the specified collection is null or empty.- Parameters:
collection
- the collection to check.verificationName
- the verification title.verificationDescription
- the verification description.- Returns:
- true if the specified collection is null or empty.
-
isNullOrEmpty
Checks whether the specified collection is null or empty.- Parameters:
collection
- the collection to check.verificationName
- the verification title.- Returns:
- true if the specified collection is null or empty.
-
isNullOrEmpty
Checks whether the specified collection is null or empty.- Parameters:
collection
- the collection to check.- Returns:
- true if the specified collection is null or empty.
-
isNotNullOrEmpty
public static boolean isNotNullOrEmpty(Iterable collection, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether the specified collection is not null or empty.- Parameters:
collection
- the collection to check.verificationName
- the verification title.verificationDescription
- the verification description.verificationImage
- an image related to the verification.- Returns:
- true if the specified collection is not null or empty.
-
isNotNullOrEmpty
public static boolean isNotNullOrEmpty(Iterable collection, String verificationName, String verificationDescription) Checks whether the specified collection is not null or empty.- Parameters:
collection
- the collection to check.verificationName
- the verification title.verificationDescription
- the verification description.- Returns:
- true if the specified collection is not null or empty.
-
isNotNullOrEmpty
Checks whether the specified collection is not null or empty.- Parameters:
collection
- the collection to check.verificationName
- the verification title.- Returns:
- true if the specified collection is not null or empty.
-
isNotNullOrEmpty
Checks whether the specified collection is not null or empty.- Parameters:
collection
- the collection to check.- Returns:
- true if the specified collection is not null or empty.
-
contains
public static boolean contains(String substring, String source, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether the first string specified is contained within the second string.- Parameters:
substring
- the string to search for.source
- the string to check.verificationName
- the verification title.verificationDescription
- the verification description.verificationImage
- an image related to the verification.- Returns:
- true if the first string specified is contained within the second string.
-
contains
public static boolean contains(String substring, String source, String verificationName, String verificationDescription) Checks whether the first string specified is contained within the second string.- Parameters:
substring
- the string to search for.source
- the string to check.verificationName
- the verification title.verificationDescription
- the verification description.- Returns:
- true if the first string specified is contained within the second string.
-
contains
Checks whether the first string specified is contained within the second string.- Parameters:
substring
- the string to search for.source
- the string to check.verificationName
- the verification title.- Returns:
- true if the first string specified is contained within the second string.
-
contains
Checks whether the first string specified is contained within the second string.- Parameters:
substring
- the string to search for.source
- the string to check.- Returns:
- true if the first string specified is contained within the second string.
-
startsWith
public static boolean startsWith(String prefix, String source, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether the 'expected' string is the first part of the 'actual' string.- Parameters:
prefix
- the string to search for.source
- the string to check.verificationName
- the verification title.verificationDescription
- the verification description.verificationImage
- an image related to the verification.- Returns:
- true if the 'expected' string is the first part of the 'actual' string.
-
startsWith
public static boolean startsWith(String prefix, String source, String verificationName, String verificationDescription) Checks whether the 'expected' string is the first part of the 'actual' string.- Parameters:
prefix
- the string to search for.source
- the string to check.verificationName
- the verification title.verificationDescription
- the verification description.- Returns:
- true if the 'expected' string is the first part of the 'actual' string.
-
startsWith
Checks whether the 'expected' string is the first part of the 'actual' string.- Parameters:
prefix
- the string to search for.source
- the string to check.verificationName
- the verification title.- Returns:
- true if the 'expected' string is the first part of the 'actual' string.
-
startsWith
Checks whether the 'expected' string is the first part of the 'actual' string.- Parameters:
prefix
- the string to search for.source
- the string to check.- Returns:
- true if the 'expected' string is the first part of the 'actual' string.
-
endsWith
public static boolean endsWith(String suffix, String source, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether the 'expected' string is the last part of the 'actual' string.- Parameters:
suffix
- the string to search for.source
- the string to check.verificationName
- the verification title.verificationDescription
- the verification description.verificationImage
- an image related to the verification.- Returns:
- true if the 'expected' string is the last part of the 'actual' string.
-
endsWith
public static boolean endsWith(String suffix, String source, String verificationName, String verificationDescription) Checks whether the 'expected' string is the last part of the 'actual' string.- Parameters:
suffix
- the string to search for.source
- the string to check.verificationName
- the verification title.verificationDescription
- the verification description.- Returns:
- true if the 'expected' string is the last part of the 'actual' string.
-
endsWith
Checks whether the 'expected' string is the last part of the 'actual' string.- Parameters:
suffix
- the string to search for.source
- the string to check.verificationName
- the verification title.- Returns:
- true if the 'expected' string is the last part of the 'actual' string.
-
endsWith
Checks whether the 'expected' string is the last part of the 'actual' string.- Parameters:
suffix
- the string to search for.source
- the string to check.- Returns:
- true if the 'expected' string is the last part of the 'actual' string.
-
areEqualIgnoringCase
public static boolean areEqualIgnoringCase(String expected, String actual, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether two string values are equal, ignoring case.- Parameters:
expected
- the expected string.actual
- the actual string.verificationName
- the verification title.verificationDescription
- the verification description.verificationImage
- an image related to the verification.- Returns:
- true if two string values are equal, ignoring case.
-
areEqualIgnoringCase
public static boolean areEqualIgnoringCase(String expected, String actual, String verificationName, String verificationDescription) Checks whether two string values are equal, ignoring case.- Parameters:
expected
- the expected string.actual
- the actual string.verificationName
- the verification title.verificationDescription
- the verification description.- Returns:
- true if two string values are equal, ignoring case.
-
areEqualIgnoringCase
Checks whether two string values are equal, ignoring case.- Parameters:
expected
- the expected string.actual
- the actual string.verificationName
- the verification title.- Returns:
- true if two string values are equal, ignoring case.
-
areEqualIgnoringCase
Checks whether two string values are equal, ignoring case.- Parameters:
expected
- the expected string.actual
- the actual string.- Returns:
- true if two string values are equal, ignoring case.
-
isMatch
Checks whether the specified regular expression matches the specified string value.- Parameters:
actual
- the actual string.regexPattern
- the regular expression value to search for. Use standard Java regular expression syntax.- Returns:
- true if the specified regular expression matches the specified string value.
-
isMatch
Checks whether the specified regular expression matches the specified string value.- Parameters:
actual
- the actual string.regexPattern
- the regular expression value to search for. Use standard Java regular expression syntax.verificationName
- the verification title.- Returns:
- true if the specified regular expression matches the specified string value.
-
isMatch
public static boolean isMatch(String actual, String regexPattern, String verificationName, String verificationDescription) Checks whether the specified regular expression matches the specified string value.- Parameters:
actual
- the actual string.regexPattern
- the regular expression value to search for. Use standard Java regular expression syntax.verificationName
- the verification title.verificationDescription
- the verification description.- Returns:
- true if the specified regular expression matches the specified string value.
-
isMatch
public static boolean isMatch(String actual, String regexPattern, String verificationName, String verificationDescription, RenderedImage verificationImage) Checks whether the specified regular expression matches the specified string value.- Parameters:
actual
- the actual string.regexPattern
- the regular expression value to search for. Use standard Java regular expression syntax.verificationName
- the verification title.verificationDescription
- the verification description.verificationImage
- an image related to the verification.- Returns:
- true if the specified regular expression matches the specified string value.
-