Sha256: 681c1445d3c474e096f7ccd63fb6e42f668495137004555c31870ba0f275a8cb

Contents?: true

Size: 413 Bytes

Versions: 2

Compression:

Stored size: 413 Bytes

Contents

require 'introspection_test_helper'

describe GObjectIntrospection::IObjectInfo do
  let(:object_info) { get_introspection_data('GObject', 'Object') }

  describe "#find_vfunc" do
    it "finds a vfunc by name" do
      object_info.find_vfunc("finalize").wont_be_nil
    end
  end

  describe "#type_name" do
    it "returns the correct name" do
      object_info.type_name.must_equal 'GObject'
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gir_ffi-0.7.7 test/ffi-gobject_introspection/i_object_info_test.rb
gir_ffi-0.7.6 test/ffi-gobject_introspection/i_object_info_test.rb