org.testng
Interface IInvokedMethodListener2

All Superinterfaces:
IInvokedMethodListener, ITestNGListener

public interface IInvokedMethodListener2
extends IInvokedMethodListener

Implement this interface if you need a handle to ITestContext.

Author:
[email protected] (Karthik Krishnan)

Method Summary
 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.



Copyright © 2012. All Rights Reserved.