Revision: 511afd7bc1c4
Branch:   default
Author:   Ilmari Kontulainen <[email protected]>
Date:     Thu Jan  3 05:27:28 2013
Log:      Fix tests cases after updating suite setup error message

Update issue 1307

Fix broken test cases
http://code.google.com/p/robotframework/source/detail?r=511afd7bc1c4

Added:
/atest/robot/standard_libraries/builtin/run_keyword_if_test_passed_failed.txt /atest/testdata/standard_libraries/builtin/run_keyword_if_test_passed_failed/run_keyword_if_test_failed_in_suite_fixtures.txt /atest/testdata/standard_libraries/builtin/run_keyword_if_test_passed_failed/run_keyword_if_test_passed_failed.txt /atest/testdata/standard_libraries/builtin/run_keyword_if_test_passed_failed/run_keyword_if_test_passed_in_suite_fixtures.txt
Deleted:
/atest/robot/standard_libraries/builtin/run_keyword_if_test_passed_failed.html /atest/testdata/standard_libraries/builtin/run_keyword_if_test_passed_failed/run_keyword_if_test_failed_in_suite_fixtures.html /atest/testdata/standard_libraries/builtin/run_keyword_if_test_passed_failed/run_keyword_if_test_passed_failed.html /atest/testdata/standard_libraries/builtin/run_keyword_if_test_passed_failed/run_keyword_if_test_passed_in_suite_fixtures.html
Modified:
 /atest/testdata/core/unicode_failure_in_suite_setup_and_teardown.txt

=======================================
--- /dev/null
+++ /atest/robot/standard_libraries/builtin/run_keyword_if_test_passed_failed.txt Thu Jan 3 05:27:28 2013
@@ -0,0 +1,67 @@
+*** Setting ***
+Suite Setup Run Tests ${EMPTY} standard_libraries/builtin/run_keyword_if_test_passed_failed
+Force Tags        regression
+Default Tags      jybot    pybot
+Resource          atest_resource.txt
+
+
+*** Test Case ***
+Run Keyword If test Failed When Test Fails
+ ${tc} = Check Test Case Run Keyword If test Failed When Test Fails
+    Equals    ${tc.teardown.kws[0].name}    BuiltIn.Log
+ Check Log Message ${tc.teardown.kws[0].msgs[0]} Hello from teardown!
+
+Run Keyword If test Failed When Test Does Not Fail
+ ${tc} = Check Test Case Run Keyword If test Failed When Test Does Not Fail
+    Ints Equal    ${tc.teardown.keyword_count}    0
+
+Run Keyword If Test Failed Can't Be Used In Setup
+ ${tc} = Check Test Case Run Keyword If Test Failed Can't Be Used In Setup
+    Ints Equal    ${tc.setup.keyword_count}    0
+
+Run Keyword If Test Failed Can't Be Used in Test
+    Check Test Case    Run Keyword If Test Failed Can't Be Used in Test
+
+Run Keyword If Test Failed Uses User Keyword
+ ${tc} = Check Test Case Run Keyword If Test Failed Uses User Keyword + Check Log Message ${tc.teardown.kws[0].kws[0].msgs[0]} Teardown message
+
+Run Keyword If Test Failed Fails
+    Check Test Case    Run Keyword If Test Failed Fails
+
+Run Keyword If test Failed Can't Be Used In Suite Setup or Teardown
+ ${tc} = Check Test Case Run Keyword If test Failed Can't Be Used In Suite Setup or Teardown + Check Log Message ${SUITE.suites[0].setup.msgs[0]} Keyword 'Run Keyword If Test Failed' can only be used in test teardown FAIL + Check Log Message ${SUITE.suites[0].teardown.msgs[0]} Keyword 'Run Keyword If Test Failed' can only be used in test teardown FAIL
+
+Run Keyword If Test Passed When Test Passes
+ ${tc} = Check Test Case Run Keyword If Test Passed When Test Passes + Check Log Message ${tc.teardown.kws[0].msgs[0]} Teardown of passing test
+
+Run Keyword If Test Passed When Test Fails
+    Check Test Case    Run Keyword If Test Passed When Test Fails
+
+Run Keyword If Test Passed Can't Be used In Setup
+    Check Test Case    Run Keyword If Test Passed Can't Be used In Setup
+
+Run Keyword If Test Passed Can't Be used In Test
+    Check Test Case    Run Keyword If Test Passed Can't Be used In Test
+
+Run Keyword If Test Passes Uses User Keyword
+ ${tc} = Check Test Case Run Keyword If Test Passes Uses User Keyword + Check Log Message ${tc.teardown.kws[0].kws[0].msgs[0]} Teardown message
+    Check KW Arguments    ${tc.teardown.kws[0].kws[0]}    \${message}
+
+Run Keyword If Test Passed Fails
+    Check Test Case    Run Keyword If Test Passed Fails
+
+Run Keyword If test Passed Can't Be Used In Suite Setup or Teardown
+ ${tc} = Check Test Case Run Keyword If test Passed Can't Be Used In Suite Setup or Teardown + Check Log Message ${SUITE.suites[2].setup.msgs[0]} Keyword 'Run Keyword If Test Passed' can only be used in test teardown FAIL + Check Log Message ${SUITE.suites[2].teardown.msgs[0]} Keyword 'Run Keyword If Test Passed' can only be used in test teardown FAIL
+
+Variable Values Should Not Be Visible As Keyword's Arguments
+ ${tc} = Check Test Case Run Keyword If Test Failed Uses User Keyword + Check KW Arguments ${tc.teardown} Teardown UK \${TEARDOWN MESSAGE}
+    Check KW Arguments    ${tc.teardown.kws[0]}    \${TEARDOWN MESSAGE}
+    Check KW Arguments    ${tc.teardown.kws[0].kws[0]}    \${message}
=======================================
--- /dev/null
+++ /atest/testdata/standard_libraries/builtin/run_keyword_if_test_passed_failed/run_keyword_if_test_failed_in_suite_fixtures.txt Thu Jan 3 05:27:28 2013
@@ -0,0 +1,12 @@
+*** Setting ***
+Suite Setup Run Keyword If Test Failed Log ${NON EXISTING} #Should not be executed nor evaluated +Suite Teardown Run Keyword If Test Failed Log ${NON EXISTING} #Should not be executed nor evaluated
+
+
+*** Test Case ***
+Run Keyword If test Failed Can't Be Used In Suite Setup or Teardown
+    [Documentation]    FAIL Setup of the parent suite failed:
+ ... Keyword 'Run Keyword If Test Failed' can only be used in test teardown
+    ...
+    ...    Also teardown of the parent suite failed.
+    No Operation
=======================================
--- /dev/null
+++ /atest/testdata/standard_libraries/builtin/run_keyword_if_test_passed_failed/run_keyword_if_test_passed_failed.txt Thu Jan 3 05:27:28 2013
@@ -0,0 +1,72 @@
+*** Setting ***
+
+*** Variable ***
+${EXPECTED FAILURE}    Expected failure
+${TEARDOWN MESSAGE}    Teardown message
+
+*** Test Case ***
+Run Keyword If test Failed When Test Fails
+    [Documentation]    FAIL Expected failure
+    Fail    ${EXPECTED FAILURE}
+    [Teardown]    Run Keyword If Test Failed    Log    Hello from teardown!
+
+Run Keyword If test Failed When Test Does Not Fail
+    Noop
+ [Teardown] Run Keyword If Test Failed Log ${MESSAGE} #Should not be executed nor evaluated
+
+Run Keyword If Test Failed Can't Be Used In Setup
+    [Documentation]    FAIL Setup failed:
+ ... Keyword 'Run Keyword If Test Failed' can only be used in test teardown + [Setup] Run Keyword If Test Failed Fail ${MESSAGE} #Should not be executed nor evaluated
+    Noop
+
+Run Keyword If Test Failed Can't Be Used in Test
+ [Documentation] FAIL Keyword 'Run Keyword If Test Failed' can only be used in test teardown + Run Keyword If Test Failed Log ${MESSAGE} #Should not be executed nor evaluated
+
+Run Keyword If Test Failed Uses User Keyword
+    [Documentation]    FAIL Expected failure
+    Fail    ${EXPECTED FAILURE}
+ [Teardown] Run Keyword If Test Failed Teardown UK ${TEARDOWN MESSAGE}
+
+Run Keyword If Test Failed Fails
+    [Documentation]    FAIL Expected failure
+    ...
+    ...    Also teardown failed:
+    ...    Expected teardown failure
+    Fail    ${EXPECTED FAILURE}
+ [Teardown] Run Keyword If Test Failed Fail Expected teardown failure
+
+Run Keyword If Test Passed When Test Passes
+    Noop
+ [Teardown] Run Keyword If Test Passed Log Teardown of passing test
+
+Run Keyword If Test Passed When Test Fails
+    [Documentation]    FAIL Expected failure
+    Fail    ${EXPECTED FAILURE}
+ [Teardown] Run Keyword If Test Passed Fail This should not be executed
+
+Run Keyword If Test Passed Can't Be used In Setup
+    [Documentation]    FAIL Setup failed:
+ ... Keyword 'Run Keyword If Test Passed' can only be used in test teardown + [Setup] Run Keyword If Test Passed Fail ${MESSAGE} #Should not be executed nor evaluated
+    Noop
+
+Run Keyword If Test Passed Can't Be used In Test
+ [Documentation] FAIL Keyword 'Run Keyword If Test Passed' can only be used in test teardown + Run Keyword If Test Passed Fail ${MESSAGE} #Should not be executed nor evaluated
+
+Run Keyword If Test Passes Uses User Keyword
+    Noop
+ [Teardown] Run Keyword If Test Passed Teardown UK ${TEARDOWN MESSAGE}
+
+Run Keyword If Test Passed Fails
+    [Documentation]    FAIL Teardown failed:
+    ...    Expected failure
+    Noop
+    [Teardown]    Run Keyword If Test Passed    Fail    ${EXPECTED FAILURE}
+
+*** Keyword ***
+Teardown UK
+    [Arguments]    ${message}
+    Log    ${message}
=======================================
--- /dev/null
+++ /atest/testdata/standard_libraries/builtin/run_keyword_if_test_passed_failed/run_keyword_if_test_passed_in_suite_fixtures.txt Thu Jan 3 05:27:28 2013
@@ -0,0 +1,12 @@
+*** Setting ***
+Suite Setup Run Keyword If Test Passed Log ${NON EXISTING} #Should not be executed nor evaluated +Suite Teardown Run Keyword If Test Passed Log ${NON EXISTING} #Should not be executed nor evaluated
+
+
+*** Test Case ***
+Run Keyword If test Passed Can't Be Used In Suite Setup or Teardown
+    [Documentation]    FAIL Setup of the parent suite failed:
+ ... Keyword 'Run Keyword If Test Passed' can only be used in test teardown
+    ...
+    ...    Also teardown of the parent suite failed.
+    No Operation
=======================================
--- /atest/robot/standard_libraries/builtin/run_keyword_if_test_passed_failed.html Mon Apr 12 05:17:10 2010
+++ /dev/null
@@ -1,2071 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html><head>
-
-
-
-
-
-
-
-
-
-  <style type="text/css">
-html { font-family: Arial,Helvetica,sans-serif;
-background-color: white;
-color: black;
-}
-p { max-width: 60em;
-}
-table { border-collapse: collapse;
-empty-cells: show;
-margin: 1em 0em;
-border: 0.1em solid black;
-}
-th, td {
-border-style: solid;
-border-width: 0.05em 0.1em;
-border-color: black;
-padding: 0.1em 0.2em;
-height: 1.5em;
-}
-th {
-background-color: rgb(192, 192, 192);
-color: black;
-border-width: 0.1em;
-font-weight: bold;
-text-align: center;
-text-transform: capitalize;
-letter-spacing: 0.1em;
-}
-/* Widths of named columns */
-col.name {
-width: 10em;
-}
-.action , .value, .arg {
-width: 15em;
-}
-/* Properties for the name column - td:first-child should work in CSS 2.1 avare browsers (tested in Firefox)
-- col.name is against specs but works in IE
-*/
-td:first-child, col.name {
-background-color: rgb(240, 240, 240);
-text-transform: capitalize;
-letter-spacing: 0.1em;
-}
-th { font-style: normal; } /* required for IE */
-  </style>
-
-
-
-
-
-
-
-
-
-
-
- <title>Robot Test Cases</title><link type="text/css" href="resources/css/testdata.css" rel="stylesheet"></head>
-<body>
-
-
-
-
-
-<h1>Robot Test Cases for Built-In Run Keyword If Test Passed/Failed</h1>
-
-
-
-
-
-<br>
-
-
-
-
-
-<table border="1">
-
-
-
-
-
- <colgroup span="99"><col class="name"><col class="value" span="4"></colgroup> <thead>
-  <tr>
-
-
-
-
-
-    <th>Setting</th>
-
-
-
-
-
-    <th>Value</th>
-
-
-
-
-
-    <th>Value</th>
-
-
-
-
-
-    <th>value</th>
-
-
-
-
-
-    <th>Value</th>
-
-
-
-
-
-  </tr>
-
-
-
-
-
-  </thead> <tbody>
-
-
-
-
-
-    <tr>
-
-
-
-
-
-      <td>Resource</td>
-
-
-
-
-
-      <td>atest_resource.txt</td>
-
-
-
-
-
-      <td></td>
-
-
-
-
-
-      <td></td>
-
-
-
-
-
-      <td></td>
-
-
-
-
-
-    </tr>
-
-
-
-
-
-    <tr>
-
-
-
-
-
-      <td align="undefined" valign="undefined">Document</td>
-
-
-
-
-
-      <td align="undefined" valign="undefined">Tests
-for BuiltIn library's run keyword functionality</td>
-
-
-
-
-
-      <td align="undefined" valign="undefined"></td>
-
-
-
-
-
-      <td align="undefined" valign="undefined"></td>
-
-
-
-
-
-      <td align="undefined" valign="undefined"></td>
-
-
-
-
-
-    </tr>
-
-
-
-
-
-    <tr>
-
-
-
-
-
-      <td>Force Tags</td>
-
-
-
-
-
-      <td>regression</td>
-
-
-
-
-
-      <td></td>
-
-
-
-
-
-      <td></td>
-
-
-
-
-
-      <td></td>
-
-
-
-
-
-    </tr>
-
-
-
-
-
-    <tr>
-
-
-
-
-
-      <td align="undefined" valign="undefined">Default
-Tags</td>
-
-
-
-
-
-      <td>jybot</td>
-
-
-
-
-
-      <td>pybot</td>
-
-
-
-
-
-      <td align="undefined" valign="undefined"></td>
-
-
-
-
-
-      <td align="undefined" valign="undefined"></td>
-
-
-
-
-
-    </tr>
-
-
-
-
-
-    <tr>
-
-
-
-
-
-      <td>Suite Setup</td>
-
-
-
-
-
-      <td>Run Tests</td>
-
-
-
-
-
-      <td></td>
-
-
-
-
-
- <td>standard_libraries${/}builtin${/}run_keyword_if_test_passed_failed</td>
-
-
-
-
-
-      <td></td>
-
-
-
-
-
-    </tr>
-
-
-
-
-
-
-
-
-
-  </tbody>
-</table>
-
-
-
-
-
-<br>
-
-
-
-
-
-<table border="1">
-
-
-
-
-
- <colgroup span="99"><col class="name"><col class="value"></colgroup> <thead>
-  <tr>
-
-
-
-
-
-    <th>Variable</th>
-
-
-
-
-
-    <th>Value</th>
-
-
-
-
-
-    <th>Value</th>
-
-
-
-
-
-    <th>Value</th>
-
-
-
-
-
-  </tr>
-
-
-
-
-
-  </thead> <tbody>
-
-
-
-
-
-
-
-
-
-
-
-    <tr>
-
-
-
-
-
-      <td></td>
-
-
-
-
-
-      <td></td>
-
-
-
-
-
-      <td></td>
-
-
-
-
-
-      <td></td>
-
-
-
-
-
-
-
-    </tr><tr><td></td><td></td><td></td><td></td></tr>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-  </tbody>
-</table>
-
-
-
-
-
-<br>
-
-
-
-
-
-<table border="1">
-
-
-
-
-
- <colgroup span="99"><col class="name"><col class="action"><col class="arg" span="3"></colgroup>
-  <thead><tr>
-
-
-
-
-
-    <th>Test Case</th>
-
-
-
-
-
-    <th>Action</th>
-
-
-
-
-
-    <th>Argument</th>
-
-
-
-
-
-    <th>Argument</th>
-
-
-
-
-
-    <th>Argument</th>
-
-
-
-
-
-    <th>Argument</th>
-
-
-
-
-
-  </tr>
-
-
-
-
-
-  </thead> <tbody>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-    <tr>
-
-
-
-
-
-      <td>Run Keyword If test Failed When Test Fails</td>
-
-
-
-
-
-      <td>${tc} =</td>
-
-
-
-
-
-      <td>Check Test Case</td>
-
-
-
-
-
-      <td>Run Keyword If test Failed When Test Fails</td>
-
-
-
-
-
-      <td></td>
-
-
-
-
-
-      <td></td>
-
-
-
-
-
-    </tr>
-
-
-
-
-
-    <tr>
-
-
-
-
-
-      <td></td>
-
-
-
-
-
-      <td>Equals</td>
-
-
-
-
-
-      <td>${tc.teardown.kws[0].name}</td>
-
-
-
-
-
-      <td>BuiltIn.Log</td>
-
-
-
-
-
-      <td></td>
-
-
-
-
-
-      <td></td>
-
-
-
-
-
-    </tr>
-
-
-
-
-
-    <tr>
-
-
-
-
-
-      <td></td>
-
-
-
-
-
-      <td>Check Log Message</td>
-
-
-
-
-
-      <td>${tc.teardown.kws[0].msgs[0]}</td>
-
-
-
-
-
-      <td>Hello from teardown!</td>
-
-
-
-
-
-      <td></td>
-
-
-
-
-
-      <td></td>
-
-
-
-
-
-    </tr>
-
-
-
-
-
-    <tr>
-
-
-
-
-
-      <td></td>
-
-
-
-
-
-      <td></td>
-
-
-
-
-
-      <td></td>
-
-
-
-
-
-      <td></td>
-
-
-
-
-
-      <td></td>
-
-
-
-
-
-      <td></td>
-
-
-
-
-
-    </tr>
-
-
-
-
-
-    <tr>
-
-
-
-
-
-      <td>Run Keyword If test Failed When Test Does Not Fail</td>
-
-
-
-
-
-      <td>${tc} =</td>
-
-
-
-
-
-      <td>Check Test Case</td>
-
-
-
-
-
-      <td>Run Keyword If test Failed When Test Does Not Fail</td>
-
-
-
-
-
-      <td></td>
-
-
-
-
-
-      <td></td>
-
-
-
-
-
-    </tr>
-
-
-
-
-
-    <tr>
***The diff for this file has been truncated for email.***
=======================================
--- /atest/testdata/standard_libraries/builtin/run_keyword_if_test_passed_failed/run_keyword_if_test_failed_in_suite_fixtures.html Fri Aug 29 10:26:52 2008
+++ /dev/null
@@ -1,178 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html><head>
-<meta name="generator" content="HTML Tidy for Cygwin (vers 1st September 2004), see www.w3.org">
-<style type="text/css">
-html { font-family: Arial,Helvetica,sans-serif;
-background-color: white;
-color: black;
-}
-p { max-width: 60em;
-}
-table { border-collapse: collapse;
-empty-cells: show;
-margin: 1em 0em;
-border: 0.1em solid black;
-}
-th, td {
-border-style: solid;
-border-width: 0.05em 0.1em;
-border-color: black;
-padding: 0.1em 0.2em;
-height: 1.5em;
-}
-th {
-background-color: rgb(192, 192, 192);
-color: black;
-border-width: 0.1em;
-font-weight: bold;
-text-align: center;
-text-transform: capitalize;
-letter-spacing: 0.1em;
-}
-/* Widths of named columns */
-col.name {
-width: 10em;
-}
-.action , .value, .arg {
-width: 15em;
-}
-/* Properties for the name column - td:first-child should work in CSS 2.1 avare browsers (tested in Firefox)
-- col.name is against specs but works in IE
-*/
-td:first-child, col.name {
-background-color: rgb(240, 240, 240);
-text-transform: capitalize;
-letter-spacing: 0.1em;
-}
-th { font-style: normal; } /* required for IE */
-</style>
-
-<title>Robot Test Cases</title><link type="text/css" href="resources/css/testdata.css" rel="stylesheet"></head>
-
-<body>
-<h1>Robot Test Cases for Run Keyword If Test Failed</h1>
-<br>
-<table border="1">
-<colgroup span="99"><col class="name"><col class="value" span="4"></colgroup>
-<thead>
-<tr>
-<th>Setting</th>
-<th>Value</th>
-<th>Value</th>
-<th>value</th>
-<th>Value</th>
-</tr>
-</thead>
-<tbody>
-<tr>
-<td align="undefined" valign="undefined">Suite Setup</td>
-<td>Run Keyword If Test Failed</td>
-<td>Log</td>
-<td>${NON EXISTING}</td><td>#Should not be executed nor evaluated</td>
-
-</tr>
-<tr>
-<td>Suite Teardown</td>
-<td>Run Keyword If Test Failed</td>
-<td>Log</td>
-<td>${NON EXISTING}</td><td>#Should not be executed nor evaluated</td>
-
-</tr>
-</tbody>
-</table>
-<br>
-<table border="1">
-<colgroup span="99"><col class="name"><col class="value" span="4"></colgroup>
-<thead>
-<tr>
-<th>Variable</th>
-<th>Value</th>
-<th>Value</th>
-<th>Value</th>
-<th>Value</th>
-</tr>
-</thead>
-<tbody>
-<tr>
-<td align="undefined" valign="undefined"></td>
-<td align="undefined" valign="undefined"></td>
-<td align="undefined" valign="undefined"></td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-</tr>
-</tbody>
-</table>
-<br>
-<table border="1">
-<colgroup span="99"><col class="name"><col class="action"><col class="arg" span="3"></colgroup>
-<thead>
-<tr>
-<th>Test Case</th>
-<th>Action</th>
-<th>Argument</th>
-<th>Argument</th>
-<th>Argument</th>
-<th>Argument</th>
-</tr>
-</thead>
-<tbody>
-<tr>
-<td>Run Keyword If test Failed Can't Be Used In Suite Setup or
-Teardown</td>
-<td>[ Document ]</td>
-<td>FAIL</td>
-<td>Setup of the parent suite failed.\n\nAlso teardown of the
-parent suite failed.</td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<td></td>
-<td>Noop</td>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-</tr>
-</tbody>
-</table>
-<br>
-<table border="1">
-<colgroup span="99"><col class="name"><col class="action"><col class="arg" span="3"></colgroup>
-<thead>
-<tr>
-<th>Keyword</th>
-<th>Action</th>
-<th>Argument</th>
-<th>Argument</th>
-<th>Argument</th>
-<th>Argument</th>
-</tr>
-</thead>
-<tbody>
-<tr>
-<td align="undefined" valign="undefined"></td>
-<td align="undefined" valign="undefined"></td>
-<td align="undefined" valign="undefined"></td>
-<td align="undefined" valign="undefined"></td>
-<td align="undefined" valign="undefined"></td>
-<td align="undefined" valign="undefined"></td>
-</tr>
-</tbody>
-</table>
-</body></html>
=======================================
--- /atest/testdata/standard_libraries/builtin/run_keyword_if_test_passed_failed/run_keyword_if_test_passed_failed.html Fri Aug 29 10:26:52 2008
+++ /dev/null
@@ -1,502 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html><head>
-<meta name="generator" content="HTML Tidy for Cygwin (vers 1st September 2004), see www.w3.org">
-<style type="text/css">
-html { font-family: Arial,Helvetica,sans-serif;
-background-color: white;
-color: black;
-}
-p { max-width: 60em;
-}
-table { border-collapse: collapse;
-empty-cells: show;
-margin: 1em 0em;
-border: 0.1em solid black;
-}
-th, td {
-border-style: solid;
-border-width: 0.05em 0.1em;
-border-color: black;
-padding: 0.1em 0.2em;
-height: 1.5em;
-}
-th {
-background-color: rgb(192, 192, 192);
-color: black;
-border-width: 0.1em;
-font-weight: bold;
-text-align: center;
-text-transform: capitalize;
-letter-spacing: 0.1em;
-}
-/* Widths of named columns */
-col.name {
-width: 10em;
-}
-.action , .value, .arg {
-width: 15em;
-}
-/* Properties for the name column - td:first-child should work in CSS 2.1 avare browsers (tested in Firefox)
-- col.name is against specs but works in IE
-*/
-td:first-child, col.name {
-background-color: rgb(240, 240, 240);
-text-transform: capitalize;
-letter-spacing: 0.1em;
-}
-th { font-style: normal; } /* required for IE */
-</style>
-
-<title>Robot Test Cases</title><link type="text/css" href="resources/css/testdata.css" rel="stylesheet"></head>
-<body>
-<h1>Robot Test Cases for Built-In&nbsp;Run Keyword If Test
-Passed/Failed</h1>
-<span style="font-weight: bold;">&nbsp;&nbsp; &nbsp;</span>
-<table border="1">
-<colgroup span="99"><col class="name"><col class="value" span="4"></colgroup>
-<thead>
-<tr>
-<th>Setting</th>
-<th>Value</th>
-<th>Value</th>
-<th>value</th>
-<th>Value</th>
-</tr>
-</thead>
-<tbody>
-<tr>
-<td align="undefined" valign="undefined"></td>
-<td align="undefined" valign="undefined"></td>
-<td align="undefined" valign="undefined"></td>
-<td align="undefined" valign="undefined"></td>
-<td align="undefined" valign="undefined"></td>
-</tr>
-</tbody>
-</table>
-<br>
-<table border="1">
-<colgroup span="99"><col class="name"><col class="value" span="4"></colgroup>
-<thead>
-<tr>
-<th>Variable</th>
-<th>Value</th>
-<th>Value</th>
-<th>Value</th>
-<th>Value</th>
-</tr>
-</thead>
-<tbody>
-<tr>
-<td align="undefined" valign="undefined">${EXPECTED FAILURE}</td>
-<td align="undefined" valign="undefined">Expected failure</td>
-<td align="undefined" valign="undefined"></td>
-<td></td>
-<td></td>
-</tr>
-<tr><td>${TEARDOWN MESSAGE}</td><td>Teardown message</td><td></td><td></td><td></td></tr><tr>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-</tr>
-</tbody>
-</table>
-<br>
-<table border="1">
-<colgroup span="99"><col class="name"><col class="action"><col class="arg" span="3"></colgroup>
-<thead>
-<tr>
-<th>Test Case</th>
-<th>Action</th>
-<th>Argument</th>
-<th>Argument</th>
-<th>Argument</th>
-<th>Argument</th>
-</tr>
-</thead>
-<tbody>
-<tr>
-<td>Run Keyword If test Failed When Test Fails</td>
-<td>[ Document ]</td>
-<td>FAIL</td>
-<td>Expected failure</td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<td></td>
-<td>[ Teardown ]</td>
-<td>Run Keyword If Test Failed</td>
-<td>Log</td>
-<td>Hello from teardown!</td>
-<td></td>
-</tr>
-<tr>
-<td></td>
-<td>Fail</td>
-<td>${EXPECTED FAILURE}</td>
-<td></td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<td>Run Keyword If test Failed When Test Does Not Fail</td>
-<td>[ Teardown ]</td>
-<td>Run Keyword If Test Failed</td>
-<td>Log</td>
-<td>${MESSAGE}</td><td>#Should not be executed nor evaluated</td>
-
-</tr>
-<tr>
-<td></td>
-<td>Noop</td>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<td>Run Keyword If Test Failed Can't Be Used In Setup</td>
-<td>[ Document ]</td>
-<td>FAIL</td>
-<td>Setup failed:\nKeyword 'Run Keyword If Test Failed' can only be
-used in test teardown</td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<td></td>
-<td>[ Setup ]</td>
-<td>Run Keyword If Test Failed</td>
-<td>Fail</td>
-<td>${MESSAGE}</td><td>#Should not be executed nor evaluated</td>
-
-</tr>
-<tr>
-<td></td>
-<td>Noop</td>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<td>Run Keyword If Test Failed Can't Be Used in Test</td>
-<td>[ Document ]</td>
-<td>FAIL</td>
-<td>Keyword 'Run Keyword If Test Failed' can only be used in test
-teardown</td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<td></td>
-<td>Run Keyword If Test Failed</td>
-<td>Log</td>
-<td>${MESSAGE}</td><td>#Should not be executed nor evaluated</td>
-
-<td></td>
-</tr>
-<tr>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<td>Run Keyword If Test Failed Uses User Keyword</td>
-<td>[ Document ]</td>
-<td>FAIL</td>
-<td>Expected failure</td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<td></td>
-<td>[ Teardown ]</td>
-<td>Run Keyword If Test Failed</td>
-<td>Teardown UK</td>
-<td>${TEARDOWN MESSAGE}</td>
-<td></td>
-</tr>
-<tr>
-<td></td>
-<td>Fail</td>
-<td>${EXPECTED FAILURE}</td>
-<td></td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<td>Run Keyword If Test Failed Fails</td>
-<td>[ Document ]</td>
-<td>FAIL</td>
-<td>Expected failure\n\nAlso teardown failed:\nExpected teardown
-failure</td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<td></td>
-<td>[ Teardown ]</td>
-<td>Run Keyword If Test Failed</td>
-<td>Fail</td>
-<td>Expected teardown failure</td>
-<td></td>
-</tr>
-<tr>
-<td></td>
-<td>Fail</td>
-<td>${EXPECTED FAILURE}</td>
-<td></td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<td>Run Keyword If Test Passed When Test Passes</td>
-<td>[ Teardown ]</td>
-<td>Run Keyword If Test Passed</td>
-<td>Log</td>
-<td>Teardown of passing test</td>
-<td></td>
-</tr>
-<tr>
-<td></td>
-<td>Noop</td>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<td>Run Keyword If Test Passed When Test Fails</td>
-<td>[ Document ]</td>
-<td>FAIL</td>
-<td>Expected failure</td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<td><br></td>
-<td>[ Teardown ]</td>
-<td>Run Keyword If Test Passed</td>
-<td>Fail</td>
-<td>This should not be executed</td>
-<td></td>
-</tr>
-<tr>
-<td></td>
-<td>Fail</td>
-<td>${EXPECTED FAILURE}</td>
-<td></td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<td>Run Keyword If Test Passed&nbsp; Can't Be used In Setup</td>
-<td>[ Document ]</td>
-<td>FAIL</td>
-<td>Setup failed:\nKeyword 'Run Keyword If Test Passed' can only be
-used in test teardown</td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<td></td>
-<td>[ Setup ]</td>
-<td>Run Keyword If Test Passed</td>
-<td>Fail</td>
-<td>${MESSAGE}</td><td>#Should not be executed nor evaluated</td>
-
-</tr>
-<tr>
-<td></td>
-<td>Noop</td>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<td>Run Keyword If Test Passed&nbsp; Can't Be used In Test</td>
-<td>[ Document ]</td>
-<td>FAIL</td>
-<td>Keyword 'Run Keyword If Test Passed' can only be used in test
-teardown</td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<td></td>
-<td>Run Keyword If Test Passed</td>
-<td>Fail</td>
-<td>${MESSAGE}</td><td>#Should not be executed nor evaluated</td>
-
-<td></td>
-</tr>
-<tr>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<td>Run Keyword If Test&nbsp;Passes Uses User Keyword</td>
-<td>[ Teardown ]</td>
-<td>Run Keyword If Test Passed</td>
-<td>Teardown UK</td>
-<td>${TEARDOWN MESSAGE}</td>
-<td></td>
-</tr>
-<tr>
-<td></td>
-<td>Noop</td>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<td>Run Keyword If Test Passed Fails</td>
-<td>[ Document ]</td>
-<td>FAIL</td>
-<td>Teardown failed:\nExpected failure</td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<td></td>
-<td>[ Teardown ]</td>
-<td>Run Keyword If Test Passed</td>
-<td>Fail</td>
-<td>${EXPECTED FAILURE}</td>
-<td></td>
-</tr>
-<tr>
-<td></td>
-<td>Noop</td>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-</tr>
-</tbody>
-</table>
-<br>
-<table border="1">
-<colgroup span="99"><col class="name"><col class="action"><col class="arg" span="3"></colgroup>
-<thead>
-<tr>
-<th>Keyword</th>
-<th>Action</th>
-<th>Argument</th>
-<th>Argument</th>
-<th>Argument</th>
-<th>Argument</th>
-</tr>
-</thead>
-<tbody>
-<tr>
-<td>Teardown UK</td>
-<td>[ Arguments ]<br></td>
-<td>${message}<br></td>
-<td></td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<td align="undefined" valign="undefined"></td>
-<td align="undefined" valign="undefined">Log</td>
-<td align="undefined" valign="undefined">${message}</td>
-<td align="undefined" valign="undefined"></td>
-<td align="undefined" valign="undefined"></td>
-<td align="undefined" valign="undefined"></td>
-</tr>
-</tbody>
-</table>
-</body></html>
=======================================
--- /atest/testdata/standard_libraries/builtin/run_keyword_if_test_passed_failed/run_keyword_if_test_passed_in_suite_fixtures.html Fri Aug 29 10:26:52 2008
+++ /dev/null
@@ -1,4114 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html><head>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-  <style type="text/css">
-html { font-family: Arial,Helvetica,sans-serif;
-background-color: white;
-color: black;
-}
-p { max-width: 60em;
-}
-table { border-collapse: collapse;
-empty-cells: show;
-margin: 1em 0em;
-border: 0.1em solid black;
-}
-th, td {
-border-style: solid;
-border-width: 0.05em 0.1em;
-border-color: black;
-padding: 0.1em 0.2em;
-height: 1.5em;
-}
-th {
-background-color: rgb(192, 192, 192);
-color: black;
-border-width: 0.1em;
-font-weight: bold;
-text-align: center;
-text-transform: capitalize;
-letter-spacing: 0.1em;
-}
-/* Widths of named columns */
-col.name {
-width: 10em;
-}
-.action , .value, .arg {
-width: 15em;
-}
-/* Properties for the name column - td:first-child should work in CSS 2.1 avare browsers (tested in Firefox)
-- col.name is against specs but works in IE
-*/
-td:first-child, col.name {
-background-color: rgb(240, 240, 240);
-text-transform: capitalize;
-letter-spacing: 0.1em;
-}
-th { font-style: normal; } /* required for IE */
-  </style>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <title>Robot Test Cases</title><link type="text/css" href="resources/css/testdata.css" rel="stylesheet"></head>
-<body>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-<h1>Robot Test Cases for Run Keyword If Test Failed</h1>
-<br>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-<table border="1">
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <colgroup span="99"><col class="name"><col class="value" span="4"></colgroup> <thead><tr>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-    <th>Setting</th>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-    <th>Value</th>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-    <th>Value</th>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-    <th>value</th>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-    <th>Value</th>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-  </tr>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-  </thead> <tbody>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-    <tr>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-      <td align="undefined" valign="undefined">Suite Setup</td>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-      <td>Run Keyword If Test Passed</td>
-
-      <td>Log</td>
-
- <td>${NON EXISTING}</td><td>#Should not be executed nor evaluated</td>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-    </tr>
-    <tr>
-      <td>Suite Teardown</td>
-      <td>Run Keyword If Test&nbsp;Passed</td>
-      <td>Log</td>
- <td>${NON EXISTING}</td><td>#Should not be executed nor evaluated</td>
-
-    </tr>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-  </tbody>
-</table>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-<br>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-<table border="1">
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <colgroup span="99"><col class="name"><col class="value" span="4"></colgroup> <thead><tr>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-    <th>Variable</th>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-    <th>Value</th>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-    <th>Value</th>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-    <th>Value</th>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-    <th>Value</th>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-  </tr>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-  </thead> <tbody>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-    <tr>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-      <td align="undefined" valign="undefined"></td>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-      <td align="undefined" valign="undefined"></td>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-      <td align="undefined" valign="undefined"></td>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-      <td></td>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-      <td></td>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-    </tr>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-    <tr>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-      <td></td>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-      <td></td>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-      <td></td>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-      <td></td>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-      <td></td>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-    </tr>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-  </tbody>
-</table>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-<br>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-<table border="1">
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <colgroup span="99"><col class="name"><col class="action"><col class="arg" span="3"></colgroup>
-  <thead><tr>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-    <th>Test Case</th>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-    <th>Action</th>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-    <th>Argument</th>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-    <th>Argument</th>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-    <th>Argument</th>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-    <th>Argument</th>
-
-
-
-
-
-
***The diff for this file has been truncated for email.***
=======================================
--- /atest/testdata/core/unicode_failure_in_suite_setup_and_teardown.txt Tue Sep 21 08:05:26 2010 +++ /atest/testdata/core/unicode_failure_in_suite_setup_and_teardown.txt Thu Jan 3 05:27:28 2013
@@ -5,5 +5,8 @@

 *** Test Cases ***
 Unicode Failure In Suite Setup and Teardown
- [Documentation] FAIL Setup of the parent suite failed.\n\nAlso teardown of the parent suite failed.
+    [Documentation]  FAIL  Setup of the parent suite failed:
+    ...    Circle is 360°, Hyvää üötä, উৄ ৰ ৺ ট ৫ ৪ হ
+    ...
+    ...    Also teardown of the parent suite failed.

Reply via email to