Class TestExecutionStatus


  • public class TestExecutionStatus
    extends Object
    Report for a test case
    • Constructor Detail

      • TestExecutionStatus

        public TestExecutionStatus​(String testName)
        Creates a new instance of TestReport
        Parameters:
        testName - Unique name of a test
    • Method Detail

      • setExpectedAdapterResponse

        public TestExecutionStatus setExpectedAdapterResponse​(org.apache.camel.Exchange expectedAdapterResponse)
        Sets response which is expected to be returned by adapter during test. Even though it belongs to enclosing SIPAdapterExecutionReport class, setter is also provided here to support chain pattern.
        Parameters:
        expectedAdapterResponse - Exchange that is the result of a test run
        Returns:
        Updated test execution status
      • setWorkflowException

        public void setWorkflowException​(Exception workflowException)
        Sets exception that was thrown by sip test kit, probably during test setup or validation phase. Implicitly it will set workflowExceptionMessage
        Parameters:
        workflowException - exception thrown by SIP test kit