blob: dfd4e96b6977cb5e58882a8db4f5e83ad0969149 [file] [log] [blame]
package org.testng;
/**
* An interface representing a method that has been invoked by TestNG.
*/
public interface IInvokedMethod {
/**
* @return true if this method is a test method
*/
public abstract boolean isTestMethod();
/**
* @return true if this method is a configuration method (@BeforeXXX or @AfterXXX)
*/
public abstract boolean isConfigurationMethod();
/**
* @return the test method
*/
public abstract ITestNGMethod getTestMethod();
/**
* @return the date when this method was run
*/
public abstract long getDate();
}