Class: MiniTest::Unit::TestCase
- Inherits:
-
Object
- Object
- MiniTest::Unit::TestCase
show all
- Defined in:
- lib/test/unit.rb
Constant Summary
collapse
- RUN_TEST_TRACE =
"#{__FILE__}:#{__LINE__+3}:in `run_test'".freeze
Instance Method Summary
collapse
Instance Method Details
#run_test(name) ⇒ Object
856
857
858
859
860
861
862
|
# File 'lib/test/unit.rb', line 856
def run_test(name)
progname, $0 = $0, "#{$0}: #{self.class}##{name}"
self.__send__(name)
ensure
$@.delete(RUN_TEST_TRACE) if $@
$0 = progname
end
|