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
gtk3-2.0.2 test/gtk-test-utils.rb
gtk2-2.0.2 test/gtk-test-utils.rb
gtk3-2.0.1-x86-mingw32 test/gtk-test-utils.rb
gtk2-2.0.1-x86-mingw32 test/gtk-test-utils.rb
gtk3-2.0.1 test/gtk-test-utils.rb
gtk2-2.0.1 test/gtk-test-utils.rb
gtk3-2.0.0-x86-mingw32 test/gtk-test-utils.rb
gtk2-2.0.0-x86-mingw32 test/gtk-test-utils.rb
gtk3-2.0.0 test/gtk-test-utils.rb
gtk2-2.0.0 test/gtk-test-utils.rb
gtk3-1.2.6-x86-mingw32 test/gtk-test-utils.rb
gtk2-1.2.6-x86-mingw32 test/gtk-test-utils.rb
gtk3-1.2.6 test/gtk-test-utils.rb
gtk2-1.2.6 test/gtk-test-utils.rb
gtk3-1.2.5-x86-mingw32 test/gtk-test-utils.rb
gtk2-1.2.5-x86-mingw32 test/gtk-test-utils.rb
gtk3-1.2.5 test/gtk-test-utils.rb
gtk2-1.2.5 test/gtk-test-utils.rb
gtk3-1.2.4-x86-mingw32 test/gtk-test-utils.rb
gtk2-1.2.4-x86-mingw32 test/gtk-test-utils.rb