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 Stringprotected Stringprotected booleanprotected Stringprotected booleanprotected Stringprotected Stringprotected booleanprotected booleanprotected booleanprotected intprotected booleanprotected booleanprotected Statusprotected Stringprotected Stringprotected Stringprotected StageResultprotected Timeprotected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddExtraBlock(String blockName, Object block) voidvoidaddLabelIfNotExists(LabelName name, String value) voidaddLabelIfNotExists(String name, String value) static Comparator<TestResult>static Comparator<TestResult>findAllLabels(LabelName name) <T> TfindAllLabels(LabelName name, Collector<String, ?, T> collector) findAllLabels(String name) <T> TfindAllLabels(String name, Collector<String, ?, T> collector) findOneLabel(LabelName name) findOneLabel(String name) <T> TgetExtraBlock(String blockName) <T> TgetExtraBlock(String blockName, T defaultValue) booleanhasExtraBlock(String blockName) toMap()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.qameta.allure.entity.Parameterizable
getParameters, getParameterValuesMethods 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
-