Sha256: 45410c2aaa6041ec821b63d6f0b63eb1f1bdafac6a03f1986c9ed43a9224c9e7
Contents?: true
Size: 506 Bytes
Versions: 4
Compression:
Stored size: 506 Bytes
Contents
require File.expand_path('gir_ffi_test_helper.rb', File.dirname(__FILE__)) describe GirFFI::Builder::Type::Interface do before do info = get_introspection_data 'GObject', 'TypePlugin' @bldr = GirFFI::Builder::Type::Interface.new info @iface = @bldr.build_class end it "builds an interface as a module" do assert_instance_of Module, @iface end it "creates methods on the interface" do assert_includes @iface.instance_methods.map(&:to_s), 'complete_interface_info' end end
Version data entries
4 entries across 4 versions & 1 rubygems