Revision: 2558
Author: KariHusa
Date: Fri Feb 26 03:49:42 2010
Log: Added test for deprecation warning, modified error message
http://code.google.com/p/robotframework/source/detail?r=2558
Modified:
/trunk/atest/robot/core/invalid_syntax.html
/trunk/atest/robot/core/test_suite_init_file.txt
=======================================
--- /trunk/atest/robot/core/invalid_syntax.html Thu Feb 25 01:20:13 2010
+++ /trunk/atest/robot/core/invalid_syntax.html Fri Feb 26 03:49:42 2010
@@ -4536,7 +4536,7 @@
<td align="undefined" valign="undefined">Test
-Suite does not have metadata 'Invalid Setting'.
+Case File does not have metadata 'Invalid Setting'.
Available: 'Default Tags', 'Documentation', 'Force Tags', 'Suite
Setup', 'Suite Teardown', 'Test Setup', 'Test Teardown' and 'Test
Timeout'</td>
=======================================
--- /trunk/atest/robot/core/test_suite_init_file.txt Thu Feb 25 23:38:24
2010
+++ /trunk/atest/robot/core/test_suite_init_file.txt Fri Feb 26 03:49:42
2010
@@ -33,8 +33,14 @@
Should Be Equal ${subsuite_without_init.teardown} ${None}
Invalid Suite Metadata
- Check Stderr Contains Test Suite does not have metadata 'Invalid'.
Available: 'Default Tags', 'Documentation', 'Force Tags', 'Suite
Setup', 'Suite Teardown', 'Test Setup', 'Test Teardown' and 'Test Timeout'
- Check Stderr Contains Test Suite does not have metadata 'Invalid In
Sub'. Available: 'Default Tags', 'Documentation', 'Force Tags', 'Suite
Setup', 'Suite Teardown', 'Test Setup', 'Test Teardown' and 'Test Timeout'
+ Check Stderr Contains Test Suite Init File does not have
metadata 'Invalid'. Available: 'Default Tags', 'Documentation', 'Force
Tags', 'Suite Setup', 'Suite Teardown', 'Test Setup', 'Test Teardown'
and 'Test Timeout'
+ Check Stderr Contains Test Suite Init File does not have
metadata 'Invalid In Sub'. Available: 'Default
Tags', 'Documentation', 'Force Tags', 'Suite Setup', 'Suite
Teardown', 'Test Setup', 'Test Teardown' and 'Test Timeout'
+
+Deprecated Metadata In Init File
+ Check Stderr Contains Using setting 'Default Tags' in init file is
deprecated and will be removed in the next major release.
+ Check Stderr Contains Using setting 'Test Setup' in init file is
deprecated and will be removed in the next major release.
+ Check Stderr Contains Using setting 'Test Teardown' in init file is
deprecated and will be removed in the next major release.
+ Check Stderr Contains Using setting 'Test Timeout' in init file is
deprecated and will be removed in the next major release.
Test Tags
[Documentation] Settings tags for tests using Force and Default Tags
in different suite levels and also [Tags] in tests