(self, *args)
| 213 | platform.system = mock.MagicMock(return_value='Linux') |
| 214 | |
| 215 | def _CallMain(self, *args): |
| 216 | self._test_output = os.path.join(TEST_WORKSPACE, 'results.json') |
| 217 | all_args=[ |
| 218 | '--json-test-results', |
| 219 | self._test_output, |
| 220 | self._test_input, |
| 221 | ] |
| 222 | all_args += args |
| 223 | return run_perf.Main(all_args) |
| 224 | |
| 225 | def _LoadResults(self, file_name=None): |
| 226 | with open(file_name or self._test_output) as f: |
no test coverage detected