~ubuntu-branches/debian/sid/boost1.49/sid

« back to all changes in this revision

Viewing changes to libs/test/doc/src/UTF.log.xsd

  • Committer: Package Import Robot
  • Author(s): Steve M. Robbins
  • Date: 2012-02-26 00:31:44 UTC
  • Revision ID: package-import@ubuntu.com-20120226003144-eaytp12cbf6ubpms
Tags: upstream-1.49.0
ImportĀ upstreamĀ versionĀ 1.49.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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">
 
5
                        <xs:annotation>
 
6
                                <xs:documentation>name of the test unit</xs:documentation>
 
7
                        </xs:annotation>
 
8
                </xs:attribute>
 
9
                <xs:attribute name="skipped" type="xs:string" use="optional" fixed="yes">
 
10
                        <xs:annotation>
 
11
                                <xs:documentation>Specified with value "yes" only if test unit was skipped during execution</xs:documentation>
 
12
                        </xs:annotation>
 
13
                </xs:attribute>
 
14
        </xs:attributeGroup>
 
15
        <xs:complexType name="LogEntry">
 
16
                <xs:simpleContent>
 
17
                        <xs:extension base="xs:string">
 
18
                                <xs:attribute name="line" type="xs:integer" use="required">
 
19
                                        <xs:annotation>
 
20
                                                <xs:documentation>Line number corresponding to the log entry</xs:documentation>
 
21
                                        </xs:annotation>
 
22
                                </xs:attribute>
 
23
                                <xs:attribute name="file" type="xs:anyURI" use="required">
 
24
                                        <xs:annotation>
 
25
                                                <xs:documentation>file name corresponding to the log entry</xs:documentation>
 
26
                                        </xs:annotation>
 
27
                                </xs:attribute>
 
28
                        </xs:extension>
 
29
                </xs:simpleContent>
 
30
        </xs:complexType>
 
31
        <xs:complexType name="ExceptionEntry" mixed="true">
 
32
                <xs:annotation>
 
33
                        <xs:documentation>Exception description</xs:documentation>
 
34
                </xs:annotation>
 
35
                <xs:sequence>
 
36
                        <xs:element name="LastCheckpoint" type="LogEntry">
 
37
                                <xs:annotation>
 
38
                                        <xs:documentation>Location of last checkpoint before exception occured</xs:documentation>
 
39
                                </xs:annotation>
 
40
                        </xs:element>
 
41
                </xs:sequence>
 
42
                <xs:attribute name="name" type="xs:string" use="optional">
 
43
                        <xs:annotation>
 
44
                                <xs:documentation>obsolete?</xs:documentation>
 
45
                        </xs:annotation>
 
46
                </xs:attribute>
 
47
        </xs:complexType>
 
48
        <xs:element name="TestCase">
 
49
                <xs:complexType>
 
50
                        <xs:sequence>
 
51
                                <xs:choice minOccurs="0" maxOccurs="unbounded">
 
52
                                        <xs:annotation>
 
53
                                                <xs:documentation>different log entries</xs:documentation>
 
54
                                        </xs:annotation>
 
55
                                        <xs:element name="Info" type="LogEntry">
 
56
                                                <xs:annotation>
 
57
                                                        <xs:documentation>Log entry corresponding to  the successfully passed assertion</xs:documentation>
 
58
                                                </xs:annotation>
 
59
                                        </xs:element>
 
60
                                        <xs:element name="Message" type="LogEntry">
 
61
                                                <xs:annotation>
 
62
                                                        <xs:documentation>Log entry corresponding to  the message generated during test execution</xs:documentation>
 
63
                                                </xs:annotation>
 
64
                                        </xs:element>
 
65
                                        <xs:element name="Warning" type="LogEntry">
 
66
                                                <xs:annotation>
 
67
                                                        <xs:documentation>Log entry corresponding to  the warning generated during test execution</xs:documentation>
 
68
                                                </xs:annotation>
 
69
                                        </xs:element>
 
70
                                        <xs:element name="Error" type="LogEntry">
 
71
                                                <xs:annotation>
 
72
                                                        <xs:documentation>Log entry corresponding to  the non-fatal error occured during test execution</xs:documentation>
 
73
                                                </xs:annotation>
 
74
                                        </xs:element>
 
75
                                        <xs:element name="FatalError" type="LogEntry">
 
76
                                                <xs:annotation>
 
77
                                                        <xs:documentation>Log entry corresponding to  the fatal error occured during test execution</xs:documentation>
 
78
                                                </xs:annotation>
 
79
                                        </xs:element>
 
80
                                        <xs:element name="Exception" type="ExceptionEntry">
 
81
                                                <xs:annotation>
 
82
                                                        <xs:documentation>Log entry corresponding to  an exception occured during test execution</xs:documentation>
 
83
                                                </xs:annotation>
 
84
                                        </xs:element>
 
85
                                </xs:choice>
 
86
                                <xs:element name="TestingTime" type="xs:float">
 
87
                                        <xs:annotation>
 
88
                                                <xs:documentation>approximate time spent on test unit execution</xs:documentation>
 
89
                                        </xs:annotation>
 
90
                                </xs:element>
 
91
                        </xs:sequence>
 
92
                        <xs:attributeGroup ref="TestUnitAttributes"/>
 
93
                </xs:complexType>
 
94
        </xs:element>
 
95
        <xs:element name="TestSuite">
 
96
                <xs:complexType>
 
97
                        <xs:sequence>
 
98
                                <xs:annotation>
 
99
                                        <xs:documentation>List of test units composing test suite</xs:documentation>
 
100
                                </xs:annotation>
 
101
                                <xs:choice minOccurs="0" maxOccurs="unbounded">
 
102
                                        <xs:element ref="TestCase"/>
 
103
                                        <xs:element ref="TestSuite"/>
 
104
                                </xs:choice>
 
105
                        </xs:sequence>
 
106
                        <xs:attributeGroup ref="TestUnitAttributes"/>
 
107
                </xs:complexType>
 
108
        </xs:element>
 
109
        <xs:element name="TestLog">
 
110
                <xs:annotation>
 
111
                        <xs:documentation>Holds whole unit test log content</xs:documentation>
 
112
                </xs:annotation>
 
113
                <xs:complexType>
 
114
                        <xs:sequence>
 
115
                                <xs:element name="BuildInfo" minOccurs="0">
 
116
                                        <xs:annotation>
 
117
                                                <xs:documentation>Optional build information for the unit test. </xs:documentation>
 
118
                                        </xs:annotation>
 
119
                                        <xs:complexType>
 
120
                                                <xs:attribute name="platform" type="xs:string">
 
121
                                                        <xs:annotation>
 
122
                                                                <xs:documentation>unique identifier for the  platform unit test was compiled on</xs:documentation>
 
123
                                                        </xs:annotation>
 
124
                                                </xs:attribute>
 
125
                                                <xs:attribute name="compiler" type="xs:string">
 
126
                                                        <xs:annotation>
 
127
                                                                <xs:documentation>unique identifier for the  compiler unit test was compiled with</xs:documentation>
 
128
                                                        </xs:annotation>
 
129
                                                </xs:attribute>
 
130
                                                <xs:attribute name="stl" type="xs:string">
 
131
                                                        <xs:annotation>
 
132
                                                                <xs:documentation>unique identifier for the  STL implementation used during unit test compilation</xs:documentation>
 
133
                                                        </xs:annotation>
 
134
                                                </xs:attribute>
 
135
                                                <xs:attribute name="boost" type="xs:string">
 
136
                                                        <xs:annotation>
 
137
                                                                <xs:documentation>version of the boost used</xs:documentation>
 
138
                                                        </xs:annotation>
 
139
                                                </xs:attribute>
 
140
                                        </xs:complexType>
 
141
                                </xs:element>
 
142
                                <xs:element ref="TestSuite"/>
 
143
                        </xs:sequence>
 
144
                </xs:complexType>
 
145
        </xs:element>
 
146
</xs:schema>