org.testng
Interface IInvokedMethodListener

All Superinterfaces:
ITestNGListener

public interface IInvokedMethodListener
extends ITestNGListener

A listener that gets invoked before and after a method is invoked by TestNG. This listener will only be invoked for configuration and test methods.


Method Summary
 void afterInvocation(IInvokedMethod method, ITestResult testResult)
           
 void beforeInvocation(IInvokedMethod method, ITestResult testResult)
           
 

Method Detail

beforeInvocation

void beforeInvocation(IInvokedMethod method,
                      ITestResult testResult)

afterInvocation

void afterInvocation(IInvokedMethod method,
                     ITestResult testResult)