The test suite specific result. The _inner_results list stores results of test cases in a given test suite. Also stores the test suite name.
| 174 | |
| 175 | |
| 176 | class TestSuiteResult(BaseResult): |
| 177 | """ |
| 178 | The test suite specific result. |
| 179 | The _inner_results list stores results of test cases in a given test suite. |
| 180 | Also stores the test suite name. |
| 181 | """ |
| 182 | |
| 183 | suite_name: str |
| 184 | |
| 185 | def __init__(self, suite_name: str): |
| 186 | super(TestSuiteResult, self).__init__() |
| 187 | self.suite_name = suite_name |
| 188 | |
| 189 | def add_test_case(self, test_case_name: str) -> TestCaseResult: |
| 190 | test_case_result = TestCaseResult(test_case_name) |
| 191 | self._inner_results.append(test_case_result) |
| 192 | return test_case_result |
| 193 | |
| 194 | |
| 195 | class BuildTargetResult(BaseResult): |