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