Methods
public instance
- finished
- finished_with_rspec
- finished_without_rspec
- setup_mediator
- setup_mediator_with_rspec
- setup_mediator_without_rspec
- started
- started_with_rspec
- started_without_rspec
- test_finished
- test_finished_with_rspec
- test_finished_without_rspec
- test_started
- test_started_with_rspec
- test_started_without_rspec
Public instance methods
finished_with_rspec
(elapsed_time)
[show source]
# File lib/spec/interop/test/unit/ui/console/testrunner.rb, line 38 def finished_with_rspec(elapsed_time) @ran_test ||= false if @ran_test finished_without_rspec(elapsed_time) end end
setup_mediator_with_rspec
()
[show source]
# File lib/spec/interop/test/unit/ui/console/testrunner.rb, line 47 def setup_mediator_with_rspec orig_io = @io @io = StringIO.new setup_mediator_without_rspec ensure @rspec_io = @io @io = orig_io end
started_with_rspec
(result)
[show source]
# File lib/spec/interop/test/unit/ui/console/testrunner.rb, line 10 def started_with_rspec(result) @result = result @need_to_output_started = true end
test_finished_with_rspec
(name)
[show source]
# File lib/spec/interop/test/unit/ui/console/testrunner.rb, line 31 def test_finished_with_rspec(name) test_finished_without_rspec(name) @ran_test = true end
test_started_with_rspec
(name)
[show source]
# File lib/spec/interop/test/unit/ui/console/testrunner.rb, line 17 def test_started_with_rspec(name) if @need_to_output_started if @rspec_io @rspec_io.rewind output(@rspec_io.read) end output("Started") @need_to_output_started = false end test_started_without_rspec(name) end