ru.yandex.qatools.allure.data.AllureTestSuite Maven / Gradle / Ivy
package ru.yandex.qatools.allure.data;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlType;
import ru.yandex.qatools.allure.model.Description;
/**
* Java class for allure-test-suite complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="allure-test-suite">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <all>
* <element name="uid" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="title" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="time" type="{urn:data.allure.qatools.yandex.ru}time"/>
* <element name="statistic" type="{urn:data.allure.qatools.yandex.ru}statistic"/>
* <element name="description" type="{urn:data.allure.qatools.yandex.ru}description" minOccurs="0"/>
* <element name="test-cases" type="{urn:data.allure.qatools.yandex.ru}allure-test-cases-info" minOccurs="0"/>
* </all>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "allure-test-suite", propOrder = {
})
public class AllureTestSuite {
@XmlElement(required = true)
protected String uid;
@XmlElement(required = true)
protected String name;
@XmlElement(required = true)
protected String title;
@XmlElement(required = true)
protected Time time;
@XmlElement(required = true)
protected Statistic statistic;
protected Description description;
@XmlElementWrapper(name = "test-cases")
@XmlElement(name = "test-case")
protected List testCases;
/**
* Gets the value of the uid property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getUid() {
return uid;
}
/**
* Sets the value of the uid property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setUid(String value) {
this.uid = value;
}
/**
* Gets the value of the name property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setName(String value) {
this.name = value;
}
/**
* Gets the value of the title property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTitle() {
return title;
}
/**
* Sets the value of the title property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTitle(String value) {
this.title = value;
}
/**
* Gets the value of the time property.
*
* @return
* possible object is
* {@link Time }
*
*/
public Time getTime() {
return time;
}
/**
* Sets the value of the time property.
*
* @param value
* allowed object is
* {@link Time }
*
*/
public void setTime(Time value) {
this.time = value;
}
/**
* Gets the value of the statistic property.
*
* @return
* possible object is
* {@link Statistic }
*
*/
public Statistic getStatistic() {
return statistic;
}
/**
* Sets the value of the statistic property.
*
* @param value
* allowed object is
* {@link Statistic }
*
*/
public void setStatistic(Statistic value) {
this.statistic = value;
}
/**
* Gets the value of the description property.
*
* @return
* possible object is
* {@link Description }
*
*/
public Description getDescription() {
return description;
}
/**
* Sets the value of the description property.
*
* @param value
* allowed object is
* {@link Description }
*
*/
public void setDescription(Description value) {
this.description = value;
}
public List getTestCases() {
if (testCases == null) {
testCases = new ArrayList();
}
return testCases;
}
public void setTestCases(List testCases) {
this.testCases = testCases;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy