Module: Test::Unit::ErrorHandler

Included in:
TestCase
Defined in:
lib/test/unit/error.rb

Constant Summary collapse

NOT_PASS_THROUGH_EXCEPTIONS =
[]
NOT_PASS_THROUGH_EXCEPTION_NAMES =
["Timeout::Error"]
PASS_THROUGH_EXCEPTIONS =
[NoMemoryError, SignalException, Interrupt,
SystemExit]
PASS_THROUGH_EXCEPTION_NAMES =
[]

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



74
75
76
# File 'lib/test/unit/error.rb', line 74

def included(base)
  base.exception_handler(:handle_all_exception)
end