| Modifier and Type | Method and Description
|
|---|
| public static List<String> | Returns: - A list of all user facing statuses viz.,
finalStatuses()
|
| public long | Returns: the end date for this test, in milliseconds. getEndMillis()
|
| public Object[] | Returns: - A parameter array that was passed to a factory method (or) an empty object array
otherwise. getFactoryParameters()
|
| public String | Returns: The host where this suite was run, or null if it was run locally. The returned string
has the form: host:port getHost()
|
| public Object | Returns: The instance on which this method was run. getInstance()
|
| public String |
|
| public ITestNGMethod | Returns: The test method this result represents. getMethod()
|
| public String | Returns: The name of this TestResult, typically identical to the name of the method. getName()
|
| public Object[] | Returns: The parameters this method was invoked with. getParameters()
|
| public default List<ITestNGMethod> | Returns: - The list of either upstream method(s) or configuration method(s) whose failure led to
the current method being skipped. An empty list is returned when the current method is not
a skipped method. getSkipCausedBy()
|
| public long | Returns: the start date for this test, in milliseconds. getStartMillis()
|
| public int | Returns: The status of this result, using one of the constants above. getStatus()
|
| public IClass | Returns: The test class used this object is a result for. getTestClass()
|
| public ITestContext |
|
| public String | Returns: The test name if this result's related instance implements ITest or
use @Test(testName=...), null otherwise. getTestName()
|
| public Throwable | Returns: The throwable that was thrown while running the method, or null if no exception was
thrown. getThrowable()
|
| public String | Returns: - A unique id for the current JVM that represents a unique way of identifying a
specific test method's result. id()
|
| public default boolean |
|
| public boolean | Returns: true if if this test run is a SUCCESS isSuccess()
|
| public void |
|
| public void |
|
| public void |
|
| public void |
|
| public void |
|
| public void | setWasRetried(boolean - true if the test was retried and false otherwise. wasRetried)
|
| public static boolean |
|
| public boolean |
|