|
1 | 1 | *** 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. |
5 | 15 |
|
6 | 16 | *** Test Cases *** |
7 | 17 | 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} |
11 | 22 | No Operation |
12 | | - [teardown] One Error |
| 23 | + [Teardown] One Error |
13 | 24 |
|
14 | 25 | 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} |
20 | 34 | No Operation |
21 | | - [teardown] Many Errors |
| 35 | + [Teardown] Many Errors |
22 | 36 |
|
23 | 37 | 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} |
27 | 42 | No Operation |
28 | | - [teardown] Errors when setting variables |
| 43 | + [Teardown] Errors when setting variables |
29 | 44 |
|
30 | 45 | 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} |
38 | 58 | No Operation |
39 | | - [teardown] Errors In For Loop |
| 59 | + [Teardown] Errors In For Loop |
40 | 60 |
|
41 | 61 | 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} |
45 | 66 | No Operation |
46 | | - [teardown] Timeout |
| 67 | + [Teardown] Timeout |
47 | 68 |
|
48 | 69 | 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} |
53 | 78 | No Operation |
54 | | - [teardown] Syntax Error |
| 79 | + [Teardown] Syntax Error |
55 | 80 |
|
56 | 81 | 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} |
63 | 94 | No Operation |
64 | | - [teardown] Syntax Errors In For Loop |
| 95 | + [Teardown] Syntax Errors In For Loop |
65 | 96 |
|
66 | 97 | Fatal Error In Teardown |
67 | | - [documentation] FAIL Teardown failed:\n |
68 | | - ... FatalCatastrophyException\n\n |
| 98 | + [Documentation] FAIL Teardown failed: |
| 99 | + ... FatalCatastrophyException |
| 100 | + ... |
69 | 101 | ... ${SUITE TEARDOWN FAILED} |
70 | 102 | No Operation |
71 | | - [teardown] Fatal Error |
| 103 | + [Teardown] Fatal Error |
72 | 104 |
|
73 | 105 |
|
74 | 106 | *** 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 | | - |
87 | 107 | 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 ÄßÇïï €§) |
90 | 110 | Missing Keyword |
91 | | - Log This As Well Should Be Executed |
| 111 | + Log This As Well Should Be Executed |
92 | 112 |
|
93 | 113 | One Error |
94 | | - Fail Message |
95 | | - Log This Should Be executed |
| 114 | + Fail Message |
| 115 | + Log This Should Be executed |
96 | 116 |
|
97 | 117 | 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 |
101 | 121 |
|
102 | 122 | 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} |
105 | 125 |
|
106 | 126 | 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 |
110 | 130 |
|
111 | 131 | 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 |
115 | 135 |
|
116 | 136 | Syntax Error |
117 | | - Log ${non existing variable} |
| 137 | + Log ${non existing variable} |
118 | 138 | Keyword Missing |
119 | | - Log This Should Be Executed |
| 139 | + Log This Should Be Executed |
120 | 140 |
|
121 | 141 | 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 |
126 | 146 |
|
127 | 147 | Fatal Error |
128 | 148 | Exit On Failure |
129 | | - Fail This Should Not Be Executed |
| 149 | + Fail This Should Not Be Executed |
0 commit comments