class PluginReportinator
Public Instance Methods
assemble_test_results(results_list, options={:boom => false})
click to toggle source
# File lib/ceedling/plugin_reportinator.rb, line 28 def assemble_test_results(results_list, options={:boom => false}) aggregated_results = get_results_structure results_list.each do |result_path| results = @plugin_reportinator_helper.fetch_results( result_path, options ) @plugin_reportinator_helper.process_results(aggregated_results, results) end return aggregated_results end
fetch_results(results_path, test, options={:boom => false})
click to toggle source
# File lib/ceedling/plugin_reportinator.rb, line 18 def fetch_results(results_path, test, options={:boom => false}) return @plugin_reportinator_helper.fetch_results( File.join(results_path, test), options ) end
register_test_results_template(template)
click to toggle source
# File lib/ceedling/plugin_reportinator.rb, line 40 def register_test_results_template(template) @test_results_template = template if (@test_results_template.nil?) end
run_report(stream, template, hash=nil, verbosity=Verbosity::NORMAL) { || ... }
click to toggle source
# File lib/ceedling/plugin_reportinator.rb, line 54 def run_report(stream, template, hash=nil, verbosity=Verbosity::NORMAL) failure = nil failure = yield() if block_given? @plugin_manager.register_build_failure( failure ) @plugin_reportinator_helper.run_report( stream, template, hash, verbosity ) end
run_test_results_report(hash, verbosity=Verbosity::NORMAL, &block)
click to toggle source
# File lib/ceedling/plugin_reportinator.rb, line 45 def run_test_results_report(hash, verbosity=Verbosity::NORMAL, &block) run_report( $stdout, ((@test_results_template.nil?) ? DEFAULT_TESTS_RESULTS_REPORT_TEMPLATE : @test_results_template), hash, verbosity, &block ) end
set_system_objects(system_objects)
click to toggle source
# File lib/ceedling/plugin_reportinator.rb, line 13 def set_system_objects(system_objects) @plugin_reportinator_helper.ceedling = system_objects end
setup()
click to toggle source
# File lib/ceedling/plugin_reportinator.rb, line 8 def setup @test_results_template = nil end