IInvokedMethodListener (TestNG)

Overview | Package | Class | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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)

Overview | Package | Class | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD