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



72
73
74
# File 'lib/test/unit/error.rb', line 72

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