@@ -4,15 +4,17 @@ Resource atest_resource.robot
44
55*** Test Cases ***
66Multiline suite documentation and metadata
7- Should Be Equal ${SUITE.doc } First row.\nSecond row.\n\nSecond paragraph\n!\n!\n!
7+ Should Be Equal ${SUITE.doc } First row.\nSecond row.\n\nSecond paragraph\n!
88 Should Be Equal ${SUITE.metadata['Name'] } 1.1 \n1.2\n\n2.1\n2.2\n2.3\n\n3.1
99
1010Multiline suite level settings
1111 Should Contain Tags ${SUITE.tests[0] }
1212 ... ... t1 t2 t3 t4 t5 t6 t7 t8 t9
1313 Check Log Message ${SUITE.tests[0].teardown.msgs[0] } 1st
14- Check Log Message ${SUITE.tests[0].teardown.msgs[1] } 2nd last
15- Length Should Be ${SUITE.tests[0].teardown.msgs } 2
14+ Check Log Message ${SUITE.tests[0].teardown.msgs[1] } ${EMPTY }
15+ Check Log Message ${SUITE.tests[0].teardown.msgs[2] } 2nd last
16+ Check Log Message ${SUITE.tests[0].teardown.msgs[3] } ${EMPTY }
17+ Length Should Be ${SUITE.tests[0].teardown.msgs } 4
1618
1719Multiline import
1820 Check Test Case ${TEST NAME }
@@ -25,16 +27,18 @@ Multiline arguments with library keyword
2527 Check Log Message ${tc.kws[0].msgs[0] } one
2628 Check Log Message ${tc.kws[0].msgs[1] } two
2729 Check Log Message ${tc.kws[0].msgs[2] } three
28- Check Log Message ${tc.kws[0].msgs[3] } four
29- Check Log Message ${tc.kws[0].msgs[4] } five
30+ Check Log Message ${tc.kws[0].msgs[3] } ${EMPTY }
31+ Check Log Message ${tc.kws[0].msgs[4] } four
32+ Check Log Message ${tc.kws[0].msgs[5] } five
3033
3134Multiline arguments with user keyword
3235 ${tc } = Check Test Case ${TEST NAME }
3336 Check Log Message ${tc.kws[0].kws[0].msgs[0] } 1
34- Check Log Message ${tc.kws[0].kws[0].msgs[1] } 2
35- Check Log Message ${tc.kws[0].kws[0].msgs[2] } 3
36- Check Log Message ${tc.kws[0].kws[0].msgs[3] } 4
37- Check Log Message ${tc.kws[0].kws[0].msgs[4] } 5
37+ Check Log Message ${tc.kws[0].kws[0].msgs[1] } ${EMPTY }
38+ Check Log Message ${tc.kws[0].kws[0].msgs[2] } 2
39+ Check Log Message ${tc.kws[0].kws[0].msgs[3] } 3
40+ Check Log Message ${tc.kws[0].kws[0].msgs[4] } 4
41+ Check Log Message ${tc.kws[0].kws[0].msgs[5] } 5
3842
3943Multiline assignment
4044 Check Test Case ${TEST NAME }
@@ -48,7 +52,8 @@ Multiline test settings
4852 Should Contain Tags ${tc } @{expected }
4953 Should Be Equal ${tc.doc } One.\nTwo.\nThree.\n\nSecond paragraph.
5054 Check Log Message ${tc.setup.msgs[0] } first
51- Check Log Message ${tc.setup.msgs[1] } last
55+ Check Log Message ${tc.setup.msgs[1] } ${EMPTY }
56+ Check Log Message ${tc.setup.msgs[2] } last
5257
5358Multiline user keyword settings
5459 Check Test Case ${TEST NAME }
@@ -59,52 +64,17 @@ Multiline for Loop declaration
5964Multiline in for loop body
6065 Check Test Case ${TEST NAME }
6166
62- Escaped empty cells before line continuation are deprecated
63- [Template] Check Escaped Leading Empty Cell Deprecation
64- 1
65- 10
66- 12
67-
68- Line continuation without value is deprecated
69- [Documentation] Except for Documentation and Metadata
70- [Template] Check Line Continuation Alone Deprecation
71- 2 In 'Default Tags' setting
72- 3 In 'Test Teardown' setting
73- 4 In 'Test Teardown' setting
74- 5 In 'Variables' section
75- 6 In 'Variables' section
76- 7 In 'Variables' section
77- 8 In 'Variables' section
78- 9 Invalid syntax in test case 'Multiline arguments with library keyword'
79- 11 Invalid syntax in test case 'Multiline arguments with user keyword'
80- 13 Invalid syntax in test case 'Multiline test settings': In '[Tags]' setting
81- 14 Invalid syntax in test case 'Multiline test settings': In '[Setup] ' setting
82- 15 Invalid syntax in test case 'Invalid usage in test and user keyword'
83- 16 Invalid syntax in keyword 'Multiline user keyword settings': In '[Return] ' setting
84- 17 Invalid syntax in keyword 'Invalid usage in UK'
67+ Escaped empty cells before line continuation do not work
68+ Check Error 0 Non-existing setting '\\'.
69+ Check Error 1 Setting variable '\\' failed: Invalid variable name '\\'.
70+ Check Test Case Invalid usage in keyword call
8571
8672Invalid multiline usage
87- [Setup] Check Test Case Invalid Usage In Test And User Keyword
88- [Template] Check Multiline Error
89- 0 Non-existing setting '...'.
90- -1 Setting variable '...' failed: Invalid variable name '...'.
73+ Check Test Case Invalid Usage In Test
74+ Check Test Case Invalid Usage In User Keyword
9175
9276*** Keywords ***
93- Check Escaped Leading Empty Cell Deprecation
94- [Arguments] ${index }
95- ${message } = Catenate
96- ... Escaping empty cells with '\\' before line continuation marker '...'
97- ... is deprecated. Remove escaping before Robot Framework 3.2.
98- Check Multiline Error ${index } ${message } WARN
99-
100- Check Line Continuation Alone Deprecation
101- [Arguments] ${index } ${prefix }
102- ${message } = Catenate
103- ... ${prefix } :
104- ... Ignoring lines with only continuation marker '...' is deprecated.
105- Check Multiline Error ${index } ${message } WARN
106-
107- Check Multiline Error
77+ Check Error
10878 [Arguments] ${index } ${message } ${level } =ERROR
10979 ${path } = Normalize Path ${DATADIR } /parsing/line_continuation.robot
11080 Check Log Message ${ERRORS } [${index } ]
0 commit comments