Sha256: 2a4e457bff34909248f4538ff5ae318dd9c4a01a723f65883f586128de37d36d

Contents?: true

Size: 607 Bytes

Versions: 5

Compression:

Stored size: 607 Bytes

Contents

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

class TestQuit < Test::Unit::TestCase
  @@NAME = File.basename(__FILE__, '.rb')[5..-1]

  # def test_trepanx_set_confirm_off
  #   opts = {}
  #   opts[:filter] = Proc.new{|got_lines, correct_lines|
  #     got_lines[0] = "-> (null.rb:1 @0)\n"
  #   }
  #   assert_equal(true, run_debugger('quit2', 'null.rb', opts))
  # end

  def test_trepan_call
    opts = {}
    opts[:filter] = Proc.new{|got_lines, correct_lines|
      got_lines[0] = "-> (null.rb:1 @0)\n"
    }
    assert_equal(true, run_debugger(@@NAME, 'null.rb', opts))
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
trepanning-0.1.6 test/integration/test-quit.rb
trepanning-0.1.4 test/integration/test-quit.rb
trepanning-0.1.3 test/integration/test-quit.rb
trepanning-0.1.2 test/integration/test-quit.rb
trepanning-0.1.1 test/integration/test-quit.rb