Sha256: 7960f47279b92d1351b91666cdd099cb2074bc9a7a14f9072f322bb7e47e3f02

Contents?: true

Size: 271 Bytes

Versions: 7

Compression:

Stored size: 271 Bytes

Contents

require 'base_test_helper'

require 'ffi-gobject_introspection'

class MiniTest::Unit::TestCase
  def get_introspection_data namespace, name
    gir = GObjectIntrospection::IRepository.default
    gir.require namespace, nil
    gir.find_by_name namespace, name
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
gir_ffi-0.6.0 test/introspection_test_helper.rb
gir_ffi-0.5.2 test/introspection_test_helper.rb
gir_ffi-0.5.1 test/introspection_test_helper.rb
gir_ffi-0.5.0 test/introspection_test_helper.rb
gir_ffi-0.4.3 test/introspection_test_helper.rb
gir_ffi-0.4.2 test/introspection_test_helper.rb
gir_ffi-0.4.1 test/introspection_test_helper.rb