forked from Autonomiq/JenkinsPlugin
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathAutonomiqTestPlan.xsd
61 lines (61 loc) · 2.14 KB
/
AutonomiqTestPlan.xsd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
<xs:element name="AutonomiqTestPlan">
<xs:complexType>
<xs:sequence>
<xs:element ref="InitializeVariables"/>
<xs:element ref="TestSequence"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="InitializeVariables">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" ref="SetVariable"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TestSequence">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" ref="TestSequenceItem"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TestSequenceItem">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" ref="SetVariable"/>
<xs:element ref="RunTestCase"/>
<xs:choice maxOccurs="unbounded">
<xs:element ref="ShowVariable"/>
<xs:element ref="ValidateVariable"/>
</xs:choice>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="RunTestCase" type="xs:NCName"/>
<xs:element name="ShowVariable">
<xs:complexType>
<xs:attribute name="name" use="required"/>
</xs:complexType>
</xs:element>
<xs:element name="ValidateVariable">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:NCName">
<xs:attribute name="name" use="required"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="SetVariable">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:NCName">
<xs:attribute name="name" use="required"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:schema>