Documentation/Source/eric6.PyUnit.UnittestDialog.html

changeset 6359
e78be0616e6e
parent 5606
da305d172769
child 6888
e5f03f779b00
--- a/Documentation/Source/eric6.PyUnit.UnittestDialog.html	Wed Jun 20 18:34:44 2018 +0200
+++ b/Documentation/Source/eric6.PyUnit.UnittestDialog.html	Wed Jun 20 18:45:07 2018 +0200
@@ -50,7 +50,7 @@
 <p>
     A TestResult derivative to work with a graphical GUI.
 </p><p>
-    For more details see pyunit.py of the standard python distribution.
+    For more details see pyunit.py of the standard Python distribution.
 </p>
 <h3>Derived from</h3>
 unittest.TestResult
@@ -223,6 +223,9 @@
 <td><a href="#UnittestDialog.__UTPrepared">__UTPrepared</a></td>
 <td>Private slot to handle the utPrepared signal.</td>
 </tr><tr>
+<td><a href="#UnittestDialog.__openEditor">__openEditor</a></td>
+<td>Private method to open an editor window for the given file.</td>
+</tr><tr>
 <td><a href="#UnittestDialog.__setProgressColor">__setProgressColor</a></td>
 <td>Private methode to set the color of the progress color label.</td>
 </tr><tr>
@@ -235,6 +238,9 @@
 <td><a href="#UnittestDialog.__showSource">__showSource</a></td>
 <td>Private slot to show the source of a traceback in an eric6 editor.</td>
 </tr><tr>
+<td><a href="#UnittestDialog.closeEvent">closeEvent</a></td>
+<td>Protected method to handle the close event.</td>
+</tr><tr>
 <td><a href="#UnittestDialog.hasFailedTests">hasFailedTests</a></td>
 <td>Public method to check, if there are failed tests from the last run.</td>
 </tr><tr>
@@ -343,6 +349,22 @@
 <dd>
 value of exception occured during preparation (string)
 </dd>
+</dl><a NAME="UnittestDialog.__openEditor" ID="UnittestDialog.__openEditor"></a>
+<h4>UnittestDialog.__openEditor</h4>
+<b>__openEditor</b>(<i>filename, linenumber</i>)
+<p>
+        Private method to open an editor window for the given file.
+</p><p>
+        Note: This method opens an editor window when the unittest dialog
+        is called as a standalone application.
+</p><dl>
+<dt><i>filename</i> (str)</dt>
+<dd>
+path of the file to be opened
+</dd><dt><i>linenumber</i> (int)</dt>
+<dd>
+line number to place the cursor at
+</dd>
 </dl><a NAME="UnittestDialog.__setProgressColor" ID="UnittestDialog.__setProgressColor"></a>
 <h4>UnittestDialog.__setProgressColor</h4>
 <b>__setProgressColor</b>(<i>color</i>)
@@ -368,7 +390,17 @@
 <b>__showSource</b>(<i></i>)
 <p>
         Private slot to show the source of a traceback in an eric6 editor.
-</p><a NAME="UnittestDialog.hasFailedTests" ID="UnittestDialog.hasFailedTests"></a>
+</p><a NAME="UnittestDialog.closeEvent" ID="UnittestDialog.closeEvent"></a>
+<h4>UnittestDialog.closeEvent</h4>
+<b>closeEvent</b>(<i>event</i>)
+<p>
+        Protected method to handle the close event.
+</p><dl>
+<dt><i>event</i> (QCloseEvent)</dt>
+<dd>
+close event
+</dd>
+</dl><a NAME="UnittestDialog.hasFailedTests" ID="UnittestDialog.hasFailedTests"></a>
 <h4>UnittestDialog.hasFailedTests</h4>
 <b>hasFailedTests</b>(<i></i>)
 <p>

eric ide

mercurial