2 new revisions:

Revision: 6dd4d8883eba
Author:   Ilmari Kontulainen <[email protected]>
Date:     Wed Aug 22 03:16:05 2012
Log:      Add @{EMPTY} variable
http://code.google.com/p/robotframework/source/detail?r=6dd4d8883eba

Revision: 4fc8aeb2c9ae
Author:   Ilmari Kontulainen <[email protected]>
Date:     Wed Aug 22 03:18:37 2012
Log:      merge
http://code.google.com/p/robotframework/source/detail?r=4fc8aeb2c9ae

==============================================================================
Revision: 6dd4d8883eba
Author:   Ilmari Kontulainen <[email protected]>
Date:     Wed Aug 22 03:16:05 2012
Log:      Add @{EMPTY} variable
http://code.google.com/p/robotframework/source/detail?r=6dd4d8883eba

Modified:
 /atest/robot/running/test_template.txt
 /atest/testdata/running/test_template.txt
 /atest/testdata/variables/builtin_variables.txt
 /src/robot/variables/__init__.py

=======================================
--- /atest/robot/running/test_template.txt      Mon Jul 12 13:03:19 2010
+++ /atest/robot/running/test_template.txt      Wed Aug 22 03:16:05 2012
@@ -18,6 +18,9 @@

 Test Template With Variables
     Check Test Case  ${TESTNAME}
+
+Test Template With @{EMPTY} Variable
+    Check Test Case  ${TESTNAME}

 Test Template With Variables And Keyword Name
     Check Test Case  ${TESTNAME}
=======================================
--- /atest/testdata/running/test_template.txt   Mon Jul 12 13:03:19 2010
+++ /atest/testdata/running/test_template.txt   Wed Aug 22 03:16:05 2012
@@ -31,6 +31,10 @@
 Test Template With Variables
   [Template]  Expect Exactly Two Args
   ${VARIABLE}  ${VARIABLE}
+
+Test Template With @{EMPTY} Variable
+  [Template]   Test Template With Default Parameters
+  @{EMPTY}

 Test Template With Variables And Keyword Name
   [template]  Expect Exactly Three Args
@@ -152,8 +156,11 @@
     [Documentation]  FAIL  Test execution is stopped due to a fatal error
     Fail  This should not be executed

-
 *** Keywords ***
+Test Template With Default Parameters
+  [arguments]  ${first}=first  ${second}=second
+  Log many  ${first}  ${second}
+
 Expect Exactly Two Args  [arguments]  ${a1}  ${a2}
   Should Be Equal  ${a1}  ${a2}

=======================================
--- /atest/testdata/variables/builtin_variables.txt     Wed Mar  7 05:26:38 2012
+++ /atest/testdata/variables/builtin_variables.txt     Wed Aug 22 03:16:05 2012
@@ -68,6 +68,8 @@
     Should Be Equal  ${EMPTY}  \
     Should Be Equal  ${EMPTY * 5}  \
     Should Be Equal  -${EMPTY}-${EMPTY*2}-${EMPTY}-  ----
+    Should Be True   @{EMPTY} == []
+    Should Be True   @{EMPTY}+@{EMPTY} == []

 ${/}
     ${exp} =  Evaluate  os.sep  modules=os
=======================================
--- /src/robot/variables/__init__.py    Tue May 22 06:30:09 2012
+++ /src/robot/variables/__init__.py    Wed Aug 22 03:16:05 2012
@@ -42,6 +42,7 @@
                          ('${:}', os.pathsep),
                          ('${SPACE}', ' '),
                          ('${EMPTY}', ''),
+                         ('@{EMPTY}', []),
                          ('${True}', True),
                          ('${False}', False),
                          ('${None}', None),

==============================================================================
Revision: 4fc8aeb2c9ae
Author:   Ilmari Kontulainen <[email protected]>
Date:     Wed Aug 22 03:18:37 2012
Log:      merge
http://code.google.com/p/robotframework/source/detail?r=4fc8aeb2c9ae


Reply via email to