diff --git a/test/test_connection.rb b/test/test_connection.rb new file mode 100644 index 0000000..eea0ae7 --- /dev/null +++ b/test/test_connection.rb @@ -0,0 +1,20 @@ +require_relative './helper' +require 'yaml' + +Elasticsearch = Embulk::Input::Elasticsearch + +module Embulk + class Input::Elasticsearch + class TestConnection < Test::Unit::TestCase + sub_test_case "connection" do + def test_normal + + end + + def test_error + + end + end + end + end +end diff --git a/test/test_converter.rb b/test/test_converter.rb index a97a034..d28006e 100644 --- a/test/test_converter.rb +++ b/test/test_converter.rb @@ -46,6 +46,36 @@ def test_normal assert_equal Converter.get_sources(results, fields), [["AVTCxiCuNR-BVKOgUB7R", 1, "dummy title"]] end end + + sub_test_case "convert_value" do + def test_string + + end + + def test_long + + end + + def test_double + + end + + def test_timestamp + + end + + def test_json + + end + + def test_boolean + + end + + def test_typecast_error + + end + end end end end