Sha256: a0860288ac0202234f53e5840f814afc1488657b7bc118fd2b7191cef9374a4c

Contents?: true

Size: 432 Bytes

Versions: 9

Compression:

Stored size: 432 Bytes

Contents

require 'helper'
require 'fluent/output'

class AzureEventHubTest < Test::Unit::TestCase
  def setup
    Fluent::Test.setup
  end

  BASE_CONFIG = %[
    type azure_eventhub_buffered
  ]

  CONFIG = BASE_CONFIG + %[
    connection_string sb://sample
  ]

  def create_driver(conf = CONFIG, tag='test')
    "sample"
  end



  def test_format
    d = create_driver
    assert_equal 'sample', d
  end

end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
sk-fluent-plugin-azureeventhubs-0.0.24 test/plugin/test_out_azure_event_hub.rb
sk-fluent-plugin-azureeventhubs-0.0.23 test/plugin/test_out_azure_event_hub.rb
sk-fluent-plugin-azureeventhubs-0.0.21 test/plugin/test_out_azure_event_hub.rb
sk-fluent-plugin-azureeventhubs-0.0.19 test/plugin/test_out_azure_event_hub.rb
sk-fluent-plugin-azureeventhubs-0.0.18 test/plugin/test_out_azure_event_hub.rb
sk-fluent-plugin-azureeventhubs-0.0.17 test/plugin/test_out_azure_event_hub.rb
sk-fluent-plugin-azureeventhubs-0.0.16 test/plugin/test_out_azure_event_hub.rb
sk-fluent-plugin-azureeventhubs-0.0.15 test/plugin/test_out_azure_event_hub.rb
sk-fluent-plugin-azureeventhubs-0.0.14 test/plugin/test_out_azure_event_hub.rb