| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private final IAttributes | |
| private ITestContext | |
| private long | |
| private String | |
| private String | |
| private ITestNGMethod | |
| private String | |
| private Object[] | |
| private long | |
| private int | |
| private Throwable | |
| private boolean | |
| private int | |
| private boolean | |
| private List |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private boolean | |
| public int | compareTo(ITestResult
the object to be compared. comparison)Implements java. |
| public static void | |
| public Object | getAttribute(String
The name of the attribute to return name)Implements org. |
| public Set | |
| public long | |
| public Object[] | |
| public String | |
| public Object | |
| public String | |
| public ITestNGMethod | |
| public String | |
| public int | |
| public Object[] | |
| public List | |
| public long | |
| public int | |
| public IClass | |
| public ITestContext | |
| public String | getTestName()
Implements org. |
| public Throwable | |
| public String | |
| private void | |
| private static boolean | |
| private boolean | |
| public boolean | |
| private static boolean | |
| public static TestResult | |
| public static TestResult | |
| public static TestResult | |
| public static TestResult | |
| public static TestResult | |
| public static TestResult | |
| public Object | removeAttribute(String
The attribute name name)Implements org. |
| public void | setAttribute(String
The attribute name name, Object The attribute value value)Implements org. |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | setTestName(String
- The new name to be used as a test name name)Implements org. |
| public void | setThrowable(Throwable
The throwable to set. throwable)Implements org. |
| public void | setWasRetried(boolean
- wasRetried)true if the test was retried and false otherwise.Implements org. |
| public String | |
| private static String | |
| public boolean |
| id | back to summary |
|---|---|
| private final String id | |
| m_attributes | back to summary |
|---|---|
| private final IAttributes m_attributes | |
| m_context | back to summary |
|---|---|
| private ITestContext m_context | |
| m_endMillis | back to summary |
|---|---|
| private long m_endMillis | |
| m_host | back to summary |
|---|---|
| private String m_host | |
| m_instanceName | back to summary |
|---|---|
| private String m_instanceName | |
| m_method | back to summary |
|---|---|
| private ITestNGMethod m_method | |
| m_name | back to summary |
|---|---|
| private String m_name | |
| m_parameters | back to summary |
|---|---|
| private Object[] m_parameters | |
| m_startMillis | back to summary |
|---|---|
| private long m_startMillis | |
| m_status | back to summary |
|---|---|
| private int m_status | |
| m_throwable | back to summary |
|---|---|
| private Throwable m_throwable | |
| m_wasRetried | back to summary |
|---|---|
| private boolean m_wasRetried | |
| parameterIndex | back to summary |
|---|---|
| private int parameterIndex | |
| skipAnalysed | back to summary |
|---|---|
| private boolean skipAnalysed | |
| skippedDueTo | back to summary |
|---|---|
| private List<ITestNGMethod> skippedDueTo | |
| TestResult | back to summary |
|---|---|
| private TestResult() | |
| belongToSameGroup | back to summary |
|---|---|
| private boolean belongToSameGroup(ITestResult result) | |
| compareTo | back to summary |
|---|---|
| public int compareTo(ITestResult comparison) Implements java. Doc from java. Compares this object with the specified object for order. Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object. The implementor must ensure The implementor must also ensure that the relation is transitive:
Finally, the implementor must ensure that
| |
| copyAttributes | back to summary |
|---|---|
| public static void copyAttributes(ITestResult source, ITestResult target) | |
| getAttribute | back to summary |
|---|---|
| public Object getAttribute(String name) Implements org.
| |
| getAttributeNames | back to summary |
|---|---|
| public Set Implements org.
| |
| getEndMillis | back to summary |
|---|---|
| public long getEndMillis() Implements org.
| |
| getFactoryParameters | back to summary |
|---|---|
| public Object[] getFactoryParameters() Implements org.
| |
| getHost | back to summary |
|---|---|
| public String getHost() Implements org.
| |
| getInstance | back to summary |
|---|---|
| public Object getInstance() Implements org.
| |
| getInstanceName | back to summary |
|---|---|
| public String getInstanceName() Implements org.
| |
| getMethod | back to summary |
|---|---|
| public ITestNGMethod getMethod() Implements org.
| |
| getName | back to summary |
|---|---|
| public String getName() Implements org.
| |
| getParameterIndex | back to summary |
|---|---|
| public int getParameterIndex() | |
| getParameters | back to summary |
|---|---|
| public Object[] getParameters() Implements org.
| |
| getSkipCausedBy | back to summary |
|---|---|
| public List Overrides default org.
| |
| getStartMillis | back to summary |
|---|---|
| public long getStartMillis() Implements org.
| |
| getStatus | back to summary |
|---|---|
| public int getStatus() Implements org.
| |
| getTestClass | back to summary |
|---|---|
| public IClass getTestClass() Implements org. | |
| getTestContext | back to summary |
|---|---|
| public ITestContext getTestContext() Implements org.
| |
| getTestName | back to summary |
|---|---|
| public String getTestName() Implements org. If this result's related instance implements ITest or use @Test(testName=...), returns its test name, otherwise returns null.
| |
| getThrowable | back to summary |
|---|---|
| public Throwable getThrowable() Implements org. | |
| id | back to summary |
|---|---|
| public String id() Implements org.
| |
| init | back to summary |
|---|---|
| private void init(ITestNGMethod method, ITestContext ctx, Throwable t, long start, long end) | |
| isGlobalFailure | back to summary |
|---|---|
| private static boolean isGlobalFailure(ITestResult result) | |
| isRelated | back to summary |
|---|---|
| private boolean isRelated(ITestResult result) | |
| isSuccess | back to summary |
|---|---|
| public boolean isSuccess() Implements org.
| |
| matches | back to summary |
|---|---|
| private static boolean matches(List<String> upstreamMethods, ITestNGMethod method) | |
| newContextAwareTestResult | back to summary |
|---|---|
| public static TestResult newContextAwareTestResult(ITestNGMethod method, ITestContext ctx) | |
| newEmptyTestResult | back to summary |
|---|---|
| public static TestResult newEmptyTestResult() | |
| newEndTimeAwareTestResult | back to summary |
|---|---|
| public static TestResult newEndTimeAwareTestResult(ITestNGMethod method, ITestContext ctx, Throwable t, long start) | |
| newTestResultFor | back to summary |
|---|---|
| public static TestResult newTestResultFor(ITestNGMethod method) | |
| newTestResultFrom | back to summary |
|---|---|
| public static TestResult newTestResultFrom(TestResult result, ITestNGMethod method, ITestContext ctx, long start) | |
| newTestResultWithCauseAs | back to summary |
|---|---|
| public static TestResult newTestResultWithCauseAs(ITestNGMethod method, ITestContext ctx, Throwable t) | |
| removeAttribute | back to summary |
|---|---|
| public Object removeAttribute(String name) Implements org. Doc from org. Remove the attribute | |
| setAttribute | back to summary |
|---|---|
| public void setAttribute(String name, Object value) Implements org. Doc from org. Set a custom attribute. | |
| setContext | back to summary |
|---|---|
| public void setContext(ITestContext context) | |
| setEndMillis | back to summary |
|---|---|
| public void setEndMillis(long millis) Implements org.
| |
| setHost | back to summary |
|---|---|
| public void setHost(String host) | |
| setMethod | back to summary |
|---|---|
public void setMethod(ITestNGMethod method)
| |
| setParameterIndex | back to summary |
|---|---|
| public void setParameterIndex(int parameterIndex) | |
| setParameters | back to summary |
|---|---|
| public void setParameters(Object[] parameters) Implements org.
| |
| setStatus | back to summary |
|---|---|
| public void setStatus(int status) Implements org.
| |
| setTestName | back to summary |
|---|---|
| public void setTestName(String name) Implements org.
| |
| setThrowable | back to summary |
|---|---|
| public void setThrowable(Throwable throwable) Implements org. | |
| setWasRetried | back to summary |
|---|---|
| public void setWasRetried(boolean wasRetried) Implements org.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| toString | back to summary |
|---|---|
| private static String toString(int status) | |
| wasRetried | back to summary |
|---|---|
| public boolean wasRetried() Implements org.
| |