Sha256: e15dd5ecf6af44461384ac10589391e9fea27339ac65fe668453edb0bd8e3ae1

Contents?: true

Size: 544 Bytes

Versions: 2

Compression:

Stored size: 544 Bytes

Contents

require 'xezat/detectors'

module Xezat::Test::Detector
  class GObjectIntrospectiontest < Test::Unit::TestCase
    include Xezat::Detector
    include Xezat

    def setup
      @detector = DetectorManager[:'gobject-introspection']
    end

    def test_yes
      assert_true(@detector.detect({S: File::join(File::dirname(__FILE__), 'fixture', 'gobject-introspection', 'yes')}))
    end

    def test_no
      assert_false(@detector.detect({S: File::join(File::dirname(__FILE__), 'fixture', 'gobject-introspection', 'no')}))
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
xezat-0.0.4 test/xezat/detector/test_gobject-introspection.rb
xezat-0.0.3 test/xezat/detector/test_gobject-introspection.rb