@@ -4,8 +4,9 @@ Resource atest_resource.robot
44*** Test Cases ***
55Import Libraries Only Once
66 [Setup] Run Tests And Set $SYSLOG parsing/library_caching
7- : FOR ${name } IN Test 1.1 Test 1.2 Test 2.1 Test 2.2
8- \ Check Test Case ${name }
7+ FOR ${name } IN Test 1.1 Test 1.2 Test 2.1 Test 2.2
8+ Check Test Case ${name }
9+ END
910 Should Contain X Times ${SYSLOG } Imported library 'BuiltIn' with arguments [ ] 1
1011 Should Contain X Times ${SYSLOG } Found test library 'BuiltIn' with arguments [ ] from cache 2
1112 Should Contain X Times ${SYSLOG } Imported library 'OperatingSystem' with arguments [ ] 1
@@ -28,9 +29,10 @@ Process Resource Files Only Once
2829 Check Log Message ${tc.kws[0].kws[2].kws[0].msgs[0] } variable value from 02 resource
2930 Check Log Message ${tc.kws[1].msgs[0] } variable value from 03 resource
3031 ${dir } = Normalize Path ${DATADIR } /parsing/resource_parsing
31- # These messages come twice. Once when they are parsed as test case files and a second time when parsed as resource files.
32- Should Contain X Times ${SYSLOG } Parsing file '${dir }${/ } 02_resource.robot' 2
33- Should Contain X Times ${SYSLOG } Parsing file '${dir }${/ } 03_resource.robot' 2
32+ Should Contain X Times ${SYSLOG } Parsing file '${dir }${/ } 02_resource.robot' 1
33+ Should Contain X Times ${SYSLOG } Parsing resource file '${dir }${/ } 02_resource.robot' 1
34+ Should Contain X Times ${SYSLOG } Parsing file '${dir }${/ } 03_resource.robot' 1
35+ Should Contain X Times ${SYSLOG } Parsing resource file '${dir }${/ } 03_resource.robot' 1
3436 # Check that resources were parsed only once
3537 Syslog File Should Contain In Order Parsing directory '${dir } '.
3638 Syslog File Should Contain In Order Parsing file '${dir }${/ } 01_tests.robot'.
0 commit comments