Home | History | Annotate | Download | only in bot

Lines Matching refs:results

34     def _can_trust_results(self, results):
35 if not results or not results.failure_limit_count():
37 return len(results.failing_tests()) != 0 and len(results.failing_tests()) != results.failure_limit_count()
39 def failures_were_expected(self, results):
40 if not self._can_trust_results(results):
42 return set(results.failing_tests()) <= self._failures
44 def shrink_expected_failures(self, results, run_success):
47 elif self._can_trust_results(results):
48 # Remove all expected failures which are not in the new failing results.
49 self._failures.intersection_update(set(results.failing_tests()))
51 def grow_expected_failures(self, results):
52 if not self._can_trust_results(results):
54 self._failures.update(results.failing_tests())