Package org.testng
Interface IInvokedMethodListener2
-
- All Superinterfaces:
IInvokedMethodListener
,ITestNGListener
public interface IInvokedMethodListener2 extends IInvokedMethodListener
Implement this interface if you need a handle toITestContext
.- Author:
- karthik.krishnan@gmail.com (Karthik Krishnan)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
afterInvocation(IInvokedMethod method, ITestResult testResult, ITestContext context)
To be implemented if the method needs a handle to contextual information.void
beforeInvocation(IInvokedMethod method, ITestResult testResult, ITestContext context)
To be implemented if the method needs a handle to contextual information.-
Methods inherited from interface org.testng.IInvokedMethodListener
afterInvocation, beforeInvocation
-
-
-
-
Method Detail
-
beforeInvocation
void beforeInvocation(IInvokedMethod method, ITestResult testResult, ITestContext context)
To be implemented if the method needs a handle to contextual information.
-
afterInvocation
void afterInvocation(IInvokedMethod method, ITestResult testResult, ITestContext context)
To be implemented if the method needs a handle to contextual information.
-
-