• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 package org.testng;
2 
3 /**
4  * A listener that gets invoked before and after a method is invoked by TestNG.
5  * This listener will only be invoked for configuration and test methods.
6  */
7 public interface IInvokedMethodListener extends ITestNGListener {
8 
beforeInvocation(IInvokedMethod method, ITestResult testResult)9   void beforeInvocation(IInvokedMethod method, ITestResult testResult);
10 
afterInvocation(IInvokedMethod method, ITestResult testResult)11   void afterInvocation(IInvokedMethod method, ITestResult testResult);
12 }
13