Sha256: bf581e8f4a2a1ccb959ff6492a3fbb7fd5b3417a9ea99f3a9cb3b2f1c81b029e

Contents?: true

Size: 953 Bytes

Versions: 31

Compression:

Stored size: 953 Bytes

Contents

module HybridPlatformsConductorTest

  module Helpers

    module ReportsHandlerHelpers

      # Register reports plugins in a Reports Handler instance
      #
      # Parameters::
      # * *reports_handler* (ReportsHandler): The Reports Handler instance that need the plugins
      # * *reports_plugins* (Hash<Symbol, Class>): List of report plugins, per test name
      def register_report_plugins(reports_handler, reports_plugins)
        reports_handler.instance_variable_set(:@reports_plugins, reports_plugins)
      end

      # Get a test ReportsHandler
      #
      # Result::
      # * ReportsHandler: ReportsHandler on which we can do testing
      def test_reports_handler
        @reports_handler ||= HybridPlatformsConductor::ReportsHandler.new logger: logger, logger_stderr: logger, config: test_config, platforms_handler: test_platforms_handler, nodes_handler: test_nodes_handler
        @reports_handler
      end

    end

  end

end

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
hybrid_platforms_conductor-33.9.5 spec/hybrid_platforms_conductor_test/helpers/reports_handler_helpers.rb
hybrid_platforms_conductor-33.9.4 spec/hybrid_platforms_conductor_test/helpers/reports_handler_helpers.rb
hybrid_platforms_conductor-33.9.2 spec/hybrid_platforms_conductor_test/helpers/reports_handler_helpers.rb
hybrid_platforms_conductor-33.9.1 spec/hybrid_platforms_conductor_test/helpers/reports_handler_helpers.rb
hybrid_platforms_conductor-33.9.0 spec/hybrid_platforms_conductor_test/helpers/reports_handler_helpers.rb
hybrid_platforms_conductor-33.8.4 spec/hybrid_platforms_conductor_test/helpers/reports_handler_helpers.rb
hybrid_platforms_conductor-33.8.3 spec/hybrid_platforms_conductor_test/helpers/reports_handler_helpers.rb
hybrid_platforms_conductor-33.8.2 spec/hybrid_platforms_conductor_test/helpers/reports_handler_helpers.rb
hybrid_platforms_conductor-33.8.1 spec/hybrid_platforms_conductor_test/helpers/reports_handler_helpers.rb
hybrid_platforms_conductor-33.8.0 spec/hybrid_platforms_conductor_test/helpers/reports_handler_helpers.rb
hybrid_platforms_conductor-33.7.4 spec/hybrid_platforms_conductor_test/helpers/reports_handler_helpers.rb
hybrid_platforms_conductor-33.7.3 spec/hybrid_platforms_conductor_test/helpers/reports_handler_helpers.rb
hybrid_platforms_conductor-33.7.2 spec/hybrid_platforms_conductor_test/helpers/reports_handler_helpers.rb
hybrid_platforms_conductor-33.7.1 spec/hybrid_platforms_conductor_test/helpers/reports_handler_helpers.rb
hybrid_platforms_conductor-33.7.0 spec/hybrid_platforms_conductor_test/helpers/reports_handler_helpers.rb
hybrid_platforms_conductor-33.6.0 spec/hybrid_platforms_conductor_test/helpers/reports_handler_helpers.rb
hybrid_platforms_conductor-33.5.1 spec/hybrid_platforms_conductor_test/helpers/reports_handler_helpers.rb
hybrid_platforms_conductor-33.5.0 spec/hybrid_platforms_conductor_test/helpers/reports_handler_helpers.rb
hybrid_platforms_conductor-33.4.0 spec/hybrid_platforms_conductor_test/helpers/reports_handler_helpers.rb
hybrid_platforms_conductor-33.3.0 spec/hybrid_platforms_conductor_test/helpers/reports_handler_helpers.rb