Sha256: 47f23d6ff4114180b9ce9e0c40b93d387a2a8a5e756c3ff2a645759e7a5c79bd
Contents?: true
Size: 616 Bytes
Versions: 2
Compression:
Stored size: 616 Bytes
Contents
require 'helper' class WatchProcessInputTest < Test::Unit::TestCase def setup Fluent::Test.setup end CONFIG = %[ tag input.watch_process ] def create_driver(conf = CONFIG) Fluent::Test::InputTestDriver.new(Fluent::WatchProcessInput).configure(conf) end def test_configure assert_raise(Fluent::ConfigError) { d = create_driver('') } d = create_driver %[ tag input.watch_process lookup_user apache, mycron ] assert_equal 'input.watch_process', d.instance.tag assert_equal ['apache', 'mycron'], d.instance.lookup_user end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
fluent-plugin-watch-process-0.1.1 | test/plugin/test_in_watch_process.rb |
fluent-plugin-watch-process-0.1.0 | test/plugin/test_in_watch_process.rb |