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

Method testCombinedOneFile

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

Source from the content-addressed store, hash-verified

333 )
334
335 def testCombinedOneFile(self):
336 self.check(
337 outputs=[OutputLines(f'{GC} →', f'{SP} →')],
338 expected_gc={SP: True, GC: True},
339 expected_gc_caused={SP: {'<Safepoint>'}, GC: {'<GC>'}},
340 )
341 self.check(
342 outputs=[OutputLines(f'A → {GC}', f'B → {SP}')],
343 expected_gc={GC: True, SP: True, 'A': True, 'B': True},
344 expected_gc_caused={'B': {SP}, 'A': {GC}, SP: {'<Safepoint>'},
345 GC: {'<GC>'}},
346 )
347 self.check(
348 outputs=[OutputLines(f'A → {GC}', f'B → {SP}', 'C → D A B')],
349 expected_gc={GC: True, SP: True, 'A': True, 'B': True, 'C': True},
350 expected_gc_caused={'B': {SP}, 'A': {GC}, 'C': {'A', 'B'},
351 SP: {'<Safepoint>'}, GC: {'<GC>'}},
352 )
353
354 def testCombinedMoreFiles(self):
355 self.check(

Callers

nothing calls this directly

Calls 2

checkMethod · 0.95
OutputLinesClass · 0.85

Tested by

no test coverage detected