Sha256: cdf05414b76979f69504e094edcac6309bcbce4575f52a2cb54c0b8874639316

Contents?: true

Size: 445 Bytes

Versions: 6

Compression:

Stored size: 445 Bytes

Contents

require 'gir_ffi_test_helper'

describe GLib::IConv do
  describe ".open" do
    it "creates a new instance of GLib::Iconv" do
      instance = GLib::IConv.open("ascii", "utf-8")
      instance.must_be_instance_of GLib::IConv
    end
  end

  let(:instance) { GLib::IConv.open("ascii", "utf-8") }

  describe "#setup_and_call" do
    it "works for the method called ''" do
      instance.setup_and_call :'', nil, nil, nil, nil
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
gir_ffi-0.7.6 test/ffi-glib/iconv_test.rb
gir_ffi-0.7.5 test/ffi-glib/iconv_test.rb
gir_ffi-0.7.4 test/ffi-glib/iconv_test.rb
gir_ffi-0.7.3 test/ffi-glib/iconv_test.rb
gir_ffi-0.7.2 test/ffi-glib/iconv_test.rb
gir_ffi-0.7.1 test/ffi-glib/iconv_test.rb