MCPcopy Create free account
hub / github.com/nodejs/node / _VerifyMock

Method _VerifyMock

deps/v8/tools/unittests/run_perf_test.py:255–262  ·  view source on GitHub ↗
(self, binary, *args, **kwargs)

Source from the content-addressed store, hash-verified

253 self.assertListEqual(errors, self._LoadResults()['errors'])
254
255 def _VerifyMock(self, binary, *args, **kwargs):
256 shell = os.path.join(os.path.dirname(TOOLS_ROOT), binary)
257 command.Command.assert_called_with(
258 cmd_prefix=[],
259 shell=shell,
260 args=list(args),
261 timeout=kwargs.get('timeout', 60),
262 handle_sigterm=True)
263
264 def _VerifyMockMultiple(self, *args, **kwargs):
265 self.assertEqual(len(args), len(command.Command.call_args_list))

Callers 15

testOneRunMethod · 0.95
testTwoRuns_SubRegexpMethod · 0.95
testBuildbotMethod · 0.95
testBuildbotWithTotalMethod · 0.95
testRegexpNoMatchMethod · 0.95

Calls 3

getMethod · 0.65
listFunction · 0.50
joinMethod · 0.45

Tested by

no test coverage detected