InputTestDriver
# File lib/fluent/test/output_test.rb, line 36 def initialize(klass, tag='test', &block) super(klass, &block) @tag = tag end
# File lib/fluent/test/output_test.rb, line 43 def emit(record, time=Time.now) es = OneEventStream.new(time.to_i, record) chain = TestOutputChain.new @instance.emit(@tag, es, chain) assert_equal 1, chain.called end
[Validate]
Generated with the Darkfish Rdoc Generator 2.