Sha256: 64512cf23aa384b7c83a7ec7612ecd38af94e219455eef9ae0ddbeb1fbb18a4e

Contents?: true

Size: 423 Bytes

Versions: 2

Compression:

Stored size: 423 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

2 entries across 2 versions & 1 rubygems

Version Path
gir_ffi-0.6.0 test/ffi-gobject_introspection/i_object_info_test.rb
gir_ffi-0.5.2 test/ffi-gobject_introspection/i_object_info_test.rb