Sha256: 6134d7917c3e2d7aadb568e016310f90fa978a1561390dbcc10b795d913c7644

Contents?: true

Size: 1.11 KB

Versions: 14

Compression:

Stored size: 1.11 KB

Contents

# Copyright (C) 2018  Ruby-GNOME2 Project Team
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA

require "tempfile"

require "test-unit"

module GeglTestHelper
  private
  def only_version(major, minor, micro=nil)
    micro ||= 0
    unless Gegl.or_later?(major, minor, micro)
      omit("Require GEGL >= #{major}.#{minor}.#{micro}")
    end
  end

  def fixture_path(*components)
    File.join(File.dirname(__FILE__), "fixture", *components)
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
gegl-3.4.3 test/helper.rb
gegl-3.4.2 test/helper.rb
gegl-3.4.1 test/helper.rb
gegl-3.4.0 test/helper.rb
gegl-3.3.9 test/helper.rb
gegl-3.3.8 test/helper.rb
gegl-3.3.7 test/helper.rb
gegl-3.3.6 test/helper.rb
gegl-3.3.5 test/helper.rb
gegl-3.3.4 test/helper.rb
gegl-3.3.3 test/helper.rb
gegl-3.3.2 test/helper.rb
gegl-3.3.1 test/helper.rb
gegl-3.3.0 test/helper.rb