def stopTest(self, result, device): """ Signals stop of execution of a test. """ TestResultChannel.stopTest(self, result, device) if self.isEnabled(): self._console.stopTest(result, device)
def stopTest(self, result, device): ''' Processes a test stop execution for the summary channel. ''' TestResultChannel.stopTest(self, result, device) if isinstance(result, TestCaseResult): self._counters[STATUS_NOT_COMPLETED] -= 1 self._counters[device.status] += 1 self._counters[_STOP_STAMP] = time.time() if device.cores: self._counters[COUNTER_CORE_DUMPS] += len(device.cores)
def stopTest(self, result, device): ''' Processes a test stop execution for the summary channel. ''' TestResultChannel.stopTest(self, result, device) if isinstance(result, TestCaseResult): self._counters[STATUS_NOT_COMPLETED] -= 1 self._counters[device.status] += 1 self._counters[_STOP_STAMP] = time.time() if device.cores: self._counters[COUNTER_CORE_DUMPS] += len(device.cores)
def stopTest(self, result, device): ''' Processes a test stop execution for the stream channel. ''' TestResultChannel.stopTest(self, result, device) formatters = (self._verboseFormats if self.isVerbose() else self._simpleFormats) self.write(self._format(result, formatters["stop"], formatters, self._deviceAttrs(device))) self.write(self._formatResult(result, formatters, self._deviceAttrs(device))) self.write(self._format(device.cores, formatters["cores"], formatters, self._basicAttrs(device))) self.write(self._format(device.errors, formatters["errors"], formatters, self._basicAttrs(device)))
def stopTest(self, result, device): ''' Signals stop of execution of a test. ''' TestResultChannel.stopTest(self, result, device) self._result.stopTest(result, device)
def stopTest(self, result, device): ''' Signals stop of execution of a test. ''' TestResultChannel.stopTest(self, result, device) self._result.stopTest(result, device)