I put also some svn:ignore for shark build and lib diretories and assetmaint/build I did some by hand lately, too much to remember. They were files with old header but without copyright. A 1st attempt I suppose, will have to check this after this commit. I add some problems to commit this patch in one piece because it's so huge (specially with Eclipse I had to turn to Tortoise) ! git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@499486 13f79535-47bb-0310-9956-ffa450edef68
91 lines
3.8 KiB
XML
91 lines
3.8 KiB
XML
<?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" elementFormDefault="qualified">
|
|
<!--
|
|
==================================================
|
|
========== The Simple Methods Section ==========
|
|
==================================================
|
|
(see further down for the Simple Map Processor Section)
|
|
-->
|
|
|
|
<!-- Reusable artifacts (abstract elements, groups, attributeGroups -->
|
|
<xs:element name="TestCaseTypes" abstract="true"/>
|
|
<xs:group name="AllTestCaseTypes">
|
|
<xs:choice>
|
|
<xs:element ref="TestCaseTypes"/>
|
|
</xs:choice>
|
|
</xs:group>
|
|
|
|
<!-- ELEMENTS start here -->
|
|
<xs:element name="test-suite">
|
|
<xs:complexType>
|
|
<xs:sequence>
|
|
<xs:element minOccurs="1" maxOccurs="unbounded" ref="test-case"/>
|
|
</xs:sequence>
|
|
<xs:attributeGroup ref="attlist.test-suite"/>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
<xs:attributeGroup name="attlist.test-suite">
|
|
<xs:attribute type="xs:string" name="suite-name" use="required"/>
|
|
<xs:attribute type="xs:string" name="delegator-name" default="test"/>
|
|
<xs:attribute type="xs:string" name="dispatcher-name" default="test-dispatcher"/>
|
|
</xs:attributeGroup>
|
|
<xs:element name="test-case">
|
|
<xs:annotation><xs:documentation></xs:documentation></xs:annotation>
|
|
<xs:complexType>
|
|
<xs:group minOccurs="1" maxOccurs="1" ref="AllTestCaseTypes"/>
|
|
<xs:attributeGroup ref="attlist.test-case"/>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
<xs:attributeGroup name="attlist.test-case">
|
|
<xs:attribute type="xs:string" name="case-name" use="required"/>
|
|
</xs:attributeGroup>
|
|
|
|
<xs:element name="junit-test-suite" substitutionGroup="TestCaseTypes">
|
|
<xs:annotation><xs:documentation>Used for JUnit test suites written as a Java class.</xs:documentation></xs:annotation>
|
|
<xs:complexType>
|
|
<xs:attributeGroup ref="attlist.junit-test-suite"/>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
<xs:attributeGroup name="attlist.junit-test-suite">
|
|
<xs:attribute type="xs:string" name="class-name" use="required">
|
|
<xs:annotation><xs:documentation>Should extend the junit.framework.TestCase class.</xs:documentation></xs:annotation>
|
|
</xs:attribute>
|
|
</xs:attributeGroup>
|
|
|
|
<xs:element name="service-test" substitutionGroup="TestCaseTypes">
|
|
<xs:complexType>
|
|
<xs:attributeGroup ref="attlist.service-test"/>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
<xs:attributeGroup name="attlist.service-test">
|
|
<xs:attribute type="xs:string" name="service-name" use="required"/>
|
|
</xs:attributeGroup>
|
|
|
|
<xs:element name="jython-test" substitutionGroup="TestCaseTypes">
|
|
<xs:complexType>
|
|
<xs:attributeGroup ref="attlist.jython-test"/>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
<xs:attributeGroup name="attlist.jython-test">
|
|
<xs:attribute type="xs:string" name="script-location" use="required"/>
|
|
</xs:attributeGroup>
|
|
</xs:schema>
|