|
| 1 | +<?xml version="1.0" encoding="utf-8"?> |
| 2 | +<!-- |
| 3 | +From: https://maven.apache.org/surefire/maven-surefire-plugin/xsd/surefire-test-report-3.0.xsd |
| 4 | +Via: https://maven.apache.org/surefire/maven-surefire-plugin/ |
| 5 | +--> |
| 6 | +<!-- |
| 7 | + ~ Licensed to the Apache Software Foundation (ASF) under one |
| 8 | + ~ or more contributor license agreements. See the NOTICE file |
| 9 | + ~ distributed with this work for additional information |
| 10 | + ~ regarding copyright ownership. The ASF licenses this file |
| 11 | + ~ to you under the Apache License, Version 2.0 (the |
| 12 | + ~ "License"); you may not use this file except in compliance |
| 13 | + ~ with the License. You may obtain a copy of the License at |
| 14 | + ~ |
| 15 | + ~ http://www.apache.org/licenses/LICENSE-2.0 |
| 16 | + ~ |
| 17 | + ~ Unless required by applicable law or agreed to in writing, |
| 18 | + ~ software distributed under the License is distributed on an |
| 19 | + ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 20 | + ~ KIND, either express or implied. See the License for the |
| 21 | + ~ specific language governing permissions and limitations |
| 22 | + ~ under the License. |
| 23 | + --> |
| 24 | +<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" version="3.0"> |
| 25 | + <xs:simpleType name="SUREFIRE_TIME"> |
| 26 | + <xs:restriction base="xs:string"> |
| 27 | + <xs:pattern value="(([0-9]{0,3},)*[0-9]{3}|[0-9]{0,3})*(\.[0-9]{0,3})?"/> |
| 28 | + </xs:restriction> |
| 29 | + </xs:simpleType> |
| 30 | + <xs:element name="testsuite"> |
| 31 | + <xs:complexType> |
| 32 | + <xs:sequence> |
| 33 | + <xs:element name="properties" minOccurs="0" maxOccurs="unbounded"> |
| 34 | + <xs:complexType> |
| 35 | + <xs:sequence> |
| 36 | + <xs:element name="property" minOccurs="0" maxOccurs="unbounded"> |
| 37 | + <xs:complexType> |
| 38 | + <xs:attribute name="name" type="xs:string" use="required"/> |
| 39 | + <xs:attribute name="value" type="xs:string" use="required"/> |
| 40 | + </xs:complexType> |
| 41 | + </xs:element> |
| 42 | + </xs:sequence> |
| 43 | + </xs:complexType> |
| 44 | + </xs:element> |
| 45 | + <xs:element name="testcase" minOccurs="0" maxOccurs="unbounded"> |
| 46 | + <xs:complexType> |
| 47 | + <xs:sequence> |
| 48 | + <xs:element name="failure" nillable="true" minOccurs="0" maxOccurs="unbounded"> |
| 49 | + <xs:complexType> |
| 50 | + <xs:simpleContent> |
| 51 | + <xs:extension base="xs:string"> |
| 52 | + <xs:attribute name="message" type="xs:string"/> |
| 53 | + <xs:attribute name="type" type="xs:string" use="required"/> |
| 54 | + </xs:extension> |
| 55 | + </xs:simpleContent> |
| 56 | + </xs:complexType> |
| 57 | + </xs:element> |
| 58 | + <xs:element name="rerunFailure" minOccurs="0" maxOccurs="unbounded"> |
| 59 | + <xs:complexType> |
| 60 | + <xs:sequence> |
| 61 | + <xs:element name="stackTrace" type="xs:string"/> |
| 62 | + <xs:element name="system-out" type="xs:string" minOccurs="0"/> |
| 63 | + <xs:element name="system-err" type="xs:string" minOccurs="0"/> |
| 64 | + </xs:sequence> |
| 65 | + <xs:attribute name="message" type="xs:string"/> |
| 66 | + <xs:attribute name="type" type="xs:string" use="required"/> |
| 67 | + </xs:complexType> |
| 68 | + </xs:element> |
| 69 | + <xs:element name="flakyFailure" minOccurs="0" maxOccurs="unbounded"> |
| 70 | + <xs:complexType> |
| 71 | + <xs:sequence> |
| 72 | + <xs:element name="stackTrace" type="xs:string"/> |
| 73 | + <xs:element name="system-out" type="xs:string" minOccurs="0"/> |
| 74 | + <xs:element name="system-err" type="xs:string" minOccurs="0"/> |
| 75 | + </xs:sequence> |
| 76 | + <xs:attribute name="message" type="xs:string"/> |
| 77 | + <xs:attribute name="type" type="xs:string" use="required"/> |
| 78 | + </xs:complexType> |
| 79 | + </xs:element> |
| 80 | + <xs:element name="skipped" nillable="true" minOccurs="0" maxOccurs="1"> |
| 81 | + <xs:complexType> |
| 82 | + <xs:simpleContent> |
| 83 | + <xs:extension base="xs:string"> |
| 84 | + <xs:attribute name="message" type="xs:string"/> |
| 85 | + </xs:extension> |
| 86 | + </xs:simpleContent> |
| 87 | + </xs:complexType> |
| 88 | + </xs:element> |
| 89 | + <xs:element name="error" nillable="true" minOccurs="0" maxOccurs="1"> |
| 90 | + <xs:complexType> |
| 91 | + <xs:simpleContent> |
| 92 | + <xs:extension base="xs:string"> |
| 93 | + <xs:attribute name="message" type="xs:string"/> |
| 94 | + <xs:attribute name="type" type="xs:string" use="required"/> |
| 95 | + </xs:extension> |
| 96 | + </xs:simpleContent> |
| 97 | + </xs:complexType> |
| 98 | + </xs:element> |
| 99 | + <xs:element name="rerunError" minOccurs="0" maxOccurs="unbounded"> |
| 100 | + <xs:complexType> |
| 101 | + <xs:sequence> |
| 102 | + <xs:element name="stackTrace" type="xs:string"/> |
| 103 | + <xs:element name="system-out" type="xs:string" minOccurs="0"/> |
| 104 | + <xs:element name="system-err" type="xs:string" minOccurs="0"/> |
| 105 | + </xs:sequence> |
| 106 | + <xs:attribute name="message" type="xs:string"/> |
| 107 | + <xs:attribute name="type" type="xs:string" use="required"/> |
| 108 | + </xs:complexType> |
| 109 | + </xs:element> |
| 110 | + <xs:element name="flakyError" minOccurs="0" maxOccurs="unbounded"> |
| 111 | + <xs:complexType> |
| 112 | + <xs:sequence> |
| 113 | + <xs:element name="stackTrace" type="xs:string"/> |
| 114 | + <xs:element name="system-out" type="xs:string" minOccurs="0"/> |
| 115 | + <xs:element name="system-err" type="xs:string" minOccurs="0"/> |
| 116 | + </xs:sequence> |
| 117 | + <xs:attribute name="message" type="xs:string"/> |
| 118 | + <xs:attribute name="type" type="xs:string" use="required"/> |
| 119 | + </xs:complexType> |
| 120 | + </xs:element> |
| 121 | + <xs:element name="system-out" type="xs:string" minOccurs="0"/> |
| 122 | + <xs:element name="system-err" type="xs:string" minOccurs="0"/> |
| 123 | + </xs:sequence> |
| 124 | + <xs:attribute name="name" type="xs:string" use="required"/> |
| 125 | + <xs:attribute name="classname" type="xs:string"/> |
| 126 | + <xs:attribute name="group" type="xs:string"/> |
| 127 | + <xs:attribute name="time" type="SUREFIRE_TIME" use="required"/> |
| 128 | + </xs:complexType> |
| 129 | + </xs:element> |
| 130 | + </xs:sequence> |
| 131 | + <xs:attribute name="name" type="xs:string" use="required"/> |
| 132 | + <xs:attribute name="time" type="SUREFIRE_TIME"/> |
| 133 | + <xs:attribute name="tests" type="xs:string" use="required"/> |
| 134 | + <xs:attribute name="errors" type="xs:string" use="required"/> |
| 135 | + <xs:attribute name="skipped" type="xs:string" use="required"/> |
| 136 | + <xs:attribute name="failures" type="xs:string" use="required"/> |
| 137 | + <xs:attribute name="group" type="xs:string"/> |
| 138 | + </xs:complexType> |
| 139 | + </xs:element> |
| 140 | +</xs:schema> |
0 commit comments