Package org.testng.internal.invokers
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:
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
-