Top Description Methods
org.testng

public Interface IInvokedMethod

Known Direct Implementers
org.testng.internal.invokers.InvokedMethod

An interface representing a method that has been invoked by TestNG.

This interface is internal.

Method Summary

Modifier and TypeMethod and Description
public long

Returns:

the date when this method was run
getDate
()

public ITestNGMethod

Returns:

the test method
getTestMethod
()

public ITestResult
public boolean

Returns:

true if this method is a configuration method (@BeforeXXX or @AfterXXX)
isConfigurationMethod
()

public boolean

Returns:

true if this method is a test method
isTestMethod
()

Method Detail

getDateback to summary
public long getDate()
Returns:long

the date when this method was run

getTestMethodback to summary
public ITestNGMethod getTestMethod()
Returns:ITestNGMethod

the test method

getTestResultback to summary
public ITestResult getTestResult()
isConfigurationMethodback to summary
public boolean isConfigurationMethod()
Returns:boolean

true if this method is a configuration method (@BeforeXXX or @AfterXXX)

isTestMethodback to summary
public boolean isTestMethod()
Returns:boolean

true if this method is a test method