Revision: 3410
Author: jussi.ao.malinen
Date: Mon May 24 04:01:52 2010
Log: changed test format to txt
http://code.google.com/p/robotframework/source/detail?r=3410

Added:
 /trunk/atest/robot/core/resource_and_variable_imports.txt
Deleted:
 /trunk/atest/robot/core/resource_and_variable_imports.html

=======================================
--- /dev/null
+++ /trunk/atest/robot/core/resource_and_variable_imports.txt Mon May 24 04:01:52 2010
@@ -0,0 +1,136 @@
+*** Settings ***
+Suite Setup     My Setup
+Force Tags      regression  jybot  pybot
+Resource        atest_resource.txt
+
+*** Variables ***
+${RESDIR} ${CURDIR}${/}..${/}..${/}testdata${/}core${/}resources_and_variables +${PPATH_RESDIR} ${CURDIR}${/}..${/}..${/}testresources${/}res_and_var_files
+
+*** Test Cases ***
+Normal Resource Import
+ [Documentation] Test that path given in resource import is relative to the current directory and that '/' is converted to correct path separator depending on os.
+    Check Test Case  Normal Resource Import
+
+Resource Import With Variables
+ [Documentation] Test that variables can be used in resource import path. Also test that path can be absolute.
+    Check Test Case  Resource Import With Variables
+
+Normal Variable Import
+ [Documentation] Test that path given in variable import is relative to the current directory and that '/' is converted to correct path separator depending on os.
+    Check Test Case  Normal Variable Import
+
+Not Included In __all__
+    Check Test Case  Not Included in __all__
+
+Variable Import With Variables
+ [Documentation] Test that variables can be used in variable import path. Also test that path can be absolute.
+    Check Test Case  Variable Import With Variables
+
+Invalid List Variable
+ [Documentation] List variable not containing a list value causes an error
+    Check Test Case  Invalid List Variable
+    ${path} =  Join Path  ${RESDIR}  invalid_list_variable.py
+ My Check Stderr Contains [ ERROR ] Error in file '${DATAPATH}' in table 'Setting' in element on row 37: Processing variable file '${path}' failed: List variable '\...@{invalid_list}' cannot get a non-list value 'This is not a list and thus importing this file fails'
+
+Dynamic Variable File
+ [Documentation] Test for getting variables dynamically from a variable file using get_variables or getVariables and arguments.
+    Check Test Case  Dynamic Variable File No Args
+    Check Test Case  Dynamic Variable File One Arg
+
+Dynamic Variable File With Variables And Backslashes In Args
+ Check Test Case Dynamic Variable File With Variables And Backslashes In Args
+
+Invalid Dynamic Variable File Usage
+    ${path} =  Join Path  ${RESDIR}  dynamic_variables.py
+ My Check Stderr Contains [ ERROR ] Error in file '${DATAPATH}' in table 'Setting' in element on row 10: Processing variable file '${path}' with arguments [ Two args returns None | which is invalid ] failed: get_variables returned 'NoneType', expected a mapping + My Check Stderr Contains [ ERROR ] Error in file '${DATAPATH}' in table 'Setting' in element on row 11: Processing variable file '${path}' with arguments [ More args raises an exception | which is invalid | of course ] failed: Invalid arguments for get_variables
+    ${path} =  Join Path  ${RESDIR}  dynamicVariables.py
+ My Check Stderr Contains [ ERROR ] Error in file '${DATAPATH}' in table 'Setting' in element on row 36: Replacing variables from setting 'Variables' failed: Non-existing variable '\${non_existing_var_as_arg}'
+
+Resource Importing Resources
+ [Documentation] Test that resource file can import more resources. resources_imported_by_resource.html was imported ok by resources.html
+    Check Test Case  Resource Importing Resources
+
+Resource Importing Variables
+    [Documentation]  Test that resource file can import variables
+    Check Test Case  Resource Importing Variables
+
+Resource Importing Library
+    [Documentation]  Test that resource file can import libraries
+    Check Test Case  Resource Importing Library
+
+Re-Import Resource File
+    ${path} =  Join Path  ${RESDIR}  resources.html
+ My Check Syslog Contains | INFO \ | Resource file '${path}' already imported by suite 'Resource And Variable Imports'
+    ${path} =  Join Path  ${RESDIR}  resources2.html
+ My Check Syslog Contains | INFO \ | Resource file '${path}' already imported by suite 'Resource And Variable Imports'
+    ${path} =  Join Path  ${RESDIR}  resources_imported_by_resource.html
+ My Check Syslog Contains | INFO \ | Resource file '${path}' already imported by suite 'Resource And Variable Imports'
+
+Re-Import Variable File
+    ${path} =  Join Path  ${RESDIR}  variables.py
+ My Check Syslog Contains | INFO \ | Variable file '${path}' already imported by suite 'Resource And Variable Imports'
+    ${path} =  Join Path  ${RESDIR}  variables2.py
+ My Check Syslog Contains | INFO \ | Variable file '${path}' already imported by suite 'Resource And Variable Imports'
+    ${path} =  Join Path  ${RESDIR}  variables_imported_by_resource.py
+ My Check Syslog Contains | INFO \ | Variable file '${path}' already imported by suite 'Resource And Variable Imports'
+    ${path} =  Join Path  ${RESDIR}  dynamic_variables.py
+ My Check Syslog Contains | INFO \ | Variable file '${path}' with arguments [ One arg works ] already imported by suite 'Resource And Variable Imports'
+
+Non-Existing Resource File
+ My Check Stderr Contains [ ERROR ] Error in file '${DATAPATH}' in table 'Setting' in element on row 31: Resource file 'non_existing.html' does not exist
+
+Non-Existing Variable File
+ My Check Stderr Contains [ ERROR ] Error in file '${DATAPATH}' in table 'Setting' in element on row 32: Variable file 'non_existing.py' does not exist
+
+Invalid Resource File
+    ${path} =  Join Path  ${RESDIR}  invalid_resource.html
+ My Check Stderr Contains [ ERROR ] Error in file '${DATAPATH}' in table 'Setting' in element on row 33: Parsed file '${path}' contains no resources
+
+Invalid Resource Import Parameters
+ My Check Stderr Contains [ ERROR ] Error in file '${DATAPATH}' in table 'Setting' in element on row 34: Invalid resource import parameters: [ resources_and_variables/resources.html | only one parameter allowed ]
+
+Invalid Setting In Resource File
+    ${path} =  Join Path  ${RESDIR}  resources.html
+ My Check Stderr Contains [ ERROR ] Error in file '${path}' in table 'Setting' in element on row 6: Only settings 'Library', 'Resource', 'Variables' and 'Documentation' allowed in resource files. Found: Test Setup + My Check Stderr Contains [ ERROR ] Error in file '${path}' in table 'Setting' in element on row 7: Only settings 'Library', 'Resource', 'Variables' and 'Documentation' allowed in resource files. Found: Non existing
+    My Check Stderr Does Not Contain  AttributeError:
+
+Invalid Variable File
+    ${path} =  Join Path  ${RESDIR}  invalid_variable_file.py
+ My Check Stderr Contains [ ERROR ] Error in file '${DATAPATH}' in table 'Setting' in element on row 35: Processing variable file '${path}' failed: Importing '${path}' failed: This is an invalid variable file
+
+Resource File In PYTHONPATH
+ [Documentation] Test that resource files can be found if they are in dirs in PYTHONPATH too.
+    Check Test Case  Resource File In PYTHONPATH
+
+Variable File In PYTHONPATH
+ [Documentation] Test that variable files can be found if they are in dirs in PYTHONPATH too.
+    Check Test Case  Variable File In PYTHONPATH
+
+*** Keywords ***
+My Setup
+ Run Tests --pythonpath ${PPATH_RESDIR} core${/}resource_and_variable_imports.html
+    ${STDERR} =  Get Stderr
+    ${SYSLOG} =  Get Syslog
+ ${DATAPATH} = Join Path ${DATADIR} core${/}resource_and_variable_imports.html
+    Set Suite Variable  $STDERR
+    Set Suite Variable  $SYSLOG
+    Set Suite Variable  $DATAPATH
+
+My Check Stderr Contains
+    [Arguments]  @{parts}
+    ${expected} =  Catenate  @{parts}
+    Contains  ${STDERR}  ${expected}
+
+My Check Stderr Does Not Contain
+    [Arguments]  @{parts}
+    ${expected} =  Catenate  @{parts}
+    Fail If Contains  ${STDERR}  ${expected}
+
+My Check Syslog Contains
+    [Arguments]  @{parts}
+    ${expected} =  Catenate  @{parts}
+    Contains  ${SYSLOG}  ${expected}
+
=======================================
--- /trunk/atest/robot/core/resource_and_variable_imports.html Thu May 6 00:07:22 2010
+++ /dev/null
@@ -1,795 +0,0 @@
-
-<!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="RIDE" />
-<meta name="rf-template" content="False" />
-<style type="text/css">
-html {
-  font-family: Arial,Helvetica,sans-serif;
-  background-color: white;
-  color: black;
-}
-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;
-  width: 12em;
-}
-th {
-  background-color: rgb(192, 192, 192);
-  color: black;
-  border-width: 0.1em;
-  font-weight: bold;
-  text-align: center;
-  letter-spacing: 0.1em;
-}
-td.name {
-  background-color: rgb(240, 240, 240);
-  letter-spacing: 0.1em;
-}
-td.name, th.name {
-  width: 10em;
-}
-</style>
-<title>Resource And Variable Imports</title>
-</head>
-<body>
-<h1>Resource And Variable Imports</h1>
-<table id="settings" border="1">
-<tr>
-<th class="name">Setting</th>
-<th colspan="4">Value</th>
-</tr>
-<tr>
-<td class="name">Suite Setup</td>
-<td>My Setup</td>
-<td></td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<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>atest_resource.txt</td>
-<td></td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<td class="name"></td>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-</tr>
-</table>
-<table id="variables" border="1">
-<tr>
-<th class="name">Variable</th>
-<th colspan="4">Value</th>
-</tr>
-<tr>
-<td class="name">${RESDIR}</td>
-<td>${CURDIR}${/}..${/}..${/}testdata${/}core${/}resources_and_variables</td>
-<td></td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<td class="name">${PPATH_RESDIR}</td>
-<td>${CURDIR}${/}..${/}..${/}testresources${/}res_and_var_files</td>
-<td></td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<td class="name"></td>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-</tr>
-</table>
-<table id="testcases" border="1">
-<tr>
-<th class="name">Test Case</th>
-<th>Action</th>
-<th colspan="3">Arguments</th>
-</tr>
-<tr>
-<td class="name"><a name="test_Normal Resource Import">Normal Resource Import</a></td>
-<td>[Documentation]</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 class="name"></td>
-<td>Check Test Case</td>
-<td>Normal Resource Import</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_Resource Import With Variables">Resource Import With Variables</a></td>
-<td>[Documentation]</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 class="name"></td>
-<td>Check Test Case</td>
-<td>Resource Import With Variables</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_Normal Variable Import">Normal Variable Import</a></td>
-<td>[Documentation]</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 class="name"></td>
-<td>Check Test Case</td>
-<td>Normal Variable Import</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_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 class="name"></td>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<td class="name"><a name="test_Invalid List Variable">Invalid List Variable</a></td>
-<td>[Documentation]</td>
-<td colspan="3">List variable not containing a list value causes an error</td>
-</tr>
-<tr>
-<td class="name"></td>
-<td>Check Test Case</td>
-<td>Invalid List Variable</td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<td class="name"></td>
-<td>${path} =</td>
-<td>Join Path</td>
-<td>${RESDIR}</td>
-<td>invalid_list_variable.py</td>
-</tr>
-<tr>
-<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 class="name"></td>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<td class="name"><a name="test_Dynamic Variable File">Dynamic Variable File</a></td>
-<td>[Documentation]</td>
-<td colspan="3">Test for getting variables dynamically from a variable file using get_variables or getVariables and arguments.</td>
-</tr>
-<tr>
-<td class="name"></td>
-<td>Check Test Case</td>
-<td>Dynamic Variable File No Args</td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<td class="name"></td>
-<td>Check Test Case</td>
-<td>Dynamic Variable File One Arg</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_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 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 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 mapping</td>
-</tr>
-<tr>
-<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 class="name"></td>
-<td>${path} =</td>
-<td>Join Path</td>
-<td>${RESDIR}</td>
-<td>dynamicVariables.py</td>
-</tr>
-<tr>
-<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 class="name"></td>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<td class="name"><a name="test_Resource Importing Resources">Resource Importing Resources</a></td>
-<td>[Documentation]</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 class="name"></td>
-<td>Check Test Case</td>
-<td>Resource Importing Resources</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_Resource Importing Variables">Resource Importing Variables</a></td>
-<td>[Documentation]</td>
-<td colspan="3">Test that resource file can import variables</td>
-</tr>
-<tr>
-<td class="name"></td>
-<td>Check Test Case</td>
-<td>Resource Importing Variables</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_Resource Importing Library">Resource Importing Library</a></td>
-<td>[Documentation]</td>
-<td colspan="3">Test that resource file can import libraries</td>
-</tr>
-<tr>
-<td class="name"></td>
-<td>Check Test Case</td>
-<td>Resource Importing Library</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_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 class="name"></td>
-<td>My Check Syslog Contains</td>
-<td>| INFO \ |</td>
-<td>Resource file '${path}' already imported</td>
-<td>by suite 'Resource And Variable Imports'</td>
-</tr>
-<tr>
-<td class="name"></td>
-<td>${path} =</td>
-<td>Join Path</td>
-<td>${RESDIR}</td>
-<td>resources2.html</td>
-</tr>
-<tr>
-<td class="name"></td>
-<td>My Check Syslog Contains</td>
-<td>| INFO \ |</td>
-<td>Resource file '${path}' already imported</td>
-<td>by suite 'Resource And Variable Imports'</td>
-</tr>
-<tr>
-<td class="name"></td>
-<td>${path} =</td>
-<td>Join Path</td>
-<td>${RESDIR}</td>
-<td>resources_imported_by_resource.html</td>
-</tr>
-<tr>
-<td class="name"></td>
-<td>My Check Syslog Contains</td>
-<td>| INFO \ |</td>
-<td>Resource file '${path}' already imported</td>
-<td>by suite 'Resource And Variable Imports'</td>
-</tr>
-<tr>
-<td class="name"></td>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<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 class="name"></td>
-<td>My Check Syslog Contains</td>
-<td>| INFO \ |</td>
-<td>Variable file '${path}' already imported</td>
-<td>by suite 'Resource And Variable Imports'</td>
-</tr>
-<tr>
-<td class="name"></td>
-<td>${path} =</td>
-<td>Join Path</td>
-<td>${RESDIR}</td>
-<td>variables2.py</td>
-</tr>
-<tr>
-<td class="name"></td>
-<td>My Check Syslog Contains</td>
-<td>| INFO \ |</td>
-<td>Variable file '${path}' already imported</td>
-<td>by suite 'Resource And Variable Imports'</td>
-</tr>
-<tr>
-<td class="name"></td>
-<td>${path} =</td>
-<td>Join Path</td>
-<td>${RESDIR}</td>
-<td>variables_imported_by_resource.py</td>
-</tr>
-<tr>
-<td class="name"></td>
-<td>My Check Syslog Contains</td>
-<td>| INFO \ |</td>
-<td>Variable file '${path}' already imported</td>
-<td>by suite 'Resource And Variable Imports'</td>
-</tr>
-<tr>
-<td class="name"></td>
-<td>${path} =</td>
-<td>Join Path</td>
-<td>${RESDIR}</td>
-<td>dynamic_variables.py</td>
-</tr>
-<tr>
-<td class="name"></td>
-<td>My Check Syslog Contains</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 class="name"></td>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<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 class="name"></td>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<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 class="name"></td>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<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 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 class="name"></td>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<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 class="name"></td>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<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 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 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 class="name"></td>
-<td>My Check Stderr Does Not Contain</td>
-<td>AttributeError:</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_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 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 class="name"></td>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<td class="name"><a name="test_Resource File In PYTHONPATH">Resource File In PYTHONPATH</a></td>
-<td>[Documentation]</td>
-<td colspan="3">Test that resource files can be found if they are in dirs in PYTHONPATH too.</td>
-</tr>
-<tr>
-<td class="name"></td>
-<td>Check Test Case</td>
-<td>Resource File In PYTHONPATH</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 File In PYTHONPATH">Variable File In PYTHONPATH</a></td>
-<td>[Documentation]</td>
-<td colspan="3">Test that variable files can be found if they are in dirs in PYTHONPATH too.</td>
-</tr>
-<tr>
-<td class="name"></td>
-<td>Check Test Case</td>
-<td>Variable File In PYTHONPATH</td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<td class="name"></td>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-</tr>
-</table>
-<table id="keywords" border="1">
-<tr>
-<th class="name">Keyword</th>
-<th>Action</th>
-<th colspan="3">Arguments</th>
-</tr>
-<tr>
-<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 class="name"></td>
-<td>${STDERR} =</td>
-<td>Get Stderr</td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<td class="name"></td>
-<td>${SYSLOG} =</td>
-<td>Get Syslog</td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<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 class="name"></td>
-<td>Set Suite Variable</td>
-<td>$STDERR</td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<td class="name"></td>
-<td>Set Suite Variable</td>
-<td>$SYSLOG</td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<td class="name"></td>
-<td>Set Suite Variable</td>
-<td>$DATAPATH</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="keyword_My Check Stderr Contains">My Check Stderr Contains</a></td>
-<td>[Arguments]</td>
-<td>@{parts}</td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<td class="name"></td>
-<td>${expected} =</td>
-<td>Catenate</td>
-<td>@{parts}</td>
-<td></td>
-</tr>
-<tr>
-<td class="name"></td>
-<td>Contains</td>
-<td>${STDERR}</td>
-<td>${expected}</td>
-<td></td>
-</tr>
-<tr>
-<td class="name"></td>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<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 class="name"></td>
-<td>${expected} =</td>
-<td>Catenate</td>
-<td>@{parts}</td>
-<td></td>
-</tr>
-<tr>
-<td class="name"></td>
-<td>Fail If Contains</td>
-<td>${STDERR}</td>
-<td>${expected}</td>
-<td></td>
-</tr>
-<tr>
-<td class="name"></td>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<td class="name"><a name="keyword_My Check Syslog Contains">My Check Syslog Contains</a></td>
-<td>[Arguments]</td>
-<td>@{parts}</td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<td class="name"></td>
-<td>${expected} =</td>
-<td>Catenate</td>
-<td>@{parts}</td>
-<td></td>
-</tr>
-<tr>
-<td class="name"></td>
-<td>Contains</td>
-<td>${SYSLOG}</td>
-<td>${expected}</td>
-<td></td>
-</tr>
-<tr>
-<td class="name"></td>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-</tr>
-</table>
-</body>
-</html>

Reply via email to