org.testng
Interface IInvokedMethod


public interface IInvokedMethod

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


Method Summary
 long getDate()
           
 ITestNGMethod getTestMethod()
           
 ITestResult getTestResult()
           
 boolean isConfigurationMethod()
           
 boolean isTestMethod()
           
 

Method Detail

isTestMethod

boolean isTestMethod()
Returns:
true if this method is a test method

isConfigurationMethod

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

getTestMethod

ITestNGMethod getTestMethod()
Returns:
the test method

getTestResult

ITestResult getTestResult()

getDate

long getDate()
Returns:
the date when this method was run


Copyright © 2012. All Rights Reserved.