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

Method testAllowListOneFile

deps/v8/tools/gcmole/gcmole_test.py:305–321  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

303 )
304
305 def testAllowListOneFile(self):
306 self.check(
307 outputs=[OutputLines(f'{WF} →')],
308 expected_gc={WF: False},
309 expected_gc_caused={},
310 )
311 self.check(
312 outputs=[OutputLines(f'{WF} → {GC}')],
313 expected_gc={GC: True, WF: False},
314 expected_gc_caused={WF: {GC}, GC: {'<GC>'}},
315 )
316 self.check(
317 outputs=[OutputLines(f'A → {GC}', f'{WF} → A B', 'D → A B',
318 f'E → {WF}')],
319 expected_gc={GC: True, WF: False, 'A': True, 'D': True},
320 expected_gc_caused={'A': {GC}, WF: {'A'}, 'D': {'A'}, GC: {'<GC>'}},
321 )
322
323 def testSafepointOneFile(self):
324 self.check(

Callers

nothing calls this directly

Calls 2

checkMethod · 0.95
OutputLinesClass · 0.85

Tested by

no test coverage detected