Class TestNGHelper.FakeExecutionCallBack

  • All Implemented Interfaces:
    org.testng.IHookCallBack
    Enclosing class:
    TestNGHelper

    public static final class TestNGHelper.FakeExecutionCallBack
    extends Object
    implements org.testng.IHookCallBack
    Class faking test execution as callback. Used in run hookable method when test case was executed before and callback is needed for super class run method invocation.
    • Constructor Detail

      • FakeExecutionCallBack

        public FakeExecutionCallBack​(Object[] parameters)
    • Method Detail

      • runTestMethod

        public void runTestMethod​(org.testng.ITestResult testResult)
        Specified by:
        runTestMethod in interface org.testng.IHookCallBack
      • getParameters

        public Object[] getParameters()
        Specified by:
        getParameters in interface org.testng.IHookCallBack