--- a/eric7/Documentation/Source/eric7.Debugger.DebugServer.html Mon May 23 17:31:02 2022 +0200 +++ b/eric7/Documentation/Source/eric7.Debugger.DebugServer.html Mon May 23 18:15:10 2022 +0200 @@ -208,55 +208,6 @@ emitted after the debug client has connected in passive debug mode </dd> -<dt>utDiscovered(testCases, exc_type, exc_value)</dt> -<dd> -emitted after the - client has performed a test case discovery action -</dd> -<dt>utFinished()</dt> -<dd> -emitted after the client signalled the end of the - unittest -</dd> -<dt>utPrepared(nrTests, exc_type, exc_value)</dt> -<dd> -emitted after the client - has loaded a unittest suite -</dd> -<dt>utStartTest(testname, testdocu)</dt> -<dd> -emitted after the client has - started a test -</dd> -<dt>utStopTest()</dt> -<dd> -emitted after the client has finished a test -</dd> -<dt>utTestErrored(testname, exc_info, id)</dt> -<dd> -emitted after the client - reported an errored test -</dd> -<dt>utTestFailed(testname, exc_info, id)</dt> -<dd> -emitted after the client - reported a failed test -</dd> -<dt>utTestFailedExpected(testname, exc_info, id)</dt> -<dd> -emitted after the - client reported an expected test failure -</dd> -<dt>utTestSkipped(testname, reason, id)</dt> -<dd> -emitted after the client - reported a skipped test -</dd> -<dt>utTestSucceededUnexpected(testname, id)</dt> -<dd> -emitted after the client - reported an unexpected test success -</dd> </dl> <h3>Derived from</h3> QTcpServer @@ -395,46 +346,6 @@ <td>Private slot to handle the dataAboutToBeChanged signal of the watch expression model.</td> </tr> <tr> -<td><a href="#DebugServer.clientUtDiscovered">clientUtDiscovered</a></td> -<td>Public method to process the client unittest discover info.</td> -</tr> -<tr> -<td><a href="#DebugServer.clientUtFinished">clientUtFinished</a></td> -<td>Public method to process the client unit test finished info.</td> -</tr> -<tr> -<td><a href="#DebugServer.clientUtPrepared">clientUtPrepared</a></td> -<td>Public method to process the client unittest prepared info.</td> -</tr> -<tr> -<td><a href="#DebugServer.clientUtStartTest">clientUtStartTest</a></td> -<td>Public method to process the client start test info.</td> -</tr> -<tr> -<td><a href="#DebugServer.clientUtStopTest">clientUtStopTest</a></td> -<td>Public method to process the client stop test info.</td> -</tr> -<tr> -<td><a href="#DebugServer.clientUtTestErrored">clientUtTestErrored</a></td> -<td>Public method to process the client test errored info.</td> -</tr> -<tr> -<td><a href="#DebugServer.clientUtTestFailed">clientUtTestFailed</a></td> -<td>Public method to process the client test failed info.</td> -</tr> -<tr> -<td><a href="#DebugServer.clientUtTestFailedExpected">clientUtTestFailedExpected</a></td> -<td>Public method to process the client test failed expected info.</td> -</tr> -<tr> -<td><a href="#DebugServer.clientUtTestSkipped">clientUtTestSkipped</a></td> -<td>Public method to process the client test skipped info.</td> -</tr> -<tr> -<td><a href="#DebugServer.clientUtTestSucceededUnexpected">clientUtTestSucceededUnexpected</a></td> -<td>Public method to process the client test succeeded unexpected info.</td> -</tr> -<tr> <td><a href="#DebugServer.getBreakPointModel">getBreakPointModel</a></td> <td>Public slot to get a reference to the breakpoint model object.</td> </tr> @@ -603,22 +514,6 @@ <td>Public method to request the list of threads from the client.</td> </tr> <tr> -<td><a href="#DebugServer.remoteUTDiscover">remoteUTDiscover</a></td> -<td>Public method to perform a test case discovery.</td> -</tr> -<tr> -<td><a href="#DebugServer.remoteUTPrepare">remoteUTPrepare</a></td> -<td>Public method to prepare a new unittest run.</td> -</tr> -<tr> -<td><a href="#DebugServer.remoteUTRun">remoteUTRun</a></td> -<td>Public method to start a unittest run.</td> -</tr> -<tr> -<td><a href="#DebugServer.remoteUTStop">remoteUTStop</a></td> -<td>public method to stop a unittest run.</td> -</tr> -<tr> <td><a href="#DebugServer.setCallTraceEnabled">setCallTraceEnabled</a></td> <td>Public method to set the call trace state.</td> </tr> @@ -1321,195 +1216,6 @@ end index of the rows to be changed </dd> </dl> -<a NAME="DebugServer.clientUtDiscovered" ID="DebugServer.clientUtDiscovered"></a> -<h4>DebugServer.clientUtDiscovered</h4> -<b>clientUtDiscovered</b>(<i>testCases, exceptionType, exceptionValue</i>) - -<p> - Public method to process the client unittest discover info. -</p> -<dl> - -<dt><i>testCases</i> (str)</dt> -<dd> -list of detected test cases -</dd> -<dt><i>exceptionType</i> (str)</dt> -<dd> -exception type -</dd> -<dt><i>exceptionValue</i> (str)</dt> -<dd> -exception message -</dd> -</dl> -<a NAME="DebugServer.clientUtFinished" ID="DebugServer.clientUtFinished"></a> -<h4>DebugServer.clientUtFinished</h4> -<b>clientUtFinished</b>(<i>status</i>) - -<p> - Public method to process the client unit test finished info. -</p> -<dl> - -<dt><i>status</i> (int)</dt> -<dd> -exit status of the unit test -</dd> -</dl> -<a NAME="DebugServer.clientUtPrepared" ID="DebugServer.clientUtPrepared"></a> -<h4>DebugServer.clientUtPrepared</h4> -<b>clientUtPrepared</b>(<i>result, exceptionType, exceptionValue</i>) - -<p> - Public method to process the client unittest prepared info. -</p> -<dl> - -<dt><i>result</i> (int)</dt> -<dd> -number of test cases (0 = error) -</dd> -<dt><i>exceptionType</i> (str)</dt> -<dd> -exception type -</dd> -<dt><i>exceptionValue</i> (str)</dt> -<dd> -exception message -</dd> -</dl> -<a NAME="DebugServer.clientUtStartTest" ID="DebugServer.clientUtStartTest"></a> -<h4>DebugServer.clientUtStartTest</h4> -<b>clientUtStartTest</b>(<i>testname, doc</i>) - -<p> - Public method to process the client start test info. -</p> -<dl> - -<dt><i>testname</i> (str)</dt> -<dd> -name of the test -</dd> -<dt><i>doc</i> (str)</dt> -<dd> -short description of the test -</dd> -</dl> -<a NAME="DebugServer.clientUtStopTest" ID="DebugServer.clientUtStopTest"></a> -<h4>DebugServer.clientUtStopTest</h4> -<b>clientUtStopTest</b>(<i></i>) - -<p> - Public method to process the client stop test info. -</p> -<a NAME="DebugServer.clientUtTestErrored" ID="DebugServer.clientUtTestErrored"></a> -<h4>DebugServer.clientUtTestErrored</h4> -<b>clientUtTestErrored</b>(<i>testname, traceback, testId</i>) - -<p> - Public method to process the client test errored info. -</p> -<dl> - -<dt><i>testname</i> (str)</dt> -<dd> -name of the test -</dd> -<dt><i>traceback</i> (list of str)</dt> -<dd> -lines of traceback info -</dd> -<dt><i>testId</i> (str)</dt> -<dd> -id of the test -</dd> -</dl> -<a NAME="DebugServer.clientUtTestFailed" ID="DebugServer.clientUtTestFailed"></a> -<h4>DebugServer.clientUtTestFailed</h4> -<b>clientUtTestFailed</b>(<i>testname, traceback, testId</i>) - -<p> - Public method to process the client test failed info. -</p> -<dl> - -<dt><i>testname</i> (str)</dt> -<dd> -name of the test -</dd> -<dt><i>traceback</i> (list of str)</dt> -<dd> -lines of traceback info -</dd> -<dt><i>testId</i> (str)</dt> -<dd> -id of the test -</dd> -</dl> -<a NAME="DebugServer.clientUtTestFailedExpected" ID="DebugServer.clientUtTestFailedExpected"></a> -<h4>DebugServer.clientUtTestFailedExpected</h4> -<b>clientUtTestFailedExpected</b>(<i>testname, traceback, testId</i>) - -<p> - Public method to process the client test failed expected info. -</p> -<dl> - -<dt><i>testname</i> (str)</dt> -<dd> -name of the test -</dd> -<dt><i>traceback</i> (list of str)</dt> -<dd> -lines of traceback info -</dd> -<dt><i>testId</i> (str)</dt> -<dd> -id of the test -</dd> -</dl> -<a NAME="DebugServer.clientUtTestSkipped" ID="DebugServer.clientUtTestSkipped"></a> -<h4>DebugServer.clientUtTestSkipped</h4> -<b>clientUtTestSkipped</b>(<i>testname, reason, testId</i>) - -<p> - Public method to process the client test skipped info. -</p> -<dl> - -<dt><i>testname</i> (str)</dt> -<dd> -name of the test -</dd> -<dt><i>reason</i> (str)</dt> -<dd> -reason for skipping the test -</dd> -<dt><i>testId</i> (str)</dt> -<dd> -id of the test -</dd> -</dl> -<a NAME="DebugServer.clientUtTestSucceededUnexpected" ID="DebugServer.clientUtTestSucceededUnexpected"></a> -<h4>DebugServer.clientUtTestSucceededUnexpected</h4> -<b>clientUtTestSucceededUnexpected</b>(<i>testname, testId</i>) - -<p> - Public method to process the client test succeeded unexpected info. -</p> -<dl> - -<dt><i>testname</i> (str)</dt> -<dd> -name of the test -</dd> -<dt><i>testId</i> (str)</dt> -<dd> -id of the test -</dd> -</dl> <a NAME="DebugServer.getBreakPointModel" ID="DebugServer.getBreakPointModel"></a> <h4>DebugServer.getBreakPointModel</h4> <b>getBreakPointModel</b>(<i></i>) @@ -2464,142 +2170,6 @@ ID of the debugger backend </dd> </dl> -<a NAME="DebugServer.remoteUTDiscover" ID="DebugServer.remoteUTDiscover"></a> -<h4>DebugServer.remoteUTDiscover</h4> -<b>remoteUTDiscover</b>(<i>clientType, forProject, venvName, syspath, workdir, discoveryStart</i>) - -<p> - Public method to perform a test case discovery. -</p> -<dl> - -<dt><i>clientType</i> (str)</dt> -<dd> -client type to be used -</dd> -<dt><i>forProject</i> (bool)</dt> -<dd> -flag indicating a project related action -</dd> -<dt><i>venvName</i> (str)</dt> -<dd> -name of a virtual environment -</dd> -<dt><i>syspath</i> (list of str)</dt> -<dd> -list of directories to be added to sys.path on the - remote side -</dd> -<dt><i>workdir</i> (str)</dt> -<dd> -path name of the working directory -</dd> -<dt><i>discoveryStart</i> (str)</dt> -<dd> -directory to start auto-discovery at -</dd> -</dl> -<a NAME="DebugServer.remoteUTPrepare" ID="DebugServer.remoteUTPrepare"></a> -<h4>DebugServer.remoteUTPrepare</h4> -<b>remoteUTPrepare</b>(<i>fn, tn, tfn, failed, cov, covname, coverase, clientType="", forProject=False, venvName="", syspath=None, workdir="", discover=False, discoveryStart="", testCases=None, debug=False</i>) - -<p> - Public method to prepare a new unittest run. -</p> -<dl> - -<dt><i>fn</i> (str)</dt> -<dd> -the filename to load -</dd> -<dt><i>tn</i> (str)</dt> -<dd> -the testname to load -</dd> -<dt><i>tfn</i> (str)</dt> -<dd> -the test function name to load tests from -</dd> -<dt><i>failed</i> (list of str)</dt> -<dd> -list of failed test, if only failed test should be run -</dd> -<dt><i>cov</i> (bool)</dt> -<dd> -flag indicating collection of coverage data is requested -</dd> -<dt><i>covname</i> (str)</dt> -<dd> -filename to be used to assemble the coverage caches - filename -</dd> -<dt><i>coverase</i> (bool)</dt> -<dd> -flag indicating erasure of coverage data is requested -</dd> -<dt><i>clientType</i> (str)</dt> -<dd> -client type to be used -</dd> -<dt><i>forProject</i> (bool)</dt> -<dd> -flag indicating a project related action -</dd> -<dt><i>venvName</i> (str)</dt> -<dd> -name of a virtual environment -</dd> -<dt><i>syspath</i> (list of str)</dt> -<dd> -list of directories to be added to sys.path on the - remote side -</dd> -<dt><i>workdir</i> (str)</dt> -<dd> -path name of the working directory -</dd> -<dt><i>discover</i> (bool)</dt> -<dd> -flag indicating to discover the tests automatically -</dd> -<dt><i>discoveryStart</i> (str)</dt> -<dd> -directory to start auto-discovery at -</dd> -<dt><i>testCases</i> (list of str)</dt> -<dd> -list of test cases to be loaded -</dd> -<dt><i>debug</i> (bool)</dt> -<dd> -flag indicating to run unittest with debugging -</dd> -</dl> -<a NAME="DebugServer.remoteUTRun" ID="DebugServer.remoteUTRun"></a> -<h4>DebugServer.remoteUTRun</h4> -<b>remoteUTRun</b>(<i>debug=False, failfast=False</i>) - -<p> - Public method to start a unittest run. -</p> -<dl> - -<dt><i>debug</i> (bool)</dt> -<dd> -flag indicating to run unittest with debugging -</dd> -<dt><i>failfast</i> (bool)</dt> -<dd> -flag indicating to stop at the first error -</dd> -</dl> -<a NAME="DebugServer.remoteUTStop" ID="DebugServer.remoteUTStop"></a> -<h4>DebugServer.remoteUTStop</h4> -<b>remoteUTStop</b>(<i></i>) - -<p> - public method to stop a unittest run. -</p> <a NAME="DebugServer.setCallTraceEnabled" ID="DebugServer.setCallTraceEnabled"></a> <h4>DebugServer.setCallTraceEnabled</h4> <b>setCallTraceEnabled</b>(<i>debuggerId, on</i>)