Parent

Class/Module Index [+]

Quicksearch

Test::Unit::UI::Console::TestRunner

Public Instance Methods

finished(elapsed_time) click to toggle source
Also aliased as: finished_without_rspec
Alias for: finished_with_rspec
finished_with_rspec(elapsed_time) click to toggle 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
Also aliased as: finished
finished_without_rspec(elapsed_time) click to toggle source
Alias for: finished
setup_mediator() click to toggle source
Also aliased as: setup_mediator_without_rspec
setup_mediator_with_rspec() click to toggle 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
Also aliased as: setup_mediator
setup_mediator_without_rspec() click to toggle source
Alias for: setup_mediator
started(result) click to toggle source
Also aliased as: started_without_rspec
Alias for: started_with_rspec
started_with_rspec(result) click to toggle 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
Also aliased as: started
started_without_rspec(result) click to toggle source
Alias for: started
test_finished(name) click to toggle source
Also aliased as: test_finished_without_rspec
test_finished_with_rspec(name) click to toggle 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
Also aliased as: test_finished
test_finished_without_rspec(name) click to toggle source
Alias for: test_finished
test_started(name) click to toggle source
Also aliased as: test_started_without_rspec
test_started_with_rspec(name) click to toggle 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
Also aliased as: test_started
test_started_without_rspec(name) click to toggle source
Alias for: test_started

[Validate]

Generated with the Darkfish Rdoc Generator 2.