Class Testsuite
- java.lang.Object
-
- com.chutneytesting.execution.api.report.surefire.Testsuite
-
public class Testsuite extends Object
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="properties" maxOccurs="unbounded" minOccurs="0"> <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" type="{http://www.w3.org/2001/XMLSchema}string" /> <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"> <sequence> <element name="failure" maxOccurs="unbounded" minOccurs="0"> <complexType> <simpleContent> <extension base="<http://www.w3.org/2001/XMLSchema>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" /> <attribute name="time"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <pattern value="(([0-9]{0,3},)*[0-9]{3}|[0-9]{0,3})*(\.[0-9]{0,3})?"/> </restriction> </simpleType> </attribute> </extension> </simpleContent> </complexType> </element> <element name="rerunFailure" maxOccurs="unbounded" minOccurs="0"> <complexType> <simpleContent> <extension base="<http://www.w3.org/2001/XMLSchema>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" /> <attribute name="time"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <pattern value="(([0-9]{0,3},)*[0-9]{3}|[0-9]{0,3})*(\.[0-9]{0,3})?"/> </restriction> </simpleType> </attribute> </extension> </simpleContent> </complexType> </element> <element name="skipped" minOccurs="0"> <complexType> <simpleContent> <extension base="<http://www.w3.org/2001/XMLSchema>string"> <attribute name="message" type="{http://www.w3.org/2001/XMLSchema}string" /> </extension> </simpleContent> </complexType> </element> <element name="error" minOccurs="0"> <complexType> <simpleContent> <extension base="<http://www.w3.org/2001/XMLSchema>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="system-out" type="{http://www.w3.org/2001/XMLSchema}anyType" minOccurs="0"/> <element name="system-err" type="{http://www.w3.org/2001/XMLSchema}anyType" minOccurs="0"/> </sequence> <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="classname" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="group" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="time" use="required"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <pattern value="(([0-9]{0,3},)*[0-9]{3}|[0-9]{0,3})*(\.[0-9]{0,3})?"/> </restriction> </simpleType> </attribute> </restriction> </complexContent> </complexType> </element> </sequence> <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="time"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <pattern value="(([0-9]{0,3},)*[0-9]{3}|[0-9]{0,3})*(\.[0-9]{0,3})?"/> </restriction> </simpleType> </attribute> <attribute name="tests" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="errors" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="skipped" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="failures" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="group" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTestsuite.PropertiesJava class for anonymous complex type.static classTestsuite.TestcaseJava class for anonymous complex type.
-
Field Summary
Fields Modifier and Type Field Description protected Stringerrorsprotected Stringfailuresprotected Stringgroupprotected Stringnameprotected List<Testsuite.Properties>propertiesprotected Stringskippedprotected List<Testsuite.Testcase>testcaseprotected Stringtestsprotected Stringtime
-
Constructor Summary
Constructors Constructor Description Testsuite()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetErrors()Gets the value of the errors property.StringgetFailures()Gets the value of the failures property.StringgetGroup()Gets the value of the group property.StringgetName()Gets the value of the name property.List<Testsuite.Properties>getProperties()Gets the value of the properties property.StringgetSkipped()Gets the value of the skipped property.List<Testsuite.Testcase>getTestcase()Gets the value of the testcase property.StringgetTests()Gets the value of the tests property.StringgetTime()Gets the value of the time property.voidsetErrors(String value)Sets the value of the errors property.voidsetFailures(String value)Sets the value of the failures property.voidsetGroup(String value)Sets the value of the group property.voidsetName(String value)Sets the value of the name property.voidsetSkipped(String value)Sets the value of the skipped property.voidsetTests(String value)Sets the value of the tests property.voidsetTime(String value)Sets the value of the time property.
-
-
-
Field Detail
-
properties
protected List<Testsuite.Properties> properties
-
testcase
protected List<Testsuite.Testcase> testcase
-
name
protected String name
-
time
protected String time
-
tests
protected String tests
-
errors
protected String errors
-
skipped
protected String skipped
-
failures
protected String failures
-
group
protected String group
-
-
Method Detail
-
getProperties
public List<Testsuite.Properties> getProperties()
Gets the value of the properties 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
setmethod for the properties property.For example, to add a new item, do as follows:
getProperties().add(newItem);Objects of the following type(s) are allowed in the list
Testsuite.Properties
-
getTestcase
public List<Testsuite.Testcase> getTestcase()
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
setmethod 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
Testsuite.Testcase
-
getName
public String getName()
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
public void setName(String value)
Sets the value of the name property.- Parameters:
value- allowed object isString
-
getTime
public String getTime()
Gets the value of the time property.- Returns:
- possible object is
String
-
setTime
public void setTime(String value)
Sets the value of the time property.- Parameters:
value- allowed object isString
-
getTests
public String getTests()
Gets the value of the tests property.- Returns:
- possible object is
String
-
setTests
public void setTests(String value)
Sets the value of the tests property.- Parameters:
value- allowed object isString
-
getErrors
public String getErrors()
Gets the value of the errors property.- Returns:
- possible object is
String
-
setErrors
public void setErrors(String value)
Sets the value of the errors property.- Parameters:
value- allowed object isString
-
getSkipped
public String getSkipped()
Gets the value of the skipped property.- Returns:
- possible object is
String
-
setSkipped
public void setSkipped(String value)
Sets the value of the skipped property.- Parameters:
value- allowed object isString
-
getFailures
public String getFailures()
Gets the value of the failures property.- Returns:
- possible object is
String
-
setFailures
public void setFailures(String value)
Sets the value of the failures property.- Parameters:
value- allowed object isString
-
getGroup
public String getGroup()
Gets the value of the group property.- Returns:
- possible object is
String
-
-