IHookCallBack (TestNG)

Overview | Package | Class | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.testng
Interface IHookCallBack

    public interface IHookCallBack

A parameter of this type will be passed to the run() method of a IHookable. Invoking runTestMethod() on that parameter will cause the test method currently being diverted to be invoked.

This interface is not meant to be implemented by clients, only by TestNG.

Author:
  cbeust Jan 28, 2006
See Also:
  `IHookable`

Method Summary
`java.lang.Object[]` | `getParameters()`
`void` | `runTestMethod(ITestResult testResult)` Invoke the test method currently being hijacked.

Method Detail

### runTestMethod

    void runTestMethod(ITestResult testResult)

  Invoke the test method currently being hijacked.

### getParameters

    java.lang.Object[] getParameters()

  Returns:
    the parameters that will be used to invoke the test method.

Overview | Package | Class | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD