Lines Matching refs:test

253     def isMatching(self, test):  argument
255 test.visit(finder)
259 def visit_test(self, test): argument
260 if self.isMatching(test):
261 self.tests_matching.append(test)
263 self.tests_not_matching.append(test)
319 self.tests_with_hotspots = [test.name for test in hotSpotTestFinder.tests_matching]
320 self.tests_without_hotspots = [test.name for test in hotSpotTestFinder.tests_not_matching]
525 def _has_renode_crashed(cls, test: ET.Element) -> bool:
529 status: ET.Element = test.find('status')
533 return any(cls.retry_suite_regex.search(msg.text) for msg in test.iter("msg"))
610 test = next(t for t in suite.tests if hasattr(t, 'name') and t.name == test_case)
611 requirements = [s.args[0] for s in test.body if hasattr(s, 'name') and s.name == 'Requires']
717 for test in suite.iter('test'):
718 if self._has_renode_crashed(test):
813 for test in suite.tests:
814 if not test.setup:
815 test.setup.config(name="Reset Emulation")
816 if not test.teardown:
817 test.teardown.config(name="Test Teardown")
820 if test.name in self.tests_with_unexpected_timeouts:
821 test.config(setup=None, teardown=None)
822 test.body.clear()
823test.body.create_keyword('Fail', ["Test timed out in a previous run and won't be retried."])
826 if 'test:retry' in test.tags:
827 test.tags.remove('test:retry')
828 test.tags.add('test:retry(0)')
832 if self.timeout_expected_tag in test.tags:
833 if not test.timeout:
838 if not test.timeout or Time(test.timeout).seconds >= options.timeout.seconds:
839 test.timeout = options.timeout.value
870 def _timeout_handler(test: robot.running.TestCase, result: robot.result.TestCase):
871 if self.timeout_expected_tag in test.tags:
878 self.tests_with_unexpected_timeouts = test.name
930 for test in suite.iter('test'):
932 if test.find("./tags/[tag='skipped']"):
938 status = test.find('status')
943 if self._has_renode_crashed(test):
961 for test in suite.iter('test'):
962 … status = test.find('status') # only finds immediate children - important requirement
964 test_name = test.attrib['name']
971 if test.find("./tags/[tag='skipped']"):
973 if test.find("./tags/[tag='non_critical']"):
1006 for test in suite.iter('test'):
1007 if test.find("./tags/[tag='skipped']"):
1009 … status = test.find('status') # only finds immediate children - important requirement
1067 for test in suite.iter('test'):
1068 test_name = test.attrib['name']
1070 if test.find("./tags/[tag='skipped']"):
1072 if test.find("./tags/[tag='non_critical']"):
1074 … status = test.find('status') # only finds immediate children - important requirement
1078 has_renode_crashed = cls._has_renode_crashed(test)