Revision: 3254
Author: janne.t.harkonen
Date: Tue May 11 01:57:15 2010
Log: Test for multiple errors
http://code.google.com/p/robotframework/source/detail?r=3254
Modified:
/trunk/atest/robot/cli/runner/dryrun.txt
/trunk/atest/testdata/cli/dryrun/dryrun.txt
=======================================
--- /trunk/atest/robot/cli/runner/dryrun.txt Tue May 11 00:44:33 2010
+++ /trunk/atest/robot/cli/runner/dryrun.txt Tue May 11 01:57:15 2010
@@ -39,6 +39,9 @@
Arguments given as list variable
Check Test Case ${TESTNAME}
+
+Multiple Failures
+ Check Test Case ${TESTNAME}
Invalid imports
Check Stderr Contains Importing test library 'DoesNotExist' failed:
ImportError: No module named DoesNotExist
=======================================
--- /trunk/atest/testdata/cli/dryrun/dryrun.txt Tue May 11 00:44:33 2010
+++ /trunk/atest/testdata/cli/dryrun/dryrun.txt Tue May 11 01:57:15 2010
@@ -45,6 +45,12 @@
[Documentation] FAIL Keyword 'BuiltIn.No Operation' expected 0
arguments, got 2.
No Operation ${foo} @{list}
+Multiple Failures
+ [Documentation] FAIL Several failures occurred:\n\n1)
Keyword 'BuiltIn.Should Be Equal' expected 2 to 4 arguments, got 1.\n\n2)
No keyword with name 'Does not exist' found.
+ Should Be Equal 1
+ Does not exist
+
+
Arguments given as list variable
[Documentation] FAIL Keyword 'BuiltIn.Should Be Equal' expected 2 to
4 arguments, got 1.
@{list} = Create List 1 1