class Test::Unit::AutoRunner::StopOnFailureListener
公共实例方法
attach_to_mediator(mediator) 点击以切换源代码
# File test-unit-3.6.7/lib/test/unit/autorunner.rb, line 603 def attach_to_mediator(mediator) mediator.add_listener(TestResult::FINISHED) do |result| result.stop unless result.passed? end end