Sha256: c84223f5ab32e3559853fad9f4ec976e3a38ee973da0cb97d44c8e45fa18b381
Contents?: true
Size: 503 Bytes
Versions: 10
Compression:
Stored size: 503 Bytes
Contents
require 'gir_ffi_test_helper' describe GirFFI::Builder::Type::Interface do describe "#build_class" 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_defines_instance_method @iface, :complete_interface_info end end end
Version data entries
10 entries across 10 versions & 1 rubygems