Sha256: 9d9d0bcc87cfc41fa51c2d1f1f6e51b890937bf688a2772c75e97558d10cf376

Contents?: true

Size: 975 Bytes

Versions: 36

Compression:

Stored size: 975 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 unless @reports_handler
        @reports_handler
      end

    end

  end

end

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
hybrid_platforms_conductor-33.0.0 spec/hybrid_platforms_conductor_test/helpers/reports_handler_helpers.rb
hybrid_platforms_conductor-32.18.0 spec/hybrid_platforms_conductor_test/helpers/reports_handler_helpers.rb
hybrid_platforms_conductor-32.17.1 spec/hybrid_platforms_conductor_test/helpers/reports_handler_helpers.rb
hybrid_platforms_conductor-32.17.0 spec/hybrid_platforms_conductor_test/helpers/reports_handler_helpers.rb
hybrid_platforms_conductor-32.16.4 spec/hybrid_platforms_conductor_test/helpers/reports_handler_helpers.rb
hybrid_platforms_conductor-32.16.3 spec/hybrid_platforms_conductor_test/helpers/reports_handler_helpers.rb
hybrid_platforms_conductor-32.16.2 spec/hybrid_platforms_conductor_test/helpers/reports_handler_helpers.rb
hybrid_platforms_conductor-32.16.1 spec/hybrid_platforms_conductor_test/helpers/reports_handler_helpers.rb
hybrid_platforms_conductor-32.16.0 spec/hybrid_platforms_conductor_test/helpers/reports_handler_helpers.rb
hybrid_platforms_conductor-32.15.0 spec/hybrid_platforms_conductor_test/helpers/reports_handler_helpers.rb
hybrid_platforms_conductor-32.14.0 spec/hybrid_platforms_conductor_test/helpers/reports_handler_helpers.rb
hybrid_platforms_conductor-32.13.4 spec/hybrid_platforms_conductor_test/helpers/reports_handler_helpers.rb
hybrid_platforms_conductor-32.13.3 spec/hybrid_platforms_conductor_test/helpers/reports_handler_helpers.rb
hybrid_platforms_conductor-32.13.2 spec/hybrid_platforms_conductor_test/helpers/reports_handler_helpers.rb
hybrid_platforms_conductor-32.13.1 spec/hybrid_platforms_conductor_test/helpers/reports_handler_helpers.rb
hybrid_platforms_conductor-32.13.0 spec/hybrid_platforms_conductor_test/helpers/reports_handler_helpers.rb
hybrid_platforms_conductor-32.12.0 spec/hybrid_platforms_conductor_test/helpers/reports_handler_helpers.rb
hybrid_platforms_conductor-32.11.2 spec/hybrid_platforms_conductor_test/helpers/reports_handler_helpers.rb
hybrid_platforms_conductor-32.11.1 spec/hybrid_platforms_conductor_test/helpers/reports_handler_helpers.rb
hybrid_platforms_conductor-32.11.0 spec/hybrid_platforms_conductor_test/helpers/reports_handler_helpers.rb