Sha256: 7adf8d7742ea6eee54f26ae9c84902f4f227421f06ce7e0ff2f362737599b968
Contents?: true
Size: 505 Bytes
Versions: 3
Compression:
Stored size: 505 Bytes
Contents
# frozen_string_literal: true require "gir_ffi_test_helper" describe GirFFI::TypeMap do describe ".type_specification_to_ffi_type" do it "returns the nested FFI::Enum for an Enum module" do _(GirFFI::TypeMap.type_specification_to_ffi_type(GLib::DateMonth)) .must_equal GLib::DateMonth end it "returns the class itself for a Struct class" do _(GirFFI::TypeMap.type_specification_to_ffi_type(GObject::EnumValue)) .must_equal GObject::EnumValue end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
gir_ffi-0.15.3 | test/gir_ffi/type_map_test.rb |
gir_ffi-0.15.2 | test/gir_ffi/type_map_test.rb |
gir_ffi-0.15.1 | test/gir_ffi/type_map_test.rb |