class Test::Unit::AutoRunner::GCStressListener
公共实例方法
attach_to_mediator(mediator) 点击切换源代码
# File test-unit-3.6.7/lib/test/unit/autorunner.rb, line 611 def attach_to_mediator(mediator) mediator.add_listener(TestCase::STARTED) do |test| GC.start GC.stress = true end mediator.add_listener(TestCase::FINISHED) do |test| GC.start GC.stress = false end end