src/eric7/Documentation/Source/eric7.Testing.TestResultsTree.html

branch
eric7
changeset 10479
856476537696
parent 10431
64157aeb0312
child 11000
f8371a2dd08f
--- a/src/eric7/Documentation/Source/eric7.Testing.TestResultsTree.html	Thu Jan 04 17:16:15 2024 +0100
+++ b/src/eric7/Documentation/Source/eric7.Testing.TestResultsTree.html	Thu Jan 04 18:02:25 2024 +0100
@@ -7,20 +7,18 @@
 <body>
 <a NAME="top" ID="top"></a>
 <h1>eric7.Testing.TestResultsTree</h1>
-
 <p>
 Module implementing a tree view and associated model to show the test result
 data.
 </p>
+
 <h3>Global Attributes</h3>
-
 <table>
 <tr><td>TopLevelId</td></tr>
 </table>
+
 <h3>Classes</h3>
-
 <table>
-
 <tr>
 <td><a href="#TestResultsFilterModel">TestResultsFilterModel</a></td>
 <td>Class implementing a filter model to filter the test results by status.</td>
@@ -34,35 +32,34 @@
 <td>Class implementing a tree view to show the test result data.</td>
 </tr>
 </table>
+
 <h3>Functions</h3>
-
 <table>
 <tr><td>None</td></tr>
 </table>
+
 <hr />
 <hr />
 <a NAME="TestResultsFilterModel" ID="TestResultsFilterModel"></a>
 <h2>TestResultsFilterModel</h2>
-
 <p>
     Class implementing a filter model to filter the test results by status.
 </p>
+
 <h3>Derived from</h3>
 QSortFilterProxyModel
 <h3>Class Attributes</h3>
-
 <table>
 <tr><td>None</td></tr>
 </table>
+
 <h3>Class Methods</h3>
-
 <table>
 <tr><td>None</td></tr>
 </table>
+
 <h3>Methods</h3>
-
 <table>
-
 <tr>
 <td><a href="#TestResultsFilterModel.__init__">TestResultsFilterModel</a></td>
 <td>Constructor</td>
@@ -76,19 +73,20 @@
 <td>Public method to set the status filter string.</td>
 </tr>
 </table>
+
 <h3>Static Methods</h3>
-
 <table>
 <tr><td>None</td></tr>
 </table>
 
+
 <a NAME="TestResultsFilterModel.__init__" ID="TestResultsFilterModel.__init__"></a>
 <h4>TestResultsFilterModel (Constructor)</h4>
 <b>TestResultsFilterModel</b>(<i>parent=None</i>)
-
 <p>
         Constructor
 </p>
+
 <dl>
 
 <dt><i>parent</i> (QObject)</dt>
@@ -99,10 +97,10 @@
 <a NAME="TestResultsFilterModel.filterAcceptsRow" ID="TestResultsFilterModel.filterAcceptsRow"></a>
 <h4>TestResultsFilterModel.filterAcceptsRow</h4>
 <b>filterAcceptsRow</b>(<i>sourceRow, sourceParent</i>)
-
 <p>
         Public method to determine, if the row is acceptable.
 </p>
+
 <dl>
 
 <dt><i>sourceRow</i> (int)</dt>
@@ -129,10 +127,10 @@
 <a NAME="TestResultsFilterModel.setStatusFilterString" ID="TestResultsFilterModel.setStatusFilterString"></a>
 <h4>TestResultsFilterModel.setStatusFilterString</h4>
 <b>setStatusFilterString</b>(<i>filterString</i>)
-
 <p>
         Public method to set the status filter string.
 </p>
+
 <dl>
 
 <dt><i>filterString</i> (str)</dt>
@@ -145,10 +143,10 @@
 <hr />
 <a NAME="TestResultsModel" ID="TestResultsModel"></a>
 <h2>TestResultsModel</h2>
-
 <p>
     Class implementing the item model containing the test data.
 </p>
+
 <h3>Signals</h3>
 <dl>
 
@@ -161,19 +159,21 @@
 <h3>Derived from</h3>
 QAbstractItemModel
 <h3>Class Attributes</h3>
+<table>
+<tr><td>DurationColumn</td></tr>
+<tr><td>Headers</td></tr>
+<tr><td>MessageColumn</td></tr>
+<tr><td>NameColumn</td></tr>
+<tr><td>StatusColumn</td></tr>
+</table>
 
-<table>
-<tr><td>DurationColumn</td></tr><tr><td>Headers</td></tr><tr><td>MessageColumn</td></tr><tr><td>NameColumn</td></tr><tr><td>StatusColumn</td></tr>
-</table>
 <h3>Class Methods</h3>
-
 <table>
 <tr><td>None</td></tr>
 </table>
+
 <h3>Methods</h3>
-
 <table>
-
 <tr>
 <td><a href="#TestResultsModel.__init__">TestResultsModel</a></td>
 <td>Constructor</td>
@@ -243,19 +243,20 @@
 <td>Public method to update the data of managed test result items.</td>
 </tr>
 </table>
+
 <h3>Static Methods</h3>
-
 <table>
 <tr><td>None</td></tr>
 </table>
 
+
 <a NAME="TestResultsModel.__init__" ID="TestResultsModel.__init__"></a>
 <h4>TestResultsModel (Constructor)</h4>
 <b>TestResultsModel</b>(<i>parent=None</i>)
-
 <p>
         Constructor
 </p>
+
 <dl>
 
 <dt><i>parent</i> (QObject (optional))</dt>
@@ -266,10 +267,10 @@
 <a NAME="TestResultsModel.__summary" ID="TestResultsModel.__summary"></a>
 <h4>TestResultsModel.__summary</h4>
 <b>__summary</b>(<i></i>)
-
 <p>
         Private method to generate a test results summary text.
 </p>
+
 <dl>
 <dt>Return:</dt>
 <dd>
@@ -285,11 +286,11 @@
 <a NAME="TestResultsModel.addTestResults" ID="TestResultsModel.addTestResults"></a>
 <h4>TestResultsModel.addTestResults</h4>
 <b>addTestResults</b>(<i>testResults</i>)
-
 <p>
         Public method to add test results to the ones already managed by the
         model.
 </p>
+
 <dl>
 
 <dt><i>testResults</i> (list of TestResult)</dt>
@@ -300,17 +301,17 @@
 <a NAME="TestResultsModel.clear" ID="TestResultsModel.clear"></a>
 <h4>TestResultsModel.clear</h4>
 <b>clear</b>(<i></i>)
-
 <p>
         Public method to clear the model data.
 </p>
+
 <a NAME="TestResultsModel.columnCount" ID="TestResultsModel.columnCount"></a>
 <h4>TestResultsModel.columnCount</h4>
 <b>columnCount</b>(<i>parent=QModelIndex()</i>)
-
 <p>
         Public method to get the number of columns.
 </p>
+
 <dl>
 
 <dt><i>parent</i> (QModelIndex (optional))</dt>
@@ -333,10 +334,10 @@
 <a NAME="TestResultsModel.data" ID="TestResultsModel.data"></a>
 <h4>TestResultsModel.data</h4>
 <b>data</b>(<i>index, role</i>)
-
 <p>
         Public method to get the data for the various columns and roles.
 </p>
+
 <dl>
 
 <dt><i>index</i> (QModelIndex)</dt>
@@ -363,10 +364,10 @@
 <a NAME="TestResultsModel.durationKey" ID="TestResultsModel.durationKey"></a>
 <h4>TestResultsModel.durationKey</h4>
 <b>durationKey</b>(<i></i>)
-
 <p>
             Function to generate a key for duration sorting
 </p>
+
 <dl>
 
 <dt><i>result</i> (TestResult)</dt>
@@ -389,10 +390,10 @@
 <a NAME="TestResultsModel.getFailedTests" ID="TestResultsModel.getFailedTests"></a>
 <h4>TestResultsModel.getFailedTests</h4>
 <b>getFailedTests</b>(<i></i>)
-
 <p>
         Public method to extract the test ids of all failed tests.
 </p>
+
 <dl>
 <dt>Return:</dt>
 <dd>
@@ -408,10 +409,10 @@
 <a NAME="TestResultsModel.getStatusFilterList" ID="TestResultsModel.getStatusFilterList"></a>
 <h4>TestResultsModel.getStatusFilterList</h4>
 <b>getStatusFilterList</b>(<i></i>)
-
 <p>
         Public method to get a list of the unique test result status.
 </p>
+
 <dl>
 <dt>Return:</dt>
 <dd>
@@ -427,10 +428,10 @@
 <a NAME="TestResultsModel.getTestResults" ID="TestResultsModel.getTestResults"></a>
 <h4>TestResultsModel.getTestResults</h4>
 <b>getTestResults</b>(<i></i>)
-
 <p>
         Public method to get the list of test results managed by the model.
 </p>
+
 <dl>
 <dt>Return:</dt>
 <dd>
@@ -446,10 +447,10 @@
 <a NAME="TestResultsModel.headerData" ID="TestResultsModel.headerData"></a>
 <h4>TestResultsModel.headerData</h4>
 <b>headerData</b>(<i>section, orientation, role=Qt.ItemDataRole.DisplayRole</i>)
-
 <p>
         Public method to get the header string for the various sections.
 </p>
+
 <dl>
 
 <dt><i>section</i> (int)</dt>
@@ -480,11 +481,11 @@
 <a NAME="TestResultsModel.index" ID="TestResultsModel.index"></a>
 <h4>TestResultsModel.index</h4>
 <b>index</b>(<i>row, column, parent=QModelIndex()</i>)
-
 <p>
         Public method to generate an index for the given row and column to
         identify the item.
 </p>
+
 <dl>
 
 <dt><i>row</i> (int)</dt>
@@ -515,10 +516,10 @@
 <a NAME="TestResultsModel.parent" ID="TestResultsModel.parent"></a>
 <h4>TestResultsModel.parent</h4>
 <b>parent</b>(<i>index</i>)
-
 <p>
         Public method to get the parent of the item pointed to by index.
 </p>
+
 <dl>
 
 <dt><i>index</i> (QModelIndex)</dt>
@@ -541,10 +542,10 @@
 <a NAME="TestResultsModel.rowCount" ID="TestResultsModel.rowCount"></a>
 <h4>TestResultsModel.rowCount</h4>
 <b>rowCount</b>(<i>parent=QModelIndex()</i>)
-
 <p>
         Public method to get the number of row for a given parent index.
 </p>
+
 <dl>
 
 <dt><i>parent</i> (QModelIndex (optional))</dt>
@@ -567,10 +568,10 @@
 <a NAME="TestResultsModel.setTestResults" ID="TestResultsModel.setTestResults"></a>
 <h4>TestResultsModel.setTestResults</h4>
 <b>setTestResults</b>(<i>testResults</i>)
-
 <p>
         Public method to set the list of test results of the model.
 </p>
+
 <dl>
 
 <dt><i>testResults</i> (list of TestResult)</dt>
@@ -581,10 +582,10 @@
 <a NAME="TestResultsModel.sort" ID="TestResultsModel.sort"></a>
 <h4>TestResultsModel.sort</h4>
 <b>sort</b>(<i>column, order</i>)
-
 <p>
         Public method to sort the model data by column in order.
 </p>
+
 <dl>
 
 <dt><i>column</i> (int)</dt>
@@ -599,10 +600,10 @@
 <a NAME="TestResultsModel.updateTestResults" ID="TestResultsModel.updateTestResults"></a>
 <h4>TestResultsModel.updateTestResults</h4>
 <b>updateTestResults</b>(<i>testResults</i>)
-
 <p>
         Public method to update the data of managed test result items.
 </p>
+
 <dl>
 
 <dt><i>testResults</i> (list of TestResult)</dt>
@@ -615,10 +616,10 @@
 <hr />
 <a NAME="TestResultsTreeView" ID="TestResultsTreeView"></a>
 <h2>TestResultsTreeView</h2>
-
 <p>
     Class implementing a tree view to show the test result data.
 </p>
+
 <h3>Signals</h3>
 <dl>
 
@@ -631,19 +632,17 @@
 <h3>Derived from</h3>
 QTreeView
 <h3>Class Attributes</h3>
-
 <table>
 <tr><td>None</td></tr>
 </table>
+
 <h3>Class Methods</h3>
-
 <table>
 <tr><td>None</td></tr>
 </table>
+
 <h3>Methods</h3>
-
 <table>
-
 <tr>
 <td><a href="#TestResultsTreeView.__init__">TestResultsTreeView</a></td>
 <td>Constructor</td>
@@ -689,19 +688,20 @@
 <td>Public method to make the first column span the row for second level items.</td>
 </tr>
 </table>
+
 <h3>Static Methods</h3>
-
 <table>
 <tr><td>None</td></tr>
 </table>
 
+
 <a NAME="TestResultsTreeView.__init__" ID="TestResultsTreeView.__init__"></a>
 <h4>TestResultsTreeView (Constructor)</h4>
 <b>TestResultsTreeView</b>(<i>parent=None</i>)
-
 <p>
         Constructor
 </p>
+
 <dl>
 
 <dt><i>parent</i> (QWidget (optional))</dt>
@@ -712,7 +712,6 @@
 <a NAME="TestResultsTreeView.__canonicalIndex" ID="TestResultsTreeView.__canonicalIndex"></a>
 <h4>TestResultsTreeView.__canonicalIndex</h4>
 <b>__canonicalIndex</b>(<i>index</i>)
-
 <p>
         Private method to create the canonical index for a given index.
 </p>
@@ -721,6 +720,7 @@
         result entry (i.e. the top-level item). If the index is invalid,
         None is returned.
 </p>
+
 <dl>
 
 <dt><i>index</i> (QModelIndex)</dt>
@@ -743,10 +743,10 @@
 <a NAME="TestResultsTreeView.__createBackgroundContextMenu" ID="TestResultsTreeView.__createBackgroundContextMenu"></a>
 <h4>TestResultsTreeView.__createBackgroundContextMenu</h4>
 <b>__createBackgroundContextMenu</b>(<i></i>)
-
 <p>
         Private method to create a context menu for the background.
 </p>
+
 <dl>
 <dt>Return:</dt>
 <dd>
@@ -762,11 +762,11 @@
 <a NAME="TestResultsTreeView.__createContextMenu" ID="TestResultsTreeView.__createContextMenu"></a>
 <h4>TestResultsTreeView.__createContextMenu</h4>
 <b>__createContextMenu</b>(<i>index</i>)
-
 <p>
         Private method to create a context menu for the item pointed to by the
         given index.
 </p>
+
 <dl>
 
 <dt><i>index</i> (QModelIndex)</dt>
@@ -789,10 +789,10 @@
 <a NAME="TestResultsTreeView.__gotoTestDefinition" ID="TestResultsTreeView.__gotoTestDefinition"></a>
 <h4>TestResultsTreeView.__gotoTestDefinition</h4>
 <b>__gotoTestDefinition</b>(<i>index</i>)
-
 <p>
         Private slot to show the test definition.
 </p>
+
 <dl>
 
 <dt><i>index</i> (QModelIndex)</dt>
@@ -803,10 +803,10 @@
 <a NAME="TestResultsTreeView.__showContextMenu" ID="TestResultsTreeView.__showContextMenu"></a>
 <h4>TestResultsTreeView.__showContextMenu</h4>
 <b>__showContextMenu</b>(<i>pos</i>)
-
 <p>
         Private slot to show the context menu.
 </p>
+
 <dl>
 
 <dt><i>pos</i> (QPoint)</dt>
@@ -817,10 +817,10 @@
 <a NAME="TestResultsTreeView.dataChanged" ID="TestResultsTreeView.dataChanged"></a>
 <h4>TestResultsTreeView.dataChanged</h4>
 <b>dataChanged</b>(<i>topLeft, bottomRight, roles=[]</i>)
-
 <p>
         Public method called when the model data has changed.
 </p>
+
 <dl>
 
 <dt><i>topLeft</i> (QModelIndex)</dt>
@@ -839,24 +839,24 @@
 <a NAME="TestResultsTreeView.reset" ID="TestResultsTreeView.reset"></a>
 <h4>TestResultsTreeView.reset</h4>
 <b>reset</b>(<i></i>)
-
 <p>
         Public method to reset the internal state of the view.
 </p>
+
 <a NAME="TestResultsTreeView.resizeColumns" ID="TestResultsTreeView.resizeColumns"></a>
 <h4>TestResultsTreeView.resizeColumns</h4>
 <b>resizeColumns</b>(<i></i>)
-
 <p>
         Public method to resize the columns to their contents.
 </p>
+
 <a NAME="TestResultsTreeView.rowsInserted" ID="TestResultsTreeView.rowsInserted"></a>
 <h4>TestResultsTreeView.rowsInserted</h4>
 <b>rowsInserted</b>(<i>parent, startRow, endRow</i>)
-
 <p>
         Public method called when rows are inserted.
 </p>
+
 <dl>
 
 <dt><i>parent</i> (QModelIndex)</dt>
@@ -875,7 +875,6 @@
 <a NAME="TestResultsTreeView.spanFirstColumn" ID="TestResultsTreeView.spanFirstColumn"></a>
 <h4>TestResultsTreeView.spanFirstColumn</h4>
 <b>spanFirstColumn</b>(<i>startRow, endRow</i>)
-
 <p>
         Public method to make the first column span the row for second level
         items.
@@ -883,6 +882,7 @@
 <p>
         These items contain the test results.
 </p>
+
 <dl>
 
 <dt><i>startRow</i> (QModelIndex)</dt>
@@ -896,4 +896,4 @@
 </dl>
 <div align="right"><a href="#top">Up</a></div>
 <hr />
-</body></html>
\ No newline at end of file
+</body></html>

eric ide

mercurial