Revision: 3845
Author: jprantan
Date: Wed Aug 18 05:05:17 2010
Log: Added syntax error also to suite teardown. Issue 615.
http://code.google.com/p/robotframework/source/detail?r=3845

Modified:
 /trunk/atest/robot/running/errors_in_test_teardown.txt
 /trunk/atest/testdata/running/errors_in_test_teardown.txt

=======================================
--- /trunk/atest/robot/running/errors_in_test_teardown.txt Wed Aug 18 04:56:14 2010 +++ /trunk/atest/robot/running/errors_in_test_teardown.txt Wed Aug 18 05:05:17 2010
@@ -40,12 +40,14 @@
     ${ts} =  Get Test Suite  errors in test teardown
     Check Log Message  ${ts.teardown.kws[0].msgs[0]}  Suite Message 1  FAIL
Check Log Message ${ts.teardown.kws[1].msgs[0]} Suite Message 2 (with ∏ön ÄßÇïï €§) FAIL - Check Log Message ${ts.teardown.kws[2].msgs[0]} This As Well Should Be Executed + Check Log Message ${ts.teardown.kws[2].msgs[0]} No keyword with name 'Missing Keyword' found. FAIL + Check Log Message ${ts.teardown.kws[3].msgs[0]} This As Well Should Be Executed
     ${msg} =  Catenate  SEPARATOR=\n
     ...  Suite teardown failed:
     ...  Several failures occurred:\n
     ...  1) Suite Message 1\n
-    ...  2) Suite Message 2 (with ∏ön ÄßÇïï €§)
+    ...  2) Suite Message 2 (with ∏ön ÄßÇïï €§)\n
+    ...  3) No keyword with name 'Missing Keyword' found.
     Should Be Equal  ${ts.message}  ${msg}

 Suite Teardown Should Stop At Fatal Error
=======================================
--- /trunk/atest/testdata/running/errors_in_test_teardown.txt Wed Aug 18 04:56:14 2010 +++ /trunk/atest/testdata/running/errors_in_test_teardown.txt Wed Aug 18 05:05:17 2010
@@ -112,4 +112,5 @@
 Suite Teardown With Errors
     Fail  Suite Message 1
     Fail  Suite Message 2 (with ∏ön ÄßÇïï €§)
+    Missing Keyword
     Log  This As Well Should Be Executed

Reply via email to