Class CBooleanVerification<T extends CVerificationBuilder>
- java.lang.Object
-
- org.catools.common.extensions.verify.CBaseVerification<T>
-
- org.catools.common.extensions.verify.CBooleanVerification<T>
-
- Type Parameters:
T
- represent any classes which extentCVerificationBuilder
.
public class CBooleanVerification<T extends CVerificationBuilder> extends CBaseVerification<T>
Boolean verification class contains all verification method which is related to Boolean
-
-
Field Summary
-
Fields inherited from class org.catools.common.extensions.verify.CBaseVerification
logger, verifier
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
equals(java.lang.Boolean actual, java.lang.Boolean expected, int waitInSeconds, int intervalInMilliSeconds, java.lang.String message, java.lang.Object... params)
Verify that actual and expected has a same boolean value or be nullT
equals(java.lang.Boolean actual, java.lang.Boolean expected, int waitInSeconds, java.lang.String message, java.lang.Object... params)
Verify that actual and expected has a same boolean value or be nullT
equals(java.lang.Boolean actual, java.lang.Boolean expected, java.lang.String message, java.lang.Object... params)
Verify that actual and expected has a same boolean value or be nullT
isFalse(java.lang.Boolean actual, int waitInSeconds, int intervalInMilliSeconds, java.lang.String message, java.lang.Object... params)
Verify that actual value is falseT
isFalse(java.lang.Boolean actual, int waitInSeconds, java.lang.String message, java.lang.Object... params)
Verify that actual value is falseT
isFalse(java.lang.Boolean actual, java.lang.String message, java.lang.Object... params)
Verify that actual value is falseT
isTrue(java.lang.Boolean actual, int waitInSeconds, int intervalInMilliSeconds, java.lang.String message, java.lang.Object... params)
Verify that actual value is trueT
isTrue(java.lang.Boolean actual, int waitInSeconds, java.lang.String message, java.lang.Object... params)
Verify that actual value is trueT
isTrue(java.lang.Boolean actual, java.lang.String message, java.lang.Object... params)
Verify that actual value is trueT
notEquals(java.lang.Boolean actual, java.lang.Boolean expected, int waitInSeconds, int intervalInMilliSeconds, java.lang.String message, java.lang.Object... params)
Verify that actual and expected has different boolean valueT
notEquals(java.lang.Boolean actual, java.lang.Boolean expected, int waitInSeconds, java.lang.String message, java.lang.Object... params)
Verify that actual and expected has different boolean valueT
notEquals(java.lang.Boolean actual, java.lang.Boolean expected, java.lang.String message, java.lang.Object... params)
Verify that actual and expected has different boolean value-
Methods inherited from class org.catools.common.extensions.verify.CBaseVerification
queue
-
-
-
-
Method Detail
-
equals
public T equals(java.lang.Boolean actual, java.lang.Boolean expected, java.lang.String message, java.lang.Object... params)
Verify that actual and expected has a same boolean value or be null- Parameters:
actual
- value to compareexpected
- value to comparemessage
- information about the propose of this verificationparams
- parameters in case if message is a formatString.format(java.lang.String, java.lang.Object...)
- Returns:
- caller
CVerificationBuilder
so we can do chain calls
-
equals
public T equals(java.lang.Boolean actual, java.lang.Boolean expected, int waitInSeconds, java.lang.String message, java.lang.Object... params)
Verify that actual and expected has a same boolean value or be null- Parameters:
actual
- value to compareexpected
- value to comparewaitInSeconds
- maximum wait timemessage
- information about the propose of this verificationparams
- parameters in case if message is a formatString.format(java.lang.String, java.lang.Object...)
- Returns:
- caller
CVerificationBuilder
so we can do chain calls
-
equals
public T equals(java.lang.Boolean actual, java.lang.Boolean expected, int waitInSeconds, int intervalInMilliSeconds, java.lang.String message, java.lang.Object... params)
Verify that actual and expected has a same boolean value or be null- Parameters:
actual
- value to compareexpected
- value to comparewaitInSeconds
- maximum wait timeintervalInMilliSeconds
- interval between retries in millisecondsmessage
- information about the propose of this verificationparams
- parameters in case if message is a formatString.format(java.lang.String, java.lang.Object...)
- Returns:
- caller
CVerificationBuilder
so we can do chain calls
-
isFalse
public T isFalse(java.lang.Boolean actual, java.lang.String message, java.lang.Object... params)
Verify that actual value is false- Parameters:
actual
- value to comparemessage
- information about the propose of this verificationparams
- parameters in case if message is a formatString.format(java.lang.String, java.lang.Object...)
- Returns:
- caller
CVerificationBuilder
so we can do chain calls
-
isFalse
public T isFalse(java.lang.Boolean actual, int waitInSeconds, java.lang.String message, java.lang.Object... params)
Verify that actual value is false- Parameters:
actual
- value to comparewaitInSeconds
- maximum wait timemessage
- information about the propose of this verificationparams
- parameters in case if message is a formatString.format(java.lang.String, java.lang.Object...)
- Returns:
- caller
CVerificationBuilder
so we can do chain calls
-
isFalse
public T isFalse(java.lang.Boolean actual, int waitInSeconds, int intervalInMilliSeconds, java.lang.String message, java.lang.Object... params)
Verify that actual value is false- Parameters:
actual
- value to comparewaitInSeconds
- maximum wait timeintervalInMilliSeconds
- interval between retries in millisecondsmessage
- information about the propose of this verificationparams
- parameters in case if message is a formatString.format(java.lang.String, java.lang.Object...)
- Returns:
- caller
CVerificationBuilder
so we can do chain calls
-
isTrue
public T isTrue(java.lang.Boolean actual, java.lang.String message, java.lang.Object... params)
Verify that actual value is true- Parameters:
actual
- value to comparemessage
- information about the propose of this verificationparams
- parameters in case if message is a formatString.format(java.lang.String, java.lang.Object...)
- Returns:
- caller
CVerificationBuilder
so we can do chain calls
-
isTrue
public T isTrue(java.lang.Boolean actual, int waitInSeconds, java.lang.String message, java.lang.Object... params)
Verify that actual value is true- Parameters:
actual
- value to comparewaitInSeconds
- maximum wait timemessage
- information about the propose of this verificationparams
- parameters in case if message is a formatString.format(java.lang.String, java.lang.Object...)
- Returns:
- caller
CVerificationBuilder
so we can do chain calls
-
isTrue
public T isTrue(java.lang.Boolean actual, int waitInSeconds, int intervalInMilliSeconds, java.lang.String message, java.lang.Object... params)
Verify that actual value is true- Parameters:
actual
- value to comparewaitInSeconds
- maximum wait timeintervalInMilliSeconds
- interval between retries in millisecondsmessage
- information about the propose of this verificationparams
- parameters in case if message is a formatString.format(java.lang.String, java.lang.Object...)
- Returns:
- caller
CVerificationBuilder
so we can do chain calls
-
notEquals
public T notEquals(java.lang.Boolean actual, java.lang.Boolean expected, java.lang.String message, java.lang.Object... params)
Verify that actual and expected has different boolean value- Parameters:
actual
- value to compareexpected
- value to comparemessage
- information about the propose of this verificationparams
- parameters in case if message is a formatString.format(java.lang.String, java.lang.Object...)
- Returns:
- caller
CVerificationBuilder
so we can do chain calls
-
notEquals
public T notEquals(java.lang.Boolean actual, java.lang.Boolean expected, int waitInSeconds, java.lang.String message, java.lang.Object... params)
Verify that actual and expected has different boolean value- Parameters:
actual
- value to compareexpected
- value to comparewaitInSeconds
- maximum wait timemessage
- information about the propose of this verificationparams
- parameters in case if message is a formatString.format(java.lang.String, java.lang.Object...)
- Returns:
- caller
CVerificationBuilder
so we can do chain calls
-
notEquals
public T notEquals(java.lang.Boolean actual, java.lang.Boolean expected, int waitInSeconds, int intervalInMilliSeconds, java.lang.String message, java.lang.Object... params)
Verify that actual and expected has different boolean value- Parameters:
actual
- value to compareexpected
- value to comparewaitInSeconds
- maximum wait timeintervalInMilliSeconds
- interval between retries in millisecondsmessage
- information about the propose of this verificationparams
- parameters in case if message is a formatString.format(java.lang.String, java.lang.Object...)
- Returns:
- caller
CVerificationBuilder
so we can do chain calls
-
-