Skip to content

Commit fdb99e0

Browse files
committed
Old resource.txt was not used for anywhing. Replaced it with a version that is actually useful and took it into use.
1 parent 440414a commit fdb99e0

11 files changed

Lines changed: 28 additions & 55 deletions

test/atest/argument_counts.txt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
*** Settings ***
2-
Library Remote localhost:${PORT}
2+
Resource resource.txt
33
Test Template Arguments Should Be Accepted
44

5-
*** Variables ***
6-
${PORT} 8270
7-
85
*** Test Cases ***
96
No Arguments
107
no arguments No Arguments

test/atest/argument_types.txt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
*** Settings ***
2-
Library Remote localhost:${PORT} WITH NAME remote
2+
Resource resource.txt
33
Library Collections
44
Variables arguments.py
55

6-
*** Variables ***
7-
${PORT} 8270
8-
96
*** Test Cases ***
107
String As Argument
118
Argument Should Accepted String As Argument 'Hello, world!'

test/atest/basic_communication.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
*** Settings ***
2-
Library Remote localhost:${PORT}
2+
Resource resource.txt
33

44
*** Variables ***
5-
${PORT} 8270
65
${COUNT} 100
76

87
*** Test Cases ***

test/atest/failures.txt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
*** Settings ***
2-
Library Remote localhost:${PORT}
3-
4-
*** Variables ***
5-
${PORT} 8270
2+
Resource resource.txt
63

74
*** Test Cases ***
85
Base Exception

test/atest/finding_keywords.txt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
*** Settings ***
2-
Library Remote localhost:${PORT}
3-
4-
*** Variables ***
5-
${PORT} 8270
2+
Resource resource.txt
63

74
*** Test Cases ***
85

test/atest/invalid_argument_counts.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
*** Settings ***
2-
Library Remote localhost:${PORT}
2+
Resource resource.txt
33

4-
*** Variables ***
5-
${PORT} 8270
4+
*** Test Cases ***
65

76
Using Arguments When No Accepted
87
[Documentation] FAIL Keyword 'Remote.No Arguments' expected 0 arguments, got 1.

test/atest/logging.txt

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
*** Settings ***
2-
Suite Setup Set Log Level To DEBUG
3-
Suite Teardown Reset Log Level
4-
Library Remote localhost:${PORT}
5-
Variables arguments.py
2+
Resource resource.txt
3+
Suite Setup Set Debug Log Level
4+
Suite Teardown Reset Log Level
5+
Variables arguments.py
66

7-
*** Variables ***
8-
${PORT} 8270
97

108
*** Test Cases ***
119
One message Without Level
@@ -40,12 +38,3 @@ Logging And Returning
4038
Log Control Char
4139
[Documentation] FAIL REGEXP: Processing XML-RPC return value failed. Most often this happens when the return value contains characters that are not valid in XML. Original error was: ExpatError: .*
4240
Log Control Char
43-
44-
*** Keywords ***
45-
Set Log Level To DEBUG
46-
${ORIG_LOG_LEVEL} = Set Log Level DEBUG
47-
Set Suite Variable ${ORIG_LOG_LEVEL}
48-
49-
Reset Log Level
50-
Set Log Level ${ORIG_LOG_LEVEL}
51-

test/atest/resource.txt

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
1+
*** Settings ***
2+
Library Remote localhost:${PORT}
3+
14
*** Variables ***
2-
${SERVER_LANGUAGE} NOTSET
3-
${CLIENT_LANGUAGE} NOTSET
5+
${PORT} 8270
46

57
*** Keywords ***
8+
Set Debug Log Level
9+
${ORIG LOG LEVEL} = Set Log Level DEBUG
10+
Set Suite Variable ${ORIG LOG LEVEL}
611

7-
Set Server And Client Language Variables
8-
${SERVER_LANGUAGE} = Get Server Language
9-
${CLIENT_LANGUAGE} = Evaluate '%sython%d%d' % ('j' if os.name == 'java' else 'p', sys.version_info[0], sys.version_info[1]) modules=sys,os
10-
Set Global Variable ${SERVER_LANGUAGE}
11-
Set Global Variable ${CLIENT_LANGUAGE}
12-
12+
Reset Log Level
13+
Set Log Level ${ORIG LOG LEVEL}

test/atest/return_values.txt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
*** Settings ***
2-
Library Remote localhost:${PORT} WITH NAME remote
3-
4-
*** Variables ***
5-
${PORT} 8270
2+
Resource resource.txt
63

74
*** Test Cases ***
85
Return String

test/atest/start_and_stop_simple_library.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
*** Settings ***
2-
Documentation Tests in this suite have two different purposes:\n 1) Starting, importing and stopping remote libraries using 'Start Process', 'Import Library', and 'Stop Remote Server'.\n 2) Using keywords from a library which doesn't have get_kw_args/doc methods and which returns only minimal result dictionary.
2+
Documentation
3+
... Tests in this suite have two different purposes:
4+
... 1) Starting, importing and stopping remote libraries using 'Start Process', 'Import Library', and 'Stop Remote Server'.
5+
... 2) Using keywords from a library that does not have get_kw_args/doc methods and that returns only a minimal result dictionary.
36
Library Operating System
47

58
*** Variables ***

0 commit comments

Comments
 (0)