Class GenericMethodWrapper

java.lang.Object
dev.galasa.framework.GenericMethodWrapper

public class GenericMethodWrapper extends Object
  • Field Details

  • Constructor Details

  • Method Details

    • createCopyGenericMethodWrapper

      public GenericMethodWrapper createCopyGenericMethodWrapper()
    • invoke

      public void invoke(@NotNull @NotNull ITestRunManagers managers, Object testClassObject, GenericMethodWrapper testMethod, TestClassWrapper testClassWrapper) throws TestRunException
      Run the supplied method
      Parameters:
      managers - the managers used in this test
      testClassObject - the test class
      testMethod - the test method if the execution method is @Before or @After
      Throws:
      TestRunException - The failure thrown by the test run
    • saveRunLogStartAndEnd

      public void saveRunLogStartAndEnd(long runLogStart, long runLogEnd)
    • initialiseGenericMethodStructure

      public void initialiseGenericMethodStructure()
    • getGenericMethodStructure

      public TestMethod getGenericMethodStructure()
    • fullStop

      public boolean fullStop()
    • getResult

      public Result getResult()
    • setResult

      public void setResult(Result result)
    • setRunLogStart

      public void setRunLogStart(long runLogStart)
    • setRunLogEnd

      public void setRunLogEnd(long runLogEnd)
    • getName

      public String getName()
    • getType

      public GenericMethodWrapper.Type getType()
    • getExecutionMethod

      public Method getExecutionMethod()