Skip to content

Commit e28b2b3

Browse files
committed
test cleanup
1 parent 5884f3c commit e28b2b3

1 file changed

Lines changed: 29 additions & 13 deletions

File tree

test/atest/logging.txt

Lines changed: 29 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,33 +7,49 @@ Suite Teardown Reset Log Level
77

88
*** Test Cases ***
99
One message Without Level
10-
[Documentation] LOG 1 INFO Hello, world!
10+
[Documentation] LOG 1 INFO Hello, world!
1111
One Message Without Level
1212

1313
Log Levels
14-
[Documentation] LOG 1 DEBUG Debug message LOG 2 INFO Information message LOG 3 WARN Warning message
15-
Logging Debug message DEBUG
16-
Logging Information message INFO
17-
Logging Warning message WARN
14+
[Documentation]
15+
... LOG 1 DEBUG Debug message
16+
... LOG 2 INFO Information message
17+
... LOG 3 WARN Warning message
18+
Logging Debug message DEBUG
19+
Logging Information message INFO
20+
Logging Warning message WARN
1821

1922
Multiple Messages With Different Levels
20-
[Documentation] LOG 1:1 INFO Info message LOG 1:2 DEBUG Debug message LOG 1:3 INFO Second info\n this time with two lines LOG 1:4 INFO Third info LOG 1:5 WARN Warning
23+
[Documentation]
24+
... LOG 1:1 INFO Info message
25+
... LOG 1:2 DEBUG Debug message
26+
... LOG 1:3 INFO Second info\n this time with two lines
27+
... LOG 1:4 INFO Third info
28+
... LOG 1:5 WARN Warning
2129
Multiple Messages With Different Levels
2230

2331
Log Unicode
24-
[Documentation] LOG 1 INFO ${UNICODE STRING}
32+
[Documentation] LOG 1 INFO ${UNICODE STRING}
2533
Log Unicode
2634

2735
Logging And Failing
28-
[Documentation] FAIL Too slow LOG 1:1 INFO This keyword will fail! LOG 1:2 WARN Run for your lives!! LOG 1:3 FAIL Too slow LOG 1:4 DEBUG REGEXP: Traceback.*
36+
[Documentation] FAIL Too slow
37+
... LOG 1:1 INFO This keyword will fail!
38+
... LOG 1:2 WARN Run for your lives!!
39+
... LOG 1:3 FAIL Too slow
40+
... LOG 1:4 DEBUG REGEXP: Traceback.*
2941
Logging And Failing
3042

3143
Logging And Returning
32-
[Documentation] LOG 1:1 INFO Logged message LOG 1:2 INFO \${ret} = Returned value LOG 3:1 WARN This keyword returns nothing LOG 3:2 INFO \${ret} =${SPACE}
33-
${ret} = Logging And Returning
34-
Should Be Equal ${ret} Returned value
35-
${ret} = Logging This keyword returns nothing WARN
36-
Should Be Equal ${ret} ${EMPTY}
44+
[Documentation]
45+
... LOG 1:1 INFO Logged message
46+
... LOG 1:2 INFO \${ret} = Returned value
47+
... LOG 3:1 WARN This keyword returns nothing
48+
... LOG 3:2 INFO \${ret} = ${EMPTY}
49+
${ret} = Logging And Returning
50+
Should Be Equal ${ret} Returned value
51+
${ret} = Logging This keyword returns nothing WARN
52+
Should Be Equal ${ret} ${EMPTY}
3753

3854
Log Control Char
3955
[Documentation] Control char is removed. This may also fail with ExpatError.

0 commit comments

Comments
 (0)