Sha256: f69fdeab3f4ae3e00d8f3c47851d8b13daeeb76e639c0fecc52420466d49f8bb

Contents?: true

Size: 376 Bytes

Versions: 6

Compression:

Stored size: 376 Bytes

Contents

require 'introspection_test_helper'

describe GObjectIntrospection::IObjectInfo do
  describe "#find_vfunc" 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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
gir_ffi-0.6.6 test/ffi-gobject_introspection/i_object_info_test.rb
gir_ffi-0.6.5 test/ffi-gobject_introspection/i_object_info_test.rb
gir_ffi-0.6.4 test/ffi-gobject_introspection/i_object_info_test.rb
gir_ffi-0.6.3 test/ffi-gobject_introspection/i_object_info_test.rb
gir_ffi-0.6.2 test/ffi-gobject_introspection/i_object_info_test.rb
gir_ffi-0.6.1 test/ffi-gobject_introspection/i_object_info_test.rb