Sha256: 0862f31c76d9a59313e9978ba24168077a5c18a2cfac26462ceaf9ed38a62a2a

Contents?: true

Size: 395 Bytes

Versions: 5

Compression:

Stored size: 395 Bytes

Contents

require 'introspection_test_helper'

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

5 entries across 5 versions & 1 rubygems

Version Path
gir_ffi-0.5.1 test/ffi-gobject_introspection/i_object_info_test.rb
gir_ffi-0.5.0 test/ffi-gobject_introspection/i_object_info_test.rb
gir_ffi-0.4.3 test/ffi-gobject_introspection/i_object_info_test.rb
gir_ffi-0.4.2 test/ffi-gobject_introspection/i_object_info_test.rb
gir_ffi-0.4.1 test/ffi-gobject_introspection/i_object_info_test.rb