Methods

Class Index [+]

Quicksearch

ActiveSupport::Testing::Isolation::TestUnit

Public Instance Methods

run(result) click to toggle source
    # File lib/active_support/testing/isolation.rb, line 56
56:         def run(result)
57:           _run_class_setup
58: 
59:           yield(Test::Unit::TestCase::STARTED, name)
60: 
61:           @_result = result
62: 
63:           serialized = run_in_isolation do |proxy|
64:             begin
65:               super(proxy) { }
66:             rescue Exception => e
67:               proxy.add_error(Test::Unit::Error.new(name, e))
68:             end
69:           end
70: 
71:           retval, proxy = Marshal.load(serialized)
72:           proxy.__replay__(@_result)
73: 
74:           yield(Test::Unit::TestCase::FINISHED, name)
75:           retval
76:         end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.