Top Description Methods
org.testng

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
org.testng.IHookable

Method Summary

Modifier and TypeMethod and Description
public Object[]

Returns:

the parameters that will be used to invoke the test method.
getParameters
()

public void
runTestMethod(ITestResult
The test result
testResult
)

Invoke the test method currently being hijacked.

Method Detail

getParametersback to summary
public Object[] getParameters()
Returns:Object[]

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

runTestMethodback to summary
public void runTestMethod(ITestResult testResult)

Invoke the test method currently being hijacked.

Parameters
testResult:ITestResult

The test result