function_test/Semantic_Analyser/xer/aa_optional_SE.ttcn removed
[deliverable/titan.core.git] / etc / xsd / TXD.xsd
CommitLineData
970ed795
EL
1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3XML Schema for JunitLogger plugin
4
5 Copyright (c) 2000-2014 Ericsson Telecom AB
6
7 All rights reserved. This program and the accompanying materials
8 are made available under the terms of the Eclipse Public License v1.0
9 which accompanies this distribution, and is available at
10 http://www.eclipse.org/legal/epl-v10.html
11-->
12<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
13 targetNamespace="http://schemas.ericsson.com/TXD"
14 xmlns:txd= "http://schemas.ericsson.com/TXD"
15 elementFormDefault="qualified">
16
17 <xs:import schemaLocation="TPD.xsd"/>
18
19 <xs:element name="Titan_Execution_Descriptor" type="txd:TXD_Type"/>
20
21 <xs:complexType name="TXD_Type">
22 <xs:sequence>
23 <xs:choice>
24 <xs:annotation>
25 <xs:documentation>
26 A choice between describing how to build the project &lt;build&gt;
27 or providing the location of a pre-built &lt;executable&gt;
28 These two are mutually exclusive.
29 </xs:documentation>
30 </xs:annotation>
31
32 <xs:element name="Build">
33 <xs:annotation>
34 <xs:documentation>
35 Describes the way to build the product from source,
36 using TPDs.
37 </xs:documentation>
38 </xs:annotation>
39 <xs:complexType>
40 <xs:sequence>
41 <xs:element name="Projects">
42 <xs:complexType>
43 <xs:sequence>
44 <xs:element name="Project" minOccurs="1" maxOccurs="unbounded" type="txd:ProjectType" />
45 <!-- see below -->
46 </xs:sequence>
47 </xs:complexType>
48 </xs:element>
49 <xs:element name="MasterConfiguration" type="ConfigurationType" minOccurs="0">
50 <xs:annotation>
51 <xs:documentation>
52 Override configuration settings in TPDs
53 </xs:documentation>
54 </xs:annotation>
55 </xs:element>
56 </xs:sequence>
57 </xs:complexType>
58 </xs:element>
59
60 <xs:element name="Executable">
61 <xs:annotation>
62 <xs:documentation>
63 Specifies the location of an already built executable
64 </xs:documentation>
65 </xs:annotation>
66 <xs:complexType>
67 <xs:attribute name="location" />
68 </xs:complexType>
69 </xs:element>
70 </xs:choice>
71
72 <!--
73 Runners
74 -->
75 <xs:element name="Run" minOccurs="0" maxOccurs="1">
76 <xs:annotation>
77 <xs:documentation>
78 Describes how to run the test.
79 There can be at most one "Run" which may contain various runners
80 </xs:documentation>
81 </xs:annotation>
82 <xs:complexType>
83 <xs:choice minOccurs="1" maxOccurs="unbounded">
84 <xs:element name="SingleModeRun">
85 <xs:complexType>
86 <xs:sequence>
87 <xs:element name="WorkingDirectory" type="xs:string"/>
88 <xs:element name="ETS_Name" type="xs:string" minOccurs="0"/>
89 <!-- ETS_Name may be deduced from the build information -->
90 <xs:element name="ConfigurationFile" type="xs:string"/>
91 </xs:sequence>
92 </xs:complexType>
93 </xs:element>
94 <xs:element name="ParallelRun">
95 <xs:complexType>
96 <xs:sequence>
97 <xs:element name="WorkingDirectory" type="xs:string"/>
98 <xs:element name="ETS_Name" type="xs:string" minOccurs="0"/>
99 <!-- ETS_Name may be deduced from the build information -->
100 <xs:element name="ConfigurationFile" type="xs:string"/>
101 <xs:element name="HostControllers" minOccurs="0" maxOccurs="1">
102 <xs:complexType>
103 <xs:sequence>
104 <xs:element name="HostController" minOccurs="1" maxOccurs="unbounded">
105 <!--
106 Empty <HostControllers> with no <HostController> is not allowed.
107 Omit the entire <HostControllers> instead.
108 -->
109 <xs:complexType>
110 <xs:sequence>
111 <xs:element type="xs:string" name="Name"/>
112 <xs:element type="xs:string" name="HostId" minOccurs="0"/>
113 <xs:element type="xs:string" name="WorkingDirectory" minOccurs="0"/>
114 <xs:element type="xs:string" name="Executable" minOccurs="0"/>
115 <!--
116 HostId, WorkingDir and Executable may be omitted, if not referenced by <Command>
117 -->
118 <xs:element type="xs:string" name="Command"/>
119 </xs:sequence>
120 </xs:complexType>
121 </xs:element>
122 </xs:sequence>
123 </xs:complexType>
124 </xs:element>
125 </xs:sequence>
126 </xs:complexType>
127 </xs:element>
128 <xs:element name="CustomRun" type="xs:string">
129 <!-- TODO: is a simple string enough? -->
130 </xs:element>
131 </xs:choice>
132 </xs:complexType>
133 </xs:element>
134 </xs:sequence>
135 </xs:complexType>
136
137 <xs:complexType name="ProjectType">
138 <xs:annotation>
139 <xs:documentation>
140 Describes a referenced project
141 </xs:documentation>
142 </xs:annotation>
143 <xs:sequence>
144 <xs:element name="Configurations">
145 <xs:complexType>
146 <xs:sequence>
147 <xs:element name="Configuration" minOccurs="0" maxOccurs="unbounded" >
148 <xs:complexType>
149 <!-- Optional: put in a <sequence> if sub-elements are needed -->
150 <xs:attribute name="name" use="required" />
151 </xs:complexType>
152 </xs:element>
153 </xs:sequence>
154 </xs:complexType>
155 </xs:element>
156 </xs:sequence>
157 <xs:attribute name="name" use="optional">
158 <xs:annotation>
159 <xs:documentation>
160 Optional name of the project. Can be used as reference in the TXD itself.
161 The TPD is identified by the "path" attribute, below.
162 </xs:documentation>
163 </xs:annotation>
164 </xs:attribute>
165 <xs:attribute name="path" use="required">
166 <xs:annotation>
167 <xs:documentation>
168 This is the filename of the TPD file. Paths are relative to the TXD
169 itself, or absolute.
170 </xs:documentation>
171 </xs:annotation>
172 </xs:attribute>
173 </xs:complexType>
174</xs:schema>
This page took 0.030898 seconds and 5 git commands to generate.