Sha256: 6958c31480aa043b78ab45bc489bdda35f8ad5f2ffbdd591a3c15bfb58fd1324

Contents?: true

Size: 429 Bytes

Versions: 9

Compression:

Stored size: 429 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 = GObjectIntrospection::IRepository.default
	gir.require 'GObject', nil
	@info = gir.find_by_name 'GObject', 'Object'
      end

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

  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
gir_ffi-0.4.0 test/ffi-gobject_introspection/i_object_info_test.rb
gir_ffi-0.3.2 test/ffi-gobject_introspection/i_object_info_test.rb
gir_ffi-0.3.1 test/ffi-gobject_introspection/i_object_info_test.rb
gir_ffi-0.3.0 test/ffi-gobject_introspection/i_object_info_test.rb
gir_ffi-0.2.3 test/ffi-gobject_introspection/i_object_info_test.rb
gir_ffi-0.2.2 test/ffi-gobject_introspection/i_object_info_test.rb
gir_ffi-0.2.1 test/ffi-gobject_introspection/i_object_info_test.rb
gir_ffi-0.2.0 test/ffi-gobject_introspection/i_object_info_test.rb
gir_ffi-0.1.0 test/ffi-gobject_introspection/i_object_info_test.rb