Sha256: 371096a2d4089164b9678d72a71c45990dd96dee6fd685549d0d37e9300f7711

Contents?: true

Size: 1.2 KB

Versions: 13

Compression:

Stored size: 1.2 KB

Contents

# Copyright 2014 Google Inc. All rights reserved.
#
# 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 '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'
unless ENV.has_key?('VERBOSE')
  nulllogger = Object.new
  nulllogger.instance_eval {|obj|
    def method_missing(method, *args)
      # pass
    end
  }
  $log = nulllogger
end

require 'fluent/plugin/out_google_cloud'

class Test::Unit::TestCase
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
fluent-plugin-google-cloud-0.4.2 test/helper.rb
fluent-plugin-google-cloud-0.4.1 test/helper.rb
fluent-plugin-google-cloud-0.4.0 test/helper.rb
fluent-plugin-google-cloud-0.3.1 test/helper.rb
fluent-plugin-google-cloud-0.3.0 test/helper.rb
fluent-plugin-google-cloud-0.2.4 test/helper.rb
fluent-plugin-google-cloud-0.2.3 test/helper.rb
fluent-plugin-google-cloud-0.2.2 test/helper.rb
fluent-plugin-google-cloud-0.2.1 test/helper.rb
fluent-plugin-google-cloud-0.2.0 test/helper.rb
fluent-plugin-google-cloud-0.1.3 test/helper.rb
fluent-plugin-google-cloud-0.1.2 test/helper.rb
fluent-plugin-google-cloud-0.1.1 test/helper.rb