ru.yandex.qatools.allure.data.AllureXUnit 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;
/**
* Java class for allure-x-unit complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="allure-x-unit">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="time" type="{urn:data.allure.qatools.yandex.ru}time"/>
* <element name="test-suites" type="{urn:data.allure.qatools.yandex.ru}allure-test-suites" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "allure-x-unit", propOrder = {
"time",
"testSuites"
})
public class AllureXUnit {
@XmlElement(required = true)
protected Time time;
@XmlElementWrapper(name = "test-suites")
@XmlElement(name = "test-suite")
protected List testSuites;
/**
* 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;
}
public List getTestSuites() {
if (testSuites == null) {
testSuites = new ArrayList();
}
return testSuites;
}
public void setTestSuites(List testSuites) {
this.testSuites = testSuites;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy