Sha256: 4825f411de5d0a0511f9bd9f23b171838f06a333f5867c56a5c490d973dda8f5

Contents?: true

Size: 321 Bytes

Versions: 225

Compression:

Stored size: 321 Bytes

Contents

require 'tempfile'

module GtkTestUtils
  private
  def only_gtk_version(major, minor, micro=nil)
    micro ||= 0
    unless Gtk.check_version?(major, minor, micro)
      omit("Require GTK+ >= #{major}.#{minor}.#{micro}")
    end
  end

  def only_x11
    omit("Only for X11 backend") unless Gdk.windowing_x11?
  end
end

Version data entries

225 entries across 225 versions & 2 rubygems

Version Path
gtk2-1.0.2-x86-mingw32 test/gtk-test-utils.rb
gtk2-1.0.2 test/gtk-test-utils.rb
gtk2-1.0.1 test/gtk-test-utils.rb
gtk2-1.0.1-x86-mingw32 test/gtk-test-utils.rb
gtk2-1.0.0-x86-mingw32 test/gtk-test-utils.rb
gtk2-1.0.0 test/gtk-test-utils.rb
gtk2-0.90.9 test/gtk-test-utils.rb
gtk2-0.90.9-x86-mingw32 test/gtk-test-utils.rb
gtk2-0.90.8-x86-mingw32 test/gtk-test-utils.rb
gtk2-0.90.8 test/gtk-test-utils.rb
gtk2-0.90.7-x86-mingw32 test/gtk-test-utils.rb
gtk2-0.90.7 test/gtk-test-utils.rb
gtk2-0.90.6 test/gtk-test-utils.rb
gtk2-0.90.6-x86-mingw32 test/gtk-test-utils.rb
gtk2-0.90.5 test/gtk-test-utils.rb
gtk2-0.90.5-x86-mingw32 test/gtk-test-utils.rb
gtk2-0.90.4 test/gtk-test-utils.rb
gtk2-0.90.4-x86-mingw32 test/gtk-test-utils.rb
gtk2-0.90.3 test/gtk-test-utils.rb
gtk2-0.90.3-x86-mingw32 test/gtk-test-utils.rb