Sha256: 759e3249b5cfae2ada301d4b18e10dc9f74c20ef3a6475967aeae3c1df0bd02a

Contents?: true

Size: 327 Bytes

Versions: 10

Compression:

Stored size: 327 Bytes

Contents

require 'gir_ffi_test_helper'

describe GirFFI::Builder::Type::Union do
  before do
    @cbuilder = GirFFI::Builder::Type::Union.new get_introspection_data('GObject', 'TypeCValue')
  end

  it "returns false looking for a method that doesn't exist" do
    assert_equal false, @cbuilder.setup_instance_method('blub')
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
gir_ffi-0.6.6 test/gir_ffi/builder/type/union_test.rb
gir_ffi-0.6.5 test/gir_ffi/builder/type/union_test.rb
gir_ffi-0.6.4 test/gir_ffi/builder/type/union_test.rb
gir_ffi-0.6.3 test/gir_ffi/builder/type/union_test.rb
gir_ffi-0.6.2 test/gir_ffi/builder/type/union_test.rb
gir_ffi-0.6.1 test/gir_ffi/builder/type/union_test.rb
gir_ffi-0.6.0 test/gir_ffi/builder/type/union_test.rb
gir_ffi-0.5.2 test/gir_ffi/builder/type/union_test.rb
gir_ffi-0.5.1 test/gir_ffi/builder/type/union_test.rb
gir_ffi-0.5.0 test/gir_ffi/builder/type/union_test.rb