Sha256: a89ab1ec032ac21ce47dbbeade5d429bbcd438019f39cd43b04e1dc67e1fdeec

Contents?: true

Size: 334 Bytes

Versions: 9

Compression:

Stored size: 334 Bytes

Contents

require 'helper'
require 'fluent/plugin/norikra_target'

class QueryTest < Test::Unit::TestCase
  def test_init
    q = Fluent::NorikraOutput::Query.new('name', 'expression', 'tag', 10)
    assert_equal 'name', q.name
    assert_equal 'expression', q.expression
    assert_equal 'tag', q.tag
    assert_equal 10, q.interval
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
fluent-plugin-norikra-0.0.9 test/test_query.rb
fluent-plugin-norikra-0.0.8 test/test_query.rb
fluent-plugin-norikra-0.0.7 test/test_query.rb
fluent-plugin-norikra-0.0.6 test/test_query.rb
fluent-plugin-norikra-0.0.5 test/test_query.rb
fluent-plugin-norikra-0.0.4 test/test_query.rb
fluent-plugin-norikra-0.0.3 test/test_query.rb
fluent-plugin-norikra-0.0.2 test/test_query.rb
fluent-plugin-norikra-0.0.1 test/test_query.rb