Package io.qameta.allure.entity
Class TestResult
java.lang.Object
io.qameta.allure.entity.TestResult
- All Implemented Interfaces:
Nameable
,Parameterizable
,Statusable
,Timeable
,Serializable
public class TestResult
extends Object
implements Serializable, Nameable, Parameterizable, Statusable, Timeable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<StageResult>
protected List<StageResult>
protected String
protected String
protected boolean
protected String
protected boolean
protected String
protected String
protected boolean
protected boolean
protected boolean
protected int
protected boolean
protected boolean
protected Status
protected String
protected String
protected String
protected StageResult
protected Time
protected String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addExtraBlock
(String blockName, Object block) void
void
addLabelIfNotExists
(LabelName name, String value) void
addLabelIfNotExists
(String name, String value) static Comparator<TestResult>
static Comparator<TestResult>
findAllLabels
(LabelName name) <T> T
findAllLabels
(LabelName name, Collector<String, ?, T> collector) findAllLabels
(String name) <T> T
findAllLabels
(String name, Collector<String, ?, T> collector) findOneLabel
(LabelName name) findOneLabel
(String name) <T> T
getExtraBlock
(String blockName) <T> T
getExtraBlock
(String blockName, T defaultValue) boolean
hasExtraBlock
(String blockName) toMap()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.qameta.allure.entity.Parameterizable
getParameters, getParameterValues
Methods inherited from interface io.qameta.allure.entity.Statusable
getStatus
-
Field Details
-
uid
-
name
-
fullName
-
historyId
-
testId
-
time
-
description
-
descriptionHtml
-
status
-
statusMessage
-
statusTrace
-
flaky
protected boolean flaky -
newFailed
protected boolean newFailed -
newBroken
protected boolean newBroken -
newPassed
protected boolean newPassed -
retriesCount
protected int retriesCount -
retriesStatusChange
protected boolean retriesStatusChange -
beforeStages
-
testStage
-
afterStages
-
labels
-
parameters
-
links
-
retry
protected boolean retry -
extra
-
-
Constructor Details
-
TestResult
public TestResult()
-
-
Method Details
-
getSource
-
addExtraBlock
-
getExtraBlock
-
getExtraBlock
-
hasExtraBlock
-
findAllLabels
-
findAllLabels
-
findAllLabels
-
findAllLabels
-
findOneLabel
-
findOneLabel
-
addLabelIfNotExists
-
addLabelIfNotExists
-
addLabel
-
comparingByTime
-
comparingByTimeAsc
-
toMap
-