Sha256: bcfc0c486d2f661e9909674df77f2bff70a208fdb73819e5cbf5b6321ff37376

Contents?: true

Size: 1.33 KB

Versions: 4

Compression:

Stored size: 1.33 KB

Contents

#
# Copyright 2020 F5 Networks, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#    http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

require 'simplecov'
SimpleCov.start

require 'rubygems'
require 'bundler'
require 'pry'

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'
require 'fluent/test/driver/output'
unless ENV.has_key?('VERBOSE')
  nulllogger = Object.new
  nulllogger.instance_eval {|obj|
    def method_missing(method, *args)
      # pass
    end
  }
  $log = nulllogger
end

require 'fluent/test/helpers'
require 'fluent/plugin/out_f5_beacon'

include Fluent::Test::Helpers

class Test::Unit::TestCase
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
fluent-plugin-f5-beacon-0.0.4 test/test_helper.rb
fluent-plugin-f5-beacon-0.0.3 test/test_helper.rb
fluent-plugin-f5-beacon-0.0.2 test/test_helper.rb
fluent-plugin-f5-beacon-0.0.1 test/test_helper.rb