Sha256: 7cd1945f08fba71f2860b631f307fd106908a029a8a4d449da07a5b095aa7eb1
Contents?: true
Size: 487 Bytes
Versions: 2
Compression:
Stored size: 487 Bytes
Contents
require 'gir_ffi_test_helper' describe GirFFI::TypeMap do describe ".type_specification_to_ffitype" do it "returns the nested FFI::Enum for an Enum module" do GirFFI::TypeMap.type_specification_to_ffitype(GLib::DateMonth). must_equal GLib::DateMonth::Enum end it "returns the nested FFI::Struct for an Struct module" do GirFFI::TypeMap.type_specification_to_ffitype(GObject::EnumValue). must_equal GObject::EnumValue::Struct end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
gir_ffi-0.6.6 | test/gir_ffi/type_map_test.rb |
gir_ffi-0.6.5 | test/gir_ffi/type_map_test.rb |