Sha256: 104810a12225b5bdb5c5b938902d56e4617e1c93f7a3e3aee33b7290ad1dcc0b

Contents?: true

Size: 433 Bytes

Versions: 2

Compression:

Stored size: 433 Bytes

Contents

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

module GirFFI
  class IObjectInfoTest < Test::Unit::TestCase
    context "An IObjectInfo object" do

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

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

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gir_ffi-0.0.5 test/i_object_info_test.rb
gir_ffi-0.0.4 test/i_object_info_test.rb