Initial commit.
[qa-tools:testrunner-lite.git] / tests / regression / testdata / trlitereg06.xml
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2 <testdefinition version="1.0">  <!-- result="0" -->
3   <suite name="trlitereg06_suite1">
4     <set name="set1">
5       <pre_steps>
6         <step>/bin/false</step>                        <!-- failing pre-step  -->
7       </pre_steps>
8
9       <case name="case1_1">     <!-- result="PASS" -->
10         <step>/bin/true</step>  <!-- result="PASS" -->
11       </case>
12
13       <case name="case1_2">     <!-- result="FAIL" -->
14         <step>/bin/false</step> <!-- result="FAIL" -->
15       </case>
16     </set>
17
18
19     <set name="set2">
20       <pre_steps>
21         <step expected_result="0">/bin/false</step>    <!-- failing pre-step with expected result -->
22       </pre_steps>
23
24       <case name="case2_1">     <!-- result="FAIL" should not be executed -->
25         <step>/bin/true</step>  <!-- result="FAIL" should not be executed -->
26       </case>
27
28       <case name="case2_2">     <!-- result="FAIL" should not be executed -->
29         <step>/bin/false</step> <!-- result="FAIL" should not be executed -->
30       </case>
31     </set>
32
33
34     <set name="set3">
35       <pre_steps>
36         <step expected_result="0">/bin/true</step>
37       </pre_steps>
38
39       <case name="case3_1">     <!-- result="FAIL" -->
40         <step>/bin/false</step> <!-- result="FAIL" -->
41       </case>
42
43       <case name="case3_2">     <!-- result="PASS" -->
44         <step>/bin/true</step>  <!-- result="PASS" -->
45       </case>
46     </set>
47
48
49     <set name="set4">
50       <pre_steps>
51         <step expected_result="0">/bin/true</step>
52         <step expected_result="0">/bin/false</step>    <!-- failing pre-step with expected result -->
53       </pre_steps>
54
55       <case name="case4_1">     <!-- result="FAIL" should not be executed -->
56         <step>/bin/true</step>  <!-- result="FAIL" should not be executed -->
57
58       </case>
59       <case name="case4_2">     <!-- result="FAIL" should not be executed -->
60         <step>/bin/false</step> <!-- result="FAIL" should not be executed -->
61       </case>
62     </set>
63
64
65     <set name="set5">
66       <pre_steps>
67         <step expected_result="0">/bin/true</step>
68         <step expected_result="0">/bin/false</step>    <!-- failing pre-step with expected result -->
69         <step expected_result="0">/bin/true</step>
70       </pre_steps>
71
72       <case name="case5_1">     <!-- result="FAIL" should not be executed -->
73         <step>/bin/true</step>  <!-- result="FAIL" should not be executed -->
74       </case>
75
76       <case name="case5_2">     <!-- result="FAIL" should not be executed -->
77         <step>/bin/true</step>  <!-- result="FAIL" should not be executed -->
78       </case>
79     </set>
80
81
82     <set name="set6">
83       <pre_steps>
84         <step expected_result="1">/bin/false</step>
85       </pre_steps>
86
87       <case name="case6_1">     <!-- result="FAIL" -->
88         <step>/bin/false</step> <!-- result="FAIL" -->
89       </case>
90
91       <case name="case6_2">     <!-- result="PASS" -->
92         <step>/bin/true</step>  <!-- result="PASS" -->
93       </case>
94     </set>
95   </suite>
96 </testdefinition>