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

Method _VerifyMockMultiple

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

Source from the content-addressed store, hash-verified

262 handle_sigterm=True)
263
264 def _VerifyMockMultiple(self, *args, **kwargs):
265 self.assertEqual(len(args), len(command.Command.call_args_list))
266 for arg, actual in zip(args, command.Command.call_args_list):
267 expected = {
268 'cmd_prefix': [],
269 'shell': os.path.join(os.path.dirname(TOOLS_ROOT), arg[0]),
270 'args': list(arg[1:]),
271 'timeout': kwargs.get('timeout', 60),
272 'handle_sigterm': True,
273 }
274 self.assertTupleEqual((expected, ), actual)
275
276 def testOneRun(self):
277 self._WriteTestInput(V8_JSON)

Callers 4

testOneRunVariantsMethod · 0.95
testNestedSuiteMethod · 0.95
testTwoRuns_TrybotMethod · 0.95

Calls 4

zipFunction · 0.85
getMethod · 0.65
listFunction · 0.50
joinMethod · 0.45

Tested by

no test coverage detected