|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.finra.jtaf.core.model.test.TestResult
public class TestResult
This class represents the test result for the test
Constructor Summary | |
---|---|
TestResult(List<TestStepsDetails> testStepsDetails,
TestStatus teststatus)
Initialize the TestResult with the current list of test steps, and the test status |
|
TestResult(List<TestStepsDetails> testStepsDetails,
TestStatus teststatus,
Throwable failureReason)
Initialize the TestResult with the current list of test steps, and the test status, and the failure reason |
Method Summary | |
---|---|
Throwable |
getFailureReason()
Return the failure reason for the current test |
TestStatus |
getTestStatus()
Get the test status |
List<TestStepsDetails> |
getTestStepsDetails()
Return the list of test steps for the current test |
boolean |
isTestPassed()
Return if the current test passed |
void |
setFailureReason(Throwable failureReason)
Set the failure reason for the current test |
void |
updateTestStatus(TestStatus testStatus)
Update the test status |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TestResult(List<TestStepsDetails> testStepsDetails, TestStatus teststatus)
testStepsDetails
- teststatus
- public TestResult(List<TestStepsDetails> testStepsDetails, TestStatus teststatus, Throwable failureReason)
testStepsDetails
- teststatus
- failureReason
- Method Detail |
---|
public boolean isTestPassed()
public List<TestStepsDetails> getTestStepsDetails()
public void setFailureReason(Throwable failureReason)
failureReason
- public Throwable getFailureReason()
public void updateTestStatus(TestStatus testStatus)
testStatus
- public TestStatus getTestStatus()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |