4 new revisions:

Revision: ac81bcbd1894
Author:   Pekka Klärck
Date:     Fri Jun 10 15:21:32 2011
Log:      rm --splitoutputs from an example
http://code.google.com/p/robotframework/source/detail?r=ac81bcbd1894

Revision: e011f38cdefd
Author:   Pekka Klärck
Date:     Fri Jun 10 15:22:58 2011
Log: oops, should show a warning about --splitoutputs only when it's actual...
http://code.google.com/p/robotframework/source/detail?r=e011f38cdefd

Revision: d5d3ea546876
Author:   Pekka Klärck
Date:     Fri Jun 10 15:23:29 2011
Log:      explain that --splitoutputs has been removed
http://code.google.com/p/robotframework/source/detail?r=d5d3ea546876

Revision: 62fa722199c4
Author:   Pekka Klärck
Date:     Fri Jun 10 15:37:06 2011
Log:      format and rename
http://code.google.com/p/robotframework/source/detail?r=62fa722199c4

==============================================================================
Revision: ac81bcbd1894
Author:   Pekka Klärck
Date:     Fri Jun 10 15:21:32 2011
Log:      rm --splitoutputs from an example
http://code.google.com/p/robotframework/source/detail?r=ac81bcbd1894

Modified:
 /atest/run_atests.py

=======================================
--- /atest/run_atests.py        Mon Jun  6 04:12:20 2011
+++ /atest/run_atests.py        Fri Jun 10 15:21:32 2011
@@ -16,7 +16,7 @@
 executed with Python.

 Examples:
-$ atest/run_atests.py python --splitoutputs 2 atest/robot
+$ atest/run_atests.py python --test example atest/robot
 $ atest/run_atests.py /usr/bin/jython22 atest/robot/core/variables.html
 """


==============================================================================
Revision: e011f38cdefd
Author:   Pekka Klärck
Date:     Fri Jun 10 15:22:58 2011
Log: oops, should show a warning about --splitoutputs only when it's actually used
http://code.google.com/p/robotframework/source/detail?r=e011f38cdefd

Modified:
 /src/robot/conf/settings.py

=======================================
--- /src/robot/conf/settings.py Fri Jun 10 05:19:04 2011
+++ /src/robot/conf/settings.py Fri Jun 10 15:22:58 2011
@@ -94,7 +94,7 @@
             return self._process_tag_stat_link(value)
         if name == 'RemoveKeywords':
             return value.upper()
-        if name == 'SplitOutputs':
+        if name == 'SplitOutputs' and value != -1:
             if log:
LOGGER.warn('Splitting outputs (--SplitOutputs option) is not ' 'supported in Robot Framework 2.6 or newer. This '

==============================================================================
Revision: d5d3ea546876
Author:   Pekka Klärck
Date:     Fri Jun 10 15:23:29 2011
Log:      explain that --splitoutputs has been removed
http://code.google.com/p/robotframework/source/detail?r=d5d3ea546876

Modified:
 /src/robot/rebot.py
 /src/robot/runner.py

=======================================
--- /src/robot/rebot.py Thu May 26 01:47:33 2011
+++ /src/robot/rebot.py Fri Jun 10 15:23:29 2011
@@ -102,9 +102,8 @@
                           example '-T -o output.xml -r report.html -l none'
creates files like 'output-20070503-154410.xml' and
                           'report-20070503-154410.html'.
-    --splitoutputs level  Split output and log files from specified suite
- level to make them smaller in size. Top level files - have links to lower level files for easy navigation. + --splitoutputs level Splitting outputs is not supported in version 2.6 or + newer. This option will be removed altogether in 2.7. --logtitle title Title for the generated test log. The default title
                           is '<Name Of The Suite> Test Log'. Underscores in
the title are converted into spaces in all titles.
@@ -237,7 +236,7 @@
# Using options. Note that this is one long command split into multiple lines.
 $ rebot --log none --report myreport.html --reporttitle My_Report
         --summary mysummary.html --summarytitle My_Summary
- --SplitOutputs 2 --TagStatCombine smokeANDmytag path/to/myoutput.xml
+        --TagStatCombine smokeANDmytag path/to/myoutput.xml

 # Running 'robot/rebot.py' directly and creating combined outputs.
$ python /path/robot/rebot.py -N Project_X -l x.html -r x.html outputs/*.xml
=======================================
--- /src/robot/runner.py        Thu May 26 01:47:33 2011
+++ /src/robot/runner.py        Fri Jun 10 15:23:29 2011
@@ -156,11 +156,8 @@
                           example '-T -o output.xml -r report.html -l none'
creates files like 'output-20070503-154410.xml' and
                           'report-20070503-154410.html'.
-    --splitoutputs level  Split output and log files from specified suite
- level. This makes generated files smaller and lower - level files available immediately when a respective - test suite is executed. Top level files have links to
-                          lower level files for easy navigation.
+ --splitoutputs level Splitting outputs is not supported in version 2.6 or + newer. This option will be removed altogether in 2.7. --logtitle title Title for the generated test log. The default title
                           is '<Name Of The Suite> Test Log'. Underscores in
the title are converted into spaces in all titles.
@@ -303,7 +300,7 @@
 $ runtests.sh --test test1 --test test2 testdir/

 # Executing multiple data sources and using case-insensitive long options.
-$ pybot --SplitOutputs 1 /my/tests/*.html /your/tests.html
+$ pybot --SuiteStatLevel 2 /my/tests/*.html /your/tests.html

 # Setting syslog file before running tests.
 $ export ROBOT_SYSLOG_FILE=/tmp/syslog.txt

==============================================================================
Revision: 62fa722199c4
Author:   Pekka Klärck
Date:     Fri Jun 10 15:37:06 2011
Log:      format and rename
http://code.google.com/p/robotframework/source/detail?r=62fa722199c4

Added:
 /atest/robot/keywords/embedded_arguments.txt
 /atest/testdata/keywords/embedded_arguments.txt
 /atest/testdata/keywords/resources/embedded_args_in_uk_1.txt
 /atest/testdata/keywords/resources/embedded_args_in_uk_2.txt
Deleted:
 /atest/robot/keywords/embedded_argument_in_keyword_names.tsv
 /atest/testdata/keywords/embedded_argument_in_keyword_names.tsv
 /atest/testdata/keywords/resources/embedded_args_in_uk_1.tsv
 /atest/testdata/keywords/resources/embedded_args_in_uk_2.tsv

=======================================
--- /dev/null
+++ /atest/robot/keywords/embedded_arguments.txt        Fri Jun 10 15:37:06 2011
@@ -0,0 +1,78 @@
+*** Settings ***
+Suite Setup     Run Tests  ${EMPTY}  keywords/embedded_arguments.txt
+Force Tags      regression  pybot  jybot
+Resource        atest_resource.txt
+
+*** Test Cases ***
+Embedded Arguments In User Keyword Name
+    ${tc} =  Check Test Case  ${TEST NAME}
+    Check Log Message  ${tc.kws[0].kws[0].msgs[0]}  This is always executed
+ Should Be Equal ${tc.kws[0].name} \${name}, \${book} = User Peke Selects Advanced Python From Webshop
+    Check Log Message  ${tc.kws[2].kws[0].msgs[0]}  This is always executed
+ Should Be Equal ${tc.kws[2].name} \${name}, \${book} = User Juha Selects Playboy From Webshop
+
+Complex Embedded Arguments
+    ${tc} =  Check Test Case  ${TEST NAME}
+    Check Log Message  ${tc.kws[0].kws[0].msgs[0]}  feature-works
+    Check Log Message  ${tc.kws[1].kws[0].msgs[0]}  test case-is *executed*
+ Check Log Message ${tc.kws[2].kws[0].msgs[0]} issue-is about to be done!
+
+Embedded Arguments as Variables
+    ${tc} =  Check Test Case  ${TEST NAME}
+ Should Be Equal ${tc.kws[0].name} \${name}, \${item} = User \${42} Selects \${EMPTY} From Webshop + Should Be Equal ${tc.kws[2].name} \${name}, \${item} = User \${name} Selects \${SPACE * 10} From Webshop
+
+Non-Existing Variable in Embedded Arguments
+    ${tc} =  Check Test Case  ${TEST NAME}
+ Should Be Equal ${tc.kws[0].name} User \${non existing} Selects \${variables} From Webshop
+
+Escaping Values Given As Embedded Arguments
+    ${tc} =  Check Test Case  ${TEST NAME}
+ Should Be Equal ${tc.kws[0].name} \${name}, \${item} = User \\\${nonex} Selects \\\\ From Webshop + Should Be Equal ${tc.kws[2].name} \${name}, \${item} = User \\ Selects \\ \\ From Webshop
+
+Embedded Arguments Syntax Is Case Insensitive
+    ${tc} =  Check Test Case  ${TEST NAME}
+    Should Be Equal  ${tc.kws[0].name}  x Gets y From The z
+    Should Be Equal  ${tc.kws[1].name}  x gets y from the z
+    Should Be Equal  ${tc.kws[2].name}  x GETS y from the z
+    Should Be Equal  ${tc.kws[3].name}  x gets y FROM THE z
+
+Embedded Arguments Syntax is Space and Underscore Sensitive
+    Check Test Case  Embedded Arguments Syntax is Space Sensitive
+    Check Test Case  Embedded Arguments Syntax is Underscore Sensitive
+
+Embedded Arguments In Resource File
+    ${tc} =  Check Test Case  ${TEST NAME}
+ Should Be Equal ${tc.kws[0].name} \${ret} = embedded_args_in_uk_1.Juha Uses Resource File
+
+Embedded Arguments In Resource File Used Explicitly
+    ${tc} =  Check Test Case  ${TEST NAME}
+ Should Be Equal ${tc.kws[0].name} \${ret} = embedded_args_in_uk_1.peke uses resource file
+
+Keyword with normal arguments cannot have embedded arguments
+    Check Test Case  ${TEST NAME}
+
+Keyword with embedded args can be used as "normal" keyword
+    ${tc} =  Check Test Case  ${TEST NAME}
+    Check Log Message  ${tc.kws[1].kws[0].msgs[0]}  This is always executed
+
+Keyword matching multiple keywords in test case file
+    ${tc} =  Check Test Case  ${TEST NAME}
+    Check Log Message  ${tc.kws[0].kws[0].msgs[0]}  foo+tc+bar
+    Check Log Message  ${tc.kws[1].kws[0].msgs[0]}  foo-tc-bar
+    Check Log Message  ${tc.kws[2].kws[0].msgs[0]}  foo+tc+bar+tc+zap
+
+Keyword matching multiple keywords in one resource file
+    ${tc} =  Check Test Case  ${TEST NAME}
+    Check Log Message  ${tc.kws[0].kws[0].msgs[0]}  foo+r1+bar
+    Check Log Message  ${tc.kws[1].kws[0].msgs[0]}  foo-r1-bar
+
+Keyword matching multiple keywords in different resource files
+    ${tc} =  Check Test Case  ${TEST NAME}
+    Check Log Message  ${tc.kws[0].kws[0].msgs[0]}  foo-r1-bar
+    Check Log Message  ${tc.kws[1].kws[0].msgs[0]}  foo-r2-bar
+
+Keyword matching multiple keywords in one and different resource files
+    ${tc} =  Check Test Case  ${TEST NAME}
+
=======================================
--- /dev/null
+++ /atest/testdata/keywords/embedded_arguments.txt     Fri Jun 10 15:37:06 2011
@@ -0,0 +1,119 @@
+*** Settings ***
+Resource        resources/embedded_args_in_uk_1.txt
+Resource        resources/embedded_args_in_uk_2.txt
+
+*** Test Cases ***
+Embedded Arguments In User Keyword Name
+    ${name}  ${book} =  User Peke Selects Advanced Python From Webshop
+    Should Be Equal  ${name}-${book}  Peke-Advanced Python
+    ${name}  ${book} =  User Juha Selects Playboy From Webshop
+    Should Be Equal  ${name}-${book}  Juha-Playboy
+
+Complex Embedded Arguments
+    Given this "feature" works
+    When this "test case" is *executed*
+    Then this "issue" is about to be done!
+
+Embedded Arguments as Variables
+    ${name}  ${item} =  User ${42} Selects ${EMPTY} From Webshop
+    Should Be Equal  ${name}-${item}  42-
+    ${name}  ${item} =  User ${name} Selects ${SPACE * 10} From Webshop
+    Should Be Equal  ${name}-${item}  42-${SPACE*10}
+    ${name}  ${item} =  User ${name} Selects ${TEST TAGS} From Webshop
+    Should Be Equal  ${name}  ${42}
+    Should Be True  ${item} == []
+
+Non-Existing Variable in Embedded Arguments
+    [Documentation]  FAIL Non-existing variable '${non existing}'.
+    User ${non existing} Selects ${variables} From Webshop
+
+Escaping Values Given As Embedded Arguments
+    ${name}  ${item} =  User \${nonex} Selects \\ From Webshop
+    Should Be Equal  ${name}-${item}  \${nonex}-\\
+    ${name}  ${item} =  User \ Selects \ \ From Webshop
+    Should Be Equal  ${name}-${item}  -${SPACE}
+
+Embedded Arguments Syntax Is Case Insensitive
+    x Gets y From The z
+    x gets y from the z
+    x GETS y from the z
+    x gets y FROM THE z
+
+Embedded Arguments Syntax is Space Sensitive
+ [Documentation] FAIL No keyword with name 'User Janne Selects x fromwebshop' found.
+    User Janne Selects x from webshop
+    User Janne Selects x fromwebshop
+
+Embedded Arguments Syntax is Underscore Sensitive
+ [Documentation] FAIL No keyword with name 'User Janne Selects x from_webshop' found.
+    User Janne Selects x from webshop
+    User Janne Selects x from_webshop
+
+Embedded Arguments In Resource File
+    ${ret} =  Juha Uses Resource File
+    Should Be Equal  ${ret}  Juha-Resource
+
+Embedded Arguments In Resource File Used Explicitly
+    ${ret} =  embedded_args_in_uk_1.peke uses resource file
+    Should Be Equal  ${ret}  peke-resource
+    embedded_args_in_uk_2.-r1-r2-+r1+
+
+Keyword with normal arguments cannot have embedded arguments
+ [Documentation] FAIL No keyword with name 'Keyword with value and normal args' found.
+    Keyword with ${variable} and normal args  foo  bar
+    Keyword with value and normal args  foo  bar
+
+Keyword with embedded args can be used as "normal" keyword
+ [Documentation] FAIL Replacing variables from keyword return value failed: Non-existing variable '${user}'.
+    Normal keyword with ${variable} in name
+    User ${user} Selects ${item} From Webshop
+
+Keyword Matching Multiple Keywords In Test Case File
+ [Documentation] FAIL Test case file contains multiple keywords matching name 'foo+tc+bar-tc-zap'\n Found: '${a}-tc-${b}' and '${a}+tc+${b}'
+    foo+tc+bar
+    foo-tc-bar
+    foo+tc+bar+tc+zap
+    foo+tc+bar-tc-zap
+
+Keyword Matching Multiple Keywords In One Resource File
+ [Documentation] FAIL Resource file 'embedded_args_in_uk_1' contains multiple keywords matching name 'foo+r1+bar-r1-zap'\n Found: '${a}-r1-${b}' and '${a}+r1+${b}'
+    foo+r1+bar
+    foo-r1-bar
+    foo+r1+bar-r1-zap
+
+Keyword Matching Multiple Keywords In Different Resource Files
+ [Documentation] FAIL Multiple keywords with name 'foo-r1-bar-r2-zap' found.\n Give the full name of the keyword you want to use.\n Found: 'embedded_args_in_uk_1.foo-r1-bar-r2-zap' and 'embedded_args_in_uk_2.foo-r1-bar-r2-zap'
+    foo-r1-bar
+    foo-r2-bar
+    foo-r1-bar-r2-zap
+
+Keyword Matching Multiple Keywords In One And Different Resource Files
+ [Documentation] FAIL Resource file 'embedded_args_in_uk_1' contains multiple keywords matching name '-r1-r2-+r1+'\n Found: '${a}-r1-${b}' and '${a}+r1+${b}'
+    -r1-r2-+r1+
+
+*** Keywords ***
+User ${user} Selects ${item} From Webshop
+    Log  This is always executed
+    [Return]  ${user}  ${item}
+
+${Given/When/Then} this "${item}" ${no good name for this arg ...}
+    Log  ${item}-${no good name for this arg ...}
+
+${x} gets ${y} from the ${z}
+    Should Be Equal  ${x}-${y}-${z}  x-y-z
+
+Keyword with ${variable} and normal args
+    [Arguments]  ${arg1}  ${arg2}
+    Variable Should Not Exist  ${variable}
+    Should Be Equal  ${arg1}  foo
+    Should Be Equal  ${arg2}  bar
+
+Normal keyword with ${variable} in name
+    Variable Should Not Exist  ${variable}
+
+${a}-tc-${b}
+    Log  ${a}-tc-${b}
+
+${a}+tc+${b}
+    Log  ${a}+tc+${b}
+
=======================================
--- /dev/null
+++ /atest/testdata/keywords/resources/embedded_args_in_uk_1.txt Fri Jun 10 15:37:06 2011
@@ -0,0 +1,10 @@
+*** Keywords ***
+${name} Uses ${type} File
+    [Return]  ${name}-${type}
+
+${a}-r1-${b}
+    Log  ${a}-r1-${b}
+
+${a}+r1+${b}
+    Log  ${a}+r1+${b}
+
=======================================
--- /dev/null
+++ /atest/testdata/keywords/resources/embedded_args_in_uk_2.txt Fri Jun 10 15:37:06 2011
@@ -0,0 +1,4 @@
+*** Keywords ***
+${arg1}-r2-${arg2}
+    Log  ${arg1}-r2-${arg2}
+
=======================================
--- /atest/robot/keywords/embedded_argument_in_keyword_names.tsv Tue Apr 13 03:19:23 2010
+++ /dev/null
@@ -1,87 +0,0 @@
-*** Settings ***
-
-Force Tags     regression      pybot   jybot
-Suite Setup Run Tests ${EMPTY} keywords/embedded_argument_in_keyword_names.tsv
-Resource       atest_resource.txt
-
-
-*** Test Cases ***
-
-Embedded Arguments In User Keyword Name
-       ${tc} = Check Test Case ${TEST NAME}
-       Check Log Message       ${tc.kws[0].kws[0].msgs[0]}     This is always 
executed
-       Should Be Equal ${tc.kws[0].name}
-       ...     \${name}, \${book} = User Peke Selects Advanced Python From 
Webshop
-       Check Log Message       ${tc.kws[2].kws[0].msgs[0]}     This is always 
executed
-       Should Be Equal ${tc.kws[2].name}
-       ...     \${name}, \${book} = User Juha Selects Playboy From Webshop
-
-Complex Embedded Arguments
-       ${tc} = Check Test Case ${TEST NAME}
-       Check Log Message       ${tc.kws[0].kws[0].msgs[0]}     feature-works
-       Check Log Message       ${tc.kws[1].kws[0].msgs[0]}     test case-is 
*executed*
-       Check Log Message       ${tc.kws[2].kws[0].msgs[0]}     issue-is about 
to be done!
-
-Embedded Arguments as Variables
-       ${tc} = Check Test Case ${TEST NAME}
-       Should Be Equal ${tc.kws[0].name}
-       ...     \${name}, \${item} = User \${42} Selects \${EMPTY} From Webshop
-       Should Be Equal ${tc.kws[2].name}
-       ...     \${name}, \${item} = User \${name} Selects \${SPACE * 10} From 
Webshop
-
-Non-Existing Variable in Embedded Arguments
-       ${tc} = Check Test Case ${TEST NAME}
-       Should Be Equal ${tc.kws[0].name}
-       ...     User \${non existing} Selects \${variables} From Webshop
-
-Escaping Values Given As Embedded Arguments
-       ${tc} = Check Test Case ${TEST NAME}
-       Should Be Equal ${tc.kws[0].name}
-       ...     \${name}, \${item} = User \\\${nonex} Selects \\\\ From Webshop
-       Should Be Equal ${tc.kws[2].name}
-       ...     \${name}, \${item} = User \\ Selects \\ \\ From Webshop
-
-Embedded Arguments Syntax Is Case Insensitive
-       ${tc} = Check Test Case ${TEST NAME}
-       Should Be Equal ${tc.kws[0].name}       x Gets y From The z
-       Should Be Equal ${tc.kws[1].name}       x gets y from the z
-       Should Be Equal ${tc.kws[2].name}       x GETS y from the z
-       Should Be Equal ${tc.kws[3].name}       x gets y FROM THE z
-
-Embedded Arguments Syntax is Space and Underscore Sensitive
-       Check Test Case Embedded Arguments Syntax is Space Sensitive
-       Check Test Case Embedded Arguments Syntax is Underscore Sensitive
-
-Embedded Arguments In Resource File
-       ${tc} = Check Test Case ${TEST NAME}
- Should Be Equal ${tc.kws[0].name} \${ret} = embedded_args_in_uk_1.Juha Uses Resource File
-
-Embedded Arguments In Resource File Used Explicitly
-       ${tc} = Check Test Case ${TEST NAME}
- Should Be Equal ${tc.kws[0].name} \${ret} = embedded_args_in_uk_1.peke uses resource file
-
-Keyword with normal arguments cannot have embedded arguments
-       Check Test Case ${TEST NAME}
-
-Keyword with embedded args can be used as "normal" keyword
-       ${tc} = Check Test Case ${TEST NAME}
-       Check Log Message       ${tc.kws[1].kws[0].msgs[0]}     This is always 
executed
-
-Keyword matching multiple keywords in test case file
-       ${tc} = Check Test Case ${TEST NAME}
-       Check Log Message       ${tc.kws[0].kws[0].msgs[0]}     foo+tc+bar
-       Check Log Message       ${tc.kws[1].kws[0].msgs[0]}     foo-tc-bar
-       Check Log Message       ${tc.kws[2].kws[0].msgs[0]}     
foo+tc+bar+tc+zap
-
-Keyword matching multiple keywords in one resource file
-       ${tc} = Check Test Case ${TEST NAME}
-       Check Log Message       ${tc.kws[0].kws[0].msgs[0]}     foo+r1+bar
-       Check Log Message       ${tc.kws[1].kws[0].msgs[0]}     foo-r1-bar
-
-Keyword matching multiple keywords in different resource files
-       ${tc} = Check Test Case ${TEST NAME}
-       Check Log Message       ${tc.kws[0].kws[0].msgs[0]}     foo-r1-bar
-       Check Log Message       ${tc.kws[1].kws[0].msgs[0]}     foo-r2-bar
-
-Keyword matching multiple keywords in one and different resource files
-       ${tc} = Check Test Case ${TEST NAME}
=======================================
--- /atest/testdata/keywords/embedded_argument_in_keyword_names.tsv Thu Jun 3 12:09:49 2010
+++ /dev/null
@@ -1,131 +0,0 @@
-*** Settings ***
-
-Resource       resources/embedded_args_in_uk_1.tsv
-Resource       resources/embedded_args_in_uk_2.tsv
-
-
-*** Test Cases ***
-
-Embedded Arguments In User Keyword Name
-       ${name} ${book} =       User Peke Selects Advanced Python From Webshop
-       Should Be Equal ${name}-${book} Peke-Advanced Python
-       ${name} ${book} =       User Juha Selects Playboy From Webshop
-       Should Be Equal ${name}-${book} Juha-Playboy
-
-Complex Embedded Arguments
-       Given this "feature" works
-       When this "test case" is *executed*
-       Then this "issue" is about to be done!
-
-Embedded Arguments as Variables
-       ${name} ${item} =       User ${42} Selects ${EMPTY} From Webshop
-       Should Be Equal ${name}-${item} 42-
-       ${name} ${item} =       User ${name} Selects ${SPACE * 10} From Webshop
-       Should Be Equal ${name}-${item} 42-${SPACE*10}
-       ${name} ${item} =       User ${name} Selects ${TEST TAGS} From Webshop
-       Should Be Equal ${name} ${42}
-       Should Be True  ${item} == []
-
-Non-Existing Variable in Embedded Arguments
-       [Documentation] FAIL Non-existing variable '${non existing}'.
-       User ${non existing} Selects ${variables} From Webshop
-
-Escaping Values Given As Embedded Arguments
-       ${name} ${item} =       User \${nonex} Selects \\ From Webshop
-       Should Be Equal ${name}-${item} \${nonex}-\\
-       ${name} ${item} =       User \ Selects \ \ From Webshop
-       Should Be Equal ${name}-${item} -${SPACE}
-
-Embedded Arguments Syntax Is Case Insensitive
-       x Gets y From The z
-       x gets y from the z
-       x GETS y from the z
-       x gets y FROM THE z
-
-Embedded Arguments Syntax is Space Sensitive
- [Documentation] FAIL No keyword with name 'User Janne Selects x fromwebshop' found.
-       User Janne Selects x from webshop
-       User Janne Selects x fromwebshop
-
-Embedded Arguments Syntax is Underscore Sensitive
- [Documentation] FAIL No keyword with name 'User Janne Selects x from_webshop' found.
-       User Janne Selects x from webshop
-       User Janne Selects x from_webshop
-
-Embedded Arguments In Resource File
-       ${ret} =        Juha Uses Resource File
-       Should Be Equal ${ret}  Juha-Resource
-
-Embedded Arguments In Resource File Used Explicitly
-       ${ret} =        embedded_args_in_uk_1.peke uses resource file
-       Should Be Equal ${ret}  peke-resource
-       embedded_args_in_uk_2.-r1-r2-+r1+
-
-Keyword with normal arguments cannot have embedded arguments
- [Documentation] FAIL No keyword with name 'Keyword with value and normal args' found.
-       Keyword with ${variable} and normal args        foo     bar
-       Keyword with value and normal args      foo     bar
-
-Keyword with embedded args can be used as "normal" keyword
- [Documentation] FAIL Replacing variables from keyword return value failed: Non-existing variable '${user}'.
-       Normal keyword with ${variable} in name
-       User ${user} Selects ${item} From Webshop
-
-Keyword Matching Multiple Keywords In Test Case File
-       [Documentation] FAIL    Test case file contains multiple keywords 
matching
-       ...     name 'foo+tc+bar-tc-zap'\n
-       ...     Found: '${a}-tc-${b}' and '${a}+tc+${b}'
-       foo+tc+bar
-       foo-tc-bar
-       foo+tc+bar+tc+zap
-       foo+tc+bar-tc-zap
-
-Keyword Matching Multiple Keywords In One Resource File
-       [Documentation] FAIL    Resource file 'embedded_args_in_uk_1' contains
-       ...     multiple keywords matching name 'foo+r1+bar-r1-zap'\n
-       ...     Found: '${a}-r1-${b}' and '${a}+r1+${b}'
-       foo+r1+bar
-       foo-r1-bar
-       foo+r1+bar-r1-zap
-
-Keyword Matching Multiple Keywords In Different Resource Files
- [Documentation] FAIL Multiple keywords with name 'foo-r1-bar-r2-zap' found.\n
-       ...     Give the full name of the keyword you want to use.\n
- ... Found: 'embedded_args_in_uk_1.foo-r1-bar-r2-zap' and 'embedded_args_in_uk_2.foo-r1-bar-r2-zap'
-       foo-r1-bar
-       foo-r2-bar
-       foo-r1-bar-r2-zap
-
-Keyword Matching Multiple Keywords In One And Different Resource Files
-       [Documentation] FAIL    Resource file 'embedded_args_in_uk_1' contains
-       ...     multiple keywords matching name '-r1-r2-+r1+'\n
-       ...     Found: '${a}-r1-${b}' and '${a}+r1+${b}'
-       -r1-r2-+r1+
-
-
-*** Keywords ***
-
-User ${user} Selects ${item} From Webshop
-       Log     This is always executed
-       [Return]        ${user} ${item}
-
-${Given/When/Then} this "${item}" ${no good name for this arg ...}
-       Log     ${item}-${no good name for this arg ...}
-
-${x} gets ${y} from the ${z}
-       Should Be Equal ${x}-${y}-${z}  x-y-z
-
-Keyword with ${variable} and normal args
-       [Arguments]     ${arg1} ${arg2}
-       Variable Should Not Exist       ${variable}
-       Should Be Equal ${arg1} foo
-       Should Be Equal ${arg2} bar
-
-Normal keyword with ${variable} in name
-       Variable Should Not Exist       ${variable}
-
-${a}-tc-${b}
-       Log     ${a}-tc-${b}
-
-${a}+tc+${b}
-       Log     ${a}+tc+${b}
=======================================
--- /atest/testdata/keywords/resources/embedded_args_in_uk_1.tsv Tue Apr 13 03:19:23 2010
+++ /dev/null
@@ -1,9 +0,0 @@
-*** Keywords ***
-${name} Uses ${type} File
-       [Return]        ${name}-${type}
-
-${a}-r1-${b}
-       Log     ${a}-r1-${b}
-
-${a}+r1+${b}
-       Log     ${a}+r1+${b}
=======================================
--- /atest/testdata/keywords/resources/embedded_args_in_uk_2.tsv Tue Apr 13 03:19:23 2010
+++ /dev/null
@@ -1,3 +0,0 @@
-*** Keywords ***
-${arg1}-r2-${arg2}
-       Log     ${arg1}-r2-${arg2}

Reply via email to