Lines Matching refs:TestStatus
41 self.status = TestStatus.TEST_CRASHED
64 return self.status in (TestStatus.SUCCESS, TestStatus.SKIPPED)
66 class TestStatus(Enum): class
118 def get_status(self) -> TestStatus:
123 return TestStatus.NO_TESTS
126 return TestStatus.TEST_CRASHED
128 return TestStatus.FAILURE
131 return TestStatus.SUCCESS
133 return TestStatus.SKIPPED
135 def add_status(self, status: TestStatus) -> None: argument
137 if status == TestStatus.SUCCESS:
139 elif status == TestStatus.FAILURE:
141 elif status == TestStatus.SKIPPED:
143 elif status != TestStatus.NO_TESTS:
428 test.status = TestStatus.SKIPPED
430 test.status = TestStatus.SUCCESS
432 test.status = TestStatus.FAILURE
532 if test.status == TestStatus.SUCCESS:
534 if test.status == TestStatus.SKIPPED:
536 if test.status == TestStatus.NO_TESTS:
538 if test.status == TestStatus.TEST_CRASHED:
618 if test.status == TestStatus.SUCCESS:
620 elif test.status in (TestStatus.SKIPPED, TestStatus.NO_TESTS):
654 elif test.counts.get_status() == TestStatus.TEST_CRASHED:
655 test.status = TestStatus.TEST_CRASHED
762 TestStatus.TEST_CRASHED)
784 if test.status in (TestStatus.TEST_CRASHED, TestStatus.SUCCESS):
786 test.status = TestStatus.NO_TESTS
816 test.status = TestStatus.FAILURE_TO_PARSE_TESTS
819 if test.status != TestStatus.NO_TESTS: