MCPcopy Index your code
hub / github.com/nodejs/node / _WriteTestInput

Method _WriteTestInput

deps/v8/tools/unittests/run_perf_test.py:161–164  ·  view source on GitHub ↗
(self, json_content)

Source from the content-addressed store, hash-verified

159 shutil.rmtree(TEST_WORKSPACE)
160
161 def _WriteTestInput(self, json_content):
162 self._test_input = os.path.join(TEST_WORKSPACE, 'test.json')
163 with open(self._test_input, 'w') as f:
164 f.write(json.dumps(json_content))
165
166 def _MockCommand(self, raw_dirs, raw_outputs, *args, **kwargs):
167 on_bots = kwargs.pop('on_bots', False)

Callers 15

testOneRunMethod · 0.95
testWarmup_OnEmptyMethod · 0.95
testWarmup_NotNeededMethod · 0.95
testWarmup_NeededMethod · 0.95
testOneRunVariantsMethod · 0.95
testTwoRuns_SubRegexpMethod · 0.95
testNestedSuiteMethod · 0.95

Calls 3

openFunction · 0.50
joinMethod · 0.45
writeMethod · 0.45

Tested by

no test coverage detected