Sha256: 4a9495cad18f5dabb8d438753771633964af71c711b2a405bae2473a52652fd6

Contents?: true

Size: 335 Bytes

Versions: 3

Compression:

Stored size: 335 Bytes

Contents

require 'base_test_helper'

require 'ffi-gobject_introspection'

module IntrospectionTestExtensions
  def get_introspection_data(namespace, name)
    gir = GObjectIntrospection::IRepository.default
    gir.require namespace, nil
    gir.find_by_name namespace, name
  end
end

Minitest::Test.send :include, IntrospectionTestExtensions

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
gir_ffi-0.8.2 test/introspection_test_helper.rb
gir_ffi-0.8.1 test/introspection_test_helper.rb
gir_ffi-0.8.0 test/introspection_test_helper.rb