You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: test/atest/logging.txt
+29-13Lines changed: 29 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -7,33 +7,49 @@ Suite Teardown Reset Log Level
7
7
8
8
*** Test Cases ***
9
9
One message Without Level
10
-
[Documentation] LOG 1 INFO Hello, world!
10
+
[Documentation] LOG 1 INFO Hello, world!
11
11
One Message Without Level
12
12
13
13
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
18
21
19
22
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
21
29
Multiple Messages With Different Levels
22
30
23
31
Log Unicode
24
-
[Documentation] LOG 1 INFO ${UNICODE STRING}
32
+
[Documentation] LOG 1 INFO ${UNICODE STRING}
25
33
Log Unicode
26
34
27
35
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.*
29
41
Logging And Failing
30
42
31
43
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}
37
53
38
54
Log Control Char
39
55
[Documentation] Control char is removed. This may also fail with ExpatError.
0 commit comments