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

Method testCombinedMoreFiles

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

Source from the content-addressed store, hash-verified

352 )
353
354 def testCombinedMoreFiles(self):
355 self.check(
356 outputs=[OutputLines(f'A → {GC}'), OutputLines(f'B → {SP}')],
357 expected_gc={GC: True, SP: True, 'A': True, 'B': True},
358 expected_gc_caused={'B': {SP}, 'A': {GC}, SP: {'<Safepoint>'},
359 GC: {'<GC>'}},
360 )
361 self.check(
362 outputs=[OutputLines(f'A → {GC}'), OutputLines(f'B → {SP}'),
363 OutputLines('C → D A B')],
364 expected_gc={GC: True, SP: True, 'A': True, 'B': True, 'C': True},
365 expected_gc_caused={'B': {SP}, 'A': {GC}, 'C': {'A', 'B'},
366 SP: {'<Safepoint>'}, GC: {'<GC>'}},
367 )
368
369 def testWriteGCMoleResults(self):
370 temp_dir = Path(tempfile.mkdtemp('gcmole_test'))

Callers

nothing calls this directly

Calls 2

checkMethod · 0.95
OutputLinesClass · 0.85

Tested by

no test coverage detected