org.testng
Interface IInvokedMethodListener

All Superinterfaces:
ITestNGListener
All Known Subinterfaces:
IInvokedMethodListener2
All Known Implementing Classes:
SuiteRunner

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)


Copyright © 2012. All Rights Reserved.