Package org.testng.internal.invokers
Class InvokedMethod
- java.lang.Object
-
- org.testng.internal.invokers.InvokedMethod
-
- All Implemented Interfaces:
IInvokedMethod
public class InvokedMethod extends java.lang.Object implements IInvokedMethod
-
-
Constructor Summary
Constructors Constructor Description InvokedMethod(long date, ITestResult testResult)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetDate()ITestNGMethodgetTestMethod()ITestResultgetTestResult()booleanisConfigurationMethod()booleanisTestMethod()java.lang.StringtoString()
-
-
-
Constructor Detail
-
InvokedMethod
public InvokedMethod(long date, ITestResult testResult)
-
-
Method Detail
-
isTestMethod
public boolean isTestMethod()
- Specified by:
isTestMethodin interfaceIInvokedMethod- Returns:
- true if this method is a test method
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
isConfigurationMethod
public boolean isConfigurationMethod()
- Specified by:
isConfigurationMethodin interfaceIInvokedMethod- Returns:
- true if this method is a configuration method (@BeforeXXX or @AfterXXX)
-
getTestMethod
public ITestNGMethod 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
public ITestResult getTestResult()
- Specified by:
getTestResultin interfaceIInvokedMethod
-
-