Commit | Line | Data |
---|---|---|
970ed795 EL |
1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | <!-- | |
3 | XML Schema for JunitLogger plugin | |
4 | ||
3abe9331 | 5 | Copyright (c) 2000-2015 Ericsson Telecom AB |
970ed795 EL |
6 | |
7 | All rights reserved. This program and the accompanying materials | |
8 | are made available under the terms of the Eclipse Public License v1.0 | |
9 | which accompanies this distribution, and is available at | |
10 | http://www.eclipse.org/legal/epl-v10.html | |
11 | --> | |
12 | <?xml version="1.0" encoding="UTF-8" ?> | |
13 | <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> | |
14 | ||
15 | <xs:element name="failure"> | |
16 | <xs:complexType mixed="true"> | |
17 | <xs:attribute name="type" type="xs:string" use="optional"/> | |
18 | </xs:complexType> | |
19 | </xs:element> | |
20 | ||
21 | <xs:element name="skipped" type="xs:string"/> | |
22 | ||
23 | <xs:element name="error"> | |
24 | <xs:complexType mixed="true"> | |
25 | <xs:attribute name="type" type="xs:string" use="optional"/> | |
26 | </xs:complexType> | |
27 | </xs:element> | |
28 | ||
29 | <xs:element name="testcase"> | |
30 | <xs:complexType> | |
31 | <xs:sequence> | |
32 | <xs:element ref="skipped" minOccurs="0" maxOccurs="1"/> | |
33 | <xs:element ref="error" minOccurs="0" maxOccurs="unbounded"/> | |
34 | <xs:element ref="failure" minOccurs="0" maxOccurs="unbounded"/> | |
35 | </xs:sequence> | |
36 | <xs:attribute name="classname" type="xs:string" use="required"/> | |
37 | <xs:attribute name="name" type="xs:string" use="required"/> | |
38 | <xs:attribute name="time" type="xs:string" use="required"/> | |
39 | </xs:complexType> | |
40 | </xs:element> | |
41 | ||
42 | <xs:element name="testsuite"> | |
43 | <xs:complexType> | |
44 | <xs:sequence> | |
45 | <xs:element ref="testcase" minOccurs="0" maxOccurs="unbounded"/> | |
46 | </xs:sequence> | |
47 | <xs:attribute name="name" type="xs:string" use="required"/> | |
48 | </xs:complexType> | |
49 | </xs:element> | |
50 | ||
51 | </xs:schema> | |
52 |