Package io.qameta.allure.model
Class TestResultContainer
java.lang.Object
io.qameta.allure.model.TestResultContainer
- All Implemented Interfaces:
WithLinks,Serializable
The model object that stores links between test results and test fixtures.
During report generation all befores and afters is added to each
test result that TestResult.getUuid() matches values, specified in children.
Containers that have empty children are simply ignored.
- Since:
- 2.0
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets afters.Gets befores.Gets children.Gets description.Gets description html.getLinks()Gets links.getName()Gets name.getStart()Gets start.getStop()Gets stop.getUuid()Gets uuid.inthashCode()setAfters(List<FixtureResult> afters) Sets afters.setBefores(List<FixtureResult> befores) Sets befores.setChildren(List<String> children) Sets children.setDescription(String value) Sets description.setDescriptionHtml(String value) Sets description html.Sets links.Sets name.Sets start.Sets stop.Sets uuid.
-
Constructor Details
-
TestResultContainer
public TestResultContainer()
-
-
Method Details
-
getUuid
Gets uuid.- Returns:
- the uuid
-
setUuid
Sets uuid.- Parameters:
value- the value- Returns:
- self for method chaining
-
getName
Gets name.- Returns:
- the name
-
setName
Sets name.- 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
-
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
-
getChildren
Gets children.- Returns:
- the children
-
setChildren
Sets children.- Parameters:
children- the children- Returns:
- self for method chaining
-
getBefores
Gets befores.- Returns:
- the befores
-
setBefores
Sets befores.- Parameters:
befores- the befores- Returns:
- self for method chaining
-
getAfters
Gets afters.- Returns:
- the afters
-
setAfters
Sets afters.- Parameters:
afters- the afters- Returns:
- self for method chaining
-
getLinks
Gets links. -
setLinks
Sets links.- Parameters:
links- the links- Returns:
- self for method chaining
-
equals
-
hashCode
public int hashCode()
-