Documentation/Source/eric5.Debugger.DebugServer.html

changeset 1499
b4d0457afb15
parent 1229
a8207dc73672
child 2173
c21d1e99015a
equal deleted inserted replaced
1497:94f27ede4186 1499:b4d0457afb15
150 emitted after the client has started 150 emitted after the client has started
151 a test 151 a test
152 </dd><dt>utStopTest()</dt> 152 </dd><dt>utStopTest()</dt>
153 <dd> 153 <dd>
154 emitted after the client has finished a test 154 emitted after the client has finished a test
155 </dd><dt>utTestErrored(testname, exc_info)</dt> 155 </dd><dt>utTestErrored(testname, exc_info, id)</dt>
156 <dd> 156 <dd>
157 emitted after the client reported 157 emitted after the client reported
158 an errored test 158 an errored test
159 </dd><dt>utTestFailed(testname, exc_info)</dt> 159 </dd><dt>utTestFailed(testname, exc_info, id)</dt>
160 <dd> 160 <dd>
161 emitted after the client reported 161 emitted after the client reported
162 a failed test 162 a failed test
163 </dd><dt>utTestFailedExpected(testname, exc_info)</dt> 163 </dd><dt>utTestFailedExpected(testname, exc_info, id)</dt>
164 <dd> 164 <dd>
165 emitted after the client reported 165 emitted after the client reported
166 an expected test failure 166 an expected test failure
167 </dd><dt>utTestSkipped(testname, reason)</dt> 167 </dd><dt>utTestSkipped(testname, reason, id)</dt>
168 <dd> 168 <dd>
169 emitted after the client reported 169 emitted after the client reported
170 a skipped test 170 a skipped test
171 </dd><dt>utTestSucceededUnexpected(testname)</dt> 171 </dd><dt>utTestSucceededUnexpected(testname, id)</dt>
172 <dd> 172 <dd>
173 emitted after the client reported 173 emitted after the client reported
174 an unexpected test success 174 an unexpected test success
175 </dd> 175 </dd>
176 </dl> 176 </dl>
829 <b>clientUtStopTest</b>(<i></i>) 829 <b>clientUtStopTest</b>(<i></i>)
830 <p> 830 <p>
831 Public method to process the client stop test info. 831 Public method to process the client stop test info.
832 </p><a NAME="DebugServer.clientUtTestErrored" ID="DebugServer.clientUtTestErrored"></a> 832 </p><a NAME="DebugServer.clientUtTestErrored" ID="DebugServer.clientUtTestErrored"></a>
833 <h4>DebugServer.clientUtTestErrored</h4> 833 <h4>DebugServer.clientUtTestErrored</h4>
834 <b>clientUtTestErrored</b>(<i>testname, traceback</i>) 834 <b>clientUtTestErrored</b>(<i>testname, traceback, id</i>)
835 <p> 835 <p>
836 Public method to process the client test errored info. 836 Public method to process the client test errored info.
837 </p><dl> 837 </p><dl>
838 <dt><i>testname</i></dt> 838 <dt><i>testname</i></dt>
839 <dd> 839 <dd>
840 name of the test (string) 840 name of the test (string)
841 </dd><dt><i>traceback</i></dt> 841 </dd><dt><i>traceback</i></dt>
842 <dd> 842 <dd>
843 lines of traceback info (list of strings) 843 lines of traceback info (list of strings)
844 </dd><dt><i>id</i></dt>
845 <dd>
846 id of the test (string)
844 </dd> 847 </dd>
845 </dl><a NAME="DebugServer.clientUtTestFailed" ID="DebugServer.clientUtTestFailed"></a> 848 </dl><a NAME="DebugServer.clientUtTestFailed" ID="DebugServer.clientUtTestFailed"></a>
846 <h4>DebugServer.clientUtTestFailed</h4> 849 <h4>DebugServer.clientUtTestFailed</h4>
847 <b>clientUtTestFailed</b>(<i>testname, traceback</i>) 850 <b>clientUtTestFailed</b>(<i>testname, traceback, id</i>)
848 <p> 851 <p>
849 Public method to process the client test failed info. 852 Public method to process the client test failed info.
850 </p><dl> 853 </p><dl>
851 <dt><i>testname</i></dt> 854 <dt><i>testname</i></dt>
852 <dd> 855 <dd>
853 name of the test (string) 856 name of the test (string)
854 </dd><dt><i>traceback</i></dt> 857 </dd><dt><i>traceback</i></dt>
855 <dd> 858 <dd>
856 lines of traceback info (list of strings) 859 lines of traceback info (list of strings)
860 </dd><dt><i>id</i></dt>
861 <dd>
862 id of the test (string)
857 </dd> 863 </dd>
858 </dl><a NAME="DebugServer.clientUtTestFailedExpected" ID="DebugServer.clientUtTestFailedExpected"></a> 864 </dl><a NAME="DebugServer.clientUtTestFailedExpected" ID="DebugServer.clientUtTestFailedExpected"></a>
859 <h4>DebugServer.clientUtTestFailedExpected</h4> 865 <h4>DebugServer.clientUtTestFailedExpected</h4>
860 <b>clientUtTestFailedExpected</b>(<i>testname, traceback</i>) 866 <b>clientUtTestFailedExpected</b>(<i>testname, traceback, id</i>)
861 <p> 867 <p>
862 Public method to process the client test failed expected info. 868 Public method to process the client test failed expected info.
863 </p><dl> 869 </p><dl>
864 <dt><i>testname</i></dt> 870 <dt><i>testname</i></dt>
865 <dd> 871 <dd>
866 name of the test (string) 872 name of the test (string)
867 </dd><dt><i>traceback</i></dt> 873 </dd><dt><i>traceback</i></dt>
868 <dd> 874 <dd>
869 lines of traceback info (list of strings) 875 lines of traceback info (list of strings)
876 </dd><dt><i>id</i></dt>
877 <dd>
878 id of the test (string)
870 </dd> 879 </dd>
871 </dl><a NAME="DebugServer.clientUtTestSkipped" ID="DebugServer.clientUtTestSkipped"></a> 880 </dl><a NAME="DebugServer.clientUtTestSkipped" ID="DebugServer.clientUtTestSkipped"></a>
872 <h4>DebugServer.clientUtTestSkipped</h4> 881 <h4>DebugServer.clientUtTestSkipped</h4>
873 <b>clientUtTestSkipped</b>(<i>testname, reason</i>) 882 <b>clientUtTestSkipped</b>(<i>testname, reason, id</i>)
874 <p> 883 <p>
875 Public method to process the client test skipped info. 884 Public method to process the client test skipped info.
876 </p><dl> 885 </p><dl>
877 <dt><i>testname</i></dt> 886 <dt><i>testname</i></dt>
878 <dd> 887 <dd>
879 name of the test (string) 888 name of the test (string)
880 </dd><dt><i>reason</i></dt> 889 </dd><dt><i>reason</i></dt>
881 <dd> 890 <dd>
882 reason for skipping the test (string) 891 reason for skipping the test (string)
892 </dd><dt><i>id</i></dt>
893 <dd>
894 id of the test (string)
883 </dd> 895 </dd>
884 </dl><a NAME="DebugServer.clientUtTestSucceededUnexpected" ID="DebugServer.clientUtTestSucceededUnexpected"></a> 896 </dl><a NAME="DebugServer.clientUtTestSucceededUnexpected" ID="DebugServer.clientUtTestSucceededUnexpected"></a>
885 <h4>DebugServer.clientUtTestSucceededUnexpected</h4> 897 <h4>DebugServer.clientUtTestSucceededUnexpected</h4>
886 <b>clientUtTestSucceededUnexpected</b>(<i>testname</i>) 898 <b>clientUtTestSucceededUnexpected</b>(<i>testname, id</i>)
887 <p> 899 <p>
888 Public method to process the client test succeeded unexpected info. 900 Public method to process the client test succeeded unexpected info.
889 </p><dl> 901 </p><dl>
890 <dt><i>testname</i></dt> 902 <dt><i>testname</i></dt>
891 <dd> 903 <dd>
892 name of the test (string) 904 name of the test (string)
905 </dd><dt><i>id</i></dt>
906 <dd>
907 id of the test (string)
893 </dd> 908 </dd>
894 </dl><a NAME="DebugServer.getBreakPointModel" ID="DebugServer.getBreakPointModel"></a> 909 </dl><a NAME="DebugServer.getBreakPointModel" ID="DebugServer.getBreakPointModel"></a>
895 <h4>DebugServer.getBreakPointModel</h4> 910 <h4>DebugServer.getBreakPointModel</h4>
896 <b>getBreakPointModel</b>(<i></i>) 911 <b>getBreakPointModel</b>(<i></i>)
897 <p> 912 <p>
1346 <b>remoteThreadList</b>(<i></i>) 1361 <b>remoteThreadList</b>(<i></i>)
1347 <p> 1362 <p>
1348 Public method to request the list of threads from the client. 1363 Public method to request the list of threads from the client.
1349 </p><a NAME="DebugServer.remoteUTPrepare" ID="DebugServer.remoteUTPrepare"></a> 1364 </p><a NAME="DebugServer.remoteUTPrepare" ID="DebugServer.remoteUTPrepare"></a>
1350 <h4>DebugServer.remoteUTPrepare</h4> 1365 <h4>DebugServer.remoteUTPrepare</h4>
1351 <b>remoteUTPrepare</b>(<i>fn, tn, tfn, cov, covname, coverase, clientType=""</i>) 1366 <b>remoteUTPrepare</b>(<i>fn, tn, tfn, failed, cov, covname, coverase, clientType=""</i>)
1352 <p> 1367 <p>
1353 Public method to prepare a new unittest run. 1368 Public method to prepare a new unittest run.
1354 </p><dl> 1369 </p><dl>
1355 <dt><i>fn</i></dt> 1370 <dt><i>fn</i></dt>
1356 <dd> 1371 <dd>
1359 <dd> 1374 <dd>
1360 the testname to load (string) 1375 the testname to load (string)
1361 </dd><dt><i>tfn</i></dt> 1376 </dd><dt><i>tfn</i></dt>
1362 <dd> 1377 <dd>
1363 the test function name to load tests from (string) 1378 the test function name to load tests from (string)
1379 </dd><dt><i>failed</i></dt>
1380 <dd>
1381 list of failed test, if only failed test should be run
1382 (list of strings)
1364 </dd><dt><i>cov</i></dt> 1383 </dd><dt><i>cov</i></dt>
1365 <dd> 1384 <dd>
1366 flag indicating collection of coverage data is requested 1385 flag indicating collection of coverage data is requested (boolean)
1367 </dd><dt><i>covname</i></dt> 1386 </dd><dt><i>covname</i></dt>
1368 <dd> 1387 <dd>
1369 filename to be used to assemble the coverage caches 1388 filename to be used to assemble the coverage caches
1370 filename (string) 1389 filename (string)
1371 </dd><dt><i>coverase</i></dt> 1390 </dd><dt><i>coverase</i></dt>

eric ide

mercurial