Revision: 3952
Author: jprantan
Date: Fri Aug 27 01:11:30 2010
Log: Updated tests to check that path is added to the deprecation warning
if deprecated usage happens in variable file or variable table. Issue 624.
http://code.google.com/p/robotframework/source/detail?r=3952
Modified:
/trunk/atest/robot/variables/same_basename_is_deprecated.txt
=======================================
--- /trunk/atest/robot/variables/same_basename_is_deprecated.txt Fri Aug 27
00:08:57 2010
+++ /trunk/atest/robot/variables/same_basename_is_deprecated.txt Fri Aug 27
01:11:30 2010
@@ -7,7 +7,7 @@
Variable Table
Check Test Case ${TESTNAME}
- Verify deprecation warning \...@{table} \${TABLE}
+ Verify deprecation warning with path \...@\\{table} \\$\\{TABLE}
Assign Variables
${tc} = Check Test Case ${TESTNAME}
@@ -21,7 +21,7 @@
Variable File
Check Test Case ${TESTNAME}
- Verify deprecation warning \${VARFILE} \...@{varfile}
+ Verify deprecation warning with path \\$\\{VARFILE} \...@\\{varfile}
Combinations
Check Test Case ${TESTNAME}
@@ -36,3 +36,9 @@
... Using same base name with scalar and list variables is deprecated.
... Please change either '${1st}' or '${2nd}' before Robot Framework
2.6.
+Verify deprecation warning with path
+ [Arguments] ${1st} ${2nd}
+ Check Syslog Contains Regexp \\|\\s*WARN\\s*\\|\\s*
+ ... Using same base name with scalar and list variables is
deprecated\\.
+ ... Please change either '${1st}' or '${2nd}' in file '.*'
+ ... before Robot Framework 2\\.6\\.