Sha256: 0c17dc19f23345ffa6ba169c1ce137966ad34d1bc3453b83a62614b7c7186010

Contents?: true

Size: 415 Bytes

Versions: 1

Compression:

Stored size: 415 Bytes

Contents

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

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

1 entries across 1 versions & 1 rubygems

Version Path
gir_ffi-0.0.6 test/i_object_info_test.rb