Sha256: afeaa103320ff391a2a7b33a983dc618c5a06b94f44469bdaf7f452f78d8ac3d

Contents?: true

Size: 403 Bytes

Versions: 6

Compression:

Stored size: 403 Bytes

Contents

require File.expand_path('test_helper.rb', File.dirname(__FILE__))

module GirFFI
  class IObjectInfoTest < MiniTest::Spec
    context "An IObjectInfo object" do

      setup do
	gir = IRepository.default
	gir.require 'Regress', nil
	@info = gir.find_by_name 'Regress', 'TestObj'
      end

      should "find a vfunc by name" do
	assert_not_nil @info.find_vfunc("matrix")
      end
    end

  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
gir_ffi-0.0.14 test/i_object_info_test.rb
gir_ffi-0.0.13 test/i_object_info_test.rb
gir_ffi-0.0.12 test/i_object_info_test.rb
gir_ffi-0.0.11 test/i_object_info_test.rb
gir_ffi-0.0.10 test/i_object_info_test.rb
gir_ffi-0.0.9 test/i_object_info_test.rb