src/eric7/Testing/TestingWidget.py

branch
eric7
changeset 10692
9becf9ca115c
parent 10683
779cda568acb
child 10694
f46c1e224e8a
child 10766
d35d6f96c24b
equal deleted inserted replaced
10691:d1a603a70f83 10692:9becf9ca115c
683 683
684 self.raise_() 684 self.raise_()
685 self.activateWindow() 685 self.activateWindow()
686 686
687 @pyqtSlot(bool) 687 @pyqtSlot(bool)
688 def on_discoverCheckBox_toggled(self, checked): 688 def on_discoverCheckBox_toggled(self, _checked):
689 """ 689 """
690 Private slot handling state changes of the 'discover' checkbox. 690 Private slot handling state changes of the 'discover' checkbox.
691 691
692 @param checked state of the checkbox 692 @param _checked state of the checkbox (unused)
693 @type bool 693 @type bool
694 """ 694 """
695 if not bool(self.discoveryPicker.currentText()): 695 if not bool(self.discoveryPicker.currentText()):
696 if self.__project and self.__project.isOpen(): 696 if self.__project and self.__project.isOpen():
697 self.__insertDiscovery(self.__project.getProjectPath()) 697 self.__insertDiscovery(self.__project.getProjectPath())
1168 self.__updateProgress() 1168 self.__updateProgress()
1169 1169
1170 self.__resultsModel.updateTestResults([result]) 1170 self.__resultsModel.updateTestResults([result])
1171 1171
1172 @pyqtSlot(list, str) 1172 @pyqtSlot(list, str)
1173 def __testProcessFinished(self, results, output): 1173 def __testProcessFinished(self, _results, output):
1174 """ 1174 """
1175 Private slot to handle the 'testFinished' signal of the executor. 1175 Private slot to handle the 'testFinished' signal of the executor.
1176 1176
1177 @param results list of test result objects (if not sent via the 1177 @param _results list of test result objects (if not sent via the
1178 'testResult' signal 1178 'testResult' signal) (unused)
1179 @type list of TestResult 1179 @type list of TestResult
1180 @param output string containing the test process output (if any) 1180 @param output string containing the test process output (if any)
1181 @type str 1181 @type str
1182 """ 1182 """
1183 self.__recentLog = output 1183 self.__recentLog = output
1615 self.__cw.buttonBox.accepted.connect(self.close) 1615 self.__cw.buttonBox.accepted.connect(self.close)
1616 self.__cw.buttonBox.rejected.connect(self.close) 1616 self.__cw.buttonBox.rejected.connect(self.close)
1617 1617
1618 self.__cw.setTestFile(testfile) 1618 self.__cw.setTestFile(testfile)
1619 1619
1620 def eventFilter(self, obj, event): 1620 def eventFilter(self, _obj, event):
1621 """ 1621 """
1622 Public method to filter events. 1622 Public method to filter events.
1623 1623
1624 @param obj reference to the object the event is meant for 1624 @param _obj reference to the object the event is meant for (unused)
1625 @type QObject 1625 @type QObject
1626 @param event reference to the event object 1626 @param event reference to the event object
1627 @type QEvent 1627 @type QEvent
1628 @return flag indicating, whether the event was handled 1628 @return flag indicating, whether the event was handled
1629 @rtype bool 1629 @rtype bool

eric ide

mercurial