Revision: 2363
Author: pekka.klarck
Date: Fri Oct 23 00:59:50 2009
Log: Fixed tests after changing messages about importing libraries and
resource/variable more than once from WARN to INFO. Issue 407.
http://code.google.com/p/robotframework/source/detail?r=2363
Modified:
/trunk/atest/robot/core/resource_and_variable_imports.html
/trunk/atest/robot/parsing/caching_libs_and_resources.html
=======================================
--- /trunk/atest/robot/core/resource_and_variable_imports.html Fri Mar 20
05:58:51 2009
+++ /trunk/atest/robot/core/resource_and_variable_imports.html Fri Oct 23
00:59:50 2009
@@ -1,16 +1,16 @@
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html><head>
-<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-<meta name="generator" content="RobotIDE">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+<meta name="generator" content="RIDE" />
+<meta name="rf-template" content="False" />
<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;
@@ -23,6 +23,7 @@
border-color: black;
padding: 0.1em 0.2em;
height: 1.5em;
+ width: 12em;
}
th {
background-color: rgb(192, 192, 192);
@@ -30,837 +31,765 @@
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 {
+td.name {
background-color: rgb(240, 240, 240);
- text-transform: capitalize;
letter-spacing: 0.1em;
}
-/* required for IE */
-th {
- font-style: normal;
+td.name, th.name {
+ width: 10em;
}
</style>
-<title>Resource And Variable Imports</title></head>
+<title>Resource And Variable Imports</title>
+</head>
<body>
<h1>Resource And Variable Imports</h1>
-
-<table border="1">
-<colgroup span="99"><col class="name"><col class="value"
span="4"></colgroup>
-<tbody><tr>
-<th>Setting</th>
-<th>Value</th>
-<th>Value</th>
-<th>Value</th>
-<th>Value</th>
-</tr>
+<table id="settings" border="1">
<tr>
-<td>Force Tags</td>
-<td>regression</td>
-<td>jybot</td>
-<td>pybot</td>
-<td></td>
+<th class="name">Setting</th>
+<th colspan="4">Value</th>
</tr>
<tr>
-<td>Suite Setup</td>
+<td class="name">Suite Setup</td>
<td>My Setup</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
-<td>Resource</td>
+<td class="name">Force Tags</td>
+<td>regression</td>
+<td>jybot</td>
+<td>pybot</td>
+<td></td>
+</tr>
+<tr>
+<td class="name">Resource</td>
<td>../../resources/resource.html</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
-</tbody></table>
-
-<table border="1">
-<colgroup span="99"><col class="name"><col class="value"
span="4"></colgroup>
-<tbody><tr>
-<th>Variable</th>
-<th>Value</th>
-<th>Value</th>
-<th>Value</th>
-<th>Value</th>
+</table>
+<table id="variables" border="1">
+<tr>
+<th class="name">Variable</th>
+<th colspan="4">Value</th>
</tr>
<tr>
-<td>${RESDIR}</td>
+<td class="name">${RESDIR}</td>
<td>${CURDIR}${/}..${/}..${/}testdata${/}core${/}resources_and_variables</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
-<td>${PPATH_RESDIR}</td>
+<td class="name">${PPATH_RESDIR}</td>
<td>${CURDIR}${/}..${/}..${/}testresources${/}res_and_var_files</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
-</tbody></table>
-
-<table border="1">
-<colgroup span="99"><col class="name"><col class="action"><col class="arg"
span="3"></colgroup>
-<tbody><tr>
-<th>Test Case</th>
+</table>
+<table id="testcases" border="1">
+<tr>
+<th class="name">Test Case</th>
<th>Action</th>
-<th>Argument</th>
-<th>Argument</th>
-<th>Argument</th>
+<th colspan="3">Arguments</th>
</tr>
<tr>
-<td><a name="test_NormalResourceImport">Normal Resource Import</a></td>
+<td class="name"><a name="test_Normal Resource Import">Normal Resource
Import</a></td>
<td>[Documentation]</td>
-<td>Test that path given in resource import is relative to the current
-directory and that '/' is converted to correct path separator depending
-on os.</td>
-<td></td>
-<td></td>
+<td colspan="3">Test that path given in resource import is relative to the
current directory and that '/' is converted to correct path separator
depending on os.</td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td>Check Test Case</td>
<td>Normal Resource Import</td>
<td></td>
<td></td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
-<td><a name="test_ResourceImportWithVariables">Resource Import With
Variables</a></td>
+<td class="name"><a name="test_Resource Import With Variables">Resource
Import With Variables</a></td>
<td>[Documentation]</td>
-<td>Test that variables can be used in resource import path. Also test
that path can be absolute.</td>
-<td></td>
-<td></td>
+<td colspan="3">Test that variables can be used in resource import path.
Also test that path can be absolute.</td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td>Check Test Case</td>
<td>Resource Import With Variables</td>
<td></td>
<td></td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
-<td><a name="test_NormalVariableImport">Normal Variable Import</a></td>
+<td class="name"><a name="test_Normal Variable Import">Normal Variable
Import</a></td>
<td>[Documentation]</td>
-<td>Test that path given in variable import is relative to the current
-directory and that '/' is converted to correct path separator depending
-on os.</td>
-<td></td>
-<td></td>
+<td colspan="3">Test that path given in variable import is relative to the
current directory and that '/' is converted to correct path separator
depending on os.</td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td>Check Test Case</td>
<td>Normal Variable Import</td>
<td></td>
<td></td>
</tr>
-<tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td>Not Included
in __all__</td><td>Check Test Case</td><td>Not Included in
__all__</td><td></td><td></td></tr><tr>
+<tr>
+<td class="name"></td>
<td></td>
<td></td>
<td></td>
<td></td>
-<td></td>
</tr>
<tr>
-<td><a name="test_VariableImportWithVariables">Variable Import With
Variables</a></td>
-<td>[Documentation]</td>
-<td>Test that variables can be used in variable import path. Also test
that path can be absolute.</td>
+<td class="name"><a name="test_Not Included In __all__">Not Included In
__all__</a></td>
+<td>Check Test Case</td>
+<td>Not Included in __all__</td>
<td></td>
<td></td>
</tr>
<tr>
+<td class="name"></td>
<td></td>
+<td></td>
+<td></td>
+<td></td>
+</tr>
+<tr>
+<td class="name"><a name="test_Variable Import With Variables">Variable
Import With Variables</a></td>
+<td>[Documentation]</td>
+<td colspan="3">Test that variables can be used in variable import path.
Also test that path can be absolute.</td>
+</tr>
+<tr>
+<td class="name"></td>
<td>Check Test Case</td>
<td>Variable Import With Variables</td>
<td></td>
<td></td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
-<td><a name="test_InvalidListVariable">Invalid List Variable</a></td>
+<td class="name"><a name="test_Invalid List Variable">Invalid List
Variable</a></td>
<td>[Documentation]</td>
-<td>List variable not containing a list value causes an error</td>
-<td></td>
-<td></td>
+<td colspan="3">List variable not containing a list value causes an
error</td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td>Check Test Case</td>
<td>Invalid List Variable</td>
<td></td>
<td></td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td>${path} =</td>
<td>Join Path</td>
<td>${RESDIR}</td>
<td>invalid_list_variable.py</td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td>My Check Stderr Contains</td>
<td>[ ERROR ]</td>
<td>Error in file '${DATAPATH}' in table 'Setting' in element on row 37:
Processing variable file '${path}' failed:</td>
<td>List variable '\...@{invalid_list}' cannot get a non-list value 'This is
not a list and thus importing this file fails'</td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
-<td><a name="test_DynamicVariableFile">Dynamic Variable File</a></td>
+<td class="name"><a name="test_Dynamic Variable File">Dynamic Variable
File</a></td>
<td>[Documentation]</td>
-<td>Test for getting variables dynamically from a variable file using
get_variables or getVariables and arguments.</td>
-<td></td>
-<td></td>
+<td colspan="3">Test for getting variables dynamically from a variable
file using get_variables or getVariables and arguments.</td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td>Check Test Case</td>
<td>Dynamic Variable File No Args</td>
<td></td>
<td></td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td>Check Test Case</td>
<td>Dynamic Variable File One Arg</td>
<td></td>
<td></td>
</tr>
-<tr><td></td><td></td><td></td><td></td><td></td></tr><tr>
-<td>Dynamic Variable File With Variables And Backslashes In Args</td>
+<tr>
+<td class="name"></td>
+<td></td>
+<td></td>
+<td></td>
+<td></td>
+</tr>
+<tr>
+<td class="name"><a name="test_Dynamic Variable File With Variables And
Backslashes In Args">Dynamic Variable File With Variables And Backslashes
In Args</a></td>
<td>Check Test Case</td>
<td>Dynamic Variable File With Variables And Backslashes In Args</td>
<td></td>
<td></td>
</tr>
-<tr><td></td><td></td><td></td><td></td><td></td></tr>
<tr>
-<td><a name="test_InvalidDynamicVariableFileUsage">Invalid Dynamic
Variable File Usage</a></td>
+<td class="name"></td>
+<td></td>
+<td></td>
+<td></td>
+<td></td>
+</tr>
+<tr>
+<td class="name"><a name="test_Invalid Dynamic Variable File
Usage">Invalid Dynamic Variable File Usage</a></td>
<td>${path} =</td>
<td>Join Path</td>
<td>${RESDIR}</td>
<td>dynamic_variables.py</td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td>My Check Stderr Contains</td>
<td>[ ERROR ] Error in file '${DATAPATH}' in table 'Setting' in element on
row 10:</td>
<td>Processing variable file '${path}' with arguments [ Two args returns
None | which is invalid ] failed:</td>
<td>get_variables returned 'NoneType', expected a dictionary</td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td>My Check Stderr Contains</td>
<td>[ ERROR ] Error in file '${DATAPATH}' in table 'Setting' in element on
row 11:</td>
<td>Processing variable file '${path}' with arguments [ More args raises
an exception | which is invalid | of course ] failed:</td>
<td>Invalid arguments for get_variables</td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td>${path} =</td>
<td>Join Path</td>
<td>${RESDIR}</td>
<td>dynamicVariables.py</td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td>My Check Stderr Contains</td>
<td>[ ERROR ] Error in file '${DATAPATH}' in table 'Setting' in element on
row 36:</td>
<td>Replacing variables from setting 'Variables' failed:</td>
<td>Non-existing variable '\${non_existing_var_as_arg}'</td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
-<td><a name="test_ResourceImportingResources">Resource Importing
Resources</a></td>
+<td class="name"><a name="test_Resource Importing Resources">Resource
Importing Resources</a></td>
<td>[Documentation]</td>
-<td>Test that resource file can import more resources.
resources_imported_by_resource.html was imported ok by resources.html</td>
-<td></td>
-<td></td>
+<td colspan="3">Test that resource file can import more resources.
resources_imported_by_resource.html was imported ok by resources.html</td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td>Check Test Case</td>
<td>Resource Importing Resources</td>
<td></td>
<td></td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
-<td><a name="test_ResourceImportingVariables">Resource Importing
Variables</a></td>
+<td class="name"><a name="test_Resource Importing Variables">Resource
Importing Variables</a></td>
<td>[Documentation]</td>
-<td>Test that resource file can import variables</td>
-<td></td>
-<td></td>
+<td colspan="3">Test that resource file can import variables</td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td>Check Test Case</td>
<td>Resource Importing Variables</td>
<td></td>
<td></td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
-<td><a name="test_ResourceImportingLibrary">Resource Importing
Library</a></td>
+<td class="name"><a name="test_Resource Importing Library">Resource
Importing Library</a></td>
<td>[Documentation]</td>
-<td>Test that resource file can import libraries</td>
-<td></td>
-<td></td>
+<td colspan="3">Test that resource file can import libraries</td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td>Check Test Case</td>
<td>Resource Importing Library</td>
<td></td>
<td></td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
-<td><a name="test_Re-ImportResourceFile">Re-Import Resource File</a></td>
+<td class="name"><a name="test_Re-Import Resource File">Re-Import Resource
File</a></td>
<td>${path} =</td>
<td>Join Path</td>
<td>${RESDIR}</td>
<td>resources.html</td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td>My Check Syslog Contains</td>
-<td>| WARN \ |</td>
+<td>| INFO \ |</td>
<td>Resource file '${path}' already imported</td>
<td>by suite 'Resource And Variable Imports'</td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td>${path} =</td>
<td>Join Path</td>
<td>${RESDIR}</td>
<td>resources2.html</td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td>My Check Syslog Contains</td>
-<td>| WARN \ |</td>
+<td>| INFO \ |</td>
<td>Resource file '${path}' already imported</td>
<td>by suite 'Resource And Variable Imports'</td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td>${path} =</td>
<td>Join Path</td>
<td>${RESDIR}</td>
<td>resources_imported_by_resource.html</td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td>My Check Syslog Contains</td>
-<td>| WARN \ |</td>
+<td>| INFO \ |</td>
<td>Resource file '${path}' already imported</td>
<td>by suite 'Resource And Variable Imports'</td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
-<td><a name="test_Re-ImportVariableFile">Re-Import Variable File</a></td>
+<td class="name"><a name="test_Re-Import Variable File">Re-Import Variable
File</a></td>
<td>${path} =</td>
<td>Join Path</td>
<td>${RESDIR}</td>
<td>variables.py</td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td>My Check Syslog Contains</td>
-<td>| WARN \ |</td>
+<td>| INFO \ |</td>
<td>Variable file '${path}' already imported</td>
<td>by suite 'Resource And Variable Imports'</td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td>${path} =</td>
<td>Join Path</td>
<td>${RESDIR}</td>
<td>variables2.py</td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td>My Check Syslog Contains</td>
-<td>| WARN \ |</td>
+<td>| INFO \ |</td>
<td>Variable file '${path}' already imported</td>
<td>by suite 'Resource And Variable Imports'</td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td>${path} =</td>
<td>Join Path</td>
<td>${RESDIR}</td>
<td>variables_imported_by_resource.py</td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td>My Check Syslog Contains</td>
-<td>| WARN \ |</td>
+<td>| INFO \ |</td>
<td>Variable file '${path}' already imported</td>
<td>by suite 'Resource And Variable Imports'</td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td>${path} =</td>
<td>Join Path</td>
<td>${RESDIR}</td>
<td>dynamic_variables.py</td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td>My Check Syslog Contains</td>
-<td>| WARN \ |</td>
+<td>| INFO \ |</td>
<td>Variable file '${path}' with arguments [ One arg works ] already
imported</td>
<td>by suite 'Resource And Variable Imports'</td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
-<td><a name="test_Non-ExistingResourceFile">Non-Existing Resource
File</a></td>
+<td class="name"><a name="test_Non-Existing Resource File">Non-Existing
Resource File</a></td>
<td>My Check Stderr Contains</td>
<td>[ ERROR ] Error in file '${DATAPATH}' in table 'Setting' in element on
row 31:</td>
<td>Resource file 'non_existing.html' does not exist</td>
<td></td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
-<td><a name="test_Non-ExistingVariableFile">Non-Existing Variable
File</a></td>
+<td class="name"><a name="test_Non-Existing Variable File">Non-Existing
Variable File</a></td>
<td>My Check Stderr Contains</td>
<td>[ ERROR ] Error in file '${DATAPATH}' in table 'Setting' in element on
row 32:</td>
<td>Variable file 'non_existing.py' does not exist</td>
<td></td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
-<td><a name="test_InvalidResourceFile">Invalid Resource File</a></td>
+<td class="name"><a name="test_Invalid Resource File">Invalid Resource
File</a></td>
<td>${path} =</td>
<td>Join Path</td>
<td>${RESDIR}</td>
<td>invalid_resource.html</td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td>My Check Stderr Contains</td>
<td>[ ERROR ] Error in file '${DATAPATH}' in table 'Setting' in element on
row 33:</td>
<td>Parsed file '${path}' contains no resources</td>
<td></td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
-<td><a name="test_InvalidResourceImportParameters">Invalid Resource Import
Parameters</a></td>
+<td class="name"><a name="test_Invalid Resource Import Parameters">Invalid
Resource Import Parameters</a></td>
<td>My Check Stderr Contains</td>
<td>[ ERROR ] Error in file '${DATAPATH}' in table 'Setting' in element on
row 34:</td>
<td>Invalid resource import parameters: [
resources_and_variables/resources.html | only one parameter allowed ]</td>
<td></td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
-<td><a name="test_InvalidSettingInResourceFile">Invalid Setting In
Resource File</a></td>
+<td class="name"><a name="test_Invalid Setting In Resource File">Invalid
Setting In Resource File</a></td>
<td>${path} =</td>
<td>Join Path</td>
<td>${RESDIR}</td>
<td>resources.html</td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td>My Check Stderr Contains</td>
<td>[ ERROR ] Error in file '${path}' in table 'Setting' in element on row
6:</td>
<td>Only settings 'Library', 'Resource', 'Variables' and 'Documentation'
allowed in resource files.</td>
<td>Found: Test Setup</td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td>My Check Stderr Contains</td>
<td>[ ERROR ] Error in file '${path}' in table 'Setting' in element on row
7:</td>
<td>Only settings 'Library', 'Resource', 'Variables' and 'Documentation'
allowed in resource files.</td>
<td>Found: Non existing</td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td>My Check Stderr Does Not Contain</td>
<td>AttributeError:</td>
<td></td>
<td></td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
-<td><a name="test_InvalidVariableFile">Invalid Variable File</a></td>
+<td class="name"><a name="test_Invalid Variable File">Invalid Variable
File</a></td>
<td>${path} =</td>
<td>Join Path</td>
<td>${RESDIR}</td>
<td>invalid_variable_file.py</td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td>My Check Stderr Contains</td>
<td>[ ERROR ] Error in file '${DATAPATH}' in table 'Setting' in element on
row 35:</td>
<td>Processing variable file '${path}' failed:</td>
<td>Importing '${path}' failed: This is an invalid variable file</td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
-<td><a name="test_ResourceFileInPYTHONPATH">Resource File In
PYTHONPATH</a></td>
+<td class="name"><a name="test_Resource File In PYTHONPATH">Resource File
In PYTHONPATH</a></td>
<td>[Documentation]</td>
-<td>Test that resource files can be found if they are in dirs in
PYTHONPATH too.</td>
-<td></td>
-<td></td>
+<td colspan="3">Test that resource files can be found if they are in dirs
in PYTHONPATH too.</td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td>Check Test Case</td>
<td>Resource File In PYTHONPATH</td>
<td></td>
<td></td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
-<td><a name="test_VariableFileInPYTHONPATH">Variable File In
PYTHONPATH</a></td>
+<td class="name"><a name="test_Variable File In PYTHONPATH">Variable File
In PYTHONPATH</a></td>
<td>[Documentation]</td>
-<td>Test that variable files can be found if they are in dirs in
PYTHONPATH too.</td>
-<td></td>
-<td></td>
+<td colspan="3">Test that variable files can be found if they are in dirs
in PYTHONPATH too.</td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td>Check Test Case</td>
<td>Variable File In PYTHONPATH</td>
<td></td>
<td></td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
+</table>
+<table id="keywords" border="1">
<tr>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-</tr>
-</tbody></table>
-
-<table border="1">
-<colgroup span="99"><col class="name"><col class="action"><col class="arg"
span="3"></colgroup>
-<tbody><tr>
-<th>Keyword</th>
+<th class="name">Keyword</th>
<th>Action</th>
-<th>Argument</th>
-<th>Argument</th>
-<th>Argument</th>
+<th colspan="3">Arguments</th>
</tr>
<tr>
-<td><a name="keyword_MySetup">My Setup</a></td>
-<td>[Timeout]</td>
-<td></td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<td></td>
+<td class="name"><a name="keyword_My Setup">My Setup</a></td>
<td>Run Tests</td>
<td>--pythonpath ${PPATH_RESDIR}</td>
<td>core${/}resource_and_variable_imports.html</td>
<td></td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td>${STDERR} =</td>
<td>Get Stderr</td>
<td></td>
<td></td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td>${SYSLOG} =</td>
<td>Get Syslog</td>
<td></td>
<td></td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td>${DATAPATH} =</td>
<td>Join Path</td>
<td>${DATADIR}</td>
<td>core${/}resource_and_variable_imports.html</td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td>Set Suite Variable</td>
<td>$STDERR</td>
<td></td>
<td></td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td>Set Suite Variable</td>
<td>$SYSLOG</td>
<td></td>
<td></td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td>Set Suite Variable</td>
<td>$DATAPATH</td>
<td></td>
<td></td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
-<td><a name="keyword_MyCheckStderrContains">My Check Stderr
Contains</a></td>
+<td class="name"><a name="keyword_My Check Stderr Contains">My Check
Stderr Contains</a></td>
<td>[Arguments]</td>
<td>@{parts}</td>
<td></td>
<td></td>
</tr>
<tr>
-<td></td>
-<td>[Timeout]</td>
-<td></td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<td></td>
+<td class="name"></td>
<td>${expected} =</td>
<td>Catenate</td>
<td>@{parts}</td>
<td></td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td>Contains</td>
<td>${STDERR}</td>
<td>${expected}</td>
<td></td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
-<td><a name="keyword_MyCheckStderrDoesNotContain">My Check Stderr Does Not
Contain</a></td>
+<td class="name"><a name="keyword_My Check Stderr Does Not Contain">My
Check Stderr Does Not Contain</a></td>
<td>[Arguments]</td>
<td>@{parts}</td>
<td></td>
<td></td>
</tr>
<tr>
-<td></td>
-<td>[Timeout]</td>
-<td></td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<td></td>
+<td class="name"></td>
<td>${expected} =</td>
<td>Catenate</td>
<td>@{parts}</td>
<td></td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td>Fail If Contains</td>
<td>${STDERR}</td>
<td>${expected}</td>
<td></td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
-<td><a name="keyword_MyCheckSyslogContains">My Check Syslog
Contains</a></td>
+<td class="name"><a name="keyword_My Check Syslog Contains">My Check
Syslog Contains</a></td>
***The diff for this file has been truncated for email.***
=======================================
--- /trunk/atest/robot/parsing/caching_libs_and_resources.html Tue Apr 7
09:04:13 2009
+++ /trunk/atest/robot/parsing/caching_libs_and_resources.html Fri Oct 23
00:59:50 2009
@@ -1,16 +1,16 @@
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html><head>
-<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-<meta name="generator" content="RobotIDE">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+<meta name="generator" content="RIDE" />
+<meta name="rf-template" content="False" />
<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;
@@ -23,6 +23,7 @@
border-color: black;
padding: 0.1em 0.2em;
height: 1.5em;
+ width: 12em;
}
th {
background-color: rgb(192, 192, 192);
@@ -30,492 +31,432 @@
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 {
+td.name {
background-color: rgb(240, 240, 240);
- text-transform: capitalize;
letter-spacing: 0.1em;
}
-/* required for IE */
-th {
- font-style: normal;
+td.name, th.name {
+ width: 10em;
}
</style>
-<title>Caching Libs And Resources</title></head>
+<title>Caching Libs And Resources</title>
+</head>
<body>
<h1>Caching Libs And Resources</h1>
-
-<table border="1">
-<colgroup span="99"><col class="name"><col class="value"
span="4"></colgroup>
-<tbody><tr>
-<th>Setting</th>
-<th>Value</th>
-<th>Value</th>
-<th>Value</th>
-<th>Value</th>
+<table id="settings" border="1">
+<tr>
+<th class="name">Setting</th>
+<th colspan="4">Value</th>
</tr>
<tr>
-<td>Force Tags</td>
+<td class="name">Force Tags</td>
<td>regression</td>
<td>jybot</td>
<td>pybot</td>
<td></td>
</tr>
<tr>
-<td>Resource</td>
+<td class="name">Resource</td>
<td>../../resources/resource.html</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
-</tbody></table>
-
-<table border="1">
-<colgroup span="99"><col class="name"><col class="value"
span="4"></colgroup>
-<tbody><tr>
-<th>Variable</th>
-<th>Value</th>
-<th>Value</th>
-<th>Value</th>
-<th>Value</th>
-</tr>
+</table>
+<table id="variables" border="1"></table>
+<table id="testcases" border="1">
<tr>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-</tr>
-</tbody></table>
-
-<table border="1">
-<colgroup span="99"><col class="name"><col class="action"><col class="arg"
span="3"></colgroup>
-<tbody><tr>
-<th>Test Case</th>
+<th class="name">Test Case</th>
<th>Action</th>
-<th>Argument</th>
-<th>Argument</th>
-<th>Argument</th>
+<th colspan="3">Arguments</th>
</tr>
<tr>
-<td><a name="test_Import Libraries Only Once">Import Libraries Only
Once</a></td>
+<td class="name"><a name="test_Import Libraries Only Once">Import
Libraries Only Once</a></td>
<td>[Setup]</td>
<td>Run Tests And Set $SYSLOG</td>
<td>parsing${/}library_caching</td>
<td></td>
</tr>
<tr>
-<td></td>
-<td>:: FOR</td>
+<td class="name"></td>
+<td>:FOR</td>
<td>${name}</td>
<td>IN</td>
<td>Test 1.1</td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td>...</td>
<td>Test 1.2</td>
<td>Test 2.1</td>
<td>Test 2.2</td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td></td>
<td>Check Test Case</td>
<td>${name}</td>
<td></td>
</tr>
<tr>
-<td></td>
-<td>Should Contain X Times</td><td>${SYSLOG}</td>
-
-<td>Imported library 'BuiltIn' with arguments [ ]</td><td>1</td>
-
+<td class="name"></td>
+<td>Should Contain X Times</td>
+<td>${SYSLOG}</td>
+<td>Imported library 'BuiltIn' with arguments [ ]</td>
+<td>1</td>
</tr>
<tr>
-<td></td>
-<td>Should Contain X Times</td><td>${SYSLOG}</td>
-
-<td>Found test library 'BuiltIn' with arguments [ ] from
cache</td><td>2</td>
-
+<td class="name"></td>
+<td>Should Contain X Times</td>
+<td>${SYSLOG}</td>
+<td>Found test library 'BuiltIn' with arguments [ ] from cache</td>
+<td>2</td>
</tr>
<tr>
+<td class="name"></td>
+<td>Should Contain X Times</td>
+<td>${SYSLOG}</td>
+<td>Imported library 'OperatingSystem' with arguments [ ]</td>
+<td>1</td>
+</tr>
+<tr>
+<td class="name"></td>
+<td>Should Contain X Times</td>
+<td>${SYSLOG}</td>
+<td>Found test library 'OperatingSystem' with arguments [ ] from cache</td>
+<td>3</td>
+</tr>
+<tr>
+<td class="name"></td>
+<td>Check Syslog Contains</td>
+<td>| INFO \ |</td>
+<td>Test library 'OperatingSystem' already imported by suite 'Library
Caching.File 1'</td>
<td></td>
-<td>Should Contain X Times</td><td>${SYSLOG}</td>
-
-<td>Imported library 'OperatingSystem' with arguments [ ]</td><td>1</td>
-
</tr>
<tr>
+<td class="name"></td>
+<td>Check Syslog Contains</td>
+<td>| INFO \ |</td>
+<td>Test library 'OperatingSystem' already imported by suite 'Library
Caching.File 2'</td>
<td></td>
-<td>Should Contain X Times</td><td>${SYSLOG}</td>
-
-<td>Found test library 'OperatingSystem' with arguments [ ] from
cache</td><td>3</td>
-
</tr>
-<tr><td></td><td>Check Log Message</td><td>${ERRORS.msgs[0]}</td><td>Test
library 'OperatingSystem' already imported by suite 'Library Caching.File
1'</td><td>WARN</td></tr><tr><td></td><td>Check Log
Message</td><td>${ERRORS.msgs[1]}</td><td>Test library 'OperatingSystem'
already imported by suite 'Library Caching.File
2'</td><td>WARN</td></tr><tr>
+<tr>
+<td class="name"></td>
<td></td>
<td></td>
<td></td>
<td></td>
-<td></td>
</tr>
<tr>
-<td><a name="test_Process Resource Files Only Once">Process Resource Files
Only Once</a></td>
+<td class="name"><a name="test_Process Resource Files Only Once">Process
Resource Files Only Once</a></td>
<td>[Setup]</td>
<td>Run Tests And Set $SYSLOG</td>
<td>parsing${/}resource_parsing</td>
<td></td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td>Comment</td>
<td>Check that tests are run ok</td>
<td></td>
<td></td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td>${tc} =</td>
<td>Check Test Case</td>
<td>Test 1.1</td>
<td></td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td>Check Log Message</td>
<td>${tc.kws[0].kws[0].msgs[0]}</td>
<td>variable value from 02 resource</td>
<td></td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td>Check Log Message</td>
<td>${tc.kws[1].msgs[0]}</td>
<td>variable value from 02 resource</td>
<td></td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td>${tc} =</td>
<td>Check Test Case</td>
<td>Test 4.1</td>
<td></td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td>Check Log Message</td>
<td>${tc.kws[0].kws[0].msgs[0]}</td>
<td>variable value from 02 resource</td>
<td></td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td>Check Log Message</td>
<td>${tc.kws[1].msgs[0]}</td>
<td>variable value from 02 resource</td>
<td></td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td>${tc} =</td>
<td>Check Test Case</td>
<td>Test 4.2</td>
<td></td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td>Check Log Message</td>
<td>${tc.kws[0].kws[0].msgs[0]}</td>
<td>variable value from 03 resource</td>
<td></td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td>Check Log Message</td>
<td>${tc.kws[0].kws[1].msgs[0]}</td>
<td>variable value from 02 resource</td>
<td></td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td>Check Log Message</td>
<td>${tc.kws[0].kws[2].kws[0].msgs[0]}</td>
<td>variable value from 02 resource</td>
<td></td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td>Check Log Message</td>
<td>${tc.kws[1].msgs[0]}</td>
<td>variable value from 03 resource</td>
<td></td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td>Comment</td>
<td>Check that resources were parsed only once</td>
<td></td>
<td></td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td>${dir} =</td>
<td>Join Path</td>
<td>${CURDIR}/../../testdata</td>
<td>parsing/resource_parsing</td>
</tr>
-
<tr>
-<td></td>
+<td class="name"></td>
<td>Syslog File Should Contain In Order</td>
<td>Parsing test suite directory</td>
<td>'${dir}'</td>
<td></td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td>Syslog File Should Contain In Order</td>
<td>Parsing test case file</td>
<td>'${dir}${/}01_tests.html'</td>
<td></td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td>Syslog File Should Contain In Order</td>
<td>Parsing test case file</td>
<td>'${dir}${/}02_resource.html'</td>
<td></td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td>Syslog File Should Contain In Order</td>
<td>Parsing data source</td>
<td>'${dir}${/}02_resource.html'</td>
<td>failed:</td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td>...</td>
<td>Test case file</td>
<td>'${dir}${/}02_resource.html'</td>
<td>contains no test cases</td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td>Syslog File Should Contain In Order</td>
<td>Parsing test case file</td>
<td>'${dir}${/}03_resource.html'</td>
<td></td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td>Syslog File Should Contain In Order</td>
<td>Parsing data source</td>
<td>'${dir}${/}03_resource.html'</td>
<td>failed:</td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td>...</td>
<td>Test case file</td>
<td>'${dir}${/}03_resource.html'</td>
<td>contains no test cases</td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td>Syslog File Should Contain In Order</td>
<td>Parsing test case file</td>
<td>'${dir}${/}04_tests.html'</td>
<td></td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td>Syslog File Should Contain In Order</td>
<td>Started test suite</td>
<td>'Resource Parsing'</td>
<td></td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td>Syslog File Should Contain In Order</td>
<td>Imported resource file</td>
<td>'${dir}${/}02_resource.html'</td>
<td></td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td>Syslog File Should Contain In Order</td>
<td>Imported resource file</td>
<td>'${dir}${/}03_resource.html'</td>
<td></td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td>Syslog File Should Contain In Order</td>
<td>Found resource file</td>
<td>'${dir}${/}02_resource.html'</td>
<td>from cache</td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td>Syslog File Should Contain In Order</td>
<td>Resource file</td>
<td>'${dir}${/}02_resource.html'</td>
<td>already imported by suite 'Resource Parsing.04 Tests'</td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td>Syslog File Should Contain In Order</td>
<td>Tests execution ended.</td>
<td></td>
<td></td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
+</table>
+<table id="keywords" border="1">
<tr>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-</tr>
-</tbody></table>
-
-<table border="1">
-<colgroup span="99"><col class="name"><col class="action"><col class="arg"
span="3"></colgroup>
-<tbody><tr>
-<th>Keyword</th>
+<th class="name">Keyword</th>
<th>Action</th>
-<th>Argument</th>
-<th>Argument</th>
-<th>Argument</th>
+<th colspan="3">Arguments</th>
</tr>
-
-
-
-
-
-
-
<tr>
-<td><a name="keyword_Syslog File Should Contain In Order">Syslog File
Should Contain In Order</a></td>
+<td class="name"><a name="keyword_Syslog File Should Contain In
Order">Syslog File Should Contain In Order</a></td>
<td>[Arguments]</td>
<td>@{parts}</td>
<td></td>
<td></td>
</tr>
-
<tr>
-<td></td>
+<td class="name"></td>
<td>${text} =</td>
<td>Catenate</td>
<td>@{parts}</td>
<td></td>
</tr>
-
<tr>
-<td></td>
-<td>Should Contain X Times</td><td>${SYSLOG}</td>
-
-<td>${text}</td><td>1</td>
-
+<td class="name"></td>
+<td>Should Contain X Times</td>
+<td>${SYSLOG}</td>
+<td>${text}</td>
+<td>1</td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td>${pre}</td>
<td>${post} =</td>
<td>Set Variable</td>
<td>${SYSLOG.split("${text.replace('\\','\\\\')}")}</td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td>Set Suite Variable</td>
<td>${SYSLOG}</td>
<td>${post}</td>
<td></td>
</tr>
<tr>
-<td></td>
+<td class="name"></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
-<td><a name="keyword_My Run Tests">Run Tests And Set $SYSLOG</a></td>
+<td class="name"><a name="keyword_Run Tests And Set $SYSLOG">Run Tests And
Set $SYSLOG</a></td>
<td>[Arguments]</td>
<td>${path}</td>
<td></td>
<td></td>
</tr>
-
<tr>
-<td></td>
+<td class="name"></td>
<td>Run Tests</td>
<td></td>
<td>${path}</td>
<td></td>
</tr>
-
<tr>
-<td></td>
+<td class="name"></td>
<td>${SYSLOG} =</td>
<td>Get Syslog</td>
<td></td>
<td></td>
</tr>
-
<tr>
-<td></td>
+<td class="name"></td>
<td>Set Suite Variable</td>
<td>${SYSLOG}</td>
-<td><br></td>
<td></td>
-</tr>
-
-<tr>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
<td></td>
</tr>
-
-
-
<tr>
-<td></td>
+<td class="name"></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
-</tbody></table>
-
-</body></html>
+</table>
+</body>
+</html>