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.4.3 test/gtk-test-utils.rb
gtk2-3.4.2 test/gtk-test-utils.rb
gtk2-3.4.1 test/gtk-test-utils.rb
gtk2-3.4.0 test/gtk-test-utils.rb
gtk2-3.3.9 test/gtk-test-utils.rb
gtk2-3.3.8 test/gtk-test-utils.rb
gtk2-3.3.7 test/gtk-test-utils.rb
gtk2-3.3.6 test/gtk-test-utils.rb
gtk2-3.3.5 test/gtk-test-utils.rb
gtk2-3.3.4 test/gtk-test-utils.rb
gtk2-3.3.3 test/gtk-test-utils.rb
gtk2-3.3.2 test/gtk-test-utils.rb
gtk2-3.3.1 test/gtk-test-utils.rb
gtk2-3.3.0 test/gtk-test-utils.rb
gtk2-3.2.9-x64-mingw32 test/gtk-test-utils.rb
gtk2-3.2.9-x86-mingw32 test/gtk-test-utils.rb
gtk2-3.2.9 test/gtk-test-utils.rb
gtk2-3.2.8-x64-mingw32 test/gtk-test-utils.rb
gtk2-3.2.8-x86-mingw32 test/gtk-test-utils.rb
gtk2-3.2.8 test/gtk-test-utils.rb