Sha256: e80958f8f9ef8facb82b453b0d112c5d328710686e41ac02cc8259b66f0df52a
Contents?: true
Size: 502 Bytes
Versions: 4
Compression:
Stored size: 502 Bytes
Contents
if RUBY_PLATFORM == 'java' require 'rubygems' end begin require 'simplecov' SimpleCov.start do add_filter "/test/" end rescue LoadError end require 'minitest/autorun' require 'rr' Thread.abort_on_exception = true if ENV['GTK_VERSION'] == '2' require 'gir_ffi-gtk2' else require 'gir_ffi-gtk3' end class Minitest::Test def assert_nothing_raised yield assert true end def ref_count object GObject::Object::Struct.new(object.to_ptr)[:ref_count] end end Gtk.init
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
gir_ffi-gtk-0.12.1 | test/test_helper.rb |
gir_ffi-gtk-0.12.0 | test/test_helper.rb |
gir_ffi-gtk-0.11.0 | test/test_helper.rb |
gir_ffi-gtk-0.10.0 | test/test_helper.rb |