Sha256: cbc720a69b27b854f4d826baf4c90e216b9a81577973584a810339872950a351
Contents?: true
Size: 486 Bytes
Versions: 4
Compression:
Stored size: 486 Bytes
Contents
require 'helper' class SnmpTrapInputTest < Test::Unit::TestCase def setup Fluent::Test.setup end CONFIG = %[ host 0 port 1062 tag alert.snmptrap ] def create_driver(conf=CONFIG) Fluent::Test::InputTestDriver.new(Fluent::SnmpTrapInput).configure(conf) end def test_configure d = create_driver('') assert_equal "0".to_i, d.instance.host assert_equal "1062".to_i, d.instance.port assert_equal 'alert.snmptrap', d.instance.tag end end
Version data entries
4 entries across 4 versions & 2 rubygems