Sha256: 3e600f2ecc24c79247c8e870bc5bfc8268c1b90df216c8bbf08a915e1c16e161

Contents?: true

Size: 530 Bytes

Versions: 27

Compression:

Stored size: 530 Bytes

Contents

#!/usr/bin/env ruby
require File.expand_path("helper", File.dirname(__FILE__))

# Some tests of Debugger module in C extension ruby_debug
class TestBreakpoints < Test::Unit::TestCase
  def test_find
    Debugger.start
    Debugger.add_breakpoint("foo.rb", 11, nil)
    assert_not_nil(Debugger::Breakpoint.find(Debugger.breakpoints, "foo.rb", 11))
    assert_nil(Debugger::Breakpoint.find(Debugger.breakpoints, "bar.rb", 11))
    assert_nil(Debugger::Breakpoint.find(Debugger.breakpoints, "foo.rb", 10))
    Debugger.stop
  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
debase-0.2.2.beta9 test/test_breakpoints.rb
debase-0.2.2.beta8 test/test_breakpoints.rb
debase-0.2.2.beta7 test/test_breakpoints.rb
debase-0.2.2.beta6 test/test_breakpoints.rb
debase-0.2.2.beta5 test/test_breakpoints.rb
debase-0.2.2.beta4 test/test_breakpoints.rb
debase-0.2.2.beta3 test/test_breakpoints.rb
debase-0.2.2.beta2 test/test_breakpoints.rb
debase-0.2.2.beta1 test/test_breakpoints.rb
debase-0.2.1 test/test_breakpoints.rb
debase-0.2.0 test/test_breakpoints.rb
debase-0.2.0.beta1 test/test_breakpoints.rb
debase-0.1.8 test/test_breakpoints.rb
debase-0.1.7 test/test_breakpoints.rb
debase-0.1.6 test/test_breakpoints.rb
debase-0.1.5 test/test_breakpoints.rb
debase-0.1.4 test/test_breakpoints.rb
debase-0.1.3 test/test_breakpoints.rb
debase-0.1.3.beta1 test/test_breakpoints.rb
debase-0.1.2 test/test_breakpoints.rb