Sha256: 3c9d432b35c94c0c1ffd9e9b5d2aba57e98a356c258123389ae66470354ff17f

Contents?: true

Size: 371 Bytes

Versions: 10

Compression:

Stored size: 371 Bytes

Contents

require 'gir_ffi_test_helper'

describe GirFFI::BaseArgumentBuilder do
  describe "#subtype_tag_or_class_name" do
    it "delegates to the type" do
      mock(info = Object.new).subtype_tag_or_class_name { 'foo' }

      builder = GirFFI::BaseArgumentBuilder.new nil, 'bar', info, :direction
      assert_equal "foo", builder.subtype_tag_or_class_name
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

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