Sha256: f105a7840060eb3e9939fac8e417ac5073d6665bd0ba765cdaa29a5c1134e4e7
Contents?: true
Size: 488 Bytes
Versions: 9
Compression:
Stored size: 488 Bytes
Contents
require 'gir_ffi_test_helper' describe GirFFI::Builders::EnumBuilder do describe "creating Regress::TestEnum" do before do save_module :Regress end it "makes the created type know its proper name" do info = get_introspection_data 'Regress', 'TestEnum' builder = GirFFI::Builders::EnumBuilder.new info enum = builder.build_class enum.inspect.must_equal "Regress::TestEnum" end after do restore_module :Regress end end end
Version data entries
9 entries across 9 versions & 1 rubygems