Sha256: 9763711edfdc430bec8160706ae11038046023c1a10bac0b4abf2ebdd8abfbfa

Contents?: true

Size: 831 Bytes

Versions: 12

Compression:

Stored size: 831 Bytes

Contents

#!/usr/bin/env ruby
require 'test/unit'
require 'trace'
require_relative 'fn_helper'

class TestStep < Test::Unit::TestCase

  include FnTestHelper
  include Trace

  def test_step_through_leave

    # See that we can step with parameter which is the same as 'step 1'
    cmds = ['step', 'step', 'step', 'step', 'step', 'step', 'continue']
    d = strarray_setup(cmds)
    d.core.step_events = TEST_STEP_EVENT_MASK 

    d.start
    ########### t1 ###############
    x = 'class Foo
           def bar
             3
           end
         end'
    eval(x)
    f = Foo.new
    # f.bar
    ##############################
    d.stop
    out = ["-- x = 'class Foo", 
           ".. eval(x)", 
           ".. eval(x)", 
           ":: eval(x)", 
           "-- eval(x)"]
    # compare_output(out, d, cmds)
    assert true

  end

end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
trepanning-1.93.35 test/functional/test-stepbug.rb
trepanning-1.93.32 test/functional/test-stepbug.rb
trepanning-0.1.6 test/functional/test-stepbug.rb
trepanning-0.1.4 test/functional/test-stepbug.rb
trepanning-0.1.3 test/functional/test-stepbug.rb
trepanning-0.1.2 test/functional/test-stepbug.rb
trepanning-0.1.1 test/functional/test-stepbug.rb
trepanning-0.1.0 test/functional/test-stepbug.rb
trepanning-0.0.9 test/functional/test-stepbug.rb
trepanning-0.0.8 test/functional/test-stepbug.rb
trepanning-0.0.6 test/functional/test-stepbug.rb
trepanning-0.0.4 test/functional/test-stepbug.rb