Sha256: 5e2d2dcb1de4cef4077c424b369043a2c2db44bce9ae2164409e7d73127f88cd

Contents?: true

Size: 456 Bytes

Versions: 1

Compression:

Stored size: 456 Bytes

Contents

# -*- coding: utf-8 -*-
require 'helper'

class QueryCombinerOutputTest < Test::Unit::TestCase
  def setup
    Fluent::Test.setup
  end

  CONFIG = %[
  ]

  def create_driver(conf = CONFIG, tag='test.input')
    Fluent::Test::OutputTestDriver.new(Fluent::QueryCombinerOutput, tag).configure(conf)
  end

  def test_configure
    assert_raise(Fluent::ConfigError) {
      d = create_driver('')
    }
  end

  def test_write
    d = create_driver
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fluent-plugin-querycombiner-0.0.0.pre test/plugin/test_out_query_combiner.rb