Sha256: 4d2083d967c3c7d68358fb3110339cda064ec39f61ca5485b400ba908fdd73e4

Contents?: true

Size: 388 Bytes

Versions: 8

Compression:

Stored size: 388 Bytes

Contents

require 'introspection_test_helper'

describe GObjectIntrospection::IUnionInfo do
  let(:object_info) { get_introspection_data('GLib', 'Mutex') }

  describe '#find_method' do
    it 'finds a method by name string' do
      object_info.find_method('clear').wont_be_nil
    end

    it 'finds a method by name symbol' do
      object_info.find_method(:clear).wont_be_nil
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
gir_ffi-0.9.2 test/ffi-gobject_introspection/i_union_info_test.rb
gir_ffi-0.9.1 test/ffi-gobject_introspection/i_union_info_test.rb
gir_ffi-0.9.0 test/ffi-gobject_introspection/i_union_info_test.rb
gir_ffi-0.8.6 test/ffi-gobject_introspection/i_union_info_test.rb
gir_ffi-0.8.5 test/ffi-gobject_introspection/i_union_info_test.rb
gir_ffi-0.8.4 test/ffi-gobject_introspection/i_union_info_test.rb
gir_ffi-0.8.3 test/ffi-gobject_introspection/i_union_info_test.rb
gir_ffi-0.8.2 test/ffi-gobject_introspection/i_union_info_test.rb