Revision: 3783
Author: jussi.ao.malinen
Date: Mon Jun 28 05:20:55 2010
Log: changed format to txt
http://code.google.com/p/robotframework/source/detail?r=3783
Added:
/trunk/atest/robot/external/unit_tests.txt
Deleted:
/trunk/atest/robot/external/unit_tests.html
=======================================
--- /dev/null
+++ /trunk/atest/robot/external/unit_tests.txt Mon Jun 28 05:20:55 2010
@@ -0,0 +1,26 @@
+*** Settings ***
+Documentation Robot unit tests
+Suite Setup Set Variables unit
+Force Tags smoke regression
+Resource atest_resource.txt
+
+*** Variables ***
+${TESTPATH} ${CURDIR}${/}..${/}..${/}..${/}utest${/}run_utests.py
+
+*** Test Cases ***
+Unit Tests With Python
+ [Tags] pybot
+ Run Unit Tests
+
+Unit Tests With Jython
+ [Tags] jybot
+ Run Unit Tests
+
+*** Keywords ***
+Run Unit Tests
+ [Timeout]
+ ${rc} = Run And Return RC ${INTERPRETER} ${TESTPATH} --quiet
1>${STDOUTFILE} 2> ${STDERRFILE}
+ Get Stderr
+ Get Stdout
+ Should Be Equal As Integers ${rc} 0 Unit tests failed with rc
${rc}. False
+
=======================================
--- /trunk/atest/robot/external/unit_tests.html Mon Apr 12 05:17:10 2010
+++ /dev/null
@@ -1,254 +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="RobotIDE">
-<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>Unit Tests</title></head>
-
-
-<body>
-<h1>Unit Tests</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>
-<tr>
-<td>Documentation</td>
-<td>Robot unit tests</td>
-<td></td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<td>Force Tags</td>
-<td>smoke</td>
-<td>regression</td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<td>Suite Setup</td>
-<td>Set Variables</td>
-<td>unit</td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<td>Resource</td>
-<td>atest_resource.txt</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="value"
span="4"></colgroup>
-<tbody><tr>
-<th>Variable</th>
-<th>Value</th>
-<th>Value</th>
-<th>Value</th>
-<th>Value</th>
-</tr>
-<tr>
-<td>${TESTPATH}</td>
-<td>${CURDIR}${/}..${/}..${/}..${/}utest${/}run_utests.py</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>
-<tbody><tr>
-<th>Test Case</th>
-<th>Action</th>
-<th>Argument</th>
-<th>Argument</th>
-<th>Argument</th>
-</tr>
-<tr>
-<td><a name="test_Unit Tests With Python">Unit Tests With Python</a></td>
-<td>[Tags]</td>
-<td>pybot</td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<td></td>
-<td>Run Unit Tests</td>
-<td></td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<td><a name="test_Unit Tests With Jython">Unit Tests With Jython</a></td>
-<td>[Tags]</td>
-<td>jybot</td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<td></td>
-<td>Run Unit Tests</td>
-<td></td>
-<td></td>
-<td></td>
-</tr>
-<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>
-<tbody><tr>
-<th>Keyword</th>
-<th>Action</th>
-<th>Argument</th>
-<th>Argument</th>
-<th>Argument</th>
-</tr>
-<tr>
-<td><a name="keyword_Run Unit Tests">Run Unit Tests</a></td>
-<td>[Timeout]</td>
-<td></td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<td></td>
-<td>${rc} =</td>
-<td>Run And Return RC</td>
-<td>${INTERPRETER} ${TESTPATH} --quiet 1>${STDOUTFILE} 2>
${STDERRFILE}</td>
-<td></td>
-</tr>
-<tr><td></td><td>Get Stderr</td><td></td><td></td><td></td></tr><tr>
-<td></td>
-<td>Get Stdout<br></td>
-<td></td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<td></td>
-<td>Should Be Equal As Integers</td>
-<td>${rc}</td>
-<td>0</td>
-<td>Unit tests failed with rc ${rc}.</td>
-</tr>
-<tr>
-<td></td>
-<td>...</td>
-<td>False</td>
-<td></td>
-<td></td>
-</tr>
-<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>
-
-</body></html>