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

org.testng.IConfigureCallBack Maven / Gradle / Ivy

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

/**
 * A parameter of this type will be passed to the run() method of a IConfigurable.
 * Invoking runConfigurationMethod() on that parameter will cause the test method currently
 * being diverted to be invoked.
 *
 * This interface is not meant to be implemented by clients, only by TestNG.
 *
 * @see org.testng.IConfigurable
 *
 * @author cbeust
 * Sep 07, 2010
 */
public interface IConfigureCallBack {

  /**
   * Invoke the test method currently being hijacked.
   */
  public void runConfigurationMethod(ITestResult testResult);

  /**
   * @return the parameters that will be used to invoke the configuration method.
   */
  public Object[] getParameters();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy