Documentation/Source/eric4.DebugClients.Python3.DCTestResult.html

changeset 3
0d9daebf5b8c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Documentation/Source/eric4.DebugClients.Python3.DCTestResult.html	Mon Dec 28 16:18:43 2009 +0000
@@ -0,0 +1,134 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN'
+'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
+<html><head>
+<title>eric4.DebugClients.Python3.DCTestResult</title>
+<style>
+body {
+    background:white;
+    margin: 0em 1em 10em 1em;
+    color: black;
+}
+
+h1 { color: white; background: #4FA4FF; }
+h2 { color: white; background: #4FA4FF; }
+h3 { color: white; background: #00557F; }
+h4 { color: white; background: #00557F; }
+    
+a { color: #AA5500; }
+
+</style>
+</head>
+<body><a NAME="top" ID="top"></a>
+<h1>eric4.DebugClients.Python3.DCTestResult</h1>
+<p>
+Module implementing a TestResult derivative for the eric4 debugger.
+</p>
+<h3>Global Attributes</h3>
+<table>
+<tr><td>None</td></tr>
+</table>
+<h3>Classes</h3>
+<table>
+<tr>
+<td><a href="#DCTestResult">DCTestResult</a></td>
+<td>A TestResult derivative to work with eric4's debug client.</td>
+</tr>
+</table>
+<h3>Functions</h3>
+<table>
+<tr><td>None</td></tr>
+</table>
+<hr /><hr />
+<a NAME="DCTestResult" ID="DCTestResult"></a>
+<h2>DCTestResult</h2>
+<p>
+    A TestResult derivative to work with eric4's debug client.
+</p><p>
+    For more details see unittest.py of the standard python distribution.
+</p>
+<h3>Derived from</h3>
+TestResult
+<h3>Class Attributes</h3>
+<table>
+<tr><td>None</td></tr>
+</table>
+<h3>Methods</h3>
+<table>
+<tr>
+<td><a href="#DCTestResult.__init__">DCTestResult</a></td>
+<td>Constructor</td>
+</tr><tr>
+<td><a href="#DCTestResult.addError">addError</a></td>
+<td>Method called if a test errored.</td>
+</tr><tr>
+<td><a href="#DCTestResult.addFailure">addFailure</a></td>
+<td>Method called if a test failed.</td>
+</tr><tr>
+<td><a href="#DCTestResult.startTest">startTest</a></td>
+<td>Method called at the start of a test.</td>
+</tr><tr>
+<td><a href="#DCTestResult.stopTest">stopTest</a></td>
+<td>Method called at the end of a test.</td>
+</tr>
+</table>
+<a NAME="DCTestResult.__init__" ID="DCTestResult.__init__"></a>
+<h4>DCTestResult (Constructor)</h4>
+<b>DCTestResult</b>(<i>parent</i>)
+<p>
+        Constructor
+</p><dl>
+<dt><i>parent</i></dt>
+<dd>
+The parent widget.
+</dd>
+</dl><a NAME="DCTestResult.addError" ID="DCTestResult.addError"></a>
+<h4>DCTestResult.addError</h4>
+<b>addError</b>(<i>test, err</i>)
+<p>
+        Method called if a test errored.
+</p><dl>
+<dt><i>test</i></dt>
+<dd>
+Reference to the test object
+</dd><dt><i>err</i></dt>
+<dd>
+The error traceback
+</dd>
+</dl><a NAME="DCTestResult.addFailure" ID="DCTestResult.addFailure"></a>
+<h4>DCTestResult.addFailure</h4>
+<b>addFailure</b>(<i>test, err</i>)
+<p>
+        Method called if a test failed.
+</p><dl>
+<dt><i>test</i></dt>
+<dd>
+Reference to the test object
+</dd><dt><i>err</i></dt>
+<dd>
+The error traceback
+</dd>
+</dl><a NAME="DCTestResult.startTest" ID="DCTestResult.startTest"></a>
+<h4>DCTestResult.startTest</h4>
+<b>startTest</b>(<i>test</i>)
+<p>
+        Method called at the start of a test.
+</p><dl>
+<dt><i>test</i></dt>
+<dd>
+Reference to the test object
+</dd>
+</dl><a NAME="DCTestResult.stopTest" ID="DCTestResult.stopTest"></a>
+<h4>DCTestResult.stopTest</h4>
+<b>stopTest</b>(<i>test</i>)
+<p>
+        Method called at the end of a test.
+</p><dl>
+<dt><i>test</i></dt>
+<dd>
+Reference to the test object
+</dd>
+</dl>
+<div align="right"><a href="#top">Up</a></div>
+<hr />
+</body></html>
\ No newline at end of file

eric ide

mercurial