Sha256: 5fc5aa33e62a270b52c10f955f8489a2d789545c642a3d2adbfb248b3886089a
Contents?: true
Size: 594 Bytes
Versions: 3
Compression:
Stored size: 594 Bytes
Contents
require 'gir_ffi_test_helper' # Tests generated methods and functions in the GTop namespace. This namespace # contains types with bad names, like 'glibtop_cpu'. describe 'The generated GTop module' do before do GirFFI.setup :GTop end describe 'Glibtop' do it 'is a valid struct class' do GTop::Glibtop.ancestors.must_include GirFFI::StructBase end it 'can be created using Glibtop.init' do skip unless get_method_introspection_data 'GTop', 'glibtop', 'init' instance = GTop::Glibtop.init instance.must_be_kind_of GTop::Glibtop end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
gir_ffi-0.8.6 | test/integration/generated_gtop_test.rb |
gir_ffi-0.8.5 | test/integration/generated_gtop_test.rb |
gir_ffi-0.8.4 | test/integration/generated_gtop_test.rb |