Package io.qameta.allure.model
Class TestResult
java.lang.Object
io.qameta.allure.model.TestResult
- All Implemented Interfaces:
ExecutableItem,WithAttachments,WithLinks,WithParameters,WithStatus,WithStatusDetails,WithSteps,Serializable
The model object that stores information about test that was run.
Test results are the main entity of Allure.
- Since:
- 2.0
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets attachments.Gets description.Gets description html.Gets full name.Gets history id.Gets labels.getLinks()Gets links.getName()Gets name.Gets parameters.getStage()Gets stage.getStart()Gets start.Gets status.Gets status details.getSteps()Gets steps.getStop()Gets stop.Gets test case id.Gets test case name.getUuid()Gets uuid.inthashCode()setAttachments(List<Attachment> attachments) Sets attachments.setDescription(String value) Sets description.setDescriptionHtml(String value) Sets description html.setFullName(String value) Sets full name.setHistoryId(String value) Sets history id.Sets labels.Sets links.Sets name.setParameters(List<Parameter> parameters) Sets parameters.Sets stage.Sets start.Sets status.setStatusDetails(StatusDetails value) Sets status details.setSteps(List<StepResult> steps) Sets steps.Sets stop.setTestCaseId(String value) Sets test case id.setTestCaseName(String value) Sets test case name.Sets uuid.
-
Constructor Details
-
TestResult
public TestResult()
-
-
Method Details
-
getUuid
Gets uuid.- Returns:
- the uuid
-
setUuid
Sets uuid.- Parameters:
value- the value- Returns:
- self for method chaining.
-
getHistoryId
Gets history id.- Returns:
- the history id
-
setHistoryId
Sets history id.- Parameters:
value- the value- Returns:
- self for method chaining.
-
getTestCaseId
Gets test case id.- Returns:
- the test case id
-
setTestCaseId
Sets test case id.- Parameters:
value- the value- Returns:
- self for method chaining.
-
getTestCaseName
Gets test case name.- Returns:
- the test case name
-
setTestCaseName
Sets test case name.- Parameters:
value- the value- Returns:
- self for method chaining.
-
getFullName
Gets full name.- Returns:
- the full name
-
setFullName
Sets full name.- Parameters:
value- the value- Returns:
- self for method chaining.
-
getLabels
Gets labels.- Returns:
- the labels
-
setLabels
Sets labels.- Parameters:
labels- the labels- Returns:
- self for method chaining.
-
getLinks
Gets links. -
setLinks
Sets links.- Parameters:
links- the links- Returns:
- self for method chaining.
-
getName
Gets name.- Returns:
- the name
-
setName
Sets name.- Parameters:
value- the value- Returns:
- self for method chaining.
-
getStatus
Gets status.- Specified by:
getStatusin interfaceWithStatus- Returns:
- the status
-
setStatus
Sets status.- Parameters:
value- the value- Returns:
- self for method chaining.
-
getStatusDetails
Gets status details.- Specified by:
getStatusDetailsin interfaceWithStatusDetails- Returns:
- the status details
-
setStatusDetails
Sets status details.- Parameters:
value- the value- Returns:
- self for method chaining.
-
getStage
Gets stage.- Returns:
- the stage
-
setStage
Sets stage.- Parameters:
value- the value- Returns:
- self for method chaining.
-
getDescription
Gets description.- Returns:
- the description
-
setDescription
Sets description.- Parameters:
value- the value- Returns:
- self for method chaining.
-
getDescriptionHtml
Gets description html.- Returns:
- the description html
-
setDescriptionHtml
Sets description html.- Parameters:
value- the value- Returns:
- self for method chaining.
-
getSteps
Gets steps. -
setSteps
Sets steps.- Parameters:
steps- the steps- Returns:
- self for method chaining.
-
getAttachments
Gets attachments.- Specified by:
getAttachmentsin interfaceWithAttachments- Returns:
- the attachments
-
setAttachments
Sets attachments.- Parameters:
attachments- the attachments- Returns:
- self for method chaining.
-
getParameters
Gets parameters.- Specified by:
getParametersin interfaceWithParameters- Returns:
- the parameters
-
setParameters
Sets parameters.- Parameters:
parameters- the parameters- Returns:
- self for method chaining.
-
getStart
Gets start.- Returns:
- the start
-
setStart
Sets start.- Parameters:
value- the value- Returns:
- self for method chaining.
-
getStop
Gets stop.- Returns:
- the stop
-
setStop
Sets stop.- Parameters:
value- the value- Returns:
- self for method chaining.
-
equals
-
hashCode
public int hashCode()
-