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-3.0.7-x64-mingw32 test/gtk-test-utils.rb
gtk2-3.0.7 test/gtk-test-utils.rb
gtk2-3.0.6-x64-mingw32 test/gtk-test-utils.rb
gtk2-3.0.6-x86-mingw32 test/gtk-test-utils.rb
gtk2-3.0.6 test/gtk-test-utils.rb
gtk2-3.0.5-x64-mingw32 test/gtk-test-utils.rb
gtk2-3.0.5-x86-mingw32 test/gtk-test-utils.rb
gtk2-3.0.5 test/gtk-test-utils.rb
gtk2-3.0.4-x64-mingw32 test/gtk-test-utils.rb
gtk2-3.0.4-x86-mingw32 test/gtk-test-utils.rb
gtk2-3.0.4 test/gtk-test-utils.rb
gtk2-3.0.3-x64-mingw32 test/gtk-test-utils.rb
gtk2-3.0.3-x86-mingw32 test/gtk-test-utils.rb
gtk2-3.0.3 test/gtk-test-utils.rb
gtk2-3.0.2-x64-mingw32 test/gtk-test-utils.rb
gtk2-3.0.2-x86-mingw32 test/gtk-test-utils.rb
gtk2-3.0.2 test/gtk-test-utils.rb
gtk2-3.0.1-x64-mingw32 test/gtk-test-utils.rb
gtk2-3.0.1-x86-mingw32 test/gtk-test-utils.rb
gtk2-3.0.1 test/gtk-test-utils.rb