Sha256: b302f163c4b881587ee8af21c6c7f0fb608f6f83f7c3e37de58c193f630dd571

Contents?: true

Size: 613 Bytes

Versions: 7

Compression:

Stored size: 613 Bytes

Contents

require "helper"
require "fluent/plugin/in_jfrog_siem.rb"

class JfrogSiemInputTest < Test::Unit::TestCase
  setup do
    Fluent::Test.setup
  end

  test "failure" do
    #flunk
  end

  # Default configuration for tests
  CONFIG = %[
    tag "test_tag"
    jpd_url <jpd_url>
    access_token <access_token>
    pos_file "test_pos.txt"
  ]

  private

  def create_driver(conf = CONFIG)
    Fluent::Test::Driver::Input.new(Fluent::Plugin::JfrogSiemInput).configure(conf)
  end

  sub_test_case 'Testing' do
    test 'Testing plugin in_jfrog_siem' do
      d = create_driver(CONFIG)
      d.run
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
fluent-plugin-jfrog-siem-0.1.7 test/plugin/test_in_jfrog_siem.rb
fluent-plugin-jfrog-siem-0.1.6 test/plugin/test_in_jfrog_siem.rb
fluent-plugin-jfrog-siem-0.1.5 test/plugin/test_in_jfrog_siem.rb
fluent-plugin-jfrog-siem-0.1.4 test/plugin/test_in_jfrog_siem.rb
fluent-plugin-jfrog-siem-0.1.3 test/plugin/test_in_jfrog_siem.rb
fluent-plugin-jfrog-siem-0.1.2 test/plugin/test_in_jfrog_siem.rb
fluent-plugin-jfrog-siem-0.1.1 test/plugin/test_in_jfrog_siem.rb