Skip to content

Commit db90cfb

Browse files
committed
tidy
1 parent 4b7e831 commit db90cfb

1 file changed

Lines changed: 99 additions & 79 deletions

File tree

Lines changed: 99 additions & 79 deletions
Original file line numberDiff line numberDiff line change
@@ -1,129 +1,149 @@
11
*** Settings ***
2-
Library Exceptions
3-
Suite Setup Set Suite Teardown Failed Variable
4-
Suite Teardown Suite Teardown With Errors
2+
Library Exceptions
3+
Suite Teardown Suite Teardown With Errors
4+
5+
*** Variables ***
6+
${SUITE TEARDOWN FAILED} SEPARATOR=\n
7+
... Also parent suite teardown failed:
8+
... Several failures occurred:
9+
... ${EMPTY}
10+
... 1) Suite Message 1
11+
... ${EMPTY}
12+
... 2) Suite Message 2 (with ∏ön ÄßÇïï €§)
13+
... ${EMPTY}
14+
... 3) No keyword with name 'Missing Keyword' found.
515

616
*** Test Cases ***
717
One Error In Teardown
8-
[documentation] FAIL Teardown failed:\n
9-
... Message\n\n
10-
... ${SUITE TEARDOWN FAILED}
18+
[Documentation] FAIL Teardown failed:
19+
... Message
20+
...
21+
... ${SUITE TEARDOWN FAILED}
1122
No Operation
12-
[teardown] One Error
23+
[Teardown] One Error
1324

1425
Many Errors In Teardown
15-
[documentation] FAIL Teardown failed:\n
16-
... Several failures occurred:\n\n
17-
... 1) Message 1\n\n
18-
... 2) Message 2\n\n
19-
... ${SUITE TEARDOWN FAILED}
26+
[Documentation] FAIL Teardown failed:
27+
... Several failures occurred:
28+
...
29+
... 1) Message 1
30+
...
31+
... 2) Message 2
32+
...
33+
... ${SUITE TEARDOWN FAILED}
2034
No Operation
21-
[teardown] Many Errors
35+
[Teardown] Many Errors
2236

2337
Errors In Teardown When Setting Variables
24-
[documentation] FAIL Teardown failed:\n
25-
... no return value is set\n\n
26-
... ${SUITE TEARDOWN FAILED}
38+
[Documentation] FAIL Teardown failed:
39+
... no return value is set
40+
...
41+
... ${SUITE TEARDOWN FAILED}
2742
No Operation
28-
[teardown] Errors when setting variables
43+
[Teardown] Errors when setting variables
2944

3045
Errors In For Loop In Teardown
31-
[documentation] FAIL Teardown failed:\n
32-
... Several failures occurred:\n\n
33-
... 1) cat\n\n
34-
... 2) again\n\n
35-
... 3) dog\n\n
36-
... 4) again\n\n
37-
... ${SUITE TEARDOWN FAILED}
46+
[Documentation] FAIL Teardown failed:
47+
... Several failures occurred:
48+
...
49+
... 1) cat
50+
...
51+
... 2) again
52+
...
53+
... 3) dog
54+
...
55+
... 4) again
56+
...
57+
... ${SUITE TEARDOWN FAILED}
3858
No Operation
39-
[teardown] Errors In For Loop
59+
[Teardown] Errors In For Loop
4060

4161
Keyword Timeout In Teardown
42-
[documentation] FAIL Teardown failed:\n
43-
... Keyword timeout 42 milliseconds exceeded.\n\n
44-
... ${SUITE TEARDOWN FAILED}
62+
[Documentation] FAIL Teardown failed:
63+
... Keyword timeout 42 milliseconds exceeded.
64+
...
65+
... ${SUITE TEARDOWN FAILED}
4566
No Operation
46-
[teardown] Timeout
67+
[Teardown] Timeout
4768

4869
Syntax Error in Teardown
49-
[documentation] FAIL Teardown failed:\nSeveral failures occurred:\n\n
50-
... 1) Variable '${non existing variable}' not found.\n\n
51-
... 2) No keyword with name 'Keyword Missing' found.\n\n
52-
... ${SUITE TEARDOWN FAILED}
70+
[Documentation] FAIL Teardown failed:
71+
... Several failures occurred:
72+
...
73+
... 1) Variable '\${non existing variable}' not found.
74+
...
75+
... 2) No keyword with name 'Keyword Missing' found.
76+
...
77+
... ${SUITE TEARDOWN FAILED}
5378
No Operation
54-
[teardown] Syntax Error
79+
[Teardown] Syntax Error
5580

5681
Syntax Error in For Loop in Teardown
57-
[documentation] FAIL Teardown failed:\nSeveral failures occurred:\n\n
58-
... 1) Variable '${non existing variable}' not found.\n\n
59-
... 2) This should be executed\n\n
60-
... 3) Variable '${non existing variable}' not found.\n\n
61-
... 4) This should be executed\n\n
62-
... ${SUITE TEARDOWN FAILED}
82+
[Documentation] FAIL Teardown failed:
83+
... Several failures occurred:
84+
...
85+
... 1) Variable '${non existing variable}' not found.
86+
...
87+
... 2) This should be executed
88+
...
89+
... 3) Variable '${non existing variable}' not found.
90+
...
91+
... 4) This should be executed
92+
...
93+
... ${SUITE TEARDOWN FAILED}
6394
No Operation
64-
[teardown] Syntax Errors In For Loop
95+
[Teardown] Syntax Errors In For Loop
6596

6697
Fatal Error In Teardown
67-
[documentation] FAIL Teardown failed:\n
68-
... FatalCatastrophyException\n\n
98+
[Documentation] FAIL Teardown failed:
99+
... FatalCatastrophyException
100+
...
69101
... ${SUITE TEARDOWN FAILED}
70102
No Operation
71-
[teardown] Fatal Error
103+
[Teardown] Fatal Error
72104

73105

74106
*** Keywords ***
75-
Set Suite Teardown Failed Variable
76-
${SUITE TEARDOWN FAILED} = Catenate SEPARATOR=\n
77-
... Also parent suite teardown failed:
78-
... Several failures occurred:
79-
... ${EMPTY}
80-
... 1) Suite Message 1
81-
... ${EMPTY}
82-
... 2) Suite Message 2 (with ∏ön ÄßÇïï €§)
83-
... ${EMPTY}
84-
... 3) No keyword with name 'Missing Keyword' found.
85-
Set Suite Variable ${SUITE TEARDOWN FAILED}
86-
87107
Suite Teardown With Errors
88-
Fail Suite Message 1
89-
Fail Suite Message 2 (with ∏ön ÄßÇïï €§)
108+
Fail Suite Message 1
109+
Fail Suite Message 2 (with ∏ön ÄßÇïï €§)
90110
Missing Keyword
91-
Log This As Well Should Be Executed
111+
Log This As Well Should Be Executed
92112

93113
One Error
94-
Fail Message
95-
Log This Should Be executed
114+
Fail Message
115+
Log This Should Be executed
96116

97117
Many Errors
98-
Fail Message 1
99-
Fail Message 2
100-
Log This Should Also Be Executed
118+
Fail Message 1
119+
Fail Message 2
120+
Log This Should Also Be Executed
101121

102122
Errors when setting variables
103-
${ret} = Fail no return value is set
104-
Should Be Equal ${ret} ${None}
123+
${ret} = Fail no return value is set
124+
Should Be Equal ${ret} ${None}
105125

106126
Errors In For Loop
107-
:FOR ${animal} in cat dog
108-
\ Fail ${animal}
109-
\ Fail again
127+
:FOR ${animal} IN cat dog
128+
\ Fail ${animal}
129+
\ Fail again
110130

111131
Timeout
112-
[timeout] 42 ms
113-
Sleep 1 s
114-
Fail This Should Not Be Executed
132+
[Timeout] 42 ms
133+
Sleep 1 s
134+
Fail This Should Not Be Executed
115135

116136
Syntax Error
117-
Log ${non existing variable}
137+
Log ${non existing variable}
118138
Keyword Missing
119-
Log This Should Be Executed
139+
Log This Should Be Executed
120140

121141
Syntax Errors In For Loop
122-
:FOR ${i} IN RANGE 2
123-
\ Log ${non existing variable}
124-
\ Fail This should be executed
125-
Log This should be executed
142+
:FOR ${i} IN RANGE 2
143+
\ Log ${non existing variable}
144+
\ Fail This should be executed
145+
Log This should be executed
126146

127147
Fatal Error
128148
Exit On Failure
129-
Fail This Should Not Be Executed
149+
Fail This Should Not Be Executed

0 commit comments

Comments
 (0)