This is an automated email from the ASF dual-hosted git repository.
jleroux pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ofbiz-site.git
The following commit(s) were added to refs/heads/master by this push:
new a7d58a3 Improved:b Adds groovy-test-suite element in test-suite.xsd
a7d58a3 is described below
commit a7d58a363d22bce407313b646cd2a646673d19fb
Author: Jacques Le Roux <[email protected]>
AuthorDate: Thu Oct 7 16:52:00 2021 +0200
Improved:b Adds groovy-test-suite element in test-suite.xsd
---
dtds/test-suite.xsd | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/dtds/test-suite.xsd b/dtds/test-suite.xsd
index 04ffbf1..e9ee0e2 100644
--- a/dtds/test-suite.xsd
+++ b/dtds/test-suite.xsd
@@ -84,6 +84,28 @@ under the License.
</xs:attribute>
</xs:attributeGroup>
+ <xs:element name="groovy-test-suite" substitutionGroup="TestCaseTypes">
+ <xs:annotation>
+ <xs:documentation>
+ Used for JUnit test suites written as a Groovy class. See
http://groovy-lang.org/testing.html
+ </xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:attributeGroup ref="attlist.groovy-test-suite"/>
+ </xs:complexType>
+ </xs:element>
+ <xs:attributeGroup name="attlist.groovy-test-suite">
+ <xs:attribute type="xs:string" name="name"/>
+ <xs:attribute type="xs:string" name="location" use="required">
+ <xs:annotation>
+ <xs:documentation>
+ Give the location where is groovy file that contaions the
test suite.
+ You can use a flexible url location like
component://mycomponent/groovyScripts/test/MySuiteTest.groovy
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:attributeGroup>
+
<xs:element name="service-test" substitutionGroup="TestCaseTypes">
<xs:complexType>
<xs:attributeGroup ref="attlist.service-test"/>