Sha256: 4d34a5d62f9234491134a42bfef60aacf11a5ab0f8b71a10bbcd3fa4ae75e9aa

Contents?: true

Size: 835 Bytes

Versions: 7

Compression:

Stored size: 835 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'
require 'webmock/test_unit'
WebMock.disable_net_connect!(:allow_localhost => true)

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

def unused_port
  s = TCPServer.open(0)
  port = s.addr[1]
  s.close
  port
end

require 'fluent/plugin/out_mixpanel'
require 'fluent/plugin/in_http_mixpanel'

class Test::Unit::TestCase
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
fluent-plugin-mixpanel-0.0.8 test/helper.rb
fluent-plugin-mixpanel-0.0.7 test/helper.rb
fluent-plugin-mixpanel-0.0.6 test/helper.rb
fluent-plugin-mixpanel-0.0.5 test/helper.rb
fluent-plugin-mixpanel-0.0.4 test/helper.rb
fluent-plugin-mixpanel-0.0.3 test/helper.rb
fluent-plugin-mixpanel-0.0.2 test/helper.rb