ceedling 0.9.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/GIT_COMMIT_SHA +1 -0
- data/Gemfile +23 -2
- data/Gemfile.lock +50 -0
- data/README.md +728 -42
- data/Rakefile +21 -75
- data/assets/ceedling +9 -0
- data/assets/ceedling.cmd +1 -0
- data/assets/default_gitignore +7 -0
- data/assets/example_file.c +16 -0
- data/assets/example_file.h +15 -0
- data/assets/example_file_call.c +13 -0
- data/assets/example_file_call.h +13 -0
- data/assets/project.yml +402 -0
- data/assets/test_example_file.c +20 -0
- data/assets/test_example_file_boom.c +20 -0
- data/assets/test_example_file_crash.c +25 -0
- data/assets/test_example_file_success.c +21 -0
- data/assets/test_example_file_unity_printf.c +19 -0
- data/assets/test_example_file_verbose.c +19 -0
- data/assets/test_example_file_with_mock.c +20 -0
- data/assets/test_example_with_parameterized_tests.c +28 -0
- data/assets/tests_with_defines/src/adc_hardware.c +18 -0
- data/assets/tests_with_defines/src/adc_hardware.h +13 -0
- data/assets/tests_with_defines/src/adc_hardware_configurator.c +18 -0
- data/assets/tests_with_defines/src/adc_hardware_configurator.h +17 -0
- data/assets/tests_with_defines/test/test_adc_hardware.c +28 -0
- data/assets/tests_with_defines/test/test_adc_hardware_special.c +28 -0
- data/assets/tests_with_preprocessing/src/adc_hardwareA.c +17 -0
- data/assets/tests_with_preprocessing/src/adc_hardwareA.h +13 -0
- data/assets/tests_with_preprocessing/src/adc_hardwareB.c +14 -0
- data/assets/tests_with_preprocessing/src/adc_hardwareB.h +13 -0
- data/assets/tests_with_preprocessing/src/adc_hardwareC.c +14 -0
- data/assets/tests_with_preprocessing/src/adc_hardwareC.h +13 -0
- data/assets/tests_with_preprocessing/src/adc_hardware_configuratorA.h +13 -0
- data/assets/tests_with_preprocessing/src/adc_hardware_configuratorB.h +15 -0
- data/assets/tests_with_preprocessing/src/adc_hardware_configuratorC.h +15 -0
- data/assets/tests_with_preprocessing/test/test_adc_hardwareA.c +41 -0
- data/assets/tests_with_preprocessing/test/test_adc_hardwareB.c +25 -0
- data/assets/tests_with_preprocessing/test/test_adc_hardwareC.c +29 -0
- data/assets/uncovered_example_file.c +12 -0
- data/bin/actions_wrapper.rb +50 -0
- data/bin/app_cfg.rb +134 -0
- data/bin/ceedling +146 -57
- data/bin/cli.rb +542 -0
- data/bin/cli_handler.rb +480 -0
- data/bin/cli_helper.rb +512 -0
- data/bin/configinator.rb +111 -0
- data/bin/mixinator.rb +136 -0
- data/bin/mixins.rb +12 -0
- data/bin/objects.yml +80 -0
- data/bin/path_validator.rb +54 -0
- data/bin/projectinator.rb +244 -0
- data/bin/versionator.rb +81 -0
- data/ceedling.gemspec +54 -14
- data/config/test_environment.rb +14 -0
- data/docs/BreakingChanges.md +260 -0
- data/docs/CODE_OF_CONDUCT.md +138 -0
- data/docs/CONTRIBUTING.md +240 -0
- data/docs/Ceedling Basic Porting.pdf +0 -0
- data/docs/Ceedling Managing Release Code.pdf +0 -0
- data/docs/Ceedling Working with IDEs.pdf +0 -0
- data/docs/CeedlingPacket.md +5651 -0
- data/docs/CeedlingPullRequestChecklist.md +24 -0
- data/docs/CeedlingUpgrade.md +83 -0
- data/docs/Changelog.md +493 -0
- data/docs/PluginDevelopmentGuide.md +764 -0
- data/docs/ReleaseNotes.md +353 -0
- data/docs/SECURITY.md +41 -0
- data/docs/ThrowTheSwitchCodingStandard.md +207 -0
- data/examples/temp_sensor/README.md +18 -0
- data/examples/temp_sensor/mixin/add_gcov.yml +51 -0
- data/examples/temp_sensor/mixin/add_unity_helper.yml +26 -0
- data/examples/temp_sensor/project.yml +355 -70
- data/examples/temp_sensor/src/AdcConductor.c +49 -42
- data/examples/temp_sensor/src/AdcConductor.h +20 -11
- data/examples/temp_sensor/src/AdcHardware.c +34 -27
- data/examples/temp_sensor/src/AdcHardware.h +18 -11
- data/examples/temp_sensor/src/AdcHardwareConfigurator.c +25 -18
- data/examples/temp_sensor/src/AdcHardwareConfigurator.h +17 -10
- data/examples/temp_sensor/src/AdcModel.c +40 -33
- data/examples/temp_sensor/src/AdcModel.h +20 -13
- data/examples/temp_sensor/src/AdcTemperatureSensor.c +58 -51
- data/examples/temp_sensor/src/AdcTemperatureSensor.h +17 -10
- data/examples/temp_sensor/src/Executor.c +32 -25
- data/examples/temp_sensor/src/Executor.h +16 -9
- data/examples/temp_sensor/src/IntrinsicsWrapper.c +25 -18
- data/examples/temp_sensor/src/IntrinsicsWrapper.h +14 -7
- data/examples/temp_sensor/src/Main.c +53 -46
- data/examples/temp_sensor/src/Main.h +14 -7
- data/examples/temp_sensor/src/Model.c +17 -10
- data/examples/temp_sensor/src/Model.h +15 -8
- data/examples/temp_sensor/src/ModelConfig.h +14 -7
- data/examples/temp_sensor/src/TaskScheduler.c +79 -72
- data/examples/temp_sensor/src/TaskScheduler.h +18 -11
- data/examples/temp_sensor/src/TemperatureCalculator.c +38 -27
- data/examples/temp_sensor/src/TemperatureCalculator.h +15 -6
- data/examples/temp_sensor/src/TemperatureFilter.c +45 -39
- data/examples/temp_sensor/src/TemperatureFilter.h +17 -10
- data/examples/temp_sensor/src/TimerConductor.c +22 -15
- data/examples/temp_sensor/src/TimerConductor.h +16 -9
- data/examples/temp_sensor/src/TimerConfigurator.c +58 -51
- data/examples/temp_sensor/src/TimerConfigurator.h +22 -15
- data/examples/temp_sensor/src/TimerHardware.c +22 -15
- data/examples/temp_sensor/src/TimerHardware.h +15 -8
- data/examples/temp_sensor/src/TimerInterruptConfigurator.c +62 -55
- data/examples/temp_sensor/src/TimerInterruptConfigurator.h +20 -13
- data/examples/temp_sensor/src/TimerInterruptHandler.c +32 -25
- data/examples/temp_sensor/src/TimerInterruptHandler.h +17 -10
- data/examples/temp_sensor/src/TimerModel.c +16 -9
- data/examples/temp_sensor/src/TimerModel.h +15 -8
- data/examples/temp_sensor/src/Types.h +97 -103
- data/examples/temp_sensor/src/UsartBaudRateRegisterCalculator.c +25 -18
- data/examples/temp_sensor/src/UsartBaudRateRegisterCalculator.h +15 -6
- data/examples/temp_sensor/src/UsartConductor.c +28 -21
- data/examples/temp_sensor/src/UsartConductor.h +14 -7
- data/examples/temp_sensor/src/UsartConfigurator.c +46 -39
- data/examples/temp_sensor/src/UsartConfigurator.h +20 -13
- data/examples/temp_sensor/src/UsartHardware.c +29 -34
- data/examples/temp_sensor/src/UsartHardware.h +16 -10
- data/examples/temp_sensor/src/UsartModel.c +41 -34
- data/examples/temp_sensor/src/UsartModel.h +17 -10
- data/examples/temp_sensor/src/UsartPutChar.c +23 -16
- data/examples/temp_sensor/src/UsartPutChar.h +15 -8
- data/examples/temp_sensor/src/UsartTransmitBufferStatus.c +14 -7
- data/examples/temp_sensor/src/UsartTransmitBufferStatus.h +15 -8
- data/examples/temp_sensor/test/TestExecutor.c +43 -0
- data/examples/temp_sensor/test/TestMain.c +31 -0
- data/examples/temp_sensor/test/TestModel.c +27 -0
- data/examples/temp_sensor/test/TestTaskScheduler.c +111 -0
- data/examples/temp_sensor/test/TestTemperatureCalculator.c +43 -0
- data/examples/temp_sensor/test/TestTemperatureFilter.c +86 -0
- data/examples/temp_sensor/test/TestTimerConductor.c +39 -0
- data/examples/temp_sensor/test/TestTimerHardware.c +33 -0
- data/examples/temp_sensor/test/TestTimerIntegrated.c +53 -0
- data/examples/temp_sensor/test/TestTimerModel.c +25 -0
- data/examples/temp_sensor/test/TestUsartBaudRateRegisterCalculator.c +28 -0
- data/examples/temp_sensor/test/TestUsartConductor.c +47 -0
- data/examples/temp_sensor/test/TestUsartHardware.c +43 -0
- data/examples/temp_sensor/test/TestUsartIntegrated.c +63 -0
- data/examples/temp_sensor/test/TestUsartModel.c +47 -0
- data/examples/temp_sensor/test/adc/TestAdcConductor.c +128 -0
- data/examples/temp_sensor/test/adc/TestAdcHardware.c +51 -0
- data/examples/temp_sensor/test/adc/TestAdcModel.c +40 -0
- data/examples/temp_sensor/test/support/UnityHelper.c +19 -10
- data/examples/temp_sensor/test/support/UnityHelper.h +17 -12
- data/lib/ceedling/application.rb +26 -0
- data/lib/ceedling/backtrace.gdb +5 -0
- data/lib/ceedling/build_batchinator.rb +113 -0
- data/lib/ceedling/cacheinator.rb +53 -0
- data/lib/ceedling/cacheinator_helper.rb +41 -0
- data/lib/ceedling/config_matchinator.rb +192 -0
- data/lib/ceedling/config_walkinator.rb +35 -0
- data/lib/ceedling/configurator.rb +735 -0
- data/lib/ceedling/configurator_builder.rb +558 -0
- data/lib/ceedling/configurator_plugins.rb +165 -0
- data/lib/ceedling/configurator_setup.rb +799 -0
- data/lib/ceedling/configurator_validator.rb +203 -0
- data/lib/ceedling/constants.rb +160 -0
- data/lib/ceedling/defaults.rb +477 -0
- data/lib/ceedling/defineinator.rb +90 -0
- data/lib/ceedling/dependinator.rb +31 -0
- data/lib/ceedling/encodinator.rb +26 -0
- data/lib/ceedling/erb_wrapper.rb +16 -0
- data/lib/ceedling/exceptions.rb +47 -0
- data/lib/ceedling/file_finder.rb +183 -0
- data/lib/ceedling/file_finder_helper.rb +116 -0
- data/lib/ceedling/file_path_collection_utils.rb +137 -0
- data/lib/ceedling/file_path_utils.rb +190 -0
- data/lib/ceedling/file_system_wrapper.rb +16 -0
- data/lib/ceedling/file_wrapper.rb +122 -0
- data/lib/ceedling/flaginator.rb +65 -0
- data/lib/ceedling/generator.rb +365 -0
- data/lib/ceedling/generator_helper.rb +78 -0
- data/lib/ceedling/generator_mocks.rb +41 -0
- data/lib/ceedling/generator_test_results.rb +270 -0
- data/lib/ceedling/generator_test_results_backtrace.rb +215 -0
- data/lib/ceedling/generator_test_results_sanity_checker.rb +70 -0
- data/lib/ceedling/generator_test_runner.rb +84 -0
- data/lib/ceedling/include_pathinator.rb +83 -0
- data/lib/ceedling/loginator.rb +326 -0
- data/lib/ceedling/makefile.rb +52 -0
- data/lib/ceedling/objects.yml +352 -0
- data/lib/ceedling/parsing_parcels.rb +77 -0
- data/lib/ceedling/plugin.rb +30 -0
- data/lib/ceedling/plugin_manager.rb +133 -0
- data/lib/ceedling/plugin_manager_helper.rb +25 -0
- data/lib/ceedling/plugin_reportinator.rb +139 -0
- data/lib/ceedling/plugin_reportinator_helper.rb +84 -0
- data/lib/ceedling/preprocessinator.rb +239 -0
- data/lib/ceedling/preprocessinator_extractor.rb +257 -0
- data/lib/ceedling/preprocessinator_file_handler.rb +229 -0
- data/lib/ceedling/preprocessinator_includes_handler.rb +382 -0
- data/lib/ceedling/rake_utils.rb +23 -0
- data/lib/ceedling/rake_wrapper.rb +40 -0
- data/lib/ceedling/rakefile.rb +145 -0
- data/lib/ceedling/release_invoker.rb +68 -0
- data/lib/ceedling/release_invoker_helper.rb +12 -0
- data/lib/ceedling/reportinator.rb +124 -0
- data/lib/ceedling/rules_release.rake +107 -0
- data/lib/ceedling/rules_tests.rake +62 -0
- data/lib/ceedling/setupinator.rb +199 -0
- data/lib/ceedling/stream_wrapper.rb +51 -0
- data/lib/ceedling/system_utils.rb +43 -0
- data/lib/ceedling/system_wrapper.rb +150 -0
- data/lib/ceedling/task_invoker.rb +70 -0
- data/lib/ceedling/tasks_base.rake +39 -0
- data/lib/ceedling/tasks_filesystem.rake +99 -0
- data/lib/ceedling/tasks_release.rake +43 -0
- data/lib/ceedling/tasks_tests.rake +71 -0
- data/lib/ceedling/test_context_extractor.rb +379 -0
- data/lib/ceedling/test_invoker.rb +506 -0
- data/lib/ceedling/test_invoker_helper.rb +347 -0
- data/lib/ceedling/test_runner_manager.rb +47 -0
- data/lib/ceedling/tool_executor.rb +233 -0
- data/lib/ceedling/tool_executor_helper.rb +107 -0
- data/lib/ceedling/tool_validator.rb +149 -0
- data/lib/ceedling/verbosinator.rb +22 -0
- data/lib/ceedling/yaml_wrapper.rb +37 -0
- data/lib/ceedling.rb +12 -4
- data/lib/version.rb +24 -0
- data/license.txt +24 -0
- data/plugins/beep/README.md +133 -0
- data/plugins/beep/config/defaults.yml +12 -0
- data/plugins/beep/config/defaults_beep.rb +67 -0
- data/plugins/beep/lib/beep.rb +85 -0
- data/plugins/bullseye/README.md +81 -0
- data/plugins/bullseye/bullseye.rake +180 -0
- data/plugins/bullseye/config/defaults.yml +66 -0
- data/plugins/bullseye/lib/bullseye.rb +203 -0
- data/plugins/command_hooks/README.md +241 -0
- data/plugins/command_hooks/lib/command_hooks.rb +231 -0
- data/plugins/compile_commands_json_db/README.md +40 -0
- data/plugins/compile_commands_json_db/lib/compile_commands_json_db.rb +51 -0
- data/plugins/dependencies/README.md +321 -0
- data/plugins/dependencies/Rakefile +188 -0
- data/plugins/dependencies/config/defaults.yml +78 -0
- data/plugins/dependencies/dependencies.rake +157 -0
- data/plugins/dependencies/example/boss/project.yml +231 -0
- data/plugins/dependencies/example/boss/src/boss.c +80 -0
- data/plugins/dependencies/example/boss/src/boss.h +16 -0
- data/plugins/dependencies/example/boss/src/main.c +45 -0
- data/plugins/dependencies/example/boss/test/test_boss.c +118 -0
- data/plugins/dependencies/example/supervisor/project.yml +165 -0
- data/plugins/dependencies/example/supervisor/src/supervisor.c +45 -0
- data/plugins/dependencies/example/supervisor/src/supervisor.h +14 -0
- data/plugins/dependencies/example/supervisor/test/test_supervisor.c +58 -0
- data/plugins/dependencies/example/version.tar.gzip +0 -0
- data/plugins/dependencies/example/workerbees.zip +0 -0
- data/plugins/dependencies/lib/dependencies.rb +531 -0
- data/plugins/fff/README.md +242 -0
- data/plugins/fff/Rakefile +26 -0
- data/plugins/fff/config/fff.yml +13 -0
- data/plugins/fff/examples/fff_example/project.yml +145 -0
- data/plugins/fff/examples/fff_example/src/bar.c +8 -0
- data/plugins/fff/examples/fff_example/src/bar.h +21 -0
- data/plugins/fff/examples/fff_example/src/custom_types.h +13 -0
- data/plugins/fff/examples/fff_example/src/display.c +14 -0
- data/plugins/fff/examples/fff_example/src/display.h +23 -0
- data/plugins/fff/examples/fff_example/src/event_processor.c +100 -0
- data/plugins/fff/examples/fff_example/src/event_processor.h +18 -0
- data/plugins/fff/examples/fff_example/src/foo.c +23 -0
- data/plugins/fff/examples/fff_example/src/foo.h +15 -0
- data/plugins/fff/examples/fff_example/src/subfolder/zzz.c +8 -0
- data/plugins/fff/examples/fff_example/src/subfolder/zzz.h +13 -0
- data/plugins/fff/examples/fff_example/test/test_event_processor.c +160 -0
- data/plugins/fff/examples/fff_example/test/test_foo.c +54 -0
- data/plugins/fff/lib/fff.rb +90 -0
- data/plugins/fff/lib/fff_mock_generator.rb +172 -0
- data/plugins/fff/spec/fff_mock_header_generator_spec.rb +311 -0
- data/plugins/fff/spec/fff_mock_source_generator_spec.rb +156 -0
- data/plugins/fff/spec/header_generator.rb +58 -0
- data/plugins/fff/spec/spec_helper.rb +103 -0
- data/plugins/fff/src/fff_unity_helper.h +40 -0
- data/plugins/fff/vendor/fff/LICENSE +25 -0
- data/plugins/fff/vendor/fff/Makefile +10 -0
- data/plugins/fff/vendor/fff/README.md +454 -0
- data/plugins/fff/vendor/fff/buildandtest +15 -0
- data/plugins/fff/vendor/fff/examples/Makefile +7 -0
- data/plugins/fff/vendor/fff/examples/driver_testing/Makefile +64 -0
- data/plugins/fff/vendor/fff/examples/driver_testing/driver.c +32 -0
- data/plugins/fff/vendor/fff/examples/driver_testing/driver.h +21 -0
- data/plugins/fff/vendor/fff/examples/driver_testing/driver.test.cpp +58 -0
- data/plugins/fff/vendor/fff/examples/driver_testing/driver.test.fff.cpp +70 -0
- data/plugins/fff/vendor/fff/examples/driver_testing/hardware_abstraction.h +25 -0
- data/plugins/fff/vendor/fff/examples/driver_testing/registers.h +23 -0
- data/plugins/fff/vendor/fff/examples/embedded_ui/DISPLAY.h +27 -0
- data/plugins/fff/vendor/fff/examples/embedded_ui/Kata.txt +25 -0
- data/plugins/fff/vendor/fff/examples/embedded_ui/Makefile +67 -0
- data/plugins/fff/vendor/fff/examples/embedded_ui/SYSTEM.h +31 -0
- data/plugins/fff/vendor/fff/examples/embedded_ui/UI.c +56 -0
- data/plugins/fff/vendor/fff/examples/embedded_ui/UI.h +22 -0
- data/plugins/fff/vendor/fff/examples/embedded_ui/UI_test_ansic.c +191 -0
- data/plugins/fff/vendor/fff/examples/embedded_ui/UI_test_cpp.cpp +144 -0
- data/plugins/fff/vendor/fff/examples/embedded_ui/test_suite_template.c +42 -0
- data/plugins/fff/vendor/fff/fakegen.rb +428 -0
- data/plugins/fff/vendor/fff/fff.h +5122 -0
- data/plugins/fff/vendor/fff/gtest/Makefile +22 -0
- data/plugins/fff/vendor/fff/gtest/gtest-all.cc +9118 -0
- data/plugins/fff/vendor/fff/gtest/gtest-main.cc +6 -0
- data/plugins/fff/vendor/fff/gtest/gtest.h +19547 -0
- data/plugins/fff/vendor/fff/test/Makefile +81 -0
- data/plugins/fff/vendor/fff/test/c_test_framework.h +25 -0
- data/plugins/fff/vendor/fff/test/fff_test_c.c +116 -0
- data/plugins/fff/vendor/fff/test/fff_test_cpp.cpp +53 -0
- data/plugins/fff/vendor/fff/test/fff_test_global_c.c +84 -0
- data/plugins/fff/vendor/fff/test/fff_test_global_cpp.cpp +31 -0
- data/plugins/fff/vendor/fff/test/global_fakes.c +21 -0
- data/plugins/fff/vendor/fff/test/global_fakes.h +47 -0
- data/plugins/fff/vendor/fff/test/test_cases.include +276 -0
- data/plugins/gcov/README.md +893 -0
- data/plugins/gcov/config/defaults.yml +30 -0
- data/plugins/gcov/config/defaults_gcov.rb +109 -0
- data/plugins/gcov/gcov.rake +100 -0
- data/plugins/gcov/lib/gcov.rb +282 -0
- data/plugins/gcov/lib/gcov_constants.rb +63 -0
- data/plugins/gcov/lib/gcovr_reportinator.rb +425 -0
- data/plugins/gcov/lib/reportgenerator_reportinator.rb +220 -0
- data/plugins/gcov/lib/reportinator_helper.rb +30 -0
- data/plugins/module_generator/README.md +267 -0
- data/plugins/module_generator/Rakefile +232 -0
- data/plugins/module_generator/assets/stubby1.h +13 -0
- data/plugins/module_generator/assets/stubby2.h +15 -0
- data/plugins/module_generator/config/module_generator.yml +13 -0
- data/plugins/module_generator/example/project.yml +174 -0
- data/plugins/module_generator/lib/module_generator.rb +122 -0
- data/plugins/module_generator/module_generator.rake +69 -0
- data/plugins/report_build_warnings_log/README.md +40 -0
- data/plugins/report_build_warnings_log/config/defaults.yml +12 -0
- data/plugins/report_build_warnings_log/lib/report_build_warnings_log.rb +143 -0
- data/plugins/report_tests_gtestlike_stdout/README.md +96 -0
- data/plugins/report_tests_gtestlike_stdout/assets/template.erb +83 -0
- data/plugins/report_tests_gtestlike_stdout/config/report_tests_gtestlike_stdout.yml +11 -0
- data/plugins/report_tests_gtestlike_stdout/lib/report_tests_gtestlike_stdout.rb +69 -0
- data/plugins/report_tests_ide_stdout/README.md +62 -0
- data/plugins/report_tests_ide_stdout/config/report_tests_ide_stdout.yml +11 -0
- data/plugins/report_tests_ide_stdout/lib/report_tests_ide_stdout.rb +72 -0
- data/plugins/report_tests_log_factory/README.md +446 -0
- data/plugins/report_tests_log_factory/config/defaults.yml +11 -0
- data/plugins/report_tests_log_factory/lib/cppunit_tests_reporter.rb +100 -0
- data/plugins/report_tests_log_factory/lib/html_tests_reporter.rb +181 -0
- data/plugins/report_tests_log_factory/lib/json_tests_reporter.rb +72 -0
- data/plugins/report_tests_log_factory/lib/junit_tests_reporter.rb +197 -0
- data/plugins/report_tests_log_factory/lib/report_tests_log_factory.rb +135 -0
- data/plugins/report_tests_log_factory/lib/tests_reporter.rb +70 -0
- data/plugins/report_tests_log_factory/sample_html_report.png +0 -0
- data/plugins/report_tests_pretty_stdout/README.md +54 -0
- data/plugins/report_tests_pretty_stdout/assets/template.erb +63 -0
- data/plugins/report_tests_pretty_stdout/config/report_tests_pretty_stdout.yml +11 -0
- data/plugins/report_tests_pretty_stdout/lib/report_tests_pretty_stdout.rb +73 -0
- data/plugins/report_tests_raw_output_log/README.md +50 -0
- data/plugins/report_tests_raw_output_log/lib/report_tests_raw_output_log.rb +129 -0
- data/plugins/report_tests_teamcity_stdout/README.md +94 -0
- data/plugins/report_tests_teamcity_stdout/config/defaults.yml +12 -0
- data/plugins/report_tests_teamcity_stdout/config/report_tests_teamcity_stdout.yml +11 -0
- data/plugins/report_tests_teamcity_stdout/lib/report_tests_teamcity_stdout.rb +163 -0
- data/spec/config_walkinator_spec.rb +62 -0
- data/spec/configurator_builder_spec.rb +16 -0
- data/spec/configurator_helper_spec.rb +12 -0
- data/spec/configurator_spec.rb +18 -0
- data/spec/file_finder_helper_spec.rb +73 -0
- data/spec/gcov/gcov_deployment_spec.rb +135 -0
- data/spec/gcov/gcov_test_cases_spec.rb +344 -0
- data/spec/generator_test_results_sanity_checker_spec.rb +104 -0
- data/spec/generator_test_results_spec.rb +131 -0
- data/spec/manual/stress_test.rb +31 -0
- data/spec/parsing_parcels_spec.rb +66 -0
- data/spec/preprocessinator_extractor_spec.rb +408 -0
- data/spec/preprocessinator_includes_handler_spec.rb +289 -0
- data/spec/reportinator_spec.rb +26 -0
- data/spec/spec_helper.rb +31 -0
- data/spec/spec_system_helper.rb +994 -0
- data/spec/support/other_target.yml +7 -0
- data/spec/support/target.yml +7 -0
- data/spec/support/test_example.fail +25 -0
- data/spec/support/test_example.pass +25 -0
- data/spec/support/test_example_empty.pass +15 -0
- data/spec/support/test_example_ignore.pass +25 -0
- data/spec/support/test_example_mangled.pass +22 -0
- data/spec/support/test_example_with_time.pass +25 -0
- data/spec/system/deployment_as_gem_spec.rb +76 -0
- data/spec/system/deployment_as_vendor_spec.rb +123 -0
- data/spec/system/example_temp_sensor_spec.rb +264 -0
- data/spec/system/upgrade_as_vendor_spec.rb +68 -0
- data/spec/system_utils_spec.rb +65 -0
- data/spec/test_context_extractor_spec.rb +328 -0
- data/spec/tool_executor_helper_spec.rb +219 -0
- data/spec/uncategorized_specs_spec.rb +15 -0
- data/vendor/c_exception/README.md +236 -0
- data/vendor/c_exception/docs/CException.md +289 -0
- data/vendor/c_exception/docs/CODE_OF_CONDUCT.md +138 -0
- data/vendor/c_exception/docs/CONTRIBUTING.md +238 -0
- data/vendor/c_exception/docs/ThrowTheSwitchCodingStandard.md +207 -0
- data/vendor/c_exception/lib/CException.c +59 -0
- data/vendor/c_exception/lib/CException.h +122 -0
- data/vendor/c_exception/lib/meson.build +11 -0
- data/vendor/c_exception/license.txt +22 -0
- data/vendor/c_exception/meson.build +14 -0
- data/vendor/c_exception/project.yml +263 -0
- data/vendor/c_exception/test/TestException.c +398 -0
- data/vendor/c_exception/test/support/CExceptionConfig.h +53 -0
- data/vendor/cmock/Gemfile +1 -0
- data/vendor/cmock/LICENSE.txt +21 -0
- data/vendor/cmock/README.md +55 -0
- data/vendor/cmock/cmock.gemspec +34 -0
- data/vendor/cmock/config/production_environment.rb +13 -0
- data/vendor/cmock/config/test_environment.rb +17 -0
- data/vendor/cmock/docs/CMockChangeLog.md +166 -0
- data/vendor/cmock/docs/CMockKnownIssues.md +13 -0
- data/vendor/cmock/docs/CMock_ArgumentValidation.md +274 -0
- data/vendor/cmock/docs/CMock_Summary.md +866 -0
- data/vendor/cmock/docs/CODE_OF_CONDUCT.md +138 -0
- data/vendor/cmock/docs/CONTRIBUTING.md +238 -0
- data/vendor/cmock/docs/ThrowTheSwitchCodingStandard.md +207 -0
- data/vendor/cmock/examples/make_example/Makefile +30 -0
- data/vendor/cmock/examples/make_example/src/foo.c +12 -0
- data/vendor/cmock/examples/make_example/src/foo.h +12 -0
- data/vendor/cmock/examples/make_example/src/main.c +22 -0
- data/vendor/cmock/examples/make_example/test/test_foo.c +24 -0
- data/vendor/cmock/examples/make_example/test/test_main.c +22 -0
- data/vendor/cmock/examples/temp_sensor/rakefile.rb +49 -0
- data/vendor/cmock/examples/temp_sensor/rakefile_helper.rb +280 -0
- data/vendor/cmock/examples/temp_sensor/src/AT91SAM7X256.h +2564 -0
- data/vendor/cmock/examples/temp_sensor/src/AdcConductor.c +49 -0
- data/vendor/cmock/examples/temp_sensor/src/AdcConductor.h +18 -0
- data/vendor/cmock/examples/temp_sensor/src/AdcHardware.c +34 -0
- data/vendor/cmock/examples/temp_sensor/src/AdcHardware.h +16 -0
- data/vendor/cmock/examples/temp_sensor/src/AdcHardwareConfigurator.c +25 -0
- data/vendor/cmock/examples/temp_sensor/src/AdcHardwareConfigurator.h +17 -0
- data/vendor/cmock/examples/temp_sensor/src/AdcModel.c +40 -0
- data/vendor/cmock/examples/temp_sensor/src/AdcModel.h +20 -0
- data/vendor/cmock/examples/temp_sensor/src/AdcTemperatureSensor.c +58 -0
- data/vendor/cmock/examples/temp_sensor/src/AdcTemperatureSensor.h +17 -0
- data/vendor/cmock/examples/temp_sensor/src/Executor.c +32 -0
- data/vendor/cmock/examples/temp_sensor/src/Executor.h +16 -0
- data/vendor/cmock/examples/temp_sensor/src/IntrinsicsWrapper.c +25 -0
- data/vendor/cmock/examples/temp_sensor/src/IntrinsicsWrapper.h +14 -0
- data/vendor/cmock/examples/temp_sensor/src/Main.c +53 -0
- data/vendor/cmock/examples/temp_sensor/src/Main.h +14 -0
- data/vendor/cmock/examples/temp_sensor/src/Model.c +17 -0
- data/vendor/cmock/examples/temp_sensor/src/Model.h +15 -0
- data/vendor/cmock/examples/temp_sensor/src/ModelConfig.h +14 -0
- data/vendor/cmock/examples/temp_sensor/src/TaskScheduler.c +79 -0
- data/vendor/cmock/examples/temp_sensor/src/TaskScheduler.h +18 -0
- data/vendor/cmock/examples/temp_sensor/src/TemperatureCalculator.c +34 -0
- data/vendor/cmock/examples/temp_sensor/src/TemperatureCalculator.h +13 -0
- data/vendor/cmock/examples/temp_sensor/src/TemperatureFilter.c +49 -0
- data/vendor/cmock/examples/temp_sensor/src/TemperatureFilter.h +17 -0
- data/vendor/cmock/examples/temp_sensor/src/TimerConductor.c +22 -0
- data/vendor/cmock/examples/temp_sensor/src/TimerConductor.h +16 -0
- data/vendor/cmock/examples/temp_sensor/src/TimerConfigurator.c +58 -0
- data/vendor/cmock/examples/temp_sensor/src/TimerConfigurator.h +22 -0
- data/vendor/cmock/examples/temp_sensor/src/TimerHardware.c +22 -0
- data/vendor/cmock/examples/temp_sensor/src/TimerHardware.h +15 -0
- data/vendor/cmock/examples/temp_sensor/src/TimerInterruptConfigurator.c +62 -0
- data/vendor/cmock/examples/temp_sensor/src/TimerInterruptConfigurator.h +20 -0
- data/vendor/cmock/examples/temp_sensor/src/TimerInterruptHandler.c +32 -0
- data/vendor/cmock/examples/temp_sensor/src/TimerInterruptHandler.h +17 -0
- data/vendor/cmock/examples/temp_sensor/src/TimerModel.c +16 -0
- data/vendor/cmock/examples/temp_sensor/src/TimerModel.h +15 -0
- data/vendor/cmock/examples/temp_sensor/src/Types.h +110 -0
- data/vendor/cmock/examples/temp_sensor/src/UsartBaudRateRegisterCalculator.c +25 -0
- data/vendor/cmock/examples/temp_sensor/src/UsartBaudRateRegisterCalculator.h +13 -0
- data/vendor/cmock/examples/temp_sensor/src/UsartConductor.c +28 -0
- data/vendor/cmock/examples/temp_sensor/src/UsartConductor.h +14 -0
- data/vendor/cmock/examples/temp_sensor/src/UsartConfigurator.c +46 -0
- data/vendor/cmock/examples/temp_sensor/src/UsartConfigurator.h +20 -0
- data/vendor/cmock/examples/temp_sensor/src/UsartHardware.c +29 -0
- data/vendor/cmock/examples/temp_sensor/src/UsartHardware.h +16 -0
- data/vendor/cmock/examples/temp_sensor/src/UsartModel.c +41 -0
- data/vendor/cmock/examples/temp_sensor/src/UsartModel.h +17 -0
- data/vendor/cmock/examples/temp_sensor/src/UsartPutChar.c +23 -0
- data/vendor/cmock/examples/temp_sensor/src/UsartPutChar.h +15 -0
- data/vendor/cmock/examples/temp_sensor/src/UsartTransmitBufferStatus.c +14 -0
- data/vendor/cmock/examples/temp_sensor/src/UsartTransmitBufferStatus.h +15 -0
- data/vendor/cmock/examples/temp_sensor/targets/gcc.yml +97 -0
- data/vendor/cmock/examples/temp_sensor/targets/iar_v4.yml +143 -0
- data/vendor/cmock/examples/temp_sensor/targets/iar_v5.yml +132 -0
- data/vendor/cmock/examples/temp_sensor/test/TestAdcConductor.c +128 -0
- data/vendor/cmock/examples/temp_sensor/test/TestAdcHardware.c +51 -0
- data/vendor/cmock/examples/temp_sensor/test/TestAdcHardwareConfigurator.c +50 -0
- data/vendor/cmock/examples/temp_sensor/test/TestAdcModel.c +40 -0
- data/vendor/cmock/examples/temp_sensor/test/TestAdcTemperatureSensor.c +54 -0
- data/vendor/cmock/examples/temp_sensor/test/TestExecutor.c +43 -0
- data/vendor/cmock/examples/temp_sensor/test/TestMain.c +31 -0
- data/vendor/cmock/examples/temp_sensor/test/TestModel.c +27 -0
- data/vendor/cmock/examples/temp_sensor/test/TestTaskScheduler.c +111 -0
- data/vendor/cmock/examples/temp_sensor/test/TestTemperatureCalculator.c +40 -0
- data/vendor/cmock/examples/temp_sensor/test/TestTemperatureFilter.c +76 -0
- data/vendor/cmock/examples/temp_sensor/test/TestTimerConductor.c +39 -0
- data/vendor/cmock/examples/temp_sensor/test/TestTimerConfigurator.c +119 -0
- data/vendor/cmock/examples/temp_sensor/test/TestTimerHardware.c +33 -0
- data/vendor/cmock/examples/temp_sensor/test/TestTimerInterruptConfigurator.c +85 -0
- data/vendor/cmock/examples/temp_sensor/test/TestTimerInterruptHandler.c +73 -0
- data/vendor/cmock/examples/temp_sensor/test/TestTimerModel.c +25 -0
- data/vendor/cmock/examples/temp_sensor/test/TestUsartBaudRateRegisterCalculator.c +28 -0
- data/vendor/cmock/examples/temp_sensor/test/TestUsartConductor.c +47 -0
- data/vendor/cmock/examples/temp_sensor/test/TestUsartConfigurator.c +84 -0
- data/vendor/cmock/examples/temp_sensor/test/TestUsartHardware.c +44 -0
- data/vendor/cmock/examples/temp_sensor/test/TestUsartModel.c +47 -0
- data/vendor/cmock/examples/temp_sensor/test/TestUsartPutChar.c +50 -0
- data/vendor/cmock/examples/temp_sensor/test/TestUsartTransmitBufferStatus.c +29 -0
- data/vendor/cmock/lib/cmock.rb +127 -0
- data/vendor/cmock/lib/cmock_config.rb +184 -0
- data/vendor/cmock/lib/cmock_file_writer.rb +48 -0
- data/vendor/cmock/lib/cmock_generator.rb +379 -0
- data/vendor/cmock/lib/cmock_generator_plugin_array.rb +68 -0
- data/vendor/cmock/lib/cmock_generator_plugin_callback.rb +88 -0
- data/vendor/cmock/lib/cmock_generator_plugin_cexception.rb +50 -0
- data/vendor/cmock/lib/cmock_generator_plugin_expect.rb +105 -0
- data/vendor/cmock/lib/cmock_generator_plugin_expect_any_args.rb +52 -0
- data/vendor/cmock/lib/cmock_generator_plugin_ignore.rb +90 -0
- data/vendor/cmock/lib/cmock_generator_plugin_ignore_arg.rb +49 -0
- data/vendor/cmock/lib/cmock_generator_plugin_ignore_stateless.rb +87 -0
- data/vendor/cmock/lib/cmock_generator_plugin_return_thru_ptr.rb +102 -0
- data/vendor/cmock/lib/cmock_generator_utils.rb +251 -0
- data/vendor/cmock/lib/cmock_header_parser.rb +629 -0
- data/vendor/cmock/lib/cmock_plugin_manager.rb +51 -0
- data/vendor/cmock/lib/cmock_unityhelper_parser.rb +82 -0
- data/vendor/cmock/lib/cmock_version.rb +29 -0
- data/vendor/cmock/meson.build +17 -0
- data/vendor/cmock/scripts/create_makefile.rb +210 -0
- data/vendor/cmock/scripts/create_mock.rb +15 -0
- data/vendor/cmock/scripts/create_runner.rb +25 -0
- data/vendor/cmock/scripts/test_summary.rb +25 -0
- data/vendor/cmock/src/cmock.c +238 -0
- data/vendor/cmock/src/cmock.h +54 -0
- data/vendor/cmock/src/cmock_internals.h +98 -0
- data/vendor/cmock/src/meson.build +12 -0
- data/vendor/cmock/test/c/TestCMockC.c +340 -0
- data/vendor/cmock/test/c/TestCMockC.yml +21 -0
- data/vendor/cmock/test/c/TestCMockCDynamic.c +193 -0
- data/vendor/cmock/test/c/TestCMockCDynamic.yml +19 -0
- data/vendor/cmock/test/c/TestCMockCDynamic_Runner.c +43 -0
- data/vendor/cmock/test/c/TestCMockC_Runner.c +48 -0
- data/vendor/cmock/test/iar/iar_v4/Resource/SAM7_FLASH.mac +71 -0
- data/vendor/cmock/test/iar/iar_v4/Resource/SAM7_RAM.mac +94 -0
- data/vendor/cmock/test/iar/iar_v4/Resource/SAM7_SIM.mac +67 -0
- data/vendor/cmock/test/iar/iar_v4/Resource/at91SAM7X256_FLASH.xcl +185 -0
- data/vendor/cmock/test/iar/iar_v4/Resource/at91SAM7X256_RAM.xcl +185 -0
- data/vendor/cmock/test/iar/iar_v4/Resource/ioat91sam7x256.ddf +2259 -0
- data/vendor/cmock/test/iar/iar_v4/cmock_demo.dep +3691 -0
- data/vendor/cmock/test/iar/iar_v4/cmock_demo.ewd +1696 -0
- data/vendor/cmock/test/iar/iar_v4/cmock_demo.ewp +2581 -0
- data/vendor/cmock/test/iar/iar_v4/cmock_demo.eww +10 -0
- data/vendor/cmock/test/iar/iar_v4/incIAR/AT91SAM7X-EK.h +68 -0
- data/vendor/cmock/test/iar/iar_v4/incIAR/AT91SAM7X256.inc +2314 -0
- data/vendor/cmock/test/iar/iar_v4/incIAR/AT91SAM7X256.rdf +4704 -0
- data/vendor/cmock/test/iar/iar_v4/incIAR/AT91SAM7X256.tcl +3407 -0
- data/vendor/cmock/test/iar/iar_v4/incIAR/AT91SAM7X256_inc.h +2275 -0
- data/vendor/cmock/test/iar/iar_v4/incIAR/ioat91sam7x256.h +4387 -0
- data/vendor/cmock/test/iar/iar_v4/incIAR/lib_AT91SAM7X256.h +4211 -0
- data/vendor/cmock/test/iar/iar_v4/settings/cmock_demo.cspy.bat +32 -0
- data/vendor/cmock/test/iar/iar_v4/settings/cmock_demo.dbgdt +86 -0
- data/vendor/cmock/test/iar/iar_v4/settings/cmock_demo.dni +42 -0
- data/vendor/cmock/test/iar/iar_v4/settings/cmock_demo.wsdt +76 -0
- data/vendor/cmock/test/iar/iar_v4/srcIAR/Cstartup.s79 +266 -0
- data/vendor/cmock/test/iar/iar_v4/srcIAR/Cstartup_SAM7.c +105 -0
- data/vendor/cmock/test/iar/iar_v5/Resource/SAM7_FLASH.mac +71 -0
- data/vendor/cmock/test/iar/iar_v5/Resource/SAM7_RAM.mac +94 -0
- data/vendor/cmock/test/iar/iar_v5/Resource/SAM7_SIM.mac +67 -0
- data/vendor/cmock/test/iar/iar_v5/Resource/at91SAM7X256_FLASH.icf +43 -0
- data/vendor/cmock/test/iar/iar_v5/Resource/at91SAM7X256_RAM.icf +42 -0
- data/vendor/cmock/test/iar/iar_v5/cmock_demo.dep +4204 -0
- data/vendor/cmock/test/iar/iar_v5/cmock_demo.ewd +1906 -0
- data/vendor/cmock/test/iar/iar_v5/cmock_demo.ewp +2426 -0
- data/vendor/cmock/test/iar/iar_v5/cmock_demo.eww +26 -0
- data/vendor/cmock/test/iar/iar_v5/incIAR/AT91SAM7X-EK.h +68 -0
- data/vendor/cmock/test/iar/iar_v5/incIAR/AT91SAM7X256_inc.h +2275 -0
- data/vendor/cmock/test/iar/iar_v5/incIAR/lib_AT91SAM7X256.h +4211 -0
- data/vendor/cmock/test/iar/iar_v5/incIAR/project.h +37 -0
- data/vendor/cmock/test/iar/iar_v5/settings/BasicInterrupt_SAM7X.cspy.bat +33 -0
- data/vendor/cmock/test/iar/iar_v5/settings/BasicInterrupt_SAM7X.dbgdt +5 -0
- data/vendor/cmock/test/iar/iar_v5/settings/BasicInterrupt_SAM7X.dni +18 -0
- data/vendor/cmock/test/iar/iar_v5/settings/BasicInterrupt_SAM7X.wsdt +74 -0
- data/vendor/cmock/test/iar/iar_v5/settings/BasicInterrupt_SAM7X_FLASH_Debug.jlink +12 -0
- data/vendor/cmock/test/iar/iar_v5/settings/cmock_demo.cspy.bat +33 -0
- data/vendor/cmock/test/iar/iar_v5/settings/cmock_demo.dbgdt +85 -0
- data/vendor/cmock/test/iar/iar_v5/settings/cmock_demo.dni +44 -0
- data/vendor/cmock/test/iar/iar_v5/settings/cmock_demo.wsdt +73 -0
- data/vendor/cmock/test/iar/iar_v5/settings/cmock_demo_Binary.jlink +12 -0
- data/vendor/cmock/test/iar/iar_v5/settings/cmock_demo_FLASH_Debug.jlink +12 -0
- data/vendor/cmock/test/iar/iar_v5/settings/cmock_demo_RAM_Debug.jlink +12 -0
- data/vendor/cmock/test/iar/iar_v5/srcIAR/Cstartup.s +299 -0
- data/vendor/cmock/test/iar/iar_v5/srcIAR/Cstartup_SAM7.c +105 -0
- data/vendor/cmock/test/rakefile +150 -0
- data/vendor/cmock/test/rakefile_helper.rb +417 -0
- data/vendor/cmock/test/system/systest_generator.rb +206 -0
- data/vendor/cmock/test/system/test_compilation/callingconv.h +18 -0
- data/vendor/cmock/test/system/test_compilation/config.yml +17 -0
- data/vendor/cmock/test/system/test_compilation/const.h +44 -0
- data/vendor/cmock/test/system/test_compilation/inline.h +30 -0
- data/vendor/cmock/test/system/test_compilation/osek.h +282 -0
- data/vendor/cmock/test/system/test_compilation/parsing.h +99 -0
- data/vendor/cmock/test/system/test_interactions/all_plugins_but_other_limits.yml +382 -0
- data/vendor/cmock/test/system/test_interactions/all_plugins_coexist.yml +467 -0
- data/vendor/cmock/test/system/test_interactions/array_and_pointer_handling.yml +453 -0
- data/vendor/cmock/test/system/test_interactions/basic_expect_and_return.yml +131 -0
- data/vendor/cmock/test/system/test_interactions/const_primitives_handling.yml +94 -0
- data/vendor/cmock/test/system/test_interactions/doesnt_leave_details_behind.yml +315 -0
- data/vendor/cmock/test/system/test_interactions/enforce_strict_ordering.yml +254 -0
- data/vendor/cmock/test/system/test_interactions/expect_and_return_custom_types.yml +115 -0
- data/vendor/cmock/test/system/test_interactions/expect_and_return_treat_as.yml +180 -0
- data/vendor/cmock/test/system/test_interactions/expect_and_throw.yml +177 -0
- data/vendor/cmock/test/system/test_interactions/expect_any_args.yml +245 -0
- data/vendor/cmock/test/system/test_interactions/fancy_pointer_handling.yml +217 -0
- data/vendor/cmock/test/system/test_interactions/function_pointer_handling.yml +90 -0
- data/vendor/cmock/test/system/test_interactions/ignore_and_return.yml +336 -0
- data/vendor/cmock/test/system/test_interactions/ignore_and_return_stateless.yml +332 -0
- data/vendor/cmock/test/system/test_interactions/ignore_strict_mock_calling.yml +44 -0
- data/vendor/cmock/test/system/test_interactions/newer_standards_stuff1.yml +59 -0
- data/vendor/cmock/test/system/test_interactions/nonstandard_parsed_stuff_1.yml +98 -0
- data/vendor/cmock/test/system/test_interactions/nonstandard_parsed_stuff_2.yml +66 -0
- data/vendor/cmock/test/system/test_interactions/out_of_memory.yml +72 -0
- data/vendor/cmock/test/system/test_interactions/parsing_challenges.yml +249 -0
- data/vendor/cmock/test/system/test_interactions/return_thru_ptr_and_expect_any_args.yml +242 -0
- data/vendor/cmock/test/system/test_interactions/return_thru_ptr_ignore_arg.yml +238 -0
- data/vendor/cmock/test/system/test_interactions/skeleton.yml +62 -0
- data/vendor/cmock/test/system/test_interactions/skeleton_update.yml +83 -0
- data/vendor/cmock/test/system/test_interactions/struct_union_enum_expect_and_return.yml +284 -0
- data/vendor/cmock/test/system/test_interactions/struct_union_enum_expect_and_return_with_plugins.yml +287 -0
- data/vendor/cmock/test/system/test_interactions/stubs_with_callbacks.yml +228 -0
- data/vendor/cmock/test/system/test_interactions/unity_64bit_support.yml +84 -0
- data/vendor/cmock/test/system/test_interactions/unity_ignores.yml +146 -0
- data/vendor/cmock/test/system/test_interactions/unity_void_pointer_compare.yml +98 -0
- data/vendor/cmock/test/system/test_interactions/wrong_expect_and_return.yml +149 -0
- data/vendor/cmock/test/targets/clang_strict.yml +97 -0
- data/vendor/cmock/test/targets/gcc.yml +65 -0
- data/vendor/cmock/test/targets/gcc_64.yml +65 -0
- data/vendor/cmock/test/targets/gcc_tiny.yml +87 -0
- data/vendor/cmock/test/targets/iar_arm_v4.yml +117 -0
- data/vendor/cmock/test/targets/iar_arm_v5.yml +102 -0
- data/vendor/cmock/test/test_helper.rb +45 -0
- data/vendor/cmock/test/unit/cmock_config_test.rb +127 -0
- data/vendor/cmock/test/unit/cmock_config_test.yml +14 -0
- data/vendor/cmock/test/unit/cmock_file_writer_test.rb +28 -0
- data/vendor/cmock/test/unit/cmock_generator_main_test.rb +706 -0
- data/vendor/cmock/test/unit/cmock_generator_plugin_array_test.rb +145 -0
- data/vendor/cmock/test/unit/cmock_generator_plugin_callback_test.rb +282 -0
- data/vendor/cmock/test/unit/cmock_generator_plugin_cexception_test.rb +109 -0
- data/vendor/cmock/test/unit/cmock_generator_plugin_expect_a_test.rb +189 -0
- data/vendor/cmock/test/unit/cmock_generator_plugin_expect_any_args_test.rb +71 -0
- data/vendor/cmock/test/unit/cmock_generator_plugin_expect_b_test.rb +205 -0
- data/vendor/cmock/test/unit/cmock_generator_plugin_ignore_arg_test.rb +117 -0
- data/vendor/cmock/test/unit/cmock_generator_plugin_ignore_stateless_test.rb +121 -0
- data/vendor/cmock/test/unit/cmock_generator_plugin_ignore_test.rb +124 -0
- data/vendor/cmock/test/unit/cmock_generator_plugin_return_thru_ptr_test.rb +209 -0
- data/vendor/cmock/test/unit/cmock_generator_utils_test.rb +404 -0
- data/vendor/cmock/test/unit/cmock_header_parser_test.rb +2886 -0
- data/vendor/cmock/test/unit/cmock_plugin_manager_test.rb +102 -0
- data/vendor/cmock/test/unit/cmock_unityhelper_parser_test.rb +224 -0
- data/vendor/cmock/vendor/behaviors/Manifest.txt +9 -0
- data/vendor/cmock/vendor/behaviors/Rakefile +19 -0
- data/vendor/cmock/vendor/behaviors/lib/behaviors/reporttask.rb +158 -0
- data/vendor/cmock/vendor/behaviors/lib/behaviors.rb +76 -0
- data/vendor/cmock/vendor/behaviors/test/behaviors_tasks_test.rb +73 -0
- data/vendor/cmock/vendor/behaviors/test/behaviors_test.rb +50 -0
- data/vendor/cmock/vendor/behaviors/test/tasks_test/Rakefile +19 -0
- data/vendor/cmock/vendor/behaviors/test/tasks_test/lib/user.rb +2 -0
- data/vendor/cmock/vendor/behaviors/test/tasks_test/test/user_test.rb +17 -0
- data/vendor/cmock/vendor/c_exception/README.md +236 -0
- data/vendor/cmock/vendor/c_exception/docs/CException.md +289 -0
- data/vendor/cmock/vendor/c_exception/docs/CODE_OF_CONDUCT.md +138 -0
- data/vendor/cmock/vendor/c_exception/docs/CONTRIBUTING.md +238 -0
- data/vendor/cmock/vendor/c_exception/docs/ThrowTheSwitchCodingStandard.md +207 -0
- data/vendor/cmock/vendor/c_exception/lib/CException.c +59 -0
- data/vendor/cmock/vendor/c_exception/lib/CException.h +122 -0
- data/vendor/cmock/vendor/c_exception/lib/meson.build +11 -0
- data/vendor/cmock/vendor/c_exception/license.txt +22 -0
- data/vendor/cmock/vendor/c_exception/meson.build +14 -0
- data/vendor/cmock/vendor/c_exception/project.yml +263 -0
- data/vendor/cmock/vendor/c_exception/test/TestException.c +398 -0
- data/vendor/cmock/vendor/c_exception/test/support/CExceptionConfig.h +53 -0
- data/vendor/cmock/vendor/unity/CMakeLists.txt +172 -0
- data/vendor/cmock/vendor/unity/LICENSE.txt +21 -0
- data/vendor/cmock/vendor/unity/README.md +234 -0
- data/vendor/cmock/vendor/unity/auto/__init__.py +7 -0
- data/vendor/cmock/vendor/unity/auto/colour_prompt.rb +120 -0
- data/vendor/cmock/vendor/unity/auto/colour_reporter.rb +40 -0
- data/vendor/cmock/vendor/unity/auto/extract_version.py +22 -0
- data/vendor/cmock/vendor/unity/auto/generate_config.yml +43 -0
- data/vendor/cmock/vendor/unity/auto/generate_module.rb +318 -0
- data/vendor/cmock/vendor/unity/auto/generate_test_runner.rb +547 -0
- data/vendor/cmock/vendor/unity/auto/parse_output.rb +390 -0
- data/vendor/cmock/vendor/unity/auto/run_test.erb +37 -0
- data/vendor/cmock/vendor/unity/auto/stylize_as_junit.py +161 -0
- data/vendor/cmock/vendor/unity/auto/stylize_as_junit.rb +253 -0
- data/vendor/cmock/vendor/unity/auto/test_file_filter.rb +28 -0
- data/vendor/cmock/vendor/unity/auto/type_sanitizer.rb +13 -0
- data/vendor/cmock/vendor/unity/auto/unity_test_summary.py +140 -0
- data/vendor/cmock/vendor/unity/auto/unity_test_summary.rb +140 -0
- data/vendor/cmock/vendor/unity/auto/yaml_helper.rb +23 -0
- data/vendor/cmock/vendor/unity/docs/CODE_OF_CONDUCT.md +138 -0
- data/vendor/cmock/vendor/unity/docs/CONTRIBUTING.md +238 -0
- data/vendor/cmock/vendor/unity/docs/MesonGeneratorRunner.md +18 -0
- data/vendor/cmock/vendor/unity/docs/ThrowTheSwitchCodingStandard.md +187 -0
- data/vendor/cmock/vendor/unity/docs/UnityAssertionsCheatSheetSuitableforPrintingandPossiblyFraming.pdf +0 -0
- data/vendor/cmock/vendor/unity/docs/UnityAssertionsReference.md +860 -0
- data/vendor/cmock/vendor/unity/docs/UnityChangeLog.md +110 -0
- data/vendor/cmock/vendor/unity/docs/UnityConfigurationGuide.md +654 -0
- data/vendor/cmock/vendor/unity/docs/UnityGettingStartedGuide.md +242 -0
- data/vendor/cmock/vendor/unity/docs/UnityHelperScriptsGuide.md +533 -0
- data/vendor/cmock/vendor/unity/docs/UnityKnownIssues.md +13 -0
- data/vendor/cmock/vendor/unity/examples/example_1/makefile +73 -0
- data/vendor/cmock/vendor/unity/examples/example_1/meson.build +48 -0
- data/vendor/cmock/vendor/unity/examples/example_1/readme.txt +12 -0
- data/vendor/cmock/vendor/unity/examples/example_1/src/ProductionCode.c +30 -0
- data/vendor/cmock/vendor/unity/examples/example_1/src/ProductionCode.h +9 -0
- data/vendor/cmock/vendor/unity/examples/example_1/src/ProductionCode2.c +17 -0
- data/vendor/cmock/vendor/unity/examples/example_1/src/ProductionCode2.h +8 -0
- data/vendor/cmock/vendor/unity/examples/example_1/subprojects/unity.wrap +3 -0
- data/vendor/cmock/vendor/unity/examples/example_1/test/TestProductionCode.c +68 -0
- data/vendor/cmock/vendor/unity/examples/example_1/test/TestProductionCode2.c +37 -0
- data/vendor/cmock/vendor/unity/examples/example_1/test/test_runners/TestProductionCode2_Runner.c +53 -0
- data/vendor/cmock/vendor/unity/examples/example_1/test/test_runners/TestProductionCode_Runner.c +57 -0
- data/vendor/cmock/vendor/unity/examples/example_2/makefile +72 -0
- data/vendor/cmock/vendor/unity/examples/example_2/readme.txt +5 -0
- data/vendor/cmock/vendor/unity/examples/example_2/src/ProductionCode.c +30 -0
- data/vendor/cmock/vendor/unity/examples/example_2/src/ProductionCode.h +9 -0
- data/vendor/cmock/vendor/unity/examples/example_2/src/ProductionCode2.c +17 -0
- data/vendor/cmock/vendor/unity/examples/example_2/src/ProductionCode2.h +8 -0
- data/vendor/cmock/vendor/unity/examples/example_2/test/TestProductionCode.c +71 -0
- data/vendor/cmock/vendor/unity/examples/example_2/test/TestProductionCode2.c +40 -0
- data/vendor/cmock/vendor/unity/examples/example_2/test/test_runners/TestProductionCode2_Runner.c +16 -0
- data/vendor/cmock/vendor/unity/examples/example_2/test/test_runners/TestProductionCode_Runner.c +18 -0
- data/vendor/cmock/vendor/unity/examples/example_2/test/test_runners/all_tests.c +19 -0
- data/vendor/cmock/vendor/unity/examples/example_3/helper/UnityHelper.c +17 -0
- data/vendor/cmock/vendor/unity/examples/example_3/helper/UnityHelper.h +19 -0
- data/vendor/cmock/vendor/unity/examples/example_3/rakefile.rb +45 -0
- data/vendor/cmock/vendor/unity/examples/example_3/rakefile_helper.rb +255 -0
- data/vendor/cmock/vendor/unity/examples/example_3/readme.txt +13 -0
- data/vendor/cmock/vendor/unity/examples/example_3/src/ProductionCode.c +30 -0
- data/vendor/cmock/vendor/unity/examples/example_3/src/ProductionCode.h +9 -0
- data/vendor/cmock/vendor/unity/examples/example_3/src/ProductionCode2.c +17 -0
- data/vendor/cmock/vendor/unity/examples/example_3/src/ProductionCode2.h +8 -0
- data/vendor/cmock/vendor/unity/examples/example_3/target_gcc_32.yml +54 -0
- data/vendor/cmock/vendor/unity/examples/example_3/test/TestProductionCode.c +68 -0
- data/vendor/cmock/vendor/unity/examples/example_3/test/TestProductionCode2.c +37 -0
- data/vendor/cmock/vendor/unity/examples/example_4/meson.build +12 -0
- data/vendor/cmock/vendor/unity/examples/example_4/readme.txt +15 -0
- data/vendor/cmock/vendor/unity/examples/example_4/src/ProductionCode.c +30 -0
- data/vendor/cmock/vendor/unity/examples/example_4/src/ProductionCode.h +9 -0
- data/vendor/cmock/vendor/unity/examples/example_4/src/ProductionCode2.c +17 -0
- data/vendor/cmock/vendor/unity/examples/example_4/src/ProductionCode2.h +8 -0
- data/vendor/cmock/vendor/unity/examples/example_4/src/meson.build +16 -0
- data/vendor/cmock/vendor/unity/examples/example_4/subprojects/unity.wrap +6 -0
- data/vendor/cmock/vendor/unity/examples/example_4/test/TestProductionCode.c +69 -0
- data/vendor/cmock/vendor/unity/examples/example_4/test/TestProductionCode2.c +41 -0
- data/vendor/cmock/vendor/unity/examples/example_4/test/meson.build +7 -0
- data/vendor/cmock/vendor/unity/examples/example_4/test/test_runners/TestProductionCode2_Runner.c +53 -0
- data/vendor/cmock/vendor/unity/examples/example_4/test/test_runners/TestProductionCode_Runner.c +57 -0
- data/vendor/cmock/vendor/unity/examples/example_4/test/test_runners/meson.build +13 -0
- data/vendor/cmock/vendor/unity/examples/unity_config.h +251 -0
- data/vendor/cmock/vendor/unity/extras/bdd/readme.md +40 -0
- data/vendor/cmock/vendor/unity/extras/bdd/src/unity_bdd.h +44 -0
- data/vendor/cmock/vendor/unity/extras/bdd/test/meson.build +9 -0
- data/vendor/cmock/vendor/unity/extras/bdd/test/test_bdd.c +129 -0
- data/vendor/cmock/vendor/unity/extras/eclipse/error_parsers.txt +26 -0
- data/vendor/cmock/vendor/unity/extras/fixture/readme.md +26 -0
- data/vendor/cmock/vendor/unity/extras/fixture/src/meson.build +10 -0
- data/vendor/cmock/vendor/unity/extras/fixture/src/unity_fixture.c +310 -0
- data/vendor/cmock/vendor/unity/extras/fixture/src/unity_fixture.h +94 -0
- data/vendor/cmock/vendor/unity/extras/fixture/src/unity_fixture_internals.h +50 -0
- data/vendor/cmock/vendor/unity/extras/fixture/test/Makefile +72 -0
- data/vendor/cmock/vendor/unity/extras/fixture/test/main/AllTests.c +20 -0
- data/vendor/cmock/vendor/unity/extras/fixture/test/template_fixture_tests.c +39 -0
- data/vendor/cmock/vendor/unity/extras/fixture/test/unity_fixture_Test.c +245 -0
- data/vendor/cmock/vendor/unity/extras/fixture/test/unity_fixture_TestRunner.c +32 -0
- data/vendor/cmock/vendor/unity/extras/memory/readme.md +42 -0
- data/vendor/cmock/vendor/unity/extras/memory/src/meson.build +9 -0
- data/vendor/cmock/vendor/unity/extras/memory/src/unity_memory.c +203 -0
- data/vendor/cmock/vendor/unity/extras/memory/src/unity_memory.h +61 -0
- data/vendor/cmock/vendor/unity/extras/memory/test/Makefile +85 -0
- data/vendor/cmock/vendor/unity/extras/memory/test/unity_memory_Test.c +326 -0
- data/vendor/cmock/vendor/unity/extras/memory/test/unity_memory_TestRunner.c +50 -0
- data/vendor/cmock/vendor/unity/extras/memory/test/unity_output_Spy.c +57 -0
- data/vendor/cmock/vendor/unity/extras/memory/test/unity_output_Spy.h +17 -0
- data/vendor/cmock/vendor/unity/library.json +25 -0
- data/vendor/cmock/vendor/unity/meson.build +80 -0
- data/vendor/cmock/vendor/unity/meson_options.txt +3 -0
- data/vendor/cmock/vendor/unity/platformio-build.py +24 -0
- data/vendor/cmock/vendor/unity/src/meson.build +17 -0
- data/vendor/cmock/vendor/unity/src/unity.c +2501 -0
- data/vendor/cmock/vendor/unity/src/unity.h +698 -0
- data/vendor/cmock/vendor/unity/src/unity_internals.h +1183 -0
- data/vendor/cmock/vendor/unity/test/Makefile +167 -0
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_cmd.c +61 -0
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_def.c +57 -0
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_head1.c +55 -0
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_head1.h +15 -0
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_cmd.c +80 -0
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_def.c +76 -0
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_head1.c +75 -0
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_head1.h +13 -0
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_new1.c +89 -0
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_new2.c +89 -0
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_param.c +77 -0
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_run1.c +89 -0
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_run2.c +89 -0
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_yaml.c +90 -0
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_new1.c +67 -0
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_new2.c +70 -0
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_param.c +58 -0
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_run1.c +67 -0
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_run2.c +70 -0
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_yaml.c +71 -0
- data/vendor/cmock/vendor/unity/test/rakefile +164 -0
- data/vendor/cmock/vendor/unity/test/rakefile_helper.rb +316 -0
- data/vendor/cmock/vendor/unity/test/spec/generate_module_existing_file_spec.rb +164 -0
- data/vendor/cmock/vendor/unity/test/targets/ansi.yml +51 -0
- data/vendor/cmock/vendor/unity/test/targets/clang_file.yml +79 -0
- data/vendor/cmock/vendor/unity/test/targets/clang_strict.yml +79 -0
- data/vendor/cmock/vendor/unity/test/targets/gcc_32.yml +52 -0
- data/vendor/cmock/vendor/unity/test/targets/gcc_64.yml +53 -0
- data/vendor/cmock/vendor/unity/test/targets/gcc_auto_limits.yml +50 -0
- data/vendor/cmock/vendor/unity/test/targets/gcc_auto_stdint.yml +62 -0
- data/vendor/cmock/vendor/unity/test/targets/gcc_manual_math.yml +50 -0
- data/vendor/cmock/vendor/unity/test/targets/hitech_picc18.yml +98 -0
- data/vendor/cmock/vendor/unity/test/targets/iar_arm_v4.yml +105 -0
- data/vendor/cmock/vendor/unity/test/targets/iar_arm_v5.yml +99 -0
- data/vendor/cmock/vendor/unity/test/targets/iar_arm_v5_3.yml +99 -0
- data/vendor/cmock/vendor/unity/test/targets/iar_armcortex_LM3S9B92_v5_4.yml +97 -0
- data/vendor/cmock/vendor/unity/test/targets/iar_cortexm3_v5.yml +101 -0
- data/vendor/cmock/vendor/unity/test/targets/iar_msp430.yml +119 -0
- data/vendor/cmock/vendor/unity/test/targets/iar_sh2a_v6.yml +106 -0
- data/vendor/cmock/vendor/unity/test/testdata/CException.h +18 -0
- data/vendor/cmock/vendor/unity/test/testdata/Defs.h +16 -0
- data/vendor/cmock/vendor/unity/test/testdata/cmock.h +21 -0
- data/vendor/cmock/vendor/unity/test/testdata/mockMock.h +20 -0
- data/vendor/cmock/vendor/unity/test/testdata/testRunnerGenerator.c +204 -0
- data/vendor/cmock/vendor/unity/test/testdata/testRunnerGeneratorSmall.c +73 -0
- data/vendor/cmock/vendor/unity/test/testdata/testRunnerGeneratorWithMocks.c +200 -0
- data/vendor/cmock/vendor/unity/test/tests/self_assessment_utils.h +151 -0
- data/vendor/cmock/vendor/unity/test/tests/test_generate_test_runner.rb +1341 -0
- data/vendor/cmock/vendor/unity/test/tests/test_unity_arrays.c +2941 -0
- data/vendor/cmock/vendor/unity/test/tests/test_unity_core.c +375 -0
- data/vendor/cmock/vendor/unity/test/tests/test_unity_doubles.c +1285 -0
- data/vendor/cmock/vendor/unity/test/tests/test_unity_floats.c +1395 -0
- data/vendor/cmock/vendor/unity/test/tests/test_unity_integers.c +2863 -0
- data/vendor/cmock/vendor/unity/test/tests/test_unity_integers_64.c +783 -0
- data/vendor/cmock/vendor/unity/test/tests/test_unity_memory.c +82 -0
- data/vendor/cmock/vendor/unity/test/tests/test_unity_parameterized.c +309 -0
- data/vendor/cmock/vendor/unity/test/tests/test_unity_parameterizedDemo.c +28 -0
- data/vendor/cmock/vendor/unity/test/tests/test_unity_strings.c +330 -0
- data/vendor/cmock/vendor/unity/test/tests/types_for_test.h +21 -0
- data/vendor/cmock/vendor/unity/unityConfig.cmake +1 -0
- data/vendor/diy/History.txt +28 -0
- data/vendor/diy/LICENSE.txt +7 -0
- data/vendor/diy/README.rdoc +215 -0
- data/vendor/diy/Rakefile +33 -0
- data/vendor/diy/TODO.txt +9 -0
- data/vendor/diy/diy.gemspec +131 -0
- data/vendor/diy/lib/diy/factory.rb +44 -0
- data/vendor/diy/lib/diy.rb +411 -0
- data/vendor/diy/sample_code/car.rb +15 -0
- data/vendor/diy/sample_code/chassis.rb +13 -0
- data/vendor/diy/sample_code/diy_example.rb +34 -0
- data/vendor/diy/sample_code/engine.rb +13 -0
- data/vendor/diy/sample_code/objects.yml +18 -0
- data/vendor/diy/test/constructor.rb +127 -0
- data/vendor/diy/test/diy_test.rb +616 -0
- data/vendor/diy/test/factory_test.rb +87 -0
- data/vendor/diy/test/files/broken_construction.yml +15 -0
- data/vendor/diy/test/files/cat/cat.rb +11 -0
- data/vendor/diy/test/files/cat/extra_conflict.yml +13 -0
- data/vendor/diy/test/files/cat/heritage.rb +10 -0
- data/vendor/diy/test/files/cat/needs_input.yml +11 -0
- data/vendor/diy/test/files/cat/the_cat_lineage.rb +9 -0
- data/vendor/diy/test/files/dog/dog_model.rb +11 -0
- data/vendor/diy/test/files/dog/dog_presenter.rb +11 -0
- data/vendor/diy/test/files/dog/dog_view.rb +10 -0
- data/vendor/diy/test/files/dog/file_resolver.rb +10 -0
- data/vendor/diy/test/files/dog/other_thing.rb +10 -0
- data/vendor/diy/test/files/dog/simple.yml +19 -0
- data/vendor/diy/test/files/donkey/foo/bar/qux.rb +15 -0
- data/vendor/diy/test/files/donkey/foo.rb +16 -0
- data/vendor/diy/test/files/factory/beef.rb +13 -0
- data/vendor/diy/test/files/factory/dog.rb +14 -0
- data/vendor/diy/test/files/factory/factory.yml +27 -0
- data/vendor/diy/test/files/factory/farm/llama.rb +15 -0
- data/vendor/diy/test/files/factory/farm/pork.rb +15 -0
- data/vendor/diy/test/files/factory/kitten.rb +21 -0
- data/vendor/diy/test/files/fud/objects.yml +21 -0
- data/vendor/diy/test/files/fud/toy.rb +22 -0
- data/vendor/diy/test/files/functions/attached_things_builder.rb +10 -0
- data/vendor/diy/test/files/functions/invalid_method.yml +13 -0
- data/vendor/diy/test/files/functions/method_extractor.rb +11 -0
- data/vendor/diy/test/files/functions/nonsingleton_objects.yml +14 -0
- data/vendor/diy/test/files/functions/objects.yml +30 -0
- data/vendor/diy/test/files/functions/thing.rb +11 -0
- data/vendor/diy/test/files/functions/thing_builder.rb +33 -0
- data/vendor/diy/test/files/functions/things_builder.rb +11 -0
- data/vendor/diy/test/files/gnu/objects.yml +22 -0
- data/vendor/diy/test/files/gnu/thinger.rb +15 -0
- data/vendor/diy/test/files/goat/base.rb +16 -0
- data/vendor/diy/test/files/goat/can.rb +14 -0
- data/vendor/diy/test/files/goat/goat.rb +14 -0
- data/vendor/diy/test/files/goat/objects.yml +20 -0
- data/vendor/diy/test/files/goat/paper.rb +14 -0
- data/vendor/diy/test/files/goat/plane.rb +15 -0
- data/vendor/diy/test/files/goat/shirt.rb +14 -0
- data/vendor/diy/test/files/goat/wings.rb +16 -0
- data/vendor/diy/test/files/horse/holder_thing.rb +11 -0
- data/vendor/diy/test/files/horse/objects.yml +15 -0
- data/vendor/diy/test/files/namespace/animal/bird.rb +13 -0
- data/vendor/diy/test/files/namespace/animal/cat.rb +13 -0
- data/vendor/diy/test/files/namespace/animal/reptile/hardshell/turtle.rb +16 -0
- data/vendor/diy/test/files/namespace/animal/reptile/lizard.rb +15 -0
- data/vendor/diy/test/files/namespace/bad_module_specified.yml +16 -0
- data/vendor/diy/test/files/namespace/class_name_combine.yml +16 -0
- data/vendor/diy/test/files/namespace/hello.txt +1 -0
- data/vendor/diy/test/files/namespace/no_module_specified.yml +16 -0
- data/vendor/diy/test/files/namespace/objects.yml +29 -0
- data/vendor/diy/test/files/namespace/road.rb +10 -0
- data/vendor/diy/test/files/namespace/sky.rb +10 -0
- data/vendor/diy/test/files/namespace/subcontext.yml +30 -0
- data/vendor/diy/test/files/non_singleton/air.rb +10 -0
- data/vendor/diy/test/files/non_singleton/fat_cat.rb +11 -0
- data/vendor/diy/test/files/non_singleton/objects.yml +27 -0
- data/vendor/diy/test/files/non_singleton/pig.rb +11 -0
- data/vendor/diy/test/files/non_singleton/thread_spinner.rb +11 -0
- data/vendor/diy/test/files/non_singleton/tick.rb +11 -0
- data/vendor/diy/test/files/non_singleton/yard.rb +10 -0
- data/vendor/diy/test/files/yak/core_model.rb +11 -0
- data/vendor/diy/test/files/yak/core_presenter.rb +11 -0
- data/vendor/diy/test/files/yak/core_view.rb +9 -0
- data/vendor/diy/test/files/yak/data_source.rb +9 -0
- data/vendor/diy/test/files/yak/fringe_model.rb +11 -0
- data/vendor/diy/test/files/yak/fringe_presenter.rb +11 -0
- data/vendor/diy/test/files/yak/fringe_view.rb +9 -0
- data/vendor/diy/test/files/yak/giant_squid.rb +11 -0
- data/vendor/diy/test/files/yak/krill.rb +10 -0
- data/vendor/diy/test/files/yak/my_objects.yml +29 -0
- data/vendor/diy/test/files/yak/sub_sub_context_test.yml +35 -0
- data/vendor/diy/test/test_helper.rb +63 -0
- data/vendor/unity/CMakeLists.txt +172 -0
- data/vendor/unity/LICENSE.txt +21 -0
- data/vendor/unity/README.md +234 -0
- data/vendor/unity/auto/__init__.py +7 -0
- data/vendor/unity/auto/colour_prompt.rb +120 -0
- data/vendor/unity/auto/colour_reporter.rb +40 -0
- data/vendor/unity/auto/extract_version.py +22 -0
- data/vendor/unity/auto/generate_config.yml +43 -0
- data/vendor/unity/auto/generate_module.rb +318 -0
- data/vendor/unity/auto/generate_test_runner.rb +547 -0
- data/vendor/unity/auto/parse_output.rb +390 -0
- data/vendor/unity/auto/run_test.erb +37 -0
- data/vendor/unity/auto/stylize_as_junit.py +161 -0
- data/vendor/unity/auto/stylize_as_junit.rb +253 -0
- data/vendor/unity/auto/test_file_filter.rb +28 -0
- data/vendor/unity/auto/type_sanitizer.rb +13 -0
- data/vendor/unity/auto/unity_test_summary.py +140 -0
- data/vendor/unity/auto/unity_test_summary.rb +140 -0
- data/vendor/unity/auto/yaml_helper.rb +23 -0
- data/vendor/unity/docs/CODE_OF_CONDUCT.md +138 -0
- data/vendor/unity/docs/CONTRIBUTING.md +238 -0
- data/vendor/unity/docs/MesonGeneratorRunner.md +18 -0
- data/vendor/unity/docs/ThrowTheSwitchCodingStandard.md +187 -0
- data/vendor/unity/docs/UnityAssertionsCheatSheetSuitableforPrintingandPossiblyFraming.pdf +0 -0
- data/vendor/unity/docs/UnityAssertionsReference.md +860 -0
- data/vendor/unity/docs/UnityChangeLog.md +110 -0
- data/vendor/unity/docs/UnityConfigurationGuide.md +654 -0
- data/vendor/unity/docs/UnityGettingStartedGuide.md +242 -0
- data/vendor/unity/docs/UnityHelperScriptsGuide.md +533 -0
- data/vendor/unity/docs/UnityKnownIssues.md +13 -0
- data/vendor/unity/examples/example_1/makefile +73 -0
- data/vendor/unity/examples/example_1/meson.build +48 -0
- data/vendor/unity/examples/example_1/readme.txt +12 -0
- data/vendor/unity/examples/example_1/src/ProductionCode.c +30 -0
- data/vendor/unity/examples/example_1/src/ProductionCode.h +9 -0
- data/vendor/unity/examples/example_1/src/ProductionCode2.c +17 -0
- data/vendor/unity/examples/example_1/src/ProductionCode2.h +8 -0
- data/vendor/unity/examples/example_1/subprojects/unity.wrap +3 -0
- data/vendor/unity/examples/example_1/test/TestProductionCode.c +68 -0
- data/vendor/unity/examples/example_1/test/TestProductionCode2.c +37 -0
- data/vendor/unity/examples/example_1/test/test_runners/TestProductionCode2_Runner.c +53 -0
- data/vendor/unity/examples/example_1/test/test_runners/TestProductionCode_Runner.c +57 -0
- data/vendor/unity/examples/example_2/makefile +72 -0
- data/vendor/unity/examples/example_2/readme.txt +5 -0
- data/vendor/unity/examples/example_2/src/ProductionCode.c +30 -0
- data/vendor/unity/examples/example_2/src/ProductionCode.h +9 -0
- data/vendor/unity/examples/example_2/src/ProductionCode2.c +17 -0
- data/vendor/unity/examples/example_2/src/ProductionCode2.h +8 -0
- data/vendor/unity/examples/example_2/test/TestProductionCode.c +71 -0
- data/vendor/unity/examples/example_2/test/TestProductionCode2.c +40 -0
- data/vendor/unity/examples/example_2/test/test_runners/TestProductionCode2_Runner.c +16 -0
- data/vendor/unity/examples/example_2/test/test_runners/TestProductionCode_Runner.c +18 -0
- data/vendor/unity/examples/example_2/test/test_runners/all_tests.c +19 -0
- data/vendor/unity/examples/example_3/helper/UnityHelper.c +17 -0
- data/vendor/unity/examples/example_3/helper/UnityHelper.h +19 -0
- data/vendor/unity/examples/example_3/rakefile.rb +45 -0
- data/vendor/unity/examples/example_3/rakefile_helper.rb +255 -0
- data/vendor/unity/examples/example_3/readme.txt +13 -0
- data/vendor/unity/examples/example_3/src/ProductionCode.c +30 -0
- data/vendor/unity/examples/example_3/src/ProductionCode.h +9 -0
- data/vendor/unity/examples/example_3/src/ProductionCode2.c +17 -0
- data/vendor/unity/examples/example_3/src/ProductionCode2.h +8 -0
- data/vendor/unity/examples/example_3/target_gcc_32.yml +54 -0
- data/vendor/unity/examples/example_3/test/TestProductionCode.c +68 -0
- data/vendor/unity/examples/example_3/test/TestProductionCode2.c +37 -0
- data/vendor/unity/examples/example_4/meson.build +12 -0
- data/vendor/unity/examples/example_4/readme.txt +15 -0
- data/vendor/unity/examples/example_4/src/ProductionCode.c +30 -0
- data/vendor/unity/examples/example_4/src/ProductionCode.h +9 -0
- data/vendor/unity/examples/example_4/src/ProductionCode2.c +17 -0
- data/vendor/unity/examples/example_4/src/ProductionCode2.h +8 -0
- data/vendor/unity/examples/example_4/src/meson.build +16 -0
- data/vendor/unity/examples/example_4/subprojects/unity.wrap +6 -0
- data/vendor/unity/examples/example_4/test/TestProductionCode.c +69 -0
- data/vendor/unity/examples/example_4/test/TestProductionCode2.c +41 -0
- data/vendor/unity/examples/example_4/test/meson.build +7 -0
- data/vendor/unity/examples/example_4/test/test_runners/TestProductionCode2_Runner.c +53 -0
- data/vendor/unity/examples/example_4/test/test_runners/TestProductionCode_Runner.c +57 -0
- data/vendor/unity/examples/example_4/test/test_runners/meson.build +13 -0
- data/vendor/unity/examples/unity_config.h +251 -0
- data/vendor/unity/extras/bdd/readme.md +40 -0
- data/vendor/unity/extras/bdd/src/unity_bdd.h +44 -0
- data/vendor/unity/extras/bdd/test/meson.build +9 -0
- data/vendor/unity/extras/bdd/test/test_bdd.c +129 -0
- data/vendor/unity/extras/eclipse/error_parsers.txt +26 -0
- data/vendor/unity/extras/fixture/readme.md +26 -0
- data/vendor/unity/extras/fixture/src/meson.build +10 -0
- data/vendor/unity/extras/fixture/src/unity_fixture.c +310 -0
- data/vendor/unity/extras/fixture/src/unity_fixture.h +94 -0
- data/vendor/unity/extras/fixture/src/unity_fixture_internals.h +50 -0
- data/vendor/unity/extras/fixture/test/Makefile +72 -0
- data/vendor/unity/extras/fixture/test/main/AllTests.c +20 -0
- data/vendor/unity/extras/fixture/test/template_fixture_tests.c +39 -0
- data/vendor/unity/extras/fixture/test/unity_fixture_Test.c +245 -0
- data/vendor/unity/extras/fixture/test/unity_fixture_TestRunner.c +32 -0
- data/vendor/unity/extras/memory/readme.md +42 -0
- data/vendor/unity/extras/memory/src/meson.build +9 -0
- data/vendor/unity/extras/memory/src/unity_memory.c +203 -0
- data/vendor/unity/extras/memory/src/unity_memory.h +61 -0
- data/vendor/unity/extras/memory/test/Makefile +85 -0
- data/vendor/unity/extras/memory/test/unity_memory_Test.c +326 -0
- data/vendor/unity/extras/memory/test/unity_memory_TestRunner.c +50 -0
- data/vendor/unity/extras/memory/test/unity_output_Spy.c +57 -0
- data/vendor/unity/extras/memory/test/unity_output_Spy.h +17 -0
- data/vendor/unity/library.json +25 -0
- data/vendor/unity/meson.build +80 -0
- data/vendor/unity/meson_options.txt +3 -0
- data/vendor/unity/platformio-build.py +24 -0
- data/vendor/unity/src/meson.build +17 -0
- data/vendor/unity/src/unity.c +2501 -0
- data/vendor/unity/src/unity.h +698 -0
- data/vendor/unity/src/unity_internals.h +1183 -0
- data/vendor/unity/test/Makefile +167 -0
- data/vendor/unity/test/expectdata/testsample_cmd.c +61 -0
- data/vendor/unity/test/expectdata/testsample_def.c +57 -0
- data/vendor/unity/test/expectdata/testsample_head1.c +55 -0
- data/vendor/unity/test/expectdata/testsample_head1.h +15 -0
- data/vendor/unity/test/expectdata/testsample_mock_cmd.c +80 -0
- data/vendor/unity/test/expectdata/testsample_mock_def.c +76 -0
- data/vendor/unity/test/expectdata/testsample_mock_head1.c +75 -0
- data/vendor/unity/test/expectdata/testsample_mock_head1.h +13 -0
- data/vendor/unity/test/expectdata/testsample_mock_new1.c +89 -0
- data/vendor/unity/test/expectdata/testsample_mock_new2.c +89 -0
- data/vendor/unity/test/expectdata/testsample_mock_param.c +77 -0
- data/vendor/unity/test/expectdata/testsample_mock_run1.c +89 -0
- data/vendor/unity/test/expectdata/testsample_mock_run2.c +89 -0
- data/vendor/unity/test/expectdata/testsample_mock_yaml.c +90 -0
- data/vendor/unity/test/expectdata/testsample_new1.c +67 -0
- data/vendor/unity/test/expectdata/testsample_new2.c +70 -0
- data/vendor/unity/test/expectdata/testsample_param.c +58 -0
- data/vendor/unity/test/expectdata/testsample_run1.c +67 -0
- data/vendor/unity/test/expectdata/testsample_run2.c +70 -0
- data/vendor/unity/test/expectdata/testsample_yaml.c +71 -0
- data/vendor/unity/test/rakefile +164 -0
- data/vendor/unity/test/rakefile_helper.rb +316 -0
- data/vendor/unity/test/spec/generate_module_existing_file_spec.rb +164 -0
- data/vendor/unity/test/targets/ansi.yml +51 -0
- data/vendor/unity/test/targets/clang_file.yml +79 -0
- data/vendor/unity/test/targets/clang_strict.yml +79 -0
- data/vendor/unity/test/targets/gcc_32.yml +52 -0
- data/vendor/unity/test/targets/gcc_64.yml +53 -0
- data/vendor/unity/test/targets/gcc_auto_limits.yml +50 -0
- data/vendor/unity/test/targets/gcc_auto_stdint.yml +62 -0
- data/vendor/unity/test/targets/gcc_manual_math.yml +50 -0
- data/vendor/unity/test/targets/hitech_picc18.yml +98 -0
- data/vendor/unity/test/targets/iar_arm_v4.yml +105 -0
- data/vendor/unity/test/targets/iar_arm_v5.yml +99 -0
- data/vendor/unity/test/targets/iar_arm_v5_3.yml +99 -0
- data/vendor/unity/test/targets/iar_armcortex_LM3S9B92_v5_4.yml +97 -0
- data/vendor/unity/test/targets/iar_cortexm3_v5.yml +101 -0
- data/vendor/unity/test/targets/iar_msp430.yml +119 -0
- data/vendor/unity/test/targets/iar_sh2a_v6.yml +106 -0
- data/vendor/unity/test/testdata/CException.h +18 -0
- data/vendor/unity/test/testdata/Defs.h +16 -0
- data/vendor/unity/test/testdata/cmock.h +21 -0
- data/vendor/unity/test/testdata/mockMock.h +20 -0
- data/vendor/unity/test/testdata/testRunnerGenerator.c +204 -0
- data/vendor/unity/test/testdata/testRunnerGeneratorSmall.c +73 -0
- data/vendor/unity/test/testdata/testRunnerGeneratorWithMocks.c +200 -0
- data/vendor/unity/test/tests/self_assessment_utils.h +151 -0
- data/vendor/unity/test/tests/test_generate_test_runner.rb +1341 -0
- data/vendor/unity/test/tests/test_unity_arrays.c +2941 -0
- data/vendor/unity/test/tests/test_unity_core.c +375 -0
- data/vendor/unity/test/tests/test_unity_doubles.c +1285 -0
- data/vendor/unity/test/tests/test_unity_floats.c +1395 -0
- data/vendor/unity/test/tests/test_unity_integers.c +2863 -0
- data/vendor/unity/test/tests/test_unity_integers_64.c +783 -0
- data/vendor/unity/test/tests/test_unity_memory.c +82 -0
- data/vendor/unity/test/tests/test_unity_parameterized.c +309 -0
- data/vendor/unity/test/tests/test_unity_parameterizedDemo.c +28 -0
- data/vendor/unity/test/tests/test_unity_strings.c +330 -0
- data/vendor/unity/test/tests/types_for_test.h +21 -0
- data/vendor/unity/unityConfig.cmake +1 -0
- metadata +1211 -251
- data/.gitignore +0 -14
- data/.vim +0 -1
- data/.yardopts +0 -1
- data/LICENSE +0 -19
- data/ceedling-gem.sublime-project +0 -575
- data/examples/temp_sensor/rakefile.rb +0 -4
- data/examples/temp_sensor/src/AT91SAM7X256.h +0 -2556
- data/examples/temp_sensor/src/UsartGetChar.c +0 -6
- data/examples/temp_sensor/src/UsartGetChar.h +0 -8
- data/examples/temp_sensor/test/test_AdcConductor.c +0 -121
- data/examples/temp_sensor/test/test_AdcHardware.c +0 -44
- data/examples/temp_sensor/test/test_AdcHardwareConfigurator.c +0 -43
- data/examples/temp_sensor/test/test_AdcModel.c +0 -33
- data/examples/temp_sensor/test/test_AdcTemperatureSensor.c +0 -47
- data/examples/temp_sensor/test/test_Executor.c +0 -36
- data/examples/temp_sensor/test/test_Main.c +0 -24
- data/examples/temp_sensor/test/test_Model.c +0 -20
- data/examples/temp_sensor/test/test_TaskScheduler.c +0 -104
- data/examples/temp_sensor/test/test_TemperatureCalculator.c +0 -33
- data/examples/temp_sensor/test/test_TemperatureFilter.c +0 -71
- data/examples/temp_sensor/test/test_TimerConductor.c +0 -32
- data/examples/temp_sensor/test/test_TimerConfigurator.c +0 -112
- data/examples/temp_sensor/test/test_TimerHardware.c +0 -26
- data/examples/temp_sensor/test/test_TimerInterruptConfigurator.c +0 -78
- data/examples/temp_sensor/test/test_TimerInterruptHandler.c +0 -66
- data/examples/temp_sensor/test/test_TimerModel.c +0 -18
- data/examples/temp_sensor/test/test_UsartBaudRateRegisterCalculator.c +0 -21
- data/examples/temp_sensor/test/test_UsartConductor.c +0 -40
- data/examples/temp_sensor/test/test_UsartConfigurator.c +0 -77
- data/examples/temp_sensor/test/test_UsartGetChar.c +0 -17
- data/examples/temp_sensor/test/test_UsartHardware.c +0 -56
- data/examples/temp_sensor/test/test_UsartModel.c +0 -40
- data/examples/temp_sensor/test/test_UsartPutChar.c +0 -43
- data/examples/temp_sensor/test/test_UsartTransmitBufferStatus.c +0 -22
- data/lib/ceedling/version.rb +0 -16
- data/lib/ceedling/version.rb.erb +0 -16
- data/new_project_template/build/.gitkeep +0 -0
- data/new_project_template/project.yml +0 -65
- data/new_project_template/rakefile.rb +0 -4
- data/new_project_template/src/.gitkeep +0 -0
- data/new_project_template/test/.gitkeep +0 -0
- data/new_project_template/test/support/.gitkeep +0 -0
- data/new_project_template/vendor/ceedling/docs/CExceptionSummary.pdf +0 -0
- data/new_project_template/vendor/ceedling/docs/CMock Summary.pdf +0 -0
- data/new_project_template/vendor/ceedling/docs/Ceedling Packet.pdf +0 -0
- data/new_project_template/vendor/ceedling/docs/Unity Summary.pdf +0 -0
- data/new_project_template/vendor/ceedling/lib/build_invoker_utils.rb +0 -27
- data/new_project_template/vendor/ceedling/lib/cacheinator.rb +0 -42
- data/new_project_template/vendor/ceedling/lib/cacheinator_helper.rb +0 -12
- data/new_project_template/vendor/ceedling/lib/cmock_builder.rb +0 -15
- data/new_project_template/vendor/ceedling/lib/configurator.rb +0 -329
- data/new_project_template/vendor/ceedling/lib/configurator_builder.rb +0 -419
- data/new_project_template/vendor/ceedling/lib/configurator_plugins.rb +0 -93
- data/new_project_template/vendor/ceedling/lib/configurator_setup.rb +0 -123
- data/new_project_template/vendor/ceedling/lib/configurator_validator.rb +0 -184
- data/new_project_template/vendor/ceedling/lib/constants.rb +0 -91
- data/new_project_template/vendor/ceedling/lib/defaults.rb +0 -378
- data/new_project_template/vendor/ceedling/lib/dependinator.rb +0 -92
- data/new_project_template/vendor/ceedling/lib/file_finder.rb +0 -132
- data/new_project_template/vendor/ceedling/lib/file_finder_helper.rb +0 -54
- data/new_project_template/vendor/ceedling/lib/file_path_utils.rb +0 -189
- data/new_project_template/vendor/ceedling/lib/file_system_utils.rb +0 -69
- data/new_project_template/vendor/ceedling/lib/file_wrapper.rb +0 -74
- data/new_project_template/vendor/ceedling/lib/flaginator.rb +0 -54
- data/new_project_template/vendor/ceedling/lib/generator.rb +0 -162
- data/new_project_template/vendor/ceedling/lib/generator_helper.rb +0 -40
- data/new_project_template/vendor/ceedling/lib/generator_test_results.rb +0 -89
- data/new_project_template/vendor/ceedling/lib/generator_test_results_sanity_checker.rb +0 -62
- data/new_project_template/vendor/ceedling/lib/generator_test_runner.rb +0 -63
- data/new_project_template/vendor/ceedling/lib/loginator.rb +0 -31
- data/new_project_template/vendor/ceedling/lib/makefile.rb +0 -46
- data/new_project_template/vendor/ceedling/lib/objects.yml +0 -301
- data/new_project_template/vendor/ceedling/lib/plugin.rb +0 -79
- data/new_project_template/vendor/ceedling/lib/plugin_manager.rb +0 -95
- data/new_project_template/vendor/ceedling/lib/plugin_manager_helper.rb +0 -19
- data/new_project_template/vendor/ceedling/lib/plugin_reportinator.rb +0 -75
- data/new_project_template/vendor/ceedling/lib/plugin_reportinator_helper.rb +0 -52
- data/new_project_template/vendor/ceedling/lib/preprocessinator.rb +0 -43
- data/new_project_template/vendor/ceedling/lib/preprocessinator_extractor.rb +0 -36
- data/new_project_template/vendor/ceedling/lib/preprocessinator_file_handler.rb +0 -21
- data/new_project_template/vendor/ceedling/lib/preprocessinator_helper.rb +0 -46
- data/new_project_template/vendor/ceedling/lib/preprocessinator_includes_handler.rb +0 -55
- data/new_project_template/vendor/ceedling/lib/project_config_manager.rb +0 -38
- data/new_project_template/vendor/ceedling/lib/project_file_loader.rb +0 -64
- data/new_project_template/vendor/ceedling/lib/rake_utils.rb +0 -17
- data/new_project_template/vendor/ceedling/lib/rake_wrapper.rb +0 -31
- data/new_project_template/vendor/ceedling/lib/rakefile.rb +0 -61
- data/new_project_template/vendor/ceedling/lib/release_invoker.rb +0 -58
- data/new_project_template/vendor/ceedling/lib/release_invoker_helper.rb +0 -16
- data/new_project_template/vendor/ceedling/lib/reportinator.rb +0 -9
- data/new_project_template/vendor/ceedling/lib/rules_cmock.rake +0 -9
- data/new_project_template/vendor/ceedling/lib/rules_preprocess.rake +0 -26
- data/new_project_template/vendor/ceedling/lib/rules_release.rake +0 -79
- data/new_project_template/vendor/ceedling/lib/rules_release_deep_dependencies.rake +0 -15
- data/new_project_template/vendor/ceedling/lib/rules_tests.rake +0 -59
- data/new_project_template/vendor/ceedling/lib/rules_tests_deep_dependencies.rake +0 -15
- data/new_project_template/vendor/ceedling/lib/setupinator.rb +0 -51
- data/new_project_template/vendor/ceedling/lib/stream_wrapper.rb +0 -20
- data/new_project_template/vendor/ceedling/lib/streaminator.rb +0 -41
- data/new_project_template/vendor/ceedling/lib/streaminator_helper.rb +0 -15
- data/new_project_template/vendor/ceedling/lib/system_utils.rb +0 -32
- data/new_project_template/vendor/ceedling/lib/system_wrapper.rb +0 -75
- data/new_project_template/vendor/ceedling/lib/task_invoker.rb +0 -85
- data/new_project_template/vendor/ceedling/lib/tasks_base.rake +0 -104
- data/new_project_template/vendor/ceedling/lib/tasks_filesystem.rake +0 -91
- data/new_project_template/vendor/ceedling/lib/tasks_release.rake +0 -28
- data/new_project_template/vendor/ceedling/lib/tasks_release_deep_dependencies.rake +0 -9
- data/new_project_template/vendor/ceedling/lib/tasks_tests.rake +0 -52
- data/new_project_template/vendor/ceedling/lib/tasks_tests_deep_dependencies.rake +0 -9
- data/new_project_template/vendor/ceedling/lib/tasks_vendor.rake +0 -36
- data/new_project_template/vendor/ceedling/lib/test_includes_extractor.rb +0 -81
- data/new_project_template/vendor/ceedling/lib/test_invoker.rb +0 -97
- data/new_project_template/vendor/ceedling/lib/test_invoker_helper.rb +0 -28
- data/new_project_template/vendor/ceedling/lib/tool_executor.rb +0 -212
- data/new_project_template/vendor/ceedling/lib/tool_executor_helper.rb +0 -115
- data/new_project_template/vendor/ceedling/lib/verbosinator.rb +0 -10
- data/new_project_template/vendor/ceedling/lib/yaml_wrapper.rb +0 -16
- data/new_project_template/vendor/ceedling/plugins/bullseye/bullseye.rake +0 -162
- data/new_project_template/vendor/ceedling/plugins/bullseye/bullseye.rb +0 -173
- data/new_project_template/vendor/ceedling/plugins/bullseye/defaults.yml +0 -53
- data/new_project_template/vendor/ceedling/plugins/bullseye/readme.txt +0 -0
- data/new_project_template/vendor/ceedling/plugins/gcov/defaults.yml +0 -34
- data/new_project_template/vendor/ceedling/plugins/gcov/gcov.rake +0 -152
- data/new_project_template/vendor/ceedling/plugins/gcov/gcov.rb +0 -128
- data/new_project_template/vendor/ceedling/plugins/gcov/readme.txt +0 -0
- data/new_project_template/vendor/ceedling/plugins/gcov/template.erb +0 -15
- data/new_project_template/vendor/ceedling/plugins/module_generator/module_generator.rake +0 -14
- data/new_project_template/vendor/ceedling/plugins/module_generator/module_generator.rb +0 -218
- data/new_project_template/vendor/ceedling/plugins/module_generator/module_generator.yml +0 -4
- data/new_project_template/vendor/ceedling/plugins/stdout_ide_tests_report/stdout_ide_tests_report.rb +0 -44
- data/new_project_template/vendor/ceedling/plugins/stdout_ide_tests_report/stdout_ide_tests_report.yml +0 -4
- data/new_project_template/vendor/ceedling/plugins/stdout_pretty_tests_report/stdout_pretty_tests_report.rb +0 -48
- data/new_project_template/vendor/ceedling/plugins/stdout_pretty_tests_report/stdout_pretty_tests_report.yml +0 -4
- data/new_project_template/vendor/ceedling/plugins/stdout_pretty_tests_report/template.erb +0 -59
- data/new_project_template/vendor/ceedling/plugins/warnings_report/warnings_report.rb +0 -71
- data/new_project_template/vendor/ceedling/plugins/xml_tests_report/xml_tests_report.rb +0 -110
- data/new_project_template/vendor/ceedling/release/build.info +0 -1
- data/new_project_template/vendor/ceedling/release/version.info +0 -1
- data/new_project_template/vendor/ceedling/vendor/c_exception/lib/CException.c +0 -39
- data/new_project_template/vendor/ceedling/vendor/c_exception/lib/CException.h +0 -70
- data/new_project_template/vendor/ceedling/vendor/c_exception/release/build.info +0 -1
- data/new_project_template/vendor/ceedling/vendor/c_exception/release/version.info +0 -2
- data/new_project_template/vendor/ceedling/vendor/cmock/config/production_environment.rb +0 -14
- data/new_project_template/vendor/ceedling/vendor/cmock/config/test_environment.rb +0 -16
- data/new_project_template/vendor/ceedling/vendor/cmock/lib/cmock.rb +0 -65
- data/new_project_template/vendor/ceedling/vendor/cmock/lib/cmock_config.rb +0 -129
- data/new_project_template/vendor/ceedling/vendor/cmock/lib/cmock_file_writer.rb +0 -33
- data/new_project_template/vendor/ceedling/vendor/cmock/lib/cmock_generator.rb +0 -194
- data/new_project_template/vendor/ceedling/vendor/cmock/lib/cmock_generator_plugin_array.rb +0 -57
- data/new_project_template/vendor/ceedling/vendor/cmock/lib/cmock_generator_plugin_callback.rb +0 -78
- data/new_project_template/vendor/ceedling/vendor/cmock/lib/cmock_generator_plugin_cexception.rb +0 -51
- data/new_project_template/vendor/ceedling/vendor/cmock/lib/cmock_generator_plugin_expect.rb +0 -86
- data/new_project_template/vendor/ceedling/vendor/cmock/lib/cmock_generator_plugin_ignore.rb +0 -85
- data/new_project_template/vendor/ceedling/vendor/cmock/lib/cmock_generator_utils.rb +0 -177
- data/new_project_template/vendor/ceedling/vendor/cmock/lib/cmock_header_parser.rb +0 -273
- data/new_project_template/vendor/ceedling/vendor/cmock/lib/cmock_plugin_manager.rb +0 -40
- data/new_project_template/vendor/ceedling/vendor/cmock/lib/cmock_unityhelper_parser.rb +0 -74
- data/new_project_template/vendor/ceedling/vendor/cmock/release/build.info +0 -1
- data/new_project_template/vendor/ceedling/vendor/cmock/release/version.info +0 -2
- data/new_project_template/vendor/ceedling/vendor/cmock/src/cmock.c +0 -186
- data/new_project_template/vendor/ceedling/vendor/cmock/src/cmock.h +0 -30
- data/new_project_template/vendor/ceedling/vendor/constructor/lib/constructor.rb +0 -127
- data/new_project_template/vendor/ceedling/vendor/constructor/lib/constructor_struct.rb +0 -33
- data/new_project_template/vendor/ceedling/vendor/deep_merge/lib/deep_merge.rb +0 -211
- data/new_project_template/vendor/ceedling/vendor/diy/lib/diy/factory.rb +0 -36
- data/new_project_template/vendor/ceedling/vendor/diy/lib/diy.rb +0 -403
- data/new_project_template/vendor/ceedling/vendor/unity/auto/generate_test_runner.rb +0 -308
- data/new_project_template/vendor/ceedling/vendor/unity/release/build.info +0 -1
- data/new_project_template/vendor/ceedling/vendor/unity/release/version.info +0 -2
- data/new_project_template/vendor/ceedling/vendor/unity/src/unity.c +0 -960
- data/new_project_template/vendor/ceedling/vendor/unity/src/unity.h +0 -232
- data/new_project_template/vendor/ceedling/vendor/unity/src/unity_internals.h +0 -414
- /data/{new_project_template/vendor/ceedling/plugins/bullseye → plugins/bullseye/assets}/template.erb +0 -0
@@ -0,0 +1,893 @@
|
|
1
|
+
# Ceedling Plugin: Gcov
|
2
|
+
|
3
|
+
This plugin integrates the code coverage abilities of the GNU compiler
|
4
|
+
collection with test builds. It provides simple coverage metrics by default and
|
5
|
+
can optionally produce sophisticated coverage reports.
|
6
|
+
|
7
|
+
# Plugin Overview
|
8
|
+
|
9
|
+
When enabled, this plugin creates a new set of `gcov:` tasks that mirror
|
10
|
+
Ceedling's existing `test:` tasks. A `gcov:` task executes one or more tests
|
11
|
+
with coverage enabled for the source files exercised by those tests.
|
12
|
+
|
13
|
+
This plugin also provides an extensive set of options for generating various
|
14
|
+
coverage reports for your project. The simplest is text-based coverage
|
15
|
+
summaries printed to the console after a `gcov:` test task is executed.
|
16
|
+
|
17
|
+
This document details configuration, reporting options, and provides basic
|
18
|
+
[troubleshooting help][troubleshooting].
|
19
|
+
|
20
|
+
[troubleshooting]: #advanced-configuration--troubleshooting
|
21
|
+
|
22
|
+
# Simple Coverage Summaries
|
23
|
+
|
24
|
+
In its simplest usage, this plugin outputs coverage statistics to the console
|
25
|
+
for each source file exercised by a test. These console-based coverage
|
26
|
+
summaries are provided after the standard Ceedling test results summary. Other
|
27
|
+
than enabling the plugin and ensuring `gcov` is installed, no further set up
|
28
|
+
is necessary to produce these summaries.
|
29
|
+
|
30
|
+
_Note_: Automatic summaries may be disabled (see configuration options below).
|
31
|
+
|
32
|
+
When the Gcov plugin is active it enables Ceedling tasks like this:
|
33
|
+
|
34
|
+
```shell
|
35
|
+
> ceedling gcov:Model
|
36
|
+
```
|
37
|
+
|
38
|
+
… that then generate output like this:
|
39
|
+
|
40
|
+
```
|
41
|
+
--------------------------
|
42
|
+
GCOV: OVERALL TEST SUMMARY
|
43
|
+
--------------------------
|
44
|
+
TESTED: 1
|
45
|
+
PASSED: 1
|
46
|
+
FAILED: 0
|
47
|
+
IGNORED: 0
|
48
|
+
|
49
|
+
---------------------------
|
50
|
+
GCOV: CODE COVERAGE SUMMARY
|
51
|
+
---------------------------
|
52
|
+
|
53
|
+
TestModel
|
54
|
+
---------
|
55
|
+
Model.c | Lines executed:100.00% of 4
|
56
|
+
Model.c | No branches
|
57
|
+
Model.c | No calls
|
58
|
+
TimerModel.c | Lines executed:0.00% of 3
|
59
|
+
TimerModel.c | No branches
|
60
|
+
TimerModel.c | No calls
|
61
|
+
```
|
62
|
+
|
63
|
+
# Advanced Coverage Reports
|
64
|
+
|
65
|
+
For more advanced visualizations and reporting, this plugin also supports a
|
66
|
+
variety of report generation options.
|
67
|
+
|
68
|
+
Advanced report generation uses [gcovr] and / or [ReportGenerator] to generate
|
69
|
+
HTML, XML, JSON, or text-based reports from coverage-instrumented test runs.
|
70
|
+
See the tools' respective sites for examples of the reports they can generate.
|
71
|
+
|
72
|
+
In the default configuration, if reports are enabled, this plugin automatically
|
73
|
+
generates reports in the build's `artifacts/` directory after each execution of
|
74
|
+
a `gcov:` task.
|
75
|
+
|
76
|
+
An optional setting documented below disables automatic report generation,
|
77
|
+
providing a separate Ceedling task instead. Reports can then be generated
|
78
|
+
on demand after test suite runs.
|
79
|
+
|
80
|
+
[gcovr]: https://www.gcovr.com/
|
81
|
+
[ReportGenerator]: https://reportgenerator.io
|
82
|
+
|
83
|
+
# Important Notes on Coverage Summaries vs. Coverage Reports
|
84
|
+
|
85
|
+
Coverage summaries and coverage reports provide different levels of fidelity
|
86
|
+
and usability. Summaries are relatively unsophisticated while reports are
|
87
|
+
sophisticated. As such, both provide different capabilities and levels of
|
88
|
+
usability.
|
89
|
+
|
90
|
+
## Coverage summaries
|
91
|
+
|
92
|
+
Optional coverage summaries are intentionally simple. They require no
|
93
|
+
configuration and, to oversimplify, are largely filtered output from the `gcov`
|
94
|
+
tool.
|
95
|
+
|
96
|
+
Coverage summaries are reported to the console for each source file exercised by
|
97
|
+
the tests executed by `gcov:` tasks. That is, coverage summaries correspond to
|
98
|
+
the tests executed, and in turn, the source code that your tests call. This
|
99
|
+
could be all tests (and thus all source code) or a subset of tests (and some
|
100
|
+
subset of source code). The `gcov` tool is run multiple times after test suite
|
101
|
+
execution in direct relation to the set of tests you ran with `gcov:` testing
|
102
|
+
tasks. In short, the scope of coverage summaries is guaranteed to match the
|
103
|
+
test suite you run.
|
104
|
+
|
105
|
+
Coverage summaries do not include any sort of grand total, final tallies. This
|
106
|
+
is the domain of full coverage reports.
|
107
|
+
|
108
|
+
Note that Ceedling can exercise the same source code under multiple scenarios
|
109
|
+
using multiple test files. Practically, this means that the same source file
|
110
|
+
may be listed in the coverage summaries more than once. That said, its coverage
|
111
|
+
statistics will be the same each time — the aggregate result of all tests that
|
112
|
+
exercised it.
|
113
|
+
|
114
|
+
## Coverage reports
|
115
|
+
|
116
|
+
Coverage reports provide both much more detail and better overviews of coverage
|
117
|
+
than the console-based coverage summaries. However, with this comes the need
|
118
|
+
for more sophisticated configuration and certain caveats on what is reported.
|
119
|
+
|
120
|
+
Later sections detail how to configure the reports this plugin can generate.
|
121
|
+
|
122
|
+
Of note is a consequence of how reports are generated and the limits of the
|
123
|
+
tools that do so. Reports are generated using coverage results on disk. The
|
124
|
+
report generation tools slurp up the coverage results they find in the `gcov/`
|
125
|
+
build output directory. This means that previous test suite runs can “pollute”
|
126
|
+
coverage reports. The solution is simple if blunt — run the `clobber` task
|
127
|
+
before running a coverage-instrumented test suite. This will yield a coverage
|
128
|
+
report with scope that matches that of the test suite you run.
|
129
|
+
|
130
|
+
Both the `gcovr` and `reportgeneator` reporting utilities include powerful
|
131
|
+
filters that can limit the scope of reports. Hypothetically, it's possible for
|
132
|
+
coverage reports to have the same clear scope as coverage summaries. However,
|
133
|
+
in large projects, these filters would cause impractically long command lines.
|
134
|
+
Both tools provide configuration file options that would solve the command line
|
135
|
+
problem. However, this feature is “experimental” for `gcovr` and considerable
|
136
|
+
work to implement for both reporting utilities. At present, running
|
137
|
+
`ceedling clobber` before generating reports is the best option to ensure
|
138
|
+
accurate reports.
|
139
|
+
|
140
|
+
# Plugin Set Up & Configuration
|
141
|
+
|
142
|
+
## Supported tool versions [May 10, 2024]
|
143
|
+
|
144
|
+
At the time of the last major updates to the Gcov plugin, the following notes
|
145
|
+
on version compatibility were known to be accurate.
|
146
|
+
|
147
|
+
Keep in mind that for proper functioning, you do not necessarily need to
|
148
|
+
install all the tooks the Gcov plugin works with. Depending on configuration
|
149
|
+
options documented in later sections, any of the following tool combinations
|
150
|
+
may be sufficient for your needs:
|
151
|
+
|
152
|
+
1. `gcov`
|
153
|
+
1. `gcov` + `gcovr`
|
154
|
+
1. `gcov` + `reportgenerator`
|
155
|
+
1. `gcov` + `gcovr` + `reportgenerator`
|
156
|
+
|
157
|
+
### `gcov`
|
158
|
+
|
159
|
+
The Gcov plugin is known to work with `gcov` packaged with GNU Compiler
|
160
|
+
Collection 12.2 and should work with versions through at least 14.
|
161
|
+
|
162
|
+
The maintainers of `gcov` introduced significant behavioral changes for version
|
163
|
+
12. Previous versions of `gcov` had a simple exit code scheme with only a
|
164
|
+
single non-zero exit code upon fatal errors. Since version 12 `gcov` emits a
|
165
|
+
variety of exit codes even if the noted issue is a non-fatal error. The Gcov
|
166
|
+
plugin’s logic assumes version 12 behavior and processes failure messages and
|
167
|
+
exit codes appropriately, taking into account plugin configuration options.
|
168
|
+
|
169
|
+
The Gcov plugin should be compatible with versions of `gcov` before version 12.
|
170
|
+
That is, its improved `gcov` exit handling should not be broken by the prior
|
171
|
+
simpler behavior. The Gcov plugin dependes on the `gcov` command line and has
|
172
|
+
been compatible with it as far back as `gcov` version 7.
|
173
|
+
|
174
|
+
Because long file paths are quite common in software development scenarios, by
|
175
|
+
default, the Gcov plugin depends on the `gcov` `-x` flag. This flag hashes long
|
176
|
+
file paths to ensure they are not a problem for certain platforms' file
|
177
|
+
systems. This flag became available with `gcov` version 7. At the time of this
|
178
|
+
README section’s last update, the GNU Compiler Collection was at version 14. We
|
179
|
+
do not recommend using `gcov` version 6 and earlier. And, in fact, because of
|
180
|
+
the Gcov plugin’s dependence on the `gcov` `-x` flag, attempting to use it will
|
181
|
+
fail.
|
182
|
+
|
183
|
+
### `gcovr`
|
184
|
+
|
185
|
+
The Gcov plugin is known to work with `gcovr` 5.2 through `gcovr` 6.x. The
|
186
|
+
Gcov plugin supports `gcovr` command line conventions since version 4.2 and
|
187
|
+
attempts to support `gcovr` command lines before version 4.2. We recommend
|
188
|
+
using `gcovr` 5 and later.
|
189
|
+
|
190
|
+
### `reportgenerator`
|
191
|
+
|
192
|
+
The Gcov plugin is known to work with `reportgenerator` 5.2.4. The command line
|
193
|
+
for executing `reportgenerator` that the Gcov plugin relies on has largely been
|
194
|
+
stable since version 4. We recommend using `reportgenerator` 5.0 and later.
|
195
|
+
|
196
|
+
## Toolchain dependencies
|
197
|
+
|
198
|
+
### GNU Compiler Collection
|
199
|
+
|
200
|
+
This plugin relies on the GNU compiler collection. Coverage instrumentation
|
201
|
+
is enabled through `gcc` compiler flags. Coverage-insrumented executables
|
202
|
+
(i.e. test suites) output coverage result files to disk when run. `gcov`,
|
203
|
+
`gcovr`, and `reportgenerator` (the tools managed by this plugin) all produce
|
204
|
+
their coverage tallies from these files. `gcov` is part of the GNU compiler
|
205
|
+
collection. The other tools — detailed below — require separate installation.
|
206
|
+
|
207
|
+
Ceedling's default toolchain is the same as needed by this plugin. If you
|
208
|
+
are already running Ceedling test suites with the GNU compiler toolchain,
|
209
|
+
you are good to go. If you are using another toolchain for test suite and/or
|
210
|
+
release builds you will need to install the GNU compiler collection to use
|
211
|
+
this plugin. Depending on your needs you may also need to install the reporting
|
212
|
+
utilities, `gcovr` and/or `reportgenerator`.
|
213
|
+
|
214
|
+
### `gcovr` and `reportgenerator`’s dependence on `gcov`
|
215
|
+
|
216
|
+
Both the `gcovr` and `reportgenerator` tools depend on the `gcov` tool. This
|
217
|
+
dependency plays out in two different ways. In both cases, the report
|
218
|
+
generation utilities ingest `gcov`'s output to produce their artifacts. As
|
219
|
+
such, `gcov` must be available in your environment if using report generation.
|
220
|
+
|
221
|
+
1. `gcovr` calls `gcov` directly.
|
222
|
+
|
223
|
+
Because it calls `gcov` directly, you are limited as to the
|
224
|
+
advanced Ceedling features you can employ to modify `gcov`'s execution.
|
225
|
+
However, with a configuration option (see below) you can instruct `gcovr`
|
226
|
+
to call something other than `gcov` (e.g. a script that intercepts and
|
227
|
+
modifies how `gcovr` calls out to `gcov`).
|
228
|
+
|
229
|
+
`gcovr` instructs `gcov` to generate `.gcov` files that it processes and
|
230
|
+
discards. A `gcovr` option documented below will retain the `.gcov` files.
|
231
|
+
|
232
|
+
2. `reportgenerator` expects the existence of `.gcov` files to do its work.
|
233
|
+
This Ceedling plugin calls `gcov` appropriately to generate the `.gcov`
|
234
|
+
files `reportgenerator` needs before then calling the report utility.
|
235
|
+
|
236
|
+
You can use Ceedling's features to modify how `gcov` is run before
|
237
|
+
`reportgenerator`.
|
238
|
+
|
239
|
+
## Enable this plugin
|
240
|
+
|
241
|
+
To use this plugin it must be enabled in your Ceedling project file:
|
242
|
+
|
243
|
+
```yaml
|
244
|
+
:plugins:
|
245
|
+
:enabled:
|
246
|
+
- gcov
|
247
|
+
```
|
248
|
+
|
249
|
+
This simple configuration will create new `gcov:` tasks to run tests with
|
250
|
+
source coverage and output simple coverage summaries to the console as above.
|
251
|
+
|
252
|
+
## Disabling automatic coverage summaries
|
253
|
+
|
254
|
+
To disable the coverage summaries generated immediately following `gcov:` tasks,
|
255
|
+
simply add the following to a top-level `:gcov:` section in your project
|
256
|
+
configuration file.
|
257
|
+
|
258
|
+
```yaml
|
259
|
+
:plugins:
|
260
|
+
:enabled:
|
261
|
+
- gcov
|
262
|
+
|
263
|
+
:gcov:
|
264
|
+
:summaries: FALSE
|
265
|
+
```
|
266
|
+
|
267
|
+
## Report generation
|
268
|
+
|
269
|
+
To generate reports:
|
270
|
+
|
271
|
+
1. GCovr and / or ReportGenerator must installed or otherwise ready to run in
|
272
|
+
Ceedling's environment.
|
273
|
+
1. Reporting options must be configured in your project file beneath a `:gcov:`
|
274
|
+
entry.
|
275
|
+
|
276
|
+
The next sections explain each of these steps.
|
277
|
+
|
278
|
+
### Installation of report generation utilities
|
279
|
+
|
280
|
+
[gcovr] is available on any platform supported by Python.
|
281
|
+
|
282
|
+
`gcovr` can be installed via pip like this:
|
283
|
+
|
284
|
+
```shell
|
285
|
+
> pip install gcovr
|
286
|
+
```
|
287
|
+
|
288
|
+
[ReportGenerator] is available on any platform supported by .Net.
|
289
|
+
|
290
|
+
`ReportGenerator` can be installed via .NET Core like so:
|
291
|
+
|
292
|
+
```shell
|
293
|
+
> dotnet tool install -g dotnet-reportgenerator-globaltool
|
294
|
+
```
|
295
|
+
|
296
|
+
Either or both of `gcovr` or `ReportGenerator` may be used. Only one must
|
297
|
+
be installed for advanced report generation.
|
298
|
+
|
299
|
+
## Enabling report generation utilities
|
300
|
+
|
301
|
+
If reports are configured (see next sections) but no `:utilities:` subsection
|
302
|
+
exists, this plugin defaults to using `gcovr` for report generation.
|
303
|
+
|
304
|
+
Otherwise, enable Gcovr and / or ReportGenerator to create coverage reports.
|
305
|
+
|
306
|
+
```yaml
|
307
|
+
:gcov:
|
308
|
+
:utilities:
|
309
|
+
- gcovr # Use `gcovr` to create reports (default if no :utilities set).
|
310
|
+
- ReportGenerator # Use `ReportGenerator` to create reports.
|
311
|
+
```
|
312
|
+
|
313
|
+
## Automatic and manual report generation
|
314
|
+
|
315
|
+
By default, if reports are specified, this plugin automatically generates
|
316
|
+
reports after any `gcov:` task is executed. To disable this behavior, add
|
317
|
+
`:report_task: TRUE` to your project file's `:gcov:` configuration.
|
318
|
+
|
319
|
+
With this setting enabled, an additional Ceedling task `report:gcov` is enabled.
|
320
|
+
It may be executed after `gcov:` tasks to generate the configured reports.
|
321
|
+
|
322
|
+
For small projects, the default behavior is likely preferred. This alernative
|
323
|
+
setting allows large or complex projects to execute potentially time intensive
|
324
|
+
report generation only when desired.
|
325
|
+
|
326
|
+
Enabling the manual report generation task looks like this:
|
327
|
+
|
328
|
+
```yaml
|
329
|
+
:gcov:
|
330
|
+
:report_task: TRUE
|
331
|
+
```
|
332
|
+
|
333
|
+
# Example Usage
|
334
|
+
|
335
|
+
_Note_: Unless disabled, basic coverage summaries are always printed to the
|
336
|
+
console regardless of report generation options.
|
337
|
+
|
338
|
+
## Automatic report generation (default)
|
339
|
+
|
340
|
+
If coverage report generation is configured, the plugin defaults to running
|
341
|
+
reports after any `gcov:` task.
|
342
|
+
|
343
|
+
```yaml
|
344
|
+
:plugins:
|
345
|
+
:enabled:
|
346
|
+
- gcov
|
347
|
+
|
348
|
+
:gcov:
|
349
|
+
:utilities:
|
350
|
+
- gcovr # Enabled by default -- shown for completeness
|
351
|
+
:report_task: FALSE # Disabled by default -- shown for completeness
|
352
|
+
:reports: # See later section for report configuration
|
353
|
+
- HtmlBasic
|
354
|
+
|
355
|
+
... # Further configuration for reporting (not shown)
|
356
|
+
|
357
|
+
```
|
358
|
+
|
359
|
+
```shell
|
360
|
+
> ceedling gcov:all
|
361
|
+
```
|
362
|
+
|
363
|
+
## Report generation configured as manual task
|
364
|
+
|
365
|
+
If the `:report_task:` configuration option is enabled, reports are not
|
366
|
+
automatically generaed after test suite coverage builds. Instead, report
|
367
|
+
generation is triggered by the `report:gcov` task.
|
368
|
+
|
369
|
+
```yaml
|
370
|
+
:plugins:
|
371
|
+
:enabled:
|
372
|
+
- gcov
|
373
|
+
|
374
|
+
:gcov:
|
375
|
+
:utilities:
|
376
|
+
- gcovr # Enabled by default -- shown for completeness
|
377
|
+
:report_task: TRUE
|
378
|
+
:reports: # See later section for report configuration
|
379
|
+
- HtmlBasic # Enabled by default -- shown for completeness
|
380
|
+
|
381
|
+
... # Further configuration for reporting (not shown)
|
382
|
+
|
383
|
+
```
|
384
|
+
|
385
|
+
With the separate reporting task enabled, it can be used like any other Ceedling task.
|
386
|
+
|
387
|
+
```shell
|
388
|
+
> ceedling gcov:all report:gcov
|
389
|
+
```
|
390
|
+
|
391
|
+
or
|
392
|
+
|
393
|
+
```shell
|
394
|
+
> ceedling gcov:all
|
395
|
+
|
396
|
+
> ceedling report:gcov
|
397
|
+
```
|
398
|
+
|
399
|
+
### Full report generation configuration example
|
400
|
+
|
401
|
+
```yaml
|
402
|
+
:plugins:
|
403
|
+
:enabled:
|
404
|
+
- gcov
|
405
|
+
|
406
|
+
:gcov:
|
407
|
+
:summaries: FALSE # Simple coverage summaries to console disabled
|
408
|
+
:reports: # `gcovr` tool enabled by default
|
409
|
+
- HtmlDetailed
|
410
|
+
- Text
|
411
|
+
- Cobertura
|
412
|
+
:gcovr: # `gcovr` common and report-specific options
|
413
|
+
:report_root: "../../" # Atypical layout -- project.yml is inside a subdirectoy below <build root>
|
414
|
+
:sort_percentage: TRUE
|
415
|
+
:sort_uncovered: FALSE
|
416
|
+
:html_medium_threshold: 60
|
417
|
+
:html_high_threshold: 85
|
418
|
+
:print_summary: TRUE
|
419
|
+
:threads: 4
|
420
|
+
:keep: FALSE
|
421
|
+
```
|
422
|
+
|
423
|
+
# Report Generation Configuration
|
424
|
+
|
425
|
+
Various reports are available. Each must be enabled in `:gcov` ↳ `:reports`.
|
426
|
+
|
427
|
+
If no report types are specified, report generation (but not coverage summaries)
|
428
|
+
is disabled regardless of any other setting.
|
429
|
+
|
430
|
+
Most report types can only be generated by `gcovr` or `ReportGenerator`. Some
|
431
|
+
can be generated by both. This means that your selection of report is impacted by
|
432
|
+
which generation utility is enabled. In fact, in some cases, the same report type
|
433
|
+
could be generated by each utility (to different artifact build output folders).
|
434
|
+
|
435
|
+
Reports are configured with:
|
436
|
+
|
437
|
+
1. General or common options for each report generation utility
|
438
|
+
1. Specific options for types of report per each report generation utility
|
439
|
+
|
440
|
+
These are detailed in the sections that follow. See the
|
441
|
+
[GCovr User Guide][gcovr-user-guide] and the
|
442
|
+
[ReportGenerator Wiki][report-generator-wiki] for full details.
|
443
|
+
|
444
|
+
[gcovr-user-guide]: https://www.gcovr.com/en/stable/guide.html
|
445
|
+
[report-generator-wiki]: https://github.com/danielpalme/ReportGenerator/wiki
|
446
|
+
|
447
|
+
```yaml
|
448
|
+
:gcov:
|
449
|
+
# Specify one or more reports to generate.
|
450
|
+
# Defaults to HtmlBasic.
|
451
|
+
:reports:
|
452
|
+
# Generate an HTML summary report.
|
453
|
+
# Supported utilities: gcovr, ReportGenerator
|
454
|
+
- HtmlBasic
|
455
|
+
|
456
|
+
# Generate an HTML report with line by line coverage of each source file.
|
457
|
+
# Supported utilities: gcovr, ReportGenerator
|
458
|
+
- HtmlDetailed
|
459
|
+
|
460
|
+
# Generate a Text report, which may be output to the console with gcovr or a file in both gcovr and ReportGenerator.
|
461
|
+
# Supported utilities: gcovr, ReportGenerator
|
462
|
+
- Text
|
463
|
+
|
464
|
+
# Generate a Cobertura XML report.
|
465
|
+
# Supported utilities: gcovr, ReportGenerator
|
466
|
+
- Cobertura
|
467
|
+
|
468
|
+
# Generate a SonarQube XML report.
|
469
|
+
# Supported utilities: gcovr, ReportGenerator
|
470
|
+
- SonarQube
|
471
|
+
|
472
|
+
# Generate a JSON report.
|
473
|
+
# Supported utilities: gcovr
|
474
|
+
- JSON
|
475
|
+
|
476
|
+
# Generate a detailed HTML report with CSS and JavaScript included in every HTML page. Useful for build servers.
|
477
|
+
# Supported utilities: ReportGenerator
|
478
|
+
- HtmlInline
|
479
|
+
|
480
|
+
# Generate a detailed HTML report with a light theme and CSS and JavaScript included in every HTML page for Azure DevOps.
|
481
|
+
# Supported utilities: ReportGenerator
|
482
|
+
- HtmlInlineAzure
|
483
|
+
|
484
|
+
# Generate a detailed HTML report with a dark theme and CSS and JavaScript included in every HTML page for Azure DevOps.
|
485
|
+
# Supported utilities: ReportGenerator
|
486
|
+
- HtmlInlineAzureDark
|
487
|
+
|
488
|
+
# Generate a single HTML file containing a chart with historic coverage information.
|
489
|
+
# Supported utilities: ReportGenerator
|
490
|
+
- HtmlChart
|
491
|
+
|
492
|
+
# Generate a detailed HTML report in a single file.
|
493
|
+
# Supported utilities: ReportGenerator
|
494
|
+
- MHtml
|
495
|
+
|
496
|
+
# Generate SVG and PNG files that show line and / or branch coverage information.
|
497
|
+
# Supported utilities: ReportGenerator
|
498
|
+
- Badges
|
499
|
+
|
500
|
+
# Generate a single CSV file containing coverage information per file.
|
501
|
+
# Supported utilities: ReportGenerator
|
502
|
+
- CsvSummary
|
503
|
+
|
504
|
+
# Generate a single TEX file containing a summary for all files and detailed reports for each files.
|
505
|
+
# Supported utilities: ReportGenerator
|
506
|
+
- Latex
|
507
|
+
|
508
|
+
# Generate a single TEX file containing a summary for all files.
|
509
|
+
# Supported utilities: ReportGenerator
|
510
|
+
- LatexSummary
|
511
|
+
|
512
|
+
# Generate a single PNG file containing a chart with historic coverage information.
|
513
|
+
# Supported utilities: ReportGenerator
|
514
|
+
- PngChart
|
515
|
+
|
516
|
+
# Command line output interpreted by TeamCity.
|
517
|
+
# Supported utilities: ReportGenerator
|
518
|
+
- TeamCitySummary
|
519
|
+
|
520
|
+
# Generate a text file in lcov format.
|
521
|
+
# Supported utilities: ReportGenerator
|
522
|
+
- lcov
|
523
|
+
|
524
|
+
# Generate a XML file containing a summary for all classes and detailed reports for each class.
|
525
|
+
# Supported utilities: ReportGenerator
|
526
|
+
- Xml
|
527
|
+
|
528
|
+
# Generate a single XML file containing a summary for all files.
|
529
|
+
# Supported utilities: ReportGenerator
|
530
|
+
- XmlSummary
|
531
|
+
```
|
532
|
+
|
533
|
+
## Gcovr report output
|
534
|
+
|
535
|
+
All reports generated by `gcovr` are found in `<build root>/artifacts/gcov/gcovr/`.
|
536
|
+
|
537
|
+
## Gcovr HTML reports
|
538
|
+
|
539
|
+
Generation of HTML reports may be modified with the following configuration items.
|
540
|
+
|
541
|
+
```yaml
|
542
|
+
:gcov:
|
543
|
+
:gcovr:
|
544
|
+
# HTML report filename.
|
545
|
+
:html_artifact_filename: <filename>
|
546
|
+
|
547
|
+
# Use 'title' as title for the HTML report.
|
548
|
+
# Default is 'Head'. (gcovr --html-title)
|
549
|
+
:html_title: <title>
|
550
|
+
|
551
|
+
# If the coverage is below MEDIUM, the value is marked as low coverage in the HTML report.
|
552
|
+
# MEDIUM has to be lower than or equal to value of html_high_threshold.
|
553
|
+
# If MEDIUM is equal to value of html_high_threshold the report has only high and low coverage.
|
554
|
+
# Default is 75.0. (gcovr --html-medium-threshold)
|
555
|
+
:html_medium_threshold: 75
|
556
|
+
|
557
|
+
# If the coverage is below HIGH, the value is marked as medium coverage in the HTML report.
|
558
|
+
# HIGH has to be greater than or equal to value of html_medium_threshold.
|
559
|
+
# If HIGH is equal to value of html_medium_threshold the report has only high and low coverage.
|
560
|
+
# Default is 90.0. (gcovr -html-high-threshold)
|
561
|
+
:html_high_threshold: 90
|
562
|
+
|
563
|
+
# Set to 'true' to use absolute paths to link the 'detailed' reports.
|
564
|
+
# Defaults to relative links. (gcovr --html-absolute-paths)
|
565
|
+
:html_absolute_paths: <true|false>
|
566
|
+
|
567
|
+
# Override the declared HTML report encoding. Defaults to UTF-8. (gcovr --html-encoding)
|
568
|
+
:html_encoding: <html_encoding>
|
569
|
+
```
|
570
|
+
|
571
|
+
## Gcovr Cobertura XML reports
|
572
|
+
|
573
|
+
Generation of Cobertura XML reports may be modified with the following configuration items.
|
574
|
+
|
575
|
+
```yaml
|
576
|
+
:gcov:
|
577
|
+
:gcovr:
|
578
|
+
# Set to 'true' to pretty-print the Cobertura XML report, otherwise set to 'false'.
|
579
|
+
# Defaults to disabled. (gcovr --xml-pretty)
|
580
|
+
:cobertura_pretty: <true|false>
|
581
|
+
|
582
|
+
# Override default Cobertura XML report filename.
|
583
|
+
:cobertura_artifact_filename: <filename>
|
584
|
+
```
|
585
|
+
|
586
|
+
## Gcovr SonarQube XML reports
|
587
|
+
|
588
|
+
Generation of SonarQube XML reports may be modified with the following configuration items.
|
589
|
+
|
590
|
+
```yaml
|
591
|
+
:gcov:
|
592
|
+
:gcovr:
|
593
|
+
# Override default SonarQube XML report filename.
|
594
|
+
:sonarqube_artifact_filename: <filename>
|
595
|
+
```
|
596
|
+
|
597
|
+
## Gcovr JSON reports
|
598
|
+
|
599
|
+
Generation of JSON reports may be modified with the following configuration items.
|
600
|
+
|
601
|
+
```yaml
|
602
|
+
:gcov:
|
603
|
+
:gcovr:
|
604
|
+
# Set to 'true' to pretty-print the JSON report, otherwise set 'false'.
|
605
|
+
# Defaults to disabled. (gcovr --json-pretty)
|
606
|
+
:json_pretty: <true|false>
|
607
|
+
|
608
|
+
# Override default JSON report filename.
|
609
|
+
:json_artifact_filename: <filename>
|
610
|
+
```
|
611
|
+
|
612
|
+
## Gcovr text reports
|
613
|
+
|
614
|
+
Generation of text reports may be modified with the following configuration items.
|
615
|
+
Text reports may be printed to the console or output to a file.
|
616
|
+
|
617
|
+
```yaml
|
618
|
+
:gcov:
|
619
|
+
:gcovr:
|
620
|
+
# Override default text report filename.
|
621
|
+
:text_artifact_filename: <filename>
|
622
|
+
```
|
623
|
+
|
624
|
+
## Common gcovr options
|
625
|
+
|
626
|
+
A number of options exist to control which files are considered part of a
|
627
|
+
coverage report. This Ceedling gcov plugin itself handles the most important
|
628
|
+
aspect — only source files under test are compiled with coverage. Tests, mocks,
|
629
|
+
and test runners, are not compiled with coverage.
|
630
|
+
|
631
|
+
**Note:** `gcovr` will only accept a single path for `:report_root`. In typical
|
632
|
+
usage, this is of no concern as it is handled automatically. In unusual project
|
633
|
+
layouts, you may need to specify a folder that encompasses _all_ build folders
|
634
|
+
containing coverage result files and optionally, selectively exclude patterns
|
635
|
+
of paths or files. For instance, if your Ceedling project file is not at the
|
636
|
+
root of your project, you may need set `:report_root` as well as
|
637
|
+
`:report_exclude` and `:exclude_directories`.
|
638
|
+
|
639
|
+
```yaml
|
640
|
+
:gcov:
|
641
|
+
:gcovr:
|
642
|
+
# The root directory of your source files. Defaults to ".", the current directory.
|
643
|
+
# File names are reported relative to this root. The report_root is the default report_include.
|
644
|
+
# Default if unspecified: "."
|
645
|
+
:report_root: <path>
|
646
|
+
|
647
|
+
# Load the specified configuration file.
|
648
|
+
# Defaults to gcovr.cfg in the report_root directory. (gcovr --config)
|
649
|
+
:config_file: <config_file>
|
650
|
+
|
651
|
+
# Exit with a status of 2 if the total line coverage is less than MIN percentage.
|
652
|
+
# Can be ORed with exit status of other fail options. (gcovr --fail-under-line)
|
653
|
+
:fail_under_line: <1-100>
|
654
|
+
|
655
|
+
# Exit with a status of 4 if the total branch coverage is less than MIN percentage.
|
656
|
+
# Can be ORed with exit status of other fail options. (gcovr --fail-under-branch)
|
657
|
+
:fail_under_branch: <1-100>
|
658
|
+
|
659
|
+
# Exit with a status of 8 if the total decision coverage is less than MIN percentage.
|
660
|
+
# Can be ORed with exit status of other fail options. (gcovr --fail-under-decision)
|
661
|
+
:fail_under_decision: <1-100>
|
662
|
+
|
663
|
+
# Exit with a status of 16 if the total function coverage is less than MIN percentage.
|
664
|
+
# Can be ORed with exit status of other fail options. (gcovr --fail-under-function)
|
665
|
+
:fail_under_function: <1-100>
|
666
|
+
|
667
|
+
# If the fail options above are set, specify whether those conditions should break a build.
|
668
|
+
# The default option is false and simply logs a warning without breaking the build.
|
669
|
+
:exception_on_fail: <true|false>
|
670
|
+
|
671
|
+
# Select the source file encoding.
|
672
|
+
# Defaults to the system default encoding (UTF-8). (gcovr --source-encoding)
|
673
|
+
:source_encoding: <encoding>
|
674
|
+
|
675
|
+
# Report the branch coverage instead of the line coverage. For text report only. (gcovr --branches).
|
676
|
+
:branches: <true|false>
|
677
|
+
|
678
|
+
# Sort entries by increasing number of uncovered lines.
|
679
|
+
# For text and HTML report. (gcovr --sort-uncovered)
|
680
|
+
:sort_uncovered: <true|false>
|
681
|
+
|
682
|
+
# Sort entries by increasing percentage of uncovered lines.
|
683
|
+
# For text and HTML report. (gcovr --sort-percentage)
|
684
|
+
:sort_percentage: <true|false>
|
685
|
+
|
686
|
+
# Print a small report to stdout with line & branch percentage coverage.
|
687
|
+
# This is in addition to other reports. (gcovr --print-summary).
|
688
|
+
:print_summary: <true|false>
|
689
|
+
|
690
|
+
# Keep only source files that match this filter. (gcovr --filter).
|
691
|
+
# Filters are regular expressions (ex: "^src")
|
692
|
+
:report_include: <filter>
|
693
|
+
|
694
|
+
# Exclude source files that match this filter. (gcovr --exclude).
|
695
|
+
# Filters are regular expressions (ex: "^vendor.*|^build.*|^test.*|^lib.*")
|
696
|
+
:report_exclude: <filter>
|
697
|
+
|
698
|
+
# Keep only gcov data files that match this filter. (gcovr --gcov-filter).
|
699
|
+
# Filters are regular expressions
|
700
|
+
:gcov_filter: <filter>
|
701
|
+
|
702
|
+
# Exclude gcov data files that match this filter. (gcovr --gcov-exclude).
|
703
|
+
# Filters are regular expressions
|
704
|
+
:gcov_exclude: <filter>
|
705
|
+
|
706
|
+
# Exclude directories that match this filter while searching
|
707
|
+
# raw coverage files. (gcovr --exclude-directories).
|
708
|
+
# Filters are regular expressions
|
709
|
+
:exclude_directories: <filters>
|
710
|
+
|
711
|
+
# Use a particular gcov executable. (gcovr --gcov-executable).
|
712
|
+
# (This may be appropriate and necessary in special circumstances.
|
713
|
+
# Please review Ceedling's options for modifying tools first.)
|
714
|
+
:gcov_executable: <cmd>
|
715
|
+
|
716
|
+
# Exclude branch coverage from lines without useful
|
717
|
+
# source code. (gcovr --exclude-unreachable-branches).
|
718
|
+
:exclude_unreachable_branches: <true|false>
|
719
|
+
|
720
|
+
# For branch coverage, exclude branches that the compiler
|
721
|
+
# generates for exception handling. (gcovr --exclude-throw-branches).
|
722
|
+
:exclude_throw_branches: <true|false>
|
723
|
+
|
724
|
+
# For Gcovr 6.0+, multiple instances of the same function in coverage results can
|
725
|
+
# cause a fatal error. Since Ceedling can test multiple build variations of the
|
726
|
+
# same source function, this is bad.
|
727
|
+
# Default value for Gcov plugin is 'merge-use-line-max'. See Gcovr docs for more.
|
728
|
+
# https://gcovr.com/en/stable/guide/merging.html
|
729
|
+
:merge_mode_function: <...>
|
730
|
+
|
731
|
+
# Use existing gcov files for analysis. Default: False. (gcovr --use-gcov-files)
|
732
|
+
:use_gcov_files: <true|false>
|
733
|
+
|
734
|
+
# Skip lines with parse errors in GCOV files instead of
|
735
|
+
# exiting with an error. (gcovr --gcov-ignore-parse-errors).
|
736
|
+
:gcov_ignore_parse_errors: <true|false>
|
737
|
+
|
738
|
+
# Override normal working directory detection. (gcovr --object-directory)
|
739
|
+
:object_directory: <path>
|
740
|
+
|
741
|
+
# Keep gcov files after processing. (gcovr --keep).
|
742
|
+
:keep: <true|false>
|
743
|
+
|
744
|
+
# Delete gcda files after processing. (gcovr --delete).
|
745
|
+
:delete: <true|false>
|
746
|
+
|
747
|
+
# Set the number of threads to use in parallel. (gcovr -j).
|
748
|
+
:threads: <count>
|
749
|
+
```
|
750
|
+
|
751
|
+
## ReportGenerator configuration
|
752
|
+
|
753
|
+
The `ReportGenerator` utility may be configured with the following configuration items.
|
754
|
+
|
755
|
+
All generated reports are found in `<build root>/artifacts/gcov/ReportGenerator/`.
|
756
|
+
|
757
|
+
```yaml
|
758
|
+
:gcov:
|
759
|
+
:report_generator:
|
760
|
+
# Optional directory for storing persistent coverage information.
|
761
|
+
# Can be used in future reports to show coverage evolution.
|
762
|
+
:history_directory: <path>
|
763
|
+
|
764
|
+
# Optional plugin files for custom reports or custom history storage (separated by semicolon).
|
765
|
+
:plugins: <plugin.dll>;<*.dll>
|
766
|
+
|
767
|
+
# Optional list of assemblies that should be included or excluded in the report (separated by semicolon).
|
768
|
+
# Exclusion filters take precedence over inclusion filters.
|
769
|
+
# Wildcards are allowed, but not regular expressions.
|
770
|
+
:assembly_filters: +<included>;-<excluded>
|
771
|
+
|
772
|
+
# Optional list of classes that should be included or excluded in the report (separated by semicolon).
|
773
|
+
# Exclusion filters take precedence over inclusion filters.
|
774
|
+
# Wildcards are allowed, but not regular expressions.
|
775
|
+
:class_filters: +<included>;-<excluded>
|
776
|
+
|
777
|
+
# Optional list of files that should be included or excluded in the report (separated by semicolon).
|
778
|
+
# Exclusion filters take precedence over inclusion filters.
|
779
|
+
# Wildcards are allowed, but not regular expressions.
|
780
|
+
# Example: "-./vendor/*;-./build/*;-./test/*;-./lib/*;+./src/*"
|
781
|
+
:file_filters: +<included>;-<excluded>
|
782
|
+
|
783
|
+
# The verbosity level of the log messages.
|
784
|
+
# Values: Verbose, Info, Warning, Error, Off (defaults to Warning)
|
785
|
+
:verbosity: <level>
|
786
|
+
|
787
|
+
# Optional tag or build version.
|
788
|
+
:tag: <tag>
|
789
|
+
|
790
|
+
# Optional list of one or more regular expressions to exclude gcov notes files that match these filters.
|
791
|
+
:gcov_exclude:
|
792
|
+
- <regex>
|
793
|
+
- ...
|
794
|
+
|
795
|
+
# Optionally set the number of threads to use in parallel. Defaults to 1.
|
796
|
+
:threads: <count>
|
797
|
+
|
798
|
+
# Optional list of one or more command line arguments to pass to Report Generator.
|
799
|
+
# Useful for configuring Risk Hotspots and Other Settings.
|
800
|
+
# https://github.com/danielpalme/ReportGenerator/wiki/Settings
|
801
|
+
# Note: This can be accomplished with Ceedling's tool configuration options outside of plugin
|
802
|
+
# configuration but is supported here to collect configuration options in one place.
|
803
|
+
:custom_args:
|
804
|
+
- <argument>
|
805
|
+
- ...
|
806
|
+
```
|
807
|
+
|
808
|
+
# Advanced Configuration & Troubleshooting
|
809
|
+
|
810
|
+
See the _Ceedling Cookbook_ for options on how to use Ceedling's advanced
|
811
|
+
features to modify how this plugin is configured, especially tool
|
812
|
+
configurations.
|
813
|
+
|
814
|
+
Details of interest for this plugin to be modified or made use of using
|
815
|
+
Ceedling's advanced features are primarily contained in
|
816
|
+
[defaults_gcov.rb](conig/defaults_gcov.rb) and [defaults.yml](config/defaults.yml).
|
817
|
+
|
818
|
+
## “gcovr not found”
|
819
|
+
|
820
|
+
`gcovr` is a Python-based application. Depending on the particulars of its
|
821
|
+
installation and your platform, you may encounter a “gcovr not found” error.
|
822
|
+
This is usually related to complications of running a Python script as an
|
823
|
+
executable.
|
824
|
+
|
825
|
+
### Check your `PATH`
|
826
|
+
|
827
|
+
The problem may be as simple to solve as ensuring your user or system path
|
828
|
+
include the path to `python` and/or the `gcovr` script. `gcovr` may be
|
829
|
+
successfully installed and findable by Python; this does not necessarily
|
830
|
+
mean that shell commands Ceedling spawns can find these tools.
|
831
|
+
|
832
|
+
Options:
|
833
|
+
|
834
|
+
1. Modify your user or system path to include your Python installation, `gcovr`
|
835
|
+
location, or both.
|
836
|
+
1. Use Ceedling's `:environment` project configuration with its special
|
837
|
+
handling of `PATH` to modify the search path Ceedling accesses when it
|
838
|
+
executes shell commands. xample below.
|
839
|
+
|
840
|
+
```yaml
|
841
|
+
:environment:
|
842
|
+
- :path: # Concatenates the following with OS-specific path separator
|
843
|
+
- <path to add> # Add Python and/or `gcovr` path
|
844
|
+
- "#{ENV['PATH']}" # Fetch existing path entries
|
845
|
+
```
|
846
|
+
|
847
|
+
### Redefine `gcovr` to call Python directly
|
848
|
+
|
849
|
+
Another solution is simple in concept. Instead of calling `gcovr` directly, call
|
850
|
+
`python` with the `gcovr` script as a command line argument (followed by all of
|
851
|
+
the configured `gcovr` arguments).
|
852
|
+
|
853
|
+
To implement the solution, we make use of two features:
|
854
|
+
|
855
|
+
* `gcovr`'s tool `:executable` definition that looks up an environment variable.
|
856
|
+
* Ceedling's `:environment` settings to redefine `gcovr`.
|
857
|
+
|
858
|
+
Gcovr's tool defintion, like many of Ceedling's tool defintions, defaults to an
|
859
|
+
environment variable (`GCOVR`) if it is defined. If we set that environment
|
860
|
+
variable to call Python with the path to the `gcovr` script, Ceedling will call
|
861
|
+
that instead of only `gcovr`. Ceedling enables you to set environment variables
|
862
|
+
that only exist while it runs.
|
863
|
+
|
864
|
+
In your project file:
|
865
|
+
|
866
|
+
```yaml
|
867
|
+
:environment:
|
868
|
+
# Fill in / omit paths on your system as appropritate to your circumstances
|
869
|
+
- :gcovr: <path>/python <path>/gcovr
|
870
|
+
```
|
871
|
+
|
872
|
+
Alternatively, a slightly more elegant approach may work in some cases:
|
873
|
+
|
874
|
+
```yaml
|
875
|
+
:environment:
|
876
|
+
- ":gcovr: python #{`which gcovr`}" # Shell out to look up the path to gcovr
|
877
|
+
```
|
878
|
+
|
879
|
+
A variation of this concept relies on Python's knowledge of its runtime
|
880
|
+
environment and packages:
|
881
|
+
|
882
|
+
```yaml
|
883
|
+
:environment:
|
884
|
+
- :gcovr: python -m gcovr # Call the gcovr module
|
885
|
+
```
|
886
|
+
|
887
|
+
# References
|
888
|
+
|
889
|
+
Much of the text describing report generations options in this document was
|
890
|
+
taken from the [Gcovr User Guide][gcovr-user-guide] and the
|
891
|
+
[ReportGenerator Wiki][report-generator-wiki].
|
892
|
+
|
893
|
+
The text is repeated here to provide as useful documenation as possible.
|