All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.testng.IInvokedMethodListener2 Maven / Gradle / Ivy

There is a newer version: 7.10.1
Show newest version
package org.testng;

/**
 * Implement this interface if you need a handle to {@link ITestContext}.
 *
 * @author [email protected] (Karthik Krishnan)
 */
public interface IInvokedMethodListener2 extends IInvokedMethodListener {

  /**
   * 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.
   */
  void afterInvocation(IInvokedMethod method, ITestResult testResult,
      ITestContext context);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy