Skip to content

Commit cc53f7e

Browse files
committed
test cleanup continues
1 parent 31a226e commit cc53f7e

File tree

3 files changed

+21
-20
lines changed

3 files changed

+21
-20
lines changed

test/atest/finding_keywords.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ Resource resource.txt
44
*** Test Cases ***
55

66
Private Methods Should Be Ignored
7-
[Documentation] FAIL No keyword with name 'Private Method' found.
7+
[Documentation] FAIL No keyword with name 'Private Method' found.
88
Private Method
99

1010
Attributes Should Be Ignored
11-
[Documentation] FAIL No keyword with name 'attribute' found.
11+
[Documentation] FAIL No keyword with name 'attribute' found.
1212
attribute
1313

test/atest/invalid_argument_counts.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ Too Few Arguments When Using Only Required Args
1313

1414
Too Many Arguments When Using Only Required Args
1515
[Documentation] FAIL Keyword 'Remote.Two Arguments' expected 2 arguments, got 3.
16-
Two Arguments too many arguments
16+
Two Arguments too many arguments
1717

1818
Too Few Arguments When Using Default Values
1919
[Documentation] FAIL Keyword 'Remote.Arguments With Default Values' expected 1 to 3 arguments, got 0.
2020
Arguments With Default Values
2121

2222
Too Many Arguments When Using Default Values
2323
[Documentation] FAIL Keyword 'Remote.Arguments With Default Values' expected 1 to 3 arguments, got 5.
24-
Arguments With Default Values this is way too much
24+
Arguments With Default Values this is way too much
2525

2626
Too Few Arguments When Using Varargs
2727
[Documentation] FAIL Keyword 'Remote.Required Defaults And Varargs' expected at least 1 argument, got 0.

test/atest/start_and_stop_simple_library.txt

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,32 +6,33 @@ Documentation
66
Library Operating System
77

88
*** Variables ***
9-
${PORT} 8271
9+
${SIMPLE PORT} 8271
10+
${LIBRARY STARTED} no
1011

1112
*** Test Cases ***
1213
Remote keywords do not exist if remote server is not running
13-
[Documentation] FAIL No keyword with name 'KW 1' found.
14-
KW 1 Does not work yet
14+
[Documentation] FAIL No keyword with name 'KW 1' found.
15+
KW 1 Does not work yet
1516

1617
Start And Import Remote Library
17-
Start Process python ${CURDIR}${/}simplelibrary.py ${PORT}
18-
Import Library Remote localhost:${PORT}
19-
Set Suite Variable $LIBRARY STARTED OK we actually should not require value here
20-
KW 1 Now this works!
18+
Start Process python ${CURDIR}${/}simplelibrary.py ${SIMPLE PORT}
19+
Import Library Remote localhost:${SIMPLE PORT}
20+
Set Suite Variable ${LIBRARY STARTED} yes
21+
KW 1 Now this works!
2122

2223
Keywords From Simple Library
2324
[Documentation] FAIL My error message
24-
${ret} = KW 1
25-
Should Be Equal ${ret} ${EMPTY}
26-
${ret} = KW 1 Hello world!
27-
Should Be Equal ${ret} Hello world!
28-
KW 2 My error message
25+
${ret} = KW 1
26+
Should Be Equal ${ret} ${EMPTY}
27+
${ret} = KW 1 Hello world!
28+
Should Be Equal ${ret} Hello world!
29+
KW 2 My error message
2930

3031
Stop Remote Library
3132
[Documentation] FAIL Connection to remote server broken: Connection refused
32-
Variable Should Exist $LIBRARY STARTED OK
33+
Should Be Equal ${LIBRARY STARTED} yes
3334
Stop Remote Server
34-
${out} = Read Process Output
35-
Log ${out}
36-
KW 1 This won't work anymore
35+
${out} = Read Process Output
36+
Log ${out}
37+
KW 1 This won't work anymore
3738

0 commit comments

Comments
 (0)