SUREFIRE-1217: Copy failsafe-test-report.xsd.
Project: http://git-wip-us.apache.org/repos/asf/maven-surefire/repo Commit: http://git-wip-us.apache.org/repos/asf/maven-surefire/commit/9ba6b60f Tree: http://git-wip-us.apache.org/repos/asf/maven-surefire/tree/9ba6b60f Diff: http://git-wip-us.apache.org/repos/asf/maven-surefire/diff/9ba6b60f Branch: refs/heads/SUREFIRE-1217 Commit: 9ba6b60f886f625b28e50fb3cda785870b326bc0 Parents: 6a96365 Author: Mirko Friedenhagen <mfriedenha...@apache.org> Authored: Sun Jan 10 21:39:33 2016 +0100 Committer: Mirko Friedenhagen <mfriedenha...@apache.org> Committed: Wed Jan 13 07:05:33 2016 +0100 ---------------------------------------------------------------------- .../site/resources/xsd/failsafe-test-report.xsd | 123 +++++++++++++++++++ 1 file changed, 123 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/9ba6b60f/maven-failsafe-plugin/src/site/resources/xsd/failsafe-test-report.xsd ---------------------------------------------------------------------- diff --git a/maven-failsafe-plugin/src/site/resources/xsd/failsafe-test-report.xsd b/maven-failsafe-plugin/src/site/resources/xsd/failsafe-test-report.xsd new file mode 100644 index 0000000..7ef8d60 --- /dev/null +++ b/maven-failsafe-plugin/src/site/resources/xsd/failsafe-test-report.xsd @@ -0,0 +1,123 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + ~ Licensed to the Apache Software Foundation (ASF) under one + ~ or more contributor license agreements. See the NOTICE file + ~ distributed with this work for additional information + ~ regarding copyright ownership. The ASF licenses this file + ~ to you under the Apache License, Version 2.0 (the + ~ "License"); you may not use this file except in compliance + ~ with the License. You may obtain a copy of the License at + ~ + ~ http://www.apache.org/licenses/LICENSE-2.0 + ~ + ~ Unless required by applicable law or agreed to in writing, + ~ software distributed under the License is distributed on an + ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + ~ KIND, either express or implied. See the License for the + ~ specific language governing permissions and limitations + ~ under the License. + --> +<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> + <xs:element name="testsuite"> + <xs:complexType> + <xs:sequence> + <xs:element name="properties" minOccurs="0" maxOccurs="unbounded"> + <xs:complexType> + <xs:sequence> + <xs:element name="property" minOccurs="0" maxOccurs="unbounded"> + <xs:complexType> + <xs:attribute name="name" type="xs:string" use="required"/> + <xs:attribute name="value" type="xs:string" use="required"/> + </xs:complexType> + </xs:element> + </xs:sequence> + </xs:complexType> + </xs:element> + <xs:element name="testcase" minOccurs="0" maxOccurs="unbounded"> + <xs:complexType> + <xs:sequence> + <xs:element name="failure" nillable="true" minOccurs="0" maxOccurs="unbounded"> + <xs:complexType> + <xs:simpleContent> + <xs:extension base="xs:string"> + <xs:attribute name="message" type="xs:string" /> + <xs:attribute name="type" type="xs:string" use="required" /> + <xs:attribute name="time"> + <xs:simpleType> + <xs:restriction base="xs:string"> + <xs:pattern value="(([0-9]{0,3},)*[0-9]{3}|[0-9]{0,3})*(\.[0-9]{0,3})?" /> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + </xs:extension> + </xs:simpleContent> + </xs:complexType> + </xs:element> + <xs:element name="rerunFailure" nillable="true" minOccurs="0" maxOccurs="unbounded"> + <xs:complexType> + <xs:simpleContent> + <xs:extension base="xs:string"> + <xs:attribute name="message" type="xs:string" /> + <xs:attribute name="type" type="xs:string" use="required" /> + <xs:attribute name="time"> + <xs:simpleType> + <xs:restriction base="xs:string"> + <xs:pattern value="(([0-9]{0,3},)*[0-9]{3}|[0-9]{0,3})*(\.[0-9]{0,3})?"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + </xs:extension> + </xs:simpleContent> + </xs:complexType> + </xs:element> + <xs:element name="skipped" nillable="true" minOccurs="0" maxOccurs="1"> + <xs:complexType> + <xs:simpleContent> + <xs:extension base="xs:string"> + <xs:attribute name="message" type="xs:string" /> + </xs:extension> + </xs:simpleContent> + </xs:complexType> + </xs:element> + <xs:element name="error" nillable="true" minOccurs="0" maxOccurs="1"> + <xs:complexType> + <xs:simpleContent> + <xs:extension base="xs:string"> + <xs:attribute name="message" type="xs:string" /> + <xs:attribute name="type" type="xs:string" use="required" /> + </xs:extension> + </xs:simpleContent> + </xs:complexType> + </xs:element> + <xs:element name="system-out" nillable="true" minOccurs="0" maxOccurs="1"/> + <xs:element name="system-err" nillable="true" minOccurs="0" maxOccurs="1"/> + </xs:sequence> + <xs:attribute name="name" type="xs:string" use="required"/> + <xs:attribute name="classname" type="xs:string" /> + <xs:attribute name="group" type="xs:string" /> + <xs:attribute name="time" use="required"> + <xs:simpleType> + <xs:restriction base="xs:string"> + <xs:pattern value="(([0-9]{0,3},)*[0-9]{3}|[0-9]{0,3})*(\.[0-9]{0,3})?"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + </xs:complexType> + </xs:element> + </xs:sequence> + <xs:attribute name="name" type="xs:string" use="required"/> + <xs:attribute name="time"> + <xs:simpleType> + <xs:restriction base="xs:string"> + <xs:pattern value="(([0-9]{0,3},)*[0-9]{3}|[0-9]{0,3})*(\.[0-9]{0,3})?"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attribute name="tests" type="xs:string" use="required"/> + <xs:attribute name="errors" type="xs:string" use="required"/> + <xs:attribute name="skipped" type="xs:string" use="required"/> + <xs:attribute name="failures" type="xs:string" use="required"/> + <xs:attribute name="group" type="xs:string"/> + </xs:complexType> + </xs:element> +</xs:schema>