Kentaro Hayashi
null+****@clear*****
Tue Apr 11 18:39:03 JST 2017
Kentaro Hayashi 2017-04-11 18:39:03 +0900 (Tue, 11 Apr 2017) New Revision: 54971f067e194c3f4d0638eb152b1ceb8d29116f https://github.com/groonga/fluent-plugin-groonga/commit/54971f067e194c3f4d0638eb152b1ceb8d29116f Message: test: remove unused tag Modified files: test/test_output.rb Modified: test/test_output.rb (+5 -5) =================================================================== --- test/test_output.rb 2017-04-11 18:23:32 +0900 (f4f2745) +++ test/test_output.rb 2017-04-11 18:39:03 +0900 (5728300) @@ -34,7 +34,7 @@ class GroongaOutputTest < Test::Unit::TestCase end private - def create_driver(tag) + def create_driver driver = Fluent::Test::Driver::Output.new(Fluent::Plugin::GroongaOutput) driver.configure(configuration) driver @@ -98,7 +98,7 @@ EOC class CommandTest < self def test_basic_command @response_body = JSON.generate([[0, 0.0, 0.0], true]) - driver = create_driver("groonga.command.table_create") + driver = create_driver time = Time.parse("2012-10-26T08:45:42Z").to_i driver.run(default_tag: "groonga.command.table_create") do driver.feed(time, {"name" => "Users"}) @@ -118,7 +118,7 @@ EOC def test_one_message @response_body = JSON.generate([[0, 0.0, 0.0], [1]]) - driver = create_driver("log") + driver = create_driver time = Time.parse("2012-10-26T08:45:42Z").to_i driver.run(default_tag: "log") do driver.feed(time, {"message" => "1st message"}) @@ -131,7 +131,7 @@ EOC def test_multiple_messages @response_body = JSON.generate([[0, 0.0, 0.0], [2]]) - driver = create_driver("log") + driver = create_driver time = Time.parse("2012-10-26T08:45:42Z").to_i driver.run(default_tag: "log") do driver.feed(time, {"message" => "1st message"}) @@ -232,7 +232,7 @@ EOC class CommandTest < self def test_basic_command - driver = create_driver("groonga.command.table_create") + driver = create_driver time = Time.parse("2012-10-26T08:45:42Z").to_i driver.run(default_tag: "groonga.command.table_create") do driver.feed(time, {"name" => "Users"}) -------------- next part -------------- HTML����������������������������... Télécharger