Sha256: d196de9ea8a5c3f744feecf9c08da4b6754f0f1d85ae35aec1a2424ac6ea14ac

Contents?: true

Size: 437 Bytes

Versions: 13

Compression:

Stored size: 437 Bytes

Contents

require 'gir_ffi_test_helper'

# Tests generated classes, methods and functions in the GLib namespace.
describe 'The generated GLib module' do
  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

13 entries across 13 versions & 1 rubygems

Version Path
gir_ffi-0.9.2 test/integration/generated_glib_test.rb
gir_ffi-0.9.1 test/integration/generated_glib_test.rb
gir_ffi-0.9.0 test/integration/generated_glib_test.rb
gir_ffi-0.8.6 test/integration/generated_glib_test.rb
gir_ffi-0.8.5 test/integration/generated_glib_test.rb
gir_ffi-0.8.4 test/integration/generated_glib_test.rb
gir_ffi-0.8.3 test/integration/generated_glib_test.rb
gir_ffi-0.8.2 test/integration/generated_glib_test.rb
gir_ffi-0.8.1 test/integration/generated_glib_test.rb
gir_ffi-0.8.0 test/integration/generated_glib_test.rb
gir_ffi-0.7.10 test/integration/generated_glib_test.rb
gir_ffi-0.7.9 test/integration/generated_glib_test.rb
gir_ffi-0.7.8 test/integration/generated_glib_test.rb