All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.exadatum.sensorium.xmaven.jaxb.junit.Testsuite Maven / Gradle / Ivy

Go to download

Bash Maven Plugin is used to generate documentation as well as to run unit test for bash scripts.

The newest version!
//
// 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: 2018.08.09 at 12:53:26 PM UTC 
//


package com.exadatum.sensorium.xmaven.jaxb.junit;

import java.math.BigDecimal;
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.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.XmlValue;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;


/**
 * Contains the results of exexuting a testsuite
 * 
 * 

Java class for testsuite complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="testsuite">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="properties">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <sequence>
 *                   <element name="property" maxOccurs="unbounded" minOccurs="0">
 *                     <complexType>
 *                       <complexContent>
 *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                           <attribute name="name" use="required">
 *                             <simpleType>
 *                               <restriction base="{http://www.w3.org/2001/XMLSchema}token">
 *                                 <minLength value="1"/>
 *                               </restriction>
 *                             </simpleType>
 *                           </attribute>
 *                           <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
 *                         </restriction>
 *                       </complexContent>
 *                     </complexType>
 *                   </element>
 *                 </sequence>
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *         <element name="testcase" maxOccurs="unbounded" minOccurs="0">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <choice minOccurs="0">
 *                   <element name="error">
 *                     <complexType>
 *                       <simpleContent>
 *                         <extension base="<>pre-string">
 *                           <attribute name="message" type="{http://www.w3.org/2001/XMLSchema}string" />
 *                           <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
 *                         </extension>
 *                       </simpleContent>
 *                     </complexType>
 *                   </element>
 *                   <element name="failure">
 *                     <complexType>
 *                       <simpleContent>
 *                         <extension base="<>pre-string">
 *                           <attribute name="message" type="{http://www.w3.org/2001/XMLSchema}string" />
 *                           <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
 *                         </extension>
 *                       </simpleContent>
 *                     </complexType>
 *                   </element>
 *                 </choice>
 *                 <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}token" />
 *                 <attribute name="classname" use="required" type="{http://www.w3.org/2001/XMLSchema}token" />
 *                 <attribute name="time" use="required" type="{http://www.w3.org/2001/XMLSchema}decimal" />
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *         <element name="system-out">
 *           <simpleType>
 *             <restriction base="{}pre-string">
 *               <whiteSpace value="preserve"/>
 *             </restriction>
 *           </simpleType>
 *         </element>
 *         <element name="system-err">
 *           <simpleType>
 *             <restriction base="{}pre-string">
 *               <whiteSpace value="preserve"/>
 *             </restriction>
 *           </simpleType>
 *         </element>
 *       </sequence>
 *       <attribute name="name" use="required">
 *         <simpleType>
 *           <restriction base="{http://www.w3.org/2001/XMLSchema}token">
 *             <minLength value="1"/>
 *           </restriction>
 *         </simpleType>
 *       </attribute>
 *       <attribute name="tests" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
 *       <attribute name="failures" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
 *       <attribute name="errors" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
 *       <attribute name="time" use="required" type="{http://www.w3.org/2001/XMLSchema}decimal" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "testsuite", propOrder = { "properties", "testcase", "systemOut", "systemErr" }) @XmlSeeAlso({ com.exadatum.sensorium.xmaven.jaxb.junit.Testsuites.Testsuite.class }) public class Testsuite { @XmlElement(required = true) protected Testsuite.Properties properties; protected List testcase; @XmlElement(name = "system-out", required = true) protected String systemOut; @XmlElement(name = "system-err", required = true) protected String systemErr; @XmlAttribute(name = "name", required = true) @XmlJavaTypeAdapter(CollapsedStringAdapter.class) protected String name; @XmlAttribute(name = "tests", required = true) protected int tests; @XmlAttribute(name = "failures", required = true) protected int failures; @XmlAttribute(name = "errors", required = true) protected int errors; @XmlAttribute(name = "time", required = true) protected BigDecimal time; /** * Gets the value of the properties property. * * @return * possible object is * {@link Testsuite.Properties } * */ public Testsuite.Properties getProperties() { return properties; } /** * Sets the value of the properties property. * * @param value * allowed object is * {@link Testsuite.Properties } * */ public void setProperties(Testsuite.Properties value) { this.properties = value; } /** * Gets the value of the testcase 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 testcase property. * *

* For example, to add a new item, do as follows: *

     *    getTestcase().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Testsuite.Testcase } * * */ public List getTestcase() { if (testcase == null) { testcase = new ArrayList(); } return this.testcase; } /** * Gets the value of the systemOut property. * * @return * possible object is * {@link String } * */ public String getSystemOut() { return systemOut; } /** * Sets the value of the systemOut property. * * @param value * allowed object is * {@link String } * */ public void setSystemOut(String value) { this.systemOut = value; } /** * Gets the value of the systemErr property. * * @return * possible object is * {@link String } * */ public String getSystemErr() { return systemErr; } /** * Sets the value of the systemErr property. * * @param value * allowed object is * {@link String } * */ public void setSystemErr(String value) { this.systemErr = 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 tests property. * */ public int getTests() { return tests; } /** * Sets the value of the tests property. * */ public void setTests(int value) { this.tests = value; } /** * Gets the value of the failures property. * */ public int getFailures() { return failures; } /** * Sets the value of the failures property. * */ public void setFailures(int value) { this.failures = value; } /** * Gets the value of the errors property. * */ public int getErrors() { return errors; } /** * Sets the value of the errors property. * */ public void setErrors(int value) { this.errors = value; } /** * Gets the value of the time property. * * @return * possible object is * {@link BigDecimal } * */ public BigDecimal getTime() { return time; } /** * Sets the value of the time property. * * @param value * allowed object is * {@link BigDecimal } * */ public void setTime(BigDecimal value) { this.time = value; } /** *

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 name="property" maxOccurs="unbounded" minOccurs="0">
     *           <complexType>
     *             <complexContent>
     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *                 <attribute name="name" use="required">
     *                   <simpleType>
     *                     <restriction base="{http://www.w3.org/2001/XMLSchema}token">
     *                       <minLength value="1"/>
     *                     </restriction>
     *                   </simpleType>
     *                 </attribute>
     *                 <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
     *               </restriction>
     *             </complexContent>
     *           </complexType>
     *         </element>
     *       </sequence>
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "property" }) public static class Properties { protected List property; /** * Gets the value of the property 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 property property. * *

* For example, to add a new item, do as follows: *

         *    getProperty().add(newItem);
         * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Testsuite.Properties.Property } * * */ public List getProperty() { if (property == null) { property = new ArrayList(); } return this.property; } /** *

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">
         *       <attribute name="name" use="required">
         *         <simpleType>
         *           <restriction base="{http://www.w3.org/2001/XMLSchema}token">
         *             <minLength value="1"/>
         *           </restriction>
         *         </simpleType>
         *       </attribute>
         *       <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
         *     </restriction>
         *   </complexContent>
         * </complexType>
         * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") public static class Property { @XmlAttribute(name = "name", required = true) @XmlJavaTypeAdapter(CollapsedStringAdapter.class) protected String name; @XmlAttribute(name = "value", required = true) protected String 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 value property. * * @return * possible object is * {@link String } * */ public String getValue() { return value; } /** * Sets the value of the value property. * * @param value * allowed object is * {@link String } * */ public void setValue(String value) { this.value = value; } } } /** *

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">
     *       <choice minOccurs="0">
     *         <element name="error">
     *           <complexType>
     *             <simpleContent>
     *               <extension base="<>pre-string">
     *                 <attribute name="message" type="{http://www.w3.org/2001/XMLSchema}string" />
     *                 <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
     *               </extension>
     *             </simpleContent>
     *           </complexType>
     *         </element>
     *         <element name="failure">
     *           <complexType>
     *             <simpleContent>
     *               <extension base="<>pre-string">
     *                 <attribute name="message" type="{http://www.w3.org/2001/XMLSchema}string" />
     *                 <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
     *               </extension>
     *             </simpleContent>
     *           </complexType>
     *         </element>
     *       </choice>
     *       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}token" />
     *       <attribute name="classname" use="required" type="{http://www.w3.org/2001/XMLSchema}token" />
     *       <attribute name="time" use="required" type="{http://www.w3.org/2001/XMLSchema}decimal" />
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "error", "failure" }) public static class Testcase { protected Testsuite.Testcase.Error error; protected Testsuite.Testcase.Failure failure; @XmlAttribute(name = "name", required = true) @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlSchemaType(name = "token") protected String name; @XmlAttribute(name = "classname", required = true) @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlSchemaType(name = "token") protected String classname; @XmlAttribute(name = "time", required = true) protected BigDecimal time; /** * Gets the value of the error property. * * @return * possible object is * {@link Testsuite.Testcase.Error } * */ public Testsuite.Testcase.Error getError() { return error; } /** * Sets the value of the error property. * * @param value * allowed object is * {@link Testsuite.Testcase.Error } * */ public void setError(Testsuite.Testcase.Error value) { this.error = value; } /** * Gets the value of the failure property. * * @return * possible object is * {@link Testsuite.Testcase.Failure } * */ public Testsuite.Testcase.Failure getFailure() { return failure; } /** * Sets the value of the failure property. * * @param value * allowed object is * {@link Testsuite.Testcase.Failure } * */ public void setFailure(Testsuite.Testcase.Failure value) { this.failure = 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 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 time property. * * @return * possible object is * {@link BigDecimal } * */ public BigDecimal getTime() { return time; } /** * Sets the value of the time property. * * @param value * allowed object is * {@link BigDecimal } * */ public void setTime(BigDecimal value) { this.time = value; } /** *

Java class for anonymous complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

         * <complexType>
         *   <simpleContent>
         *     <extension base="<>pre-string">
         *       <attribute name="message" type="{http://www.w3.org/2001/XMLSchema}string" />
         *       <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
         *     </extension>
         *   </simpleContent>
         * </complexType>
         * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "value" }) public static class Error { @XmlValue protected String value; @XmlAttribute(name = "message") protected String message; @XmlAttribute(name = "type", required = true) protected String type; /** * Gets the value of the value property. * * @return * possible object is * {@link String } * */ public String getValue() { return value; } /** * Sets the value of the value property. * * @param value * allowed object is * {@link String } * */ public void setValue(String value) { this.value = value; } /** * Gets the value of the message property. * * @return * possible object is * {@link String } * */ public String getMessage() { return message; } /** * Sets the value of the message property. * * @param value * allowed object is * {@link String } * */ public void setMessage(String value) { this.message = value; } /** * Gets the value of the type property. * * @return * possible object is * {@link String } * */ public String getType() { return type; } /** * Sets the value of the type property. * * @param value * allowed object is * {@link String } * */ public void setType(String value) { this.type = value; } } /** *

Java class for anonymous complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

         * <complexType>
         *   <simpleContent>
         *     <extension base="<>pre-string">
         *       <attribute name="message" type="{http://www.w3.org/2001/XMLSchema}string" />
         *       <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
         *     </extension>
         *   </simpleContent>
         * </complexType>
         * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "value" }) public static class Failure { @XmlValue protected String value; @XmlAttribute(name = "message") protected String message; @XmlAttribute(name = "type", required = true) protected String type; /** * Gets the value of the value property. * * @return * possible object is * {@link String } * */ public String getValue() { return value; } /** * Sets the value of the value property. * * @param value * allowed object is * {@link String } * */ public void setValue(String value) { this.value = value; } /** * Gets the value of the message property. * * @return * possible object is * {@link String } * */ public String getMessage() { return message; } /** * Sets the value of the message property. * * @param value * allowed object is * {@link String } * */ public void setMessage(String value) { this.message = value; } /** * Gets the value of the type property. * * @return * possible object is * {@link String } * */ public String getType() { return type; } /** * Sets the value of the type property. * * @param value * allowed object is * {@link String } * */ public void setType(String value) { this.type = value; } } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy