You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by mi...@apache.org on 2023/05/29 19:25:51 UTC
[maven-surefire] branch master updated: [SUREFIRE-2175] Turn time attribute to xs:float in Surefire test report schema
This is an automated email from the ASF dual-hosted git repository.
michaelo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-surefire.git
The following commit(s) were added to refs/heads/master by this push:
new 96dedb306 [SUREFIRE-2175] Turn time attribute to xs:float in Surefire test report schema
96dedb306 is described below
commit 96dedb306e4a299bfa007674c4970938eb084f10
Author: Michael Osipov <mi...@apache.org>
AuthorDate: Mon May 29 21:25:36 2023 +0200
[SUREFIRE-2175] Turn time attribute to xs:float in Surefire test report schema
---
.../src/site/resources/xsd/surefire-test-report.xsd | 9 ++-------
1 file changed, 2 insertions(+), 7 deletions(-)
diff --git a/maven-surefire-plugin/src/site/resources/xsd/surefire-test-report.xsd b/maven-surefire-plugin/src/site/resources/xsd/surefire-test-report.xsd
index 89761208f..e19d6371c 100644
--- a/maven-surefire-plugin/src/site/resources/xsd/surefire-test-report.xsd
+++ b/maven-surefire-plugin/src/site/resources/xsd/surefire-test-report.xsd
@@ -18,11 +18,6 @@
~ under the License.
-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" version="3.0">
- <xs:simpleType name="SUREFIRE_TIME">
- <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:element name="testsuite">
<xs:complexType>
<xs:sequence>
@@ -120,13 +115,13 @@
<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" type="SUREFIRE_TIME" use="required"/>
+ <xs:attribute name="time" type="xs:float" use="required"/>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="version" type="xs:string"/>
<xs:attribute name="name" type="xs:string" use="required"/>
- <xs:attribute name="time" type="SUREFIRE_TIME"/>
+ <xs:attribute name="time" type="xs:float"/>
<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"/>