Sha256: 0cc5aaba4d4b975e5a1192ccc9a514f6ac7c8d0b621873966896751787f5c497

Contents?: true

Size: 777 Bytes

Versions: 8

Compression:

Stored size: 777 Bytes

Contents

require_relative 'test_helper'

describe "Continue Command" do
  include TestDsl

  it "must continue up to breakpoint" do
    enter 'break 4', 'continue'
    debug_file('continue') { state.line.must_equal 4 }
  end

  it "must continue up to specified line" do
    enter 'cont 4'
    debug_file('continue') { state.line.must_equal 4 }
  end

  it "must ignore the command if there is no specified line" do
    enter 'cont 123'
    debug_file('continue') { state.line.must_equal 2 }
  end

  it "must show error if there is no specified line" do
    enter 'cont 123'
    debug_file('continue')
    check_output_includes "Line 123 is not a stopping point in file \"#{fullpath('continue')}\".", interface.error_queue
  end

  it "must ignore the line if the context is dead"
end

Version data entries

8 entries across 8 versions & 3 rubygems

Version Path
debugger2-1.0.0.beta2 test/continue_test.rb
debugger2-1.0.0.beta1 test/continue_test.rb
needy_debugger-1.4.0 test/continue_test.rb
debugger-1.4.0 test/continue_test.rb
debugger-1.3.3 test/continue_test.rb
debugger-1.3.2 test/continue_test.rb
debugger-1.3.1 test/continue_test.rb
debugger-1.3.0 test/continue_test.rb