public class VerifyUtil extends Object
Constructor and Description |
---|
VerifyUtil() |
Modifier and Type | Method and Description |
---|---|
String |
getFailureMessage()
Returns the failed messages
|
ArrayList<String> |
getResults()
Get the stored results
|
boolean |
isFailed()
Utility to verify whether any verification is failed
|
boolean |
isPassed()
Utility to verify whether verification passed
|
VerifyUtil |
verifyTrue(boolean truth,
String message)
Utility that checks the truth condition and stores the given message for future verification.
|
public VerifyUtil verifyTrue(boolean truth, String message)
truth
- true or false based on the verification conditionmessage
- message that needs to be stored in case the truth condition is false.public boolean isFailed()
public boolean isPassed()
public ArrayList<String> getResults()
public String getFailureMessage()
Copyright © 2014. All rights reserved.