io.magentys.junit.model.Testcase Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2017.09.22 at 01:07:35 PM AWST
//
package io.magentys.junit.model;
import javax.xml.bind.annotation.*;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{}skipped" minOccurs="0"/>
* <element ref="{}error" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{}failure" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{}system-out" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{}system-err" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="assertions" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="time" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="classname" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="status" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="file" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"skipped",
"error",
"failure",
"systemOut",
"systemErr"
})
@XmlRootElement(name = "testcase")
public class Testcase
implements Serializable {
private final static long serialVersionUID = 1L;
protected String skipped;
protected List error;
protected List failure;
@XmlElement(name = "system-out")
protected List systemOut;
@XmlElement(name = "system-err")
protected List systemErr;
@XmlAttribute(name = "name", required = true)
protected String name;
@XmlAttribute(name = "assertions")
protected String assertions;
@XmlAttribute(name = "time")
protected String time;
@XmlAttribute(name = "classname")
protected String classname;
@XmlAttribute(name = "status")
protected String status;
@XmlAttribute(name = "file", required = true)
protected String file;
/**
* Gets the value of the skipped property.
*
* @return possible object is
* {@link String }
*/
public String getSkipped() {
return skipped;
}
/**
* Sets the value of the skipped property.
*
* @param value allowed object is
* {@link String }
*/
public void setSkipped(String value) {
this.skipped = value;
}
/**
* Gets the value of the error property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the error property.
*
*
* For example, to add a new item, do as follows:
*
* getError().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Error }
*/
public List getError() {
if (error == null) {
error = new ArrayList();
}
return this.error;
}
/**
* Gets the value of the failure property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the failure property.
*
*
* For example, to add a new item, do as follows:
*
* getFailure().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Failure }
*/
public List getFailure() {
if (failure == null) {
failure = new ArrayList();
}
return this.failure;
}
/**
* Gets the value of the systemOut property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the systemOut property.
*
*
* For example, to add a new item, do as follows:
*
* getSystemOut().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*/
public List getSystemOut() {
if (systemOut == null) {
systemOut = new ArrayList();
}
return this.systemOut;
}
/**
* Gets the value of the systemErr property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the systemErr property.
*
*
* For example, to add a new item, do as follows:
*
* getSystemErr().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*/
public List getSystemErr() {
if (systemErr == null) {
systemErr = new ArrayList();
}
return this.systemErr;
}
/**
* 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 assertions property.
*
* @return possible object is
* {@link String }
*/
public String getAssertions() {
return assertions;
}
/**
* Sets the value of the assertions property.
*
* @param value allowed object is
* {@link String }
*/
public void setAssertions(String value) {
this.assertions = value;
}
/**
* Gets the value of the time property.
*
* @return possible object is
* {@link String }
*/
public String getTime() {
return time;
}
/**
* Sets the value of the time property.
*
* @param value allowed object is
* {@link String }
*/
public void setTime(String value) {
this.time = value;
}
/**
* Gets the value of the classname property.
*
* @return possible object is
* {@link String }
*/
public String getClassname() {
return classname;
}
/**
* Sets the value of the classname property.
*
* @param value allowed object is
* {@link String }
*/
public void setClassname(String value) {
this.classname = value;
}
/**
* Gets the value of the status property.
*
* @return possible object is
* {@link String }
*/
public String getStatus() {
return status;
}
/**
* Sets the value of the status property.
*
* @param value allowed object is
* {@link String }
*/
public void setStatus(String value) {
this.status = value;
}
/**
* Gets the value of the file property.
*
* @return possible object is
* {@link String }
*/
public String getFile() {
return file;
}
/**
* Sets the value of the file property.
*
* @param value allowed object is
* {@link String }
*/
public void setFile(String value) {
this.file = value;
}
}