Sha256: adeb335ba64539d45050dd7b51ec3aae1417cbc7ae25c2931e0ed511d1e3909e
Contents?: true
Size: 579 Bytes
Versions: 4
Compression:
Stored size: 579 Bytes
Contents
require File.expand_path('../gir_ffi_test_helper.rb', File.dirname(__FILE__)) describe GirFFI::UserDefined::IObjectInfo do it "has the attribute #properties" do inf = GirFFI::UserDefined::IObjectInfo.new inf.properties.must_equal [] inf.properties << :foo inf.properties.must_equal [:foo] inf.properties = [:bar, :baz] inf.properties.must_equal [:bar, :baz] end it "derives from GirFFI::UserDefined::IRegisteredTypeInfo" do inf = GirFFI::UserDefined::IObjectInfo.new inf.must_be_kind_of GirFFI::UserDefined::IRegisteredTypeInfo end end
Version data entries
4 entries across 4 versions & 1 rubygems