public class SimpleTestResult extends java.lang.Object implements TestResult
ERROR, FAILED, PASSED, STATUSSTR_ERROR, STATUSSTR_FAILED, STATUSSTR_PASSED| Constructor and Description |
|---|
SimpleTestResult() |
| Modifier and Type | Method and Description |
|---|---|
void |
addResultPart(TestResultPart part)
Adds a part of the result.
|
void |
close()
Marks that the collection of test results is completed and free the
related resources (also closing listeners).
|
java.util.Map<java.lang.String,java.lang.String> |
getAttributes()
Additional arbitrary meta data
|
java.util.Date |
getCloseDate()
The date when this test result was closed.
|
java.lang.String |
getCurrentTestRunUuid() |
java.util.List<TestResultPart> |
getParts() |
java.lang.String |
getUuid() |
void |
notifyTestRun(TestRun testRun)
Notifies the current test run.
|
void |
setAttributes(java.util.Map<java.lang.String,java.lang.String> attributes) |
void |
setThrowError(java.lang.Boolean throwError) |
void |
setUuid(java.lang.String uuid) |
public void addResultPart(TestResultPart part)
TestResultaddResultPart in interface TestResultpublic void close()
TestResultclose in interface TestResultpublic java.util.List<TestResultPart> getParts()
public java.util.Date getCloseDate()
TestResultgetCloseDate in interface TestResultpublic void setThrowError(java.lang.Boolean throwError)
public void notifyTestRun(TestRun testRun)
TestRunAwarenotifyTestRun in interface TestRunAwarepublic java.lang.String getUuid()
getUuid in interface TestResultpublic void setUuid(java.lang.String uuid)
public java.lang.String getCurrentTestRunUuid()
public java.util.Map<java.lang.String,java.lang.String> getAttributes()
TestResultgetAttributes in interface TestResultpublic void setAttributes(java.util.Map<java.lang.String,java.lang.String> attributes)
Copyright © 2007–2020. All rights reserved.