Lines Matching refs:outcome
606 outcome = _Outcome(result)
608 self._outcome = outcome
610 with outcome.testPartExecutor(self):
612 if outcome.success:
613 outcome.expecting_failure = expecting_failure
614 with outcome.testPartExecutor(self, isTest=True):
616 outcome.expecting_failure = False
617 with outcome.testPartExecutor(self):
621 for test, reason in outcome.skipped:
623 self._feedErrorsToResult(result, outcome.errors)
624 if outcome.success:
626 if outcome.expectedFailure:
627 self._addExpectedFailure(result, outcome.expectedFailure)
643 outcome.errors.clear()
644 outcome.expectedFailure = None
652 outcome = self._outcome or _Outcome()
655 with outcome.testPartExecutor(self):
660 return outcome.success