Class TestNGTestEventPayload

java.lang.Object
de.qytera.qtaf.core.events.payload.QtafTestEventPayload
de.qytera.qtaf.testng.events.payload.TestNGTestEventPayload
All Implemented Interfaces:
IQtafTestEventPayload

public class TestNGTestEventPayload extends QtafTestEventPayload
TestNG event payload information class
  • Field Details

    • originalEvent

      protected org.testng.ITestResult originalEvent
      Original event dispatched by TestNG
    • methodInfo

      protected de.qytera.qtaf.testng.events.payload.TestNGTestEventPayload.MethodInfo methodInfo
      Method info
  • Constructor Details

    • TestNGTestEventPayload

      public TestNGTestEventPayload(org.testng.ITestResult iTestResult) throws NoSuchMethodException
      Constructor
      Parameters:
      iTestResult - Original event
      Throws:
      NoSuchMethodException - Thrown if method is not found
  • Method Details

    • getOriginalEvent

      public org.testng.ITestResult getOriginalEvent()
      Get originalEvent
      Specified by:
      getOriginalEvent in interface IQtafTestEventPayload
      Overrides:
      getOriginalEvent in class QtafTestEventPayload
      Returns:
      originalEvent
    • setOriginalEvent

      public TestNGTestEventPayload setOriginalEvent(org.testng.ITestResult originalEvent)
      Set originalEvent
      Parameters:
      originalEvent - OriginalEvent
      Returns:
      this
    • getMethodInfo

      public de.qytera.qtaf.testng.events.payload.TestNGTestEventPayload.MethodInfo getMethodInfo()
      Get methodInfo
      Returns:
      methodInfo
    • setMethodInfo

      public TestNGTestEventPayload setMethodInfo(de.qytera.qtaf.testng.events.payload.TestNGTestEventPayload.MethodInfo methodInfo)
      Set methodInfo
      Parameters:
      methodInfo - MethodInfo
      Returns:
      this