1
<?xml version="1.0" encoding="UTF-8"?>
2
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
3
<xs:attributeGroup name="TestUnitAttributes">
4
<xs:attribute name="name" type="xs:string" use="required">
6
<xs:documentation>name of the test unit</xs:documentation>
9
<xs:attribute name="skipped" type="xs:string" use="optional" fixed="yes">
11
<xs:documentation>Specified with value "yes" only if test unit was skipped during execution</xs:documentation>
15
<xs:complexType name="LogEntry">
17
<xs:extension base="xs:string">
18
<xs:attribute name="line" type="xs:integer" use="required">
20
<xs:documentation>Line number corresponding to the log entry</xs:documentation>
23
<xs:attribute name="file" type="xs:anyURI" use="required">
25
<xs:documentation>file name corresponding to the log entry</xs:documentation>
31
<xs:complexType name="ExceptionEntry" mixed="true">
33
<xs:documentation>Exception description</xs:documentation>
36
<xs:element name="LastCheckpoint" type="LogEntry">
38
<xs:documentation>Location of last checkpoint before exception occured</xs:documentation>
42
<xs:attribute name="name" type="xs:string" use="optional">
44
<xs:documentation>obsolete?</xs:documentation>
48
<xs:element name="TestCase">
51
<xs:choice minOccurs="0" maxOccurs="unbounded">
53
<xs:documentation>different log entries</xs:documentation>
55
<xs:element name="Info" type="LogEntry">
57
<xs:documentation>Log entry corresponding to the successfully passed assertion</xs:documentation>
60
<xs:element name="Message" type="LogEntry">
62
<xs:documentation>Log entry corresponding to the message generated during test execution</xs:documentation>
65
<xs:element name="Warning" type="LogEntry">
67
<xs:documentation>Log entry corresponding to the warning generated during test execution</xs:documentation>
70
<xs:element name="Error" type="LogEntry">
72
<xs:documentation>Log entry corresponding to the non-fatal error occured during test execution</xs:documentation>
75
<xs:element name="FatalError" type="LogEntry">
77
<xs:documentation>Log entry corresponding to the fatal error occured during test execution</xs:documentation>
80
<xs:element name="Exception" type="ExceptionEntry">
82
<xs:documentation>Log entry corresponding to an exception occured during test execution</xs:documentation>
86
<xs:element name="TestingTime" type="xs:float">
88
<xs:documentation>approximate time spent on test unit execution</xs:documentation>
92
<xs:attributeGroup ref="TestUnitAttributes"/>
95
<xs:element name="TestSuite">
99
<xs:documentation>List of test units composing test suite</xs:documentation>
101
<xs:choice minOccurs="0" maxOccurs="unbounded">
102
<xs:element ref="TestCase"/>
103
<xs:element ref="TestSuite"/>
106
<xs:attributeGroup ref="TestUnitAttributes"/>
109
<xs:element name="TestLog">
111
<xs:documentation>Holds whole unit test log content</xs:documentation>
115
<xs:element name="BuildInfo" minOccurs="0">
117
<xs:documentation>Optional build information for the unit test. </xs:documentation>
120
<xs:attribute name="platform" type="xs:string">
122
<xs:documentation>unique identifier for the platform unit test was compiled on</xs:documentation>
125
<xs:attribute name="compiler" type="xs:string">
127
<xs:documentation>unique identifier for the compiler unit test was compiled with</xs:documentation>
130
<xs:attribute name="stl" type="xs:string">
132
<xs:documentation>unique identifier for the STL implementation used during unit test compilation</xs:documentation>
135
<xs:attribute name="boost" type="xs:string">
137
<xs:documentation>version of the boost used</xs:documentation>
142
<xs:element ref="TestSuite"/>