PyUnit/UnittestDialog.py

changeset 481
ad71812ba395
parent 464
a2b1d1770ef0
child 500
c3abc7895a01
equal deleted inserted replaced
480:793552e39173 481:ad71812ba395
93 self.rx1 = self.trUtf8("^Failure: ") 93 self.rx1 = self.trUtf8("^Failure: ")
94 self.rx2 = self.trUtf8("^Error: ") 94 self.rx2 = self.trUtf8("^Error: ")
95 95
96 # now connect the debug server signals if called from the eric5 IDE 96 # now connect the debug server signals if called from the eric5 IDE
97 if self.dbs: 97 if self.dbs:
98 self.connect(self.dbs, SIGNAL('utPrepared'), 98 self.dbs.utPrepared.connect(self.__UTPrepared)
99 self.__UTPrepared) 99 self.dbs.utFinished.connect(self.__setStoppedMode)
100 self.connect(self.dbs, SIGNAL('utFinished'), 100 self.dbs.utStartTest.connect(self.testStarted)
101 self.__setStoppedMode) 101 self.dbs.utStopTest.connect(self.testFinished)
102 self.connect(self.dbs, SIGNAL('utStartTest'), 102 self.dbs.utTestFailed.connect(self.testFailed)
103 self.testStarted) 103 self.dbs.utTestErrored.connect(self.testErrored)
104 self.connect(self.dbs, SIGNAL('utStopTest'),
105 self.testFinished)
106 self.connect(self.dbs, SIGNAL('utTestFailed'),
107 self.testFailed)
108 self.connect(self.dbs, SIGNAL('utTestErrored'),
109 self.testErrored)
110 104
111 def __setProgressColor(self, color): 105 def __setProgressColor(self, color):
112 """ 106 """
113 Private methode to set the color of the progress color label. 107 Private methode to set the color of the progress color label.
114 108

eric ide

mercurial