Class InvokedMethod
java.lang.Object
org.testng.internal.invokers.InvokedMethod
- All Implemented Interfaces:
IInvokedMethod
-
Constructor Details
-
InvokedMethod
-
-
Method Details
-
isTestMethod
public boolean isTestMethod()- Specified by:
isTestMethodin interfaceIInvokedMethod- Returns:
- true if this method is a test method
-
toString
-
isConfigurationMethod
public boolean isConfigurationMethod()- Specified by:
isConfigurationMethodin interfaceIInvokedMethod- Returns:
- true if this method is a configuration method (@BeforeXXX or @AfterXXX)
-
getTestMethod
- Specified by:
getTestMethodin interfaceIInvokedMethod- Returns:
- the test method
-
getDate
public long getDate()- Specified by:
getDatein interfaceIInvokedMethod- Returns:
- the date when this method was run
-
getTestResult
- Specified by:
getTestResultin interfaceIInvokedMethod
-