Sha256: d2a2dd2ffe6b10a5e40835ca1e4a624184f0368ba0914ca63dba63c918132939

Contents?: true

Size: 653 Bytes

Versions: 4

Compression:

Stored size: 653 Bytes

Contents

require 'test_helper'
require 'logback_helper'
require 'loggr/slf4j/jars'

class Loggr::SLF4J::JarsTest < MiniTest::Unit::TestCase
  include Loggr::SLF4J
  
  def test_slf4j_api_jar_path
    assert File.exist?(Jars.slf4j_api_jar_path)
    assert_match Jars.slf4j_api_jar_path, %r{/slf4j-api-[0-9\.]+\.jar\z}
  end
  
  def test_logback_core_jar_path
    assert File.exist?(Jars.logback_core_jar_path)
    assert_match Jars.logback_core_jar_path, %r{/logback-core-[0-9\.]+\.jar\z}
  end
  
  def test_logback_jar_path
    assert File.exist?(Jars.logback_jar_path)
    assert_match Jars.logback_jar_path, %r{/logback-classic-[0-9\.]+\.jar\z}    
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
loggr-1.1.2 test/unit/slf4j/jars_test.rb
loggr-1.1.1 test/unit/slf4j/jars_test.rb
loggr-1.1.0 test/unit/slf4j/jars_test.rb
loggr-1.0.0 test/unit/slf4j/jars_test.rb