Sha256: 9c3b342d81a3dbf27d3116ed272144b5abb186b64f5debf00e8a771a13b945a2

Contents?: true

Size: 772 Bytes

Versions: 2

Compression:

Stored size: 772 Bytes

Contents

require 'rubygems'
require 'bundler'
begin
  Bundler.setup(:default, :development)
rescue Bundler::BundlerError => e
  $stderr.puts e.message
  $stderr.puts "Run `bundle install` to install missing gems"
  exit e.status_code
end
require 'test/unit'

$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))
require 'fluent/test'
if ENV.has_key?('VERBOSE')
  $log = Fluent::Log.new(Fluent::Test::DummyLogDevice.new, Fluent::Log::LEVEL_TRACE)
else
  nulllogger = Object.new
  nulllogger.instance_eval {|obj|
    def method_missing(method, *args)
      # pass
    end
  }
  $log = nulllogger
end

require 'fluent/plugin/out_amplifier_filter'
require 'fluent/plugin/filter_amplifier_filter'

class Test::Unit::TestCase
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fluent-plugin-amplifier-filter-1.0.0 test/helper.rb
fluent-plugin-amplifier-filter-0.3.0 test/helper.rb