Package org.testng.internal
Class InvokedMethod
java.lang.Object
org.testng.internal.InvokedMethod
- All Implemented Interfaces:
IInvokedMethod
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
m_date
private final long m_date -
m_testResult
-
-
Constructor Details
-
InvokedMethod
-
-
Method Details
-
isTestMethod
public boolean isTestMethod()- Specified by:
isTestMethod
in interfaceIInvokedMethod
- Returns:
- true if this method is a test method
-
toString
-
isConfigurationMethod
public boolean isConfigurationMethod()- Specified by:
isConfigurationMethod
in interfaceIInvokedMethod
- Returns:
- true if this method is a configuration method (@BeforeXXX or @AfterXXX)
-
getTestMethod
- Specified by:
getTestMethod
in interfaceIInvokedMethod
- Returns:
- the test method
-
getDate
public long getDate()- Specified by:
getDate
in interfaceIInvokedMethod
- Returns:
- the date when this method was run
-
getTestResult
- Specified by:
getTestResult
in interfaceIInvokedMethod
-