public class TestCaseResult extends Object implements Serializable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
Java class for test-case-result complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="test-case-result">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<all>
<element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="title" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="description" type="{urn:model.allure.qatools.yandex.ru}description" minOccurs="0"/>
<element name="failure" type="{urn:model.allure.qatools.yandex.ru}failure" minOccurs="0"/>
<element name="steps" type="{urn:model.allure.qatools.yandex.ru}steps" minOccurs="0"/>
<element name="attachments" type="{urn:model.allure.qatools.yandex.ru}attachments" minOccurs="0"/>
<element name="labels" type="{urn:model.allure.qatools.yandex.ru}labels" minOccurs="0"/>
<element name="parameters" type="{urn:model.allure.qatools.yandex.ru}parameters" minOccurs="0"/>
</all>
<attribute name="start" use="required" type="{http://www.w3.org/2001/XMLSchema}long" />
<attribute name="stop" use="required" type="{http://www.w3.org/2001/XMLSchema}long" />
<attribute name="status" use="required" type="{urn:model.allure.qatools.yandex.ru}status" />
<attribute name="severity" type="{urn:model.allure.qatools.yandex.ru}severity-level" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<Attachment> |
attachments |
protected Description |
description |
protected Failure |
failure |
protected List<Label> |
labels |
protected String |
name |
protected List<Parameter> |
parameters |
protected SeverityLevel |
severity |
protected long |
start |
protected Status |
status |
protected List<Step> |
steps |
protected long |
stop |
protected String |
title |
| Constructor and Description |
|---|
TestCaseResult() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object) |
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy) |
List<Attachment> |
getAttachments() |
Description |
getDescription()
Gets the value of the description property.
|
Failure |
getFailure()
Gets the value of the failure property.
|
List<Label> |
getLabels() |
String |
getName()
Gets the value of the name property.
|
List<Parameter> |
getParameters() |
SeverityLevel |
getSeverity()
Gets the value of the severity property.
|
long |
getStart()
Gets the value of the start property.
|
Status |
getStatus()
Gets the value of the status property.
|
List<Step> |
getSteps() |
long |
getStop()
Gets the value of the stop property.
|
String |
getTitle()
Gets the value of the title property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setAttachments(List<Attachment> attachments) |
void |
setDescription(Description value)
Sets the value of the description property.
|
void |
setFailure(Failure value)
Sets the value of the failure property.
|
void |
setLabels(List<Label> labels) |
void |
setName(String value)
Sets the value of the name property.
|
void |
setParameters(List<Parameter> parameters) |
void |
setSeverity(SeverityLevel value)
Sets the value of the severity property.
|
void |
setStart(long value)
Sets the value of the start property.
|
void |
setStatus(Status value)
Sets the value of the status property.
|
void |
setSteps(List<Step> steps) |
void |
setStop(long value)
Sets the value of the stop property.
|
void |
setTitle(String value)
Sets the value of the title property.
|
TestCaseResult |
withAttachments(Attachment... values) |
TestCaseResult |
withAttachments(Collection<Attachment> values) |
TestCaseResult |
withAttachments(List<Attachment> attachments) |
TestCaseResult |
withDescription(Description value) |
TestCaseResult |
withFailure(Failure value) |
TestCaseResult |
withLabels(Collection<Label> values) |
TestCaseResult |
withLabels(Label... values) |
TestCaseResult |
withLabels(List<Label> labels) |
TestCaseResult |
withName(String value) |
TestCaseResult |
withParameters(Collection<Parameter> values) |
TestCaseResult |
withParameters(List<Parameter> parameters) |
TestCaseResult |
withParameters(Parameter... values) |
TestCaseResult |
withSeverity(SeverityLevel value) |
TestCaseResult |
withStart(long value) |
TestCaseResult |
withStatus(Status value) |
TestCaseResult |
withSteps(Collection<Step> values) |
TestCaseResult |
withSteps(List<Step> steps) |
TestCaseResult |
withSteps(Step... values) |
TestCaseResult |
withStop(long value) |
TestCaseResult |
withTitle(String value) |
protected String name
protected String title
protected Description description
protected Failure failure
protected long start
protected long stop
protected Status status
protected SeverityLevel severity
protected List<Attachment> attachments
public String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic String getTitle()
Stringpublic void setTitle(String value)
value - allowed object is
Stringpublic Description getDescription()
Descriptionpublic void setDescription(Description value)
value - allowed object is
Descriptionpublic Failure getFailure()
Failurepublic void setFailure(Failure value)
value - allowed object is
Failurepublic long getStart()
public void setStart(long value)
public long getStop()
public void setStop(long value)
public Status getStatus()
Statuspublic void setStatus(Status value)
value - allowed object is
Statuspublic SeverityLevel getSeverity()
SeverityLevelpublic void setSeverity(SeverityLevel value)
value - allowed object is
SeverityLevelpublic List<Attachment> getAttachments()
public void setAttachments(List<Attachment> attachments)
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equalspublic int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCodepublic TestCaseResult withName(String value)
public TestCaseResult withTitle(String value)
public TestCaseResult withDescription(Description value)
public TestCaseResult withFailure(Failure value)
public TestCaseResult withStart(long value)
public TestCaseResult withStop(long value)
public TestCaseResult withStatus(Status value)
public TestCaseResult withSeverity(SeverityLevel value)
public TestCaseResult withSteps(Step... values)
public TestCaseResult withSteps(Collection<Step> values)
public TestCaseResult withSteps(List<Step> steps)
public TestCaseResult withAttachments(Attachment... values)
public TestCaseResult withAttachments(Collection<Attachment> values)
public TestCaseResult withAttachments(List<Attachment> attachments)
public TestCaseResult withLabels(Label... values)
public TestCaseResult withLabels(Collection<Label> values)
public TestCaseResult withLabels(List<Label> labels)
public TestCaseResult withParameters(Parameter... values)
public TestCaseResult withParameters(Collection<Parameter> values)
public TestCaseResult withParameters(List<Parameter> parameters)
Copyright © 2017 Yandex. All rights reserved.