Sha256: efd6070f1f4a445e88d4083de964526c87c8ddfd6425008dabf3944f51e97c2e

Contents?: true

Size: 483 Bytes

Versions: 1

Compression:

Stored size: 483 Bytes

Contents

# frozen_string_literal: true
require 'gir_ffi_test_helper'

# Tests generated classes, methods and functions in the GLib namespace.
describe 'The generated GLib module' do
  cover 'GLib'

  it 'can auto-generate the GLib::IConv class' do
    klass = GLib::IConv

    klass.must_be_instance_of Class
  end

  it 'can auto-generate the GLib::SOURCE_REMOVE constant' do
    skip unless get_introspection_data 'GLib', 'SOURCE_REMOVE'

    GLib::SOURCE_REMOVE.must_equal false
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gir_ffi-0.11.0 test/integration/generated_glib_test.rb