Revision: 3929
Author: jprantan
Date: Thu Aug 26 03:46:00 2010
Log: Test updates for adding path to depracation warning which occurs when scalar variable gets more than one value, issue 623.
http://code.google.com/p/robotframework/source/detail?r=3929

Modified:
 /trunk/atest/resources/atest_resource.txt
 /trunk/atest/robot/variables/variable_table.txt

=======================================
--- /trunk/atest/resources/atest_resource.txt   Mon Jun 28 06:06:17 2010
+++ /trunk/atest/resources/atest_resource.txt   Thu Aug 26 03:46:00 2010
@@ -248,6 +248,10 @@
 Check Syslog Matches Regexp
     [Arguments]  @{expected}
     Check File Matches Regexp  ${SYSLOG_FILE}  @{expected}
+
+Check Syslog Contains Regexp
+    [Arguments]  @{expected}
+    Check File Contains Regexp  ${SYSLOG_FILE}  @{expected}

 Check Names
     [Arguments]  ${item}  ${name}  ${longprefix}=
=======================================
--- /trunk/atest/robot/variables/variable_table.txt     Mon Apr 12 05:17:10 2010
+++ /trunk/atest/robot/variables/variable_table.txt     Thu Aug 26 03:46:00 2010
@@ -3,6 +3,7 @@
 Force Tags      pybot  jybot  regression
 Resource        atest_resource.txt

+
 *** Test Cases ***
 Scalar String
     Check Test Case  Scalar String
@@ -18,15 +19,15 @@

 Scalar List
     Check Test Case  Scalar List
- Check Syslog Contains Creating scalar variable with more than one value is deprecated and this functionality will be removed in Robot Framework 2.6. Create a list variable '\...@{list}' and use it as a scalar variable '\${LIST}' instead.
+    Syslog Contains Deprecation Warning About Variable  LIST

 Scalar List With Non-Strings
     Check Test Case  Scalar List With Non-Strings
- Check Syslog Contains Creating scalar variable with more than one value is deprecated and this functionality will be removed in Robot Framework 2.6. Create a list variable '\...@{list WITH NON STRINGS}' and use it as a scalar variable '\${LIST WITH NON STRINGS}' instead. + Syslog Contains Deprecation Warning About Variable LIST WITH NON STRINGS

 Scalar List With Escapes
     Check Test Case  Scalar List With Escapes
- Check Syslog Contains Creating scalar variable with more than one value is deprecated and this functionality will be removed in Robot Framework 2.6. Create a list variable '\...@{list WITH ESCAPES}' and use it as a scalar variable '\${LIST WITH ESCAPES}' instead.
+    Syslog Contains Deprecation Warning About Variable  LIST WITH ESCAPES

 List With One Item
     Check Test Case  List with One Item
@@ -61,3 +62,11 @@
 Assign Mark With List Variable
     Check Test Case  Assign Mark With List variable

+*** Keywords ***
+Syslog Contains Deprecation Warning About Variable
+    [Arguments]  ${name}
+    Check Syslog Contains Regexp
+ ... Creating scalar variable with more than one value is deprecated and + ... this functionality will be removed in Robot Framework 2\\.6\\. Create
+    ...  a list variable '@\\{${name}}' and use it as a scalar variable
+    ...  '\\$\\{${name}}' instead in file '.*'\\.

Reply via email to