Revision: 2875
Author: pekka.klarck
Date: Thu Apr 8 12:40:47 2010
Log: format and correct place
http://code.google.com/p/robotframework/source/detail?r=2875
Added:
/trunk/atest/robot/cli/runner/multisource.txt
Deleted:
/trunk/atest/robot/core/multisource.html
=======================================
--- /dev/null
+++ /trunk/atest/robot/cli/runner/multisource.txt Thu Apr 8 12:40:47 2010
@@ -0,0 +1,38 @@
+*** Settings ***
+Documentation Running multiple suites together.
+Force Tags regression pybot jybot
+Resource ../../resources/resource.txt
+
+*** Test Cases ***
+Default Name
+ Run Tests ${EMPTY} core${/}misc${/}some_tests.html
core${/}misc${/}example_tests.html
+ Check Names ${suite} Some Tests & Example Tests \
+ Check Suites and Tests ${suite} ['Some Tests','Example Tests'] [ ]
+ Check Names ${suite.suites[0]} Some Tests Some Tests & Example
Tests.
+ Check Suites and Tests ${suite.suites[0]} [ ] ['Some Test 1', 'Some
Test 2']
+ Check Names ${suite.suites[0].tests[0]} Some Test 1 Some Tests &
Example Tests.Some Tests.
+ Check Names ${suite.suites[0].tests[1]} Some Test 2 Some Tests &
Example Tests.Some Tests.
+ Check Names ${suite.suites[1]} Example Tests Some Tests & Example
Tests.
+ Check Suites and Tests ${suite.suites[1]} [ ] ['Example Test
1', 'Example Test 2']
+ Check Names ${suite.suites[1].tests[0]} Example Test 1 Some Tests &
Example Tests.Example Tests.
+ Check Names ${suite.suites[1].tests[1]} Example Test 2 Some Tests &
Example Tests.Example Tests.
+
+Overridden Name
+ Run Tests --name My%Name --escape space:%
core${/}misc${/}some_tests.html core${/}misc${/}example_tests.html
+ Check Names ${suite} My Name \
+ Check Suites and Tests ${suite} ['Some Tests','Example Tests'] [ ]
+ Check Names ${suite.suites[0]} Some Tests My Name.
+ Check Suites and Tests ${suite.suites[0]} [ ] ['Some Test 1', 'Some
Test 2']
+ Check Names ${suite.suites[0].tests[0]} Some Test 1 My Name.Some
Tests.
+ Check Names ${suite.suites[0].tests[1]} Some Test 2 My Name.Some
Tests.
+ Check Names ${suite.suites[1]} Example Tests My Name.
+ Check Suites and Tests ${suite.suites[1]} [ ] ['Example Test
1', 'Example Test 2']
+ Check Names ${suite.suites[1].tests[0]} Example Test 1 My
Name.Example Tests.
+ Check Names ${suite.suites[1].tests[1]} Example Test 2 My
Name.Example Tests.
+
+*** Keywords ***
+Check Suites And Tests
+ [Arguments] ${suite} ${suites} ${tests}
+ Should Be True ${suite.suites} == ${suites}
+ Should Be True ${suite.tests} == ${tests}
+
=======================================
--- /trunk/atest/robot/core/multisource.html Sat Mar 27 14:28:03 2010
+++ /dev/null
@@ -1,783 +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;
-}
-/* required for IE */
-th {
- font-style: normal;
-}
-
- </style>
-
- <title>Robot Test Cases</title></head>
-
-<body>
-
-<h1>Robot Test Cases</h1>
-
-
-<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>Document</td>
-
- <td>Running multiple suites
-together.</td>
-
- <td></td>
-
- <td></td>
-
- <td></td>
-
- </tr>
-
-
- <tr>
-
- <td>Force Tags</td>
-
- <td>regression</td>
-
- <td>pybot</td>
-
- <td>jybot</td>
-
- <td></td>
-
- </tr>
-
-
- <tr>
-
- <td>Resource</td>
-
- <td>../../resources/resource.txt</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>
-
- <thead>
- <tr>
-
- <th>Variable</th>
-
- <th>Value</th>
-
- <th>Value</th>
-
- <th>Value</th>
-
- <th>Value</th>
-
- </tr>
-
- </thead>
-
- <tbody>
-
- <tr>
-
- <td></td>
-
- <td></td>
-
- <td></td>
-
- <td></td>
-
- <td></td>
-
- </tr>
-
-
- <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>
-
- <thead>
- <tr>
-
- <th>Test Case</th>
-
- <th>Action</th>
-
- <th>Argument</th>
-
- <th>Argument</th>
-
- <th>Argument</th>
-
-
-
- </tr>
-
- </thead>
-
- <tbody>
-
- <tr>
-
- <td>Default Name</td>
-
- <td>Run Tests</td>
-
- <td><br>
-
- </td>
-
- <td>core${/}misc${/}some_tests.html</td>
-
- <td>core${/}misc${/}example_tests.html</td>
-
-
-
- </tr>
-
-
- <tr>
-
- <td></td>
-
- <td>Check Names</td>
-
- <td>${suite}</td>
-
- <td>Some Tests & Example
-Tests</td>
-
- <td>\</td>
-
-
-
- </tr>
-
-
- <tr>
-
- <td></td>
-
- <td>Check Suites and
-Tests</td>
-
- <td>${suite}</td>
-
- <td>['Some Tests','Example
-Tests']</td>
-
- <td>[ ]<br>
-
- </td>
-
-
-
- </tr>
-
-
- <tr>
-
- <td></td>
-
- <td>Check Names</td>
-
- <td>${suite.suites[0]}</td>
-
- <td>Some Tests<br>
-
- </td>
-
- <td>Some Tests & Example
-Tests.</td>
-
-
-
- </tr>
-
-
- <tr>
-
- <td></td>
-
- <td>Check Suites and
-Tests</td>
-
- <td>${suite.suites[0]}</td>
-
- <td>[ ]</td>
-
- <td>['Some Test 1', 'Some Test
-2']</td>
-
-
-
- </tr>
-
-
- <tr>
-
- <td></td>
-
- <td>Check Names</td>
-
- <td>
-${suite.suites[0].tests[0]}</td>
-
- <td>Some Test 1</td>
-
- <td>Some Tests & Example
-Tests.Some Tests.</td>
-
-
-
- </tr>
-
-
- <tr>
-
- <td></td>
-
- <td>Check Names</td>
-
- <td>
-${suite.suites[0].tests[1]}</td>
-
- <td>Some Test 2</td>
-
- <td>Some Tests & Example
-Tests.Some Tests.</td>
-
-
-
- </tr>
-
-
- <tr>
-
- <td></td>
-
- <td>Check Names</td>
-
- <td>${suite.suites[1]}</td>
-
- <td>Example Tests<br>
-
- </td>
-
- <td>Some Tests & Example
-Tests.</td>
-
-
-
- </tr>
-
-
- <tr>
-
- <td></td>
-
- <td>Check Suites and
-Tests</td>
-
- <td>${suite.suites[1]}</td>
-
- <td>[ ]</td>
-
- <td>['Example Test 1',
-'Example Test 2']</td>
-
-
-
- </tr>
-
-
- <tr>
-
- <td></td>
-
- <td>Check Names</td>
-
- <td>
-${suite.suites[1].tests[0]}</td>
-
- <td>Example Test 1</td>
-
- <td>Some Tests & Example
-Tests.Example Tests.</td>
-
-
-
- </tr>
-
-
- <tr>
-
- <td></td>
-
- <td>Check Names</td>
-
- <td>
-${suite.suites[1].tests[1]}</td>
-
- <td>Example Test 2</td>
-
- <td>Some Tests & Example
-Tests.Example Tests.</td>
-
-
-
- </tr>
-
-
- <tr>
-
- <td></td>
-
- <td></td>
-
- <td></td>
-
- <td></td>
-
- <td></td>
-
-
-
- </tr>
-
-
- <tr>
-
- <td>Overridden Name</td>
-
- <td>Run Tests</td>
-
- <td>--name My%Name<br>
-
- --escape space:%<br>
-
- </td>
-
- <td>core${/}misc${/}some_tests.html</td>
-
- <td>core${/}misc${/}example_tests.html</td>
-
-
-
- </tr>
-
-
- <tr>
-
- <td></td>
-
- <td>Check Names</td>
-
- <td>${suite}</td>
-
- <td>My Name</td>
-
- <td>\</td>
-
-
-
- </tr>
-
-
- <tr>
-
- <td></td>
-
- <td>Check Suites and
-Tests</td>
-
- <td>${suite}</td>
-
- <td>['Some Tests','Example
-Tests']</td>
-
- <td>[ ]<br>
-
- </td>
-
-
-
- </tr>
-
-
- <tr>
-
- <td></td>
-
- <td>Check Names</td>
-
- <td>${suite.suites[0]}</td>
-
- <td>Some Tests<br>
-
- </td>
-
- <td>My Name.</td>
-
-
-
- </tr>
-
-
- <tr>
-
- <td></td>
-
- <td>Check Suites and
-Tests</td>
-
- <td>${suite.suites[0]}</td>
-
- <td>[ ]</td>
-
- <td>['Some Test 1', 'Some Test
-2']</td>
-
-
-
- </tr>
-
-
- <tr>
-
- <td></td>
-
- <td>Check Names</td>
-
- <td>
-${suite.suites[0].tests[0]}</td>
-
- <td>Some Test 1</td>
-
- <td>My Name.Some Tests.</td>
-
-
-
- </tr>
-
-
- <tr>
-
- <td></td>
-
- <td>Check Names</td>
-
- <td>
-${suite.suites[0].tests[1]}</td>
-
- <td>Some Test 2</td>
-
- <td>My Name.Some Tests.</td>
-
-
-
- </tr>
-
-
- <tr>
-
- <td></td>
-
- <td>Check Names</td>
-
- <td>${suite.suites[1]}</td>
-
- <td>Example Tests<br>
-
- </td>
-
- <td>My Name.</td>
-
-
-
- </tr>
-
-
- <tr>
-
- <td></td>
-
- <td>Check Suites and
-Tests</td>
-
- <td>${suite.suites[1]}</td>
-
- <td>[ ]</td>
-
- <td>['Example Test 1',
-'Example Test 2']</td>
-
-
-
- </tr>
-
-
- <tr>
-
- <td></td>
-
- <td>Check Names</td>
-
- <td>
-${suite.suites[1].tests[0]}</td>
-
- <td>Example Test 1</td>
-
- <td>My Name.Example
-Tests.</td>
-
-
-
- </tr>
-
-
- <tr>
-
- <td></td>
-
- <td>Check Names</td>
-
- <td>
-${suite.suites[1].tests[1]}</td>
-
- <td>Example Test 2</td>
-
- <td>My Name.Example
-Tests.</td>
-
-
-
- </tr>
-
-
- <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>
-
- <thead>
- <tr>
-
- <th>Keyword</th>
-
- <th>Action</th>
-
- <th>Argument</th>
-
- <th>Argument</th>
-
- <th>Argument</th>
-
-
- </tr>
-
- </thead>
-
- <tbody>
-
-
-
-
-
-
-
-
-
-
-
- <tr>
-
- <td>Check Suites And
-Tests</td>
-
- <td>[Arguments]</td>
-
- <td>${suite}</td>
-
- <td>${suites}</td>
-
- <td>${tests}</td>
-
-
- </tr>
-
-
- <tr>
-
- <td></td>
-
- <td>Should Be True</td>
-
- <td>${suite.suites} ==
-${suites}</td>
-
- <td></td>
-
- <td></td>
-
-
- </tr>
-
-
- <tr>
-
- <td></td>
-
- <td>Should Be True</td>
-
- <td>${suite.tests} ==
-${tests}</td>
-
- <td></td>
-
- <td></td>
-
-
- </tr>
-
-
- <tr>
-
- <td></td>
-
- <td></td>
-
- <td></td>
-
- <td></td>
-
- <td></td>
-
-
- </tr>
-
- </tbody>
-</table>
-
-</body></html>
--
To unsubscribe, reply using "remove me" as the subject.