Lines Matching refs:result

718         def run(self, result=None):
720 if result is None:
721 result = self.defaultTestResult()
723 result.startTest(self)
725 if getattr(result, "coverage", None) is not None:
726 self.coverage_cmd, self.coverage_env = result.coverage
747 result.addError(self, sys.exc_info())
756 result.addFailure(self, sys.exc_info())
761 result.addSkip(self, err)
764 result.addError(self, sys.exc_info())
775 result.addError(self, sys.exc_info())
786 result.addSuccess(self)
788 result.stopTest(self)
1320 # but iff the result disagrees with the baseline.
1391 # but iff the result disagrees with the baseline.
1453 # but iff the result disagrees with the baseline.
1470 res += "# As a result, all test cases in this class will " \
1471 "result in errors!\n#\n"
1544 """Construct a test result for use in the parallel test suite."""
1589 result = q_makeResult(buf, o, b, bail_on_fail,
1592 test_suite.run(result)
1595 otw = result.collapse()
1615 against a result baseline."""
1719 def _do_timings(self, result, time_estimates):
1724 for (sname, cname, mname), secs in result.timing:
1824 def test_done_display(self, result, all_tests, finished_tests,
1841 total_tests, result.testsRun, len(result.errors),
1842 len(result.failures), len(result.skips)),
1940 result = _CombinedResult()
1948 return result
1989 result.combine(partial_result)
1998 self.test_done_display(result,
2007 (result.errors or result.failures):
2037 result.stream = self.stream
2041 run = result.testsRun
2044 result.printErrors()
2046 result.separator2 + "\n")
2050 timeTaken, len(result.skips)))
2052 if result.wasSkipped() and \
2056 for test,reason in result.skips:
2061 if not result.wasSuccessful():
2063 success = result.num_successes
2064 mismatches = result.mismatches
2066 (result.failures, result.errors))
2077 self._do_timings(result, time_estimates)
2083 return result
2120 def run(self, result):
2167 if result.coverage:
2168 inst.coverage_cmd, inst.coverage_env = result.coverage
2177 result.addPersistentSetupError(inst, sys.exc_info())
2189 if result.shouldStop:
2222 rtest(result)
2242 result.addPersistentTeardownError(inst, sys.exc_info())
2779 published as a result of the commands executed will be
3655 def run(self, result=None):
3656 if result is None:
3657 result = self.defaultTestResult()
3658 CliTestCase.run(self, result)
4481 def debugresult(self, result, expected, msg):
4483 self.__tc.debugresult(result, expected, msg)
4488 # been registered can result in it not getting cleaned
4505 # self.stop() in the face of a False result from