ceedling 1.0.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/GIT_COMMIT_SHA +1 -0
- data/Gemfile +7 -1
- data/Gemfile.lock +19 -12
- data/README.md +141 -157
- data/Rakefile +189 -9
- data/assets/example_file.c +1 -1
- data/assets/example_file.h +1 -1
- data/assets/example_file_call.c +1 -1
- data/assets/example_file_call.h +1 -1
- data/assets/example_file_with_statics.c +10 -0
- data/assets/example_file_with_stdio.c +13 -0
- data/assets/example_file_with_stdio.h +15 -0
- data/assets/project.yml +404 -0
- data/assets/test_example_file.c +1 -1
- data/assets/test_example_file_boom.c +1 -1
- data/assets/test_example_file_crash_assert.c +25 -0
- data/assets/test_example_file_crash_sigsegv.c +26 -0
- data/assets/test_example_file_source_include.c +17 -0
- data/assets/test_example_file_success.c +1 -1
- data/assets/test_example_file_unity_printf.c +1 -1
- data/assets/test_example_file_verbose.c +1 -1
- data/assets/test_example_file_with_mock.c +1 -1
- data/assets/test_example_file_with_stdio.c +18 -0
- data/assets/test_example_with_parameterized_tests.c +1 -1
- data/assets/tests_with_defines/src/adc_hardware.c +1 -1
- data/assets/tests_with_defines/src/adc_hardware.h +1 -1
- data/assets/tests_with_defines/src/adc_hardware_configurator.c +1 -1
- data/assets/tests_with_defines/src/adc_hardware_configurator.h +1 -1
- data/assets/tests_with_defines/test/test_adc_hardware.c +1 -1
- data/assets/tests_with_defines/test/test_adc_hardware_special.c +1 -1
- data/assets/tests_with_encoding/src/unicoder.c +12 -0
- data/assets/tests_with_encoding/src/unicoder.h +14 -0
- data/assets/tests_with_encoding/test/test_unicoder.c +15 -0
- data/assets/tests_with_encoding/test/test_unicoder_partial.c +17 -0
- data/assets/tests_with_fallback_conditionals/src/conditional_module.c +18 -0
- data/assets/tests_with_fallback_conditionals/src/conditional_module.h +13 -0
- data/assets/tests_with_fallback_conditionals/src/optional_dep.h +12 -0
- data/assets/tests_with_fallback_conditionals/test/test_conditionals.c +49 -0
- data/assets/tests_with_preprocessing/src/adc_hardwareA.c +1 -1
- data/assets/tests_with_preprocessing/src/adc_hardwareA.h +1 -1
- data/assets/tests_with_preprocessing/src/adc_hardwareB.c +1 -1
- data/assets/tests_with_preprocessing/src/adc_hardwareB.h +1 -1
- data/assets/tests_with_preprocessing/src/adc_hardwareC.c +1 -1
- data/assets/tests_with_preprocessing/src/adc_hardwareC.h +1 -1
- data/assets/tests_with_preprocessing/src/adc_hardware_configuratorA.h +1 -1
- data/assets/tests_with_preprocessing/src/adc_hardware_configuratorB.h +1 -1
- data/assets/tests_with_preprocessing/src/adc_hardware_configuratorC.h +1 -1
- data/assets/tests_with_preprocessing/test/test_adc_hardwareA.c +1 -1
- data/assets/tests_with_preprocessing/test/test_adc_hardwareB.c +1 -1
- data/assets/tests_with_preprocessing/test/test_adc_hardwareC.c +1 -1
- data/assets/uncovered_example_file.c +1 -1
- data/bin/actions_wrapper.rb +1 -1
- data/bin/app_cfg.rb +1 -1
- data/bin/ceedling +14 -3
- data/bin/cli.rb +110 -38
- data/bin/cli_handler.rb +167 -68
- data/bin/cli_helper.rb +191 -62
- data/bin/configinator.rb +71 -12
- data/bin/merginator.rb +82 -0
- data/bin/mixin_standardizer.rb +127 -0
- data/bin/mixinator.rb +199 -33
- data/bin/mixins.rb +4 -2
- data/bin/objects.yml +22 -1
- data/bin/path_validator.rb +1 -1
- data/bin/projectinator.rb +29 -20
- data/bin/rake_patches.rb +31 -0
- data/bin/recursive_merger.rb +128 -0
- data/bin/versionator.rb +2 -2
- data/ceedling.gemspec +31 -14
- data/config/test_environment.rb +1 -1
- data/docs/BreakingChanges.md +27 -4
- data/docs/CONTRIBUTING.md +2 -12
- data/docs/CeedlingPullRequestChecklist.md +24 -0
- data/docs/Changelog.md +195 -5
- data/docs/KnownIssues.md +26 -0
- data/docs/ReleaseNotes.md +141 -19
- data/docs/SECURITY.md +41 -0
- data/docs/mkdocs/assets/images/ceedling-logo-circle.png +0 -0
- data/docs/mkdocs/assets/images/ceedling.svg +90 -0
- data/docs/mkdocs/assets/images/favicon.png +0 -0
- data/docs/mkdocs/assets/stylesheets/admonitions.css +152 -0
- data/docs/mkdocs/assets/stylesheets/fixes-local.css +15 -0
- data/docs/mkdocs/assets/stylesheets/styling.css +102 -0
- data/docs/mkdocs/configuration/environment-vars.md +14 -0
- data/docs/mkdocs/configuration/global-collections.md +156 -0
- data/docs/mkdocs/configuration/index.md +75 -0
- data/docs/mkdocs/configuration/loading.md +89 -0
- data/docs/mkdocs/configuration/mixins.md +607 -0
- data/docs/mkdocs/configuration/parallel-builds.md +97 -0
- data/docs/mkdocs/configuration/project-file.md +198 -0
- data/docs/mkdocs/configuration/reference/cexception.md +35 -0
- data/docs/mkdocs/configuration/reference/cmock.md +106 -0
- data/docs/mkdocs/configuration/reference/defines.md +352 -0
- data/docs/mkdocs/configuration/reference/environment.md +55 -0
- data/docs/mkdocs/configuration/reference/extension.md +63 -0
- data/docs/mkdocs/configuration/reference/files.md +154 -0
- data/docs/mkdocs/configuration/reference/flags.md +296 -0
- data/docs/mkdocs/configuration/reference/index.md +168 -0
- data/docs/mkdocs/configuration/reference/libraries.md +82 -0
- data/docs/mkdocs/configuration/reference/mixins.md +24 -0
- data/docs/mkdocs/configuration/reference/paths.md +276 -0
- data/docs/mkdocs/configuration/reference/plugins.md +60 -0
- data/docs/mkdocs/configuration/reference/project.md +333 -0
- data/docs/mkdocs/configuration/reference/release-build.md +62 -0
- data/docs/mkdocs/configuration/reference/test-build.md +55 -0
- data/docs/mkdocs/configuration/reference/test-runner.md +61 -0
- data/docs/mkdocs/configuration/reference/tools.md +457 -0
- data/docs/mkdocs/configuration/reference/unity.md +49 -0
- data/docs/mkdocs/configuration/which-ceedling.md +77 -0
- data/docs/mkdocs/development/index.md +50 -0
- data/docs/mkdocs/development/plugins/configuration.md +164 -0
- data/docs/mkdocs/development/plugins/index.md +84 -0
- data/docs/mkdocs/development/plugins/plugin-subclass.md +513 -0
- data/docs/mkdocs/development/plugins/rake-tasks.md +54 -0
- data/docs/mkdocs/development/workflow.md +284 -0
- data/docs/mkdocs/getting-started/command-line.md +477 -0
- data/docs/mkdocs/getting-started/example-projects/cipher-quest.md +65 -0
- data/docs/mkdocs/getting-started/example-projects/index.md +49 -0
- data/docs/mkdocs/getting-started/example-projects/temp-sensor.md +60 -0
- data/docs/mkdocs/getting-started/example-projects/wondrous-forest.md +45 -0
- data/docs/mkdocs/getting-started/index.md +41 -0
- data/docs/mkdocs/getting-started/installation.md +172 -0
- data/docs/mkdocs/getting-started/quick-start.md +65 -0
- data/docs/mkdocs/help.md +49 -0
- data/docs/mkdocs/index.md +215 -0
- data/docs/mkdocs/overview/build-system.md +115 -0
- data/docs/mkdocs/overview/index.md +29 -0
- data/docs/mkdocs/overview/test-environments.md +33 -0
- data/docs/mkdocs/overview/tools-and-frameworks.md +115 -0
- data/docs/mkdocs/plugins/beep.md +134 -0
- data/docs/mkdocs/plugins/bullseye.md +77 -0
- data/docs/mkdocs/plugins/command-hooks.md +263 -0
- data/docs/mkdocs/plugins/compile-commands-json-db.md +42 -0
- data/docs/mkdocs/plugins/cppcheck.md +377 -0
- data/docs/mkdocs/plugins/dependencies.md +310 -0
- data/docs/mkdocs/plugins/fff.md +247 -0
- data/docs/mkdocs/plugins/gcov/examples.md +92 -0
- data/docs/mkdocs/plugins/gcov/gcovr.md +251 -0
- data/docs/mkdocs/plugins/gcov/index.md +68 -0
- data/docs/mkdocs/plugins/gcov/overview.md +145 -0
- data/docs/mkdocs/plugins/gcov/reportgenerator.md +58 -0
- data/docs/mkdocs/plugins/gcov/reporting.md +147 -0
- data/docs/mkdocs/plugins/gcov/setup.md +232 -0
- data/docs/mkdocs/plugins/gcov/tool-versions.md +60 -0
- data/docs/mkdocs/plugins/gcov/troubleshooting.md +78 -0
- data/docs/mkdocs/plugins/index.md +221 -0
- data/docs/mkdocs/plugins/module-generator.md +267 -0
- data/docs/mkdocs/plugins/report-build-warnings-log.md +42 -0
- data/docs/mkdocs/plugins/report-tests-gtestlike-stdout.md +98 -0
- data/docs/mkdocs/plugins/report-tests-ide-stdout.md +63 -0
- data/docs/mkdocs/plugins/report-tests-log-factory.md +454 -0
- data/docs/mkdocs/plugins/report-tests-pretty-stdout.md +56 -0
- data/docs/mkdocs/plugins/report-tests-raw-output-log.md +52 -0
- data/docs/mkdocs/plugins/report-tests-teamcity-stdout.md +96 -0
- data/docs/mkdocs/plugins/sample_html_report.png +0 -0
- data/docs/mkdocs/plugins/valgrind.md +192 -0
- data/docs/mkdocs/project/release-history.md +61 -0
- data/docs/mkdocs/project/upgrade.md +85 -0
- data/docs/mkdocs/reference/build-directives.md +37 -0
- data/docs/mkdocs/reference/command-line.md +323 -0
- data/docs/mkdocs/reference/environment-vars.md +60 -0
- data/docs/mkdocs/reference/gcov-plugin.md +577 -0
- data/docs/mkdocs/reference/global-collections.md +160 -0
- data/docs/mkdocs/reference/index.md +65 -0
- data/docs/mkdocs/reference/partials-macros.md +79 -0
- data/docs/mkdocs/reference/project-configuration.md +46 -0
- data/docs/mkdocs/snapshot/assets/project.yml +404 -0
- data/docs/mkdocs/snapshot/examples/cipher_quest/README.md +210 -0
- data/docs/mkdocs/snapshot/examples/temp_sensor/README.md +283 -0
- data/docs/mkdocs/snapshot/examples/wondrous_forest/README.md +92 -0
- data/docs/mkdocs/snapshot/plugins/gcov/config/defaults.yml +33 -0
- data/docs/mkdocs/snapshot/plugins/gcov/config/defaults_gcov.rb +136 -0
- data/docs/mkdocs/snapshot.yml +20 -0
- data/docs/mkdocs/testing-guide/build-directives.md +153 -0
- data/docs/mkdocs/testing-guide/conventions.md +616 -0
- data/docs/mkdocs/testing-guide/frameworks.md +192 -0
- data/docs/mkdocs/testing-guide/index.md +80 -0
- data/docs/mkdocs/testing-guide/partials/configuration.md +67 -0
- data/docs/mkdocs/testing-guide/partials/conventions.md +68 -0
- data/docs/mkdocs/testing-guide/partials/directives.md +212 -0
- data/docs/mkdocs/testing-guide/partials/example.md +149 -0
- data/docs/mkdocs/testing-guide/partials/index.md +79 -0
- data/docs/mkdocs/testing-guide/partials/overview.md +81 -0
- data/docs/mkdocs/testing-guide/partials/variables.md +244 -0
- data/docs/mkdocs/testing-guide/test-cases.md +194 -0
- data/docs/mkdocs/testing-guide/test-sample.md +94 -0
- data/docs/mkdocs/testing-guide/test-suite-anatomy.md +58 -0
- data/examples/cipher_quest/README.md +210 -0
- data/examples/cipher_quest/mixin/release_analyze.yml +28 -0
- data/examples/cipher_quest/mixin/release_caesar.yml +28 -0
- data/examples/cipher_quest/mixin/release_full.yml +30 -0
- data/examples/cipher_quest/mixin/release_rot13.yml +28 -0
- data/examples/cipher_quest/project.yml +108 -0
- data/examples/cipher_quest/src/analyzer.c +83 -0
- data/examples/cipher_quest/src/analyzer.h +29 -0
- data/examples/cipher_quest/src/cipher.c +59 -0
- data/examples/cipher_quest/src/cipher.h +27 -0
- data/examples/cipher_quest/src/main.c +151 -0
- data/examples/cipher_quest/src/text_utils.c +119 -0
- data/examples/cipher_quest/src/text_utils.h +23 -0
- data/examples/cipher_quest/test/TestAnalyzer.c +133 -0
- data/examples/cipher_quest/test/TestCipherCaesar.c +81 -0
- data/examples/cipher_quest/test/TestCipherRot13.c +74 -0
- data/examples/cipher_quest/test/TestTextUtils.c +184 -0
- data/examples/temp_sensor/README.md +279 -14
- data/examples/temp_sensor/mixin/add_gcov.yml +1 -1
- data/examples/temp_sensor/mixin/add_unity_helper.yml +1 -1
- data/examples/temp_sensor/project.yml +4 -24
- data/examples/temp_sensor/src/AdcConductor.c +5 -1
- data/examples/temp_sensor/src/AdcConductor.h +1 -1
- data/examples/temp_sensor/src/AdcHardware.c +1 -1
- data/examples/temp_sensor/src/AdcHardware.h +1 -1
- data/examples/temp_sensor/src/AdcHardwareConfigurator.c +2 -1
- data/examples/temp_sensor/src/AdcHardwareConfigurator.h +1 -1
- data/examples/temp_sensor/src/AdcModel.c +2 -2
- data/examples/temp_sensor/src/AdcModel.h +1 -1
- data/examples/temp_sensor/src/AdcTemperatureSensor.c +2 -1
- data/examples/temp_sensor/src/AdcTemperatureSensor.h +1 -1
- data/examples/temp_sensor/src/Executor.c +1 -1
- data/examples/temp_sensor/src/Executor.h +1 -1
- data/examples/temp_sensor/src/IntrinsicsWrapper.c +1 -1
- data/examples/temp_sensor/src/IntrinsicsWrapper.h +1 -1
- data/examples/temp_sensor/src/Main.c +3 -3
- data/examples/temp_sensor/src/Main.h +1 -1
- data/examples/temp_sensor/src/Model.c +1 -1
- data/examples/temp_sensor/src/Model.h +1 -1
- data/examples/temp_sensor/src/ModelConfig.h +1 -1
- data/examples/temp_sensor/src/TaskScheduler.c +1 -1
- data/examples/temp_sensor/src/TaskScheduler.h +1 -1
- data/examples/temp_sensor/src/TemperatureFilter.c +1 -1
- data/examples/temp_sensor/src/TemperatureFilter.h +1 -1
- data/examples/temp_sensor/src/TimerConductor.c +1 -1
- data/examples/temp_sensor/src/TimerConductor.h +1 -1
- data/examples/temp_sensor/src/TimerConfigurator.c +2 -1
- data/examples/temp_sensor/src/TimerConfigurator.h +1 -1
- data/examples/temp_sensor/src/TimerHardware.c +1 -1
- data/examples/temp_sensor/src/TimerHardware.h +1 -1
- data/examples/temp_sensor/src/TimerInterruptConfigurator.c +2 -1
- data/examples/temp_sensor/src/TimerInterruptConfigurator.h +1 -1
- data/examples/temp_sensor/src/TimerInterruptHandler.c +2 -1
- data/examples/temp_sensor/src/TimerInterruptHandler.h +1 -1
- data/examples/temp_sensor/src/TimerModel.c +1 -1
- data/examples/temp_sensor/src/TimerModel.h +1 -1
- data/examples/temp_sensor/src/Types.h +5 -2
- data/examples/temp_sensor/src/UsartConductor.c +1 -1
- data/examples/temp_sensor/src/UsartConductor.h +1 -1
- data/examples/temp_sensor/src/UsartConfigurator.c +2 -1
- data/examples/temp_sensor/src/UsartConfigurator.h +1 -1
- data/examples/temp_sensor/src/UsartHardware.c +1 -1
- data/examples/temp_sensor/src/UsartHardware.h +1 -1
- data/examples/temp_sensor/src/UsartModel.c +2 -2
- data/examples/temp_sensor/src/UsartModel.h +1 -1
- data/examples/temp_sensor/src/UsartPutChar.c +2 -1
- data/examples/temp_sensor/src/UsartPutChar.h +1 -1
- data/examples/temp_sensor/src/UsartTransmitBufferStatus.c +2 -1
- data/examples/temp_sensor/src/UsartTransmitBufferStatus.h +1 -1
- data/examples/temp_sensor/src/calculators/TemperatureCalculator.c +38 -0
- data/examples/temp_sensor/src/calculators/TemperatureCalculator.h +15 -0
- data/examples/temp_sensor/src/calculators/UsartBaudRateRegisterCalculator.c +25 -0
- data/examples/temp_sensor/src/calculators/UsartBaudRateRegisterCalculator.h +15 -0
- data/examples/temp_sensor/test/TestExecutor.c +1 -1
- data/examples/temp_sensor/test/TestMain.c +5 -1
- data/examples/temp_sensor/test/TestModel.c +1 -1
- data/examples/temp_sensor/test/TestTaskScheduler.c +1 -1
- data/examples/temp_sensor/test/TestTemperatureCalculator.c +2 -2
- data/examples/temp_sensor/test/TestTemperatureFilter.c +5 -2
- data/examples/temp_sensor/test/TestTimerConductor.c +1 -1
- data/examples/temp_sensor/test/TestTimerHardware.c +1 -1
- data/examples/temp_sensor/test/TestTimerIntegrated.c +8 -4
- data/examples/temp_sensor/test/TestTimerModel.c +1 -1
- data/examples/temp_sensor/test/TestTimerPlatformStandin.c +154 -0
- data/examples/temp_sensor/test/TestUsartBaudRateRegisterCalculator.c +1 -1
- data/examples/temp_sensor/test/TestUsartConductor.c +1 -1
- data/examples/temp_sensor/test/TestUsartHardware.c +1 -1
- data/examples/temp_sensor/test/TestUsartIntegrated.c +9 -5
- data/examples/temp_sensor/test/TestUsartModel.c +2 -2
- data/examples/temp_sensor/test/TestUsartPlatformStandin.c +145 -0
- data/examples/temp_sensor/test/adc/TestAdcConductor.c +1 -1
- data/examples/temp_sensor/test/adc/TestAdcHardware.c +1 -1
- data/examples/temp_sensor/test/adc/TestAdcModel.c +1 -1
- data/examples/temp_sensor/test/adc/TestAdcPlatformStandin.c +100 -0
- data/examples/temp_sensor/test/platform/at91sam7s256.c +25 -0
- data/examples/temp_sensor/test/platform/at91sam7s256.h +183 -0
- data/examples/temp_sensor/test/support/UnityHelper.c +1 -1
- data/examples/temp_sensor/test/support/UnityHelper.h +1 -1
- data/examples/wondrous_forest/README.md +92 -0
- data/examples/wondrous_forest/mixin/add_gcov.yml +22 -0
- data/examples/wondrous_forest/project.yml +86 -0
- data/examples/wondrous_forest/src/AlertManager.c +125 -0
- data/examples/wondrous_forest/src/AlertManager.h +30 -0
- data/examples/wondrous_forest/src/EventQueue.c +73 -0
- data/examples/wondrous_forest/src/EventQueue.h +22 -0
- data/examples/wondrous_forest/src/ForestMonitor.c +88 -0
- data/examples/wondrous_forest/src/ForestMonitor.h +18 -0
- data/examples/wondrous_forest/src/HumiditySensor.c +57 -0
- data/examples/wondrous_forest/src/HumiditySensor.h +17 -0
- data/examples/wondrous_forest/src/LightSensor.c +51 -0
- data/examples/wondrous_forest/src/LightSensor.h +18 -0
- data/examples/wondrous_forest/src/SensorHal.c +62 -0
- data/examples/wondrous_forest/src/SensorHal.h +19 -0
- data/examples/wondrous_forest/src/SoilMoisture.c +61 -0
- data/examples/wondrous_forest/src/SoilMoisture.h +19 -0
- data/examples/wondrous_forest/src/TemperatureSensor.c +67 -0
- data/examples/wondrous_forest/src/TemperatureSensor.h +18 -0
- data/examples/wondrous_forest/src/Types.h +84 -0
- data/examples/wondrous_forest/src/UartDriver.c +55 -0
- data/examples/wondrous_forest/src/UartDriver.h +18 -0
- data/examples/wondrous_forest/test/TestAlertManager.c +105 -0
- data/examples/wondrous_forest/test/TestEventQueue.c +117 -0
- data/examples/wondrous_forest/test/TestForestMonitor.c +118 -0
- data/examples/wondrous_forest/test/TestHumiditySensor.c +85 -0
- data/examples/wondrous_forest/test/TestLightSensor.c +79 -0
- data/examples/wondrous_forest/test/TestSensorHal.c +58 -0
- data/examples/wondrous_forest/test/TestSoilMoisture.c +96 -0
- data/examples/wondrous_forest/test/TestTemperatureSensor.c +100 -0
- data/examples/wondrous_forest/test/TestUartDriver.c +55 -0
- data/lib/ceedling/application.rb +1 -1
- data/lib/ceedling/array_patches.rb +28 -0
- data/lib/ceedling/batchinator.rb +76 -0
- data/lib/ceedling/c_extractor/c_extractor.rb +340 -0
- data/lib/ceedling/c_extractor/c_extractor_code_text.rb +283 -0
- data/lib/ceedling/c_extractor/c_extractor_constants.rb +38 -0
- data/lib/ceedling/c_extractor/c_extractor_declarations.rb +415 -0
- data/lib/ceedling/c_extractor/c_extractor_definitions.rb +157 -0
- data/lib/ceedling/c_extractor/c_extractor_functions.rb +402 -0
- data/lib/ceedling/c_extractor/c_extractor_preprocessing.rb +262 -0
- data/lib/ceedling/c_extractor/c_extractor_types.rb +122 -0
- data/lib/ceedling/cacheinator.rb +1 -1
- data/lib/ceedling/cacheinator_helper.rb +23 -4
- data/lib/ceedling/ceedling.h +40 -0
- data/lib/ceedling/config/config_matchinator.rb +254 -0
- data/lib/ceedling/config/config_walkinator.rb +35 -0
- data/lib/ceedling/config/configurator.rb +897 -0
- data/lib/ceedling/config/configurator_builder.rb +577 -0
- data/lib/ceedling/config/configurator_plugins.rb +163 -0
- data/lib/ceedling/config/configurator_setup.rb +767 -0
- data/lib/ceedling/config/configurator_validator.rb +203 -0
- data/lib/ceedling/constants.rb +67 -27
- data/lib/ceedling/defaults.rb +32 -71
- data/lib/ceedling/defineinator.rb +4 -2
- data/lib/ceedling/dependinator.rb +1 -1
- data/lib/ceedling/encodinator.rb +26 -0
- data/lib/ceedling/erb_wrapper.rb +1 -1
- data/lib/ceedling/exceptions.rb +23 -3
- data/lib/ceedling/file_finder.rb +39 -10
- data/lib/ceedling/file_finder_helper.rb +19 -5
- data/lib/ceedling/file_path_collection_utils.rb +39 -25
- data/lib/ceedling/file_path_utils.rb +184 -27
- data/lib/ceedling/file_system_wrapper.rb +1 -1
- data/lib/ceedling/file_wrapper.rb +14 -1
- data/lib/ceedling/flaginator.rb +1 -1
- data/lib/ceedling/generators/generator.rb +428 -0
- data/lib/ceedling/generators/generator_helper.rb +84 -0
- data/lib/ceedling/generators/generator_mocks.rb +41 -0
- data/lib/ceedling/generators/generator_partials.rb +177 -0
- data/lib/ceedling/generators/generator_test_results.rb +296 -0
- data/lib/ceedling/generators/generator_test_results_backtrace.rb +290 -0
- data/lib/ceedling/generators/generator_test_results_sanity_checker.rb +70 -0
- data/lib/ceedling/generators/generator_test_runner.rb +97 -0
- data/lib/ceedling/includes/include_factory.rb +43 -0
- data/lib/ceedling/includes/include_pathinator.rb +83 -0
- data/lib/ceedling/includes/includes.rb +341 -0
- data/lib/ceedling/loginator.rb +115 -12
- data/lib/ceedling/makefile.rb +1 -1
- data/lib/ceedling/objects.yml +150 -42
- data/lib/ceedling/parsing_parcels.rb +103 -0
- data/lib/ceedling/partials/partializer.rb +444 -0
- data/lib/ceedling/partials/partializer_config.rb +217 -0
- data/lib/ceedling/partials/partializer_helper.rb +344 -0
- data/lib/ceedling/partials/partializer_runtime.rb +29 -0
- data/lib/ceedling/partials/partializer_utils.rb +222 -0
- data/lib/ceedling/partials/partials.rb +82 -0
- data/lib/ceedling/plugins/plugin.rb +30 -0
- data/lib/ceedling/plugins/plugin_manager.rb +159 -0
- data/lib/ceedling/plugins/plugin_manager_helper.rb +25 -0
- data/lib/ceedling/plugins/plugin_reportinator.rb +131 -0
- data/lib/ceedling/plugins/plugin_reportinator_helper.rb +80 -0
- data/lib/ceedling/plugins/report_tests_stdout_plugin.rb +88 -0
- data/lib/ceedling/preprocess/README.md +184 -0
- data/lib/ceedling/preprocess/c_comment_scanner.rb +194 -0
- data/lib/ceedling/preprocess/c_preprocessor_conditionals.rb +170 -0
- data/lib/ceedling/preprocess/preprocessinator.rb +605 -0
- data/lib/ceedling/preprocess/preprocessinator_bare_includes_extractor.rb +69 -0
- data/lib/ceedling/preprocess/preprocessinator_code_finder.rb +150 -0
- data/lib/ceedling/preprocess/preprocessinator_comment_stripper.rb +80 -0
- data/lib/ceedling/preprocess/preprocessinator_file_assembler.rb +378 -0
- data/lib/ceedling/preprocess/preprocessinator_includes_handler.rb +224 -0
- data/lib/ceedling/preprocess/preprocessinator_line_marker_includes_extractor.rb +215 -0
- data/lib/ceedling/preprocess/preprocessinator_reconstructor.rb +398 -0
- data/lib/ceedling/rake_app/rake_invocation_tracker.rb +39 -0
- data/lib/ceedling/rake_app/rake_task_registry.rb +210 -0
- data/lib/ceedling/rake_app/rake_utils.rb +23 -0
- data/lib/ceedling/rake_app/rake_wrapper.rb +40 -0
- data/lib/ceedling/rake_app/rakefile_component_resolver.rb +77 -0
- data/lib/ceedling/rakefile.rb +16 -8
- data/lib/ceedling/release_invoker.rb +48 -4
- data/lib/ceedling/reportinator.rb +39 -18
- data/lib/ceedling/ruby_expandinator.rb +61 -0
- data/lib/ceedling/rules_release.rake +4 -2
- data/lib/ceedling/rules_tests.rake +1 -23
- data/lib/ceedling/setupinator.rb +23 -11
- data/lib/ceedling/stream_wrapper.rb +1 -1
- data/lib/ceedling/system_utils.rb +1 -1
- data/lib/ceedling/system_wrapper.rb +18 -21
- data/lib/ceedling/tasks_base.rake +3 -3
- data/lib/ceedling/tasks_filesystem.rake +22 -12
- data/lib/ceedling/tasks_release.rake +11 -18
- data/lib/ceedling/tasks_tests.rake +1 -1
- data/lib/ceedling/test_context_extractor.rb +184 -176
- data/lib/ceedling/test_invoker/test_build_executor.rb +661 -0
- data/lib/ceedling/test_invoker/test_build_planner.rb +277 -0
- data/lib/ceedling/test_invoker/test_build_setup.rb +441 -0
- data/lib/ceedling/test_invoker/test_invoker.rb +251 -0
- data/lib/ceedling/test_invoker/test_invoker_types.rb +56 -0
- data/lib/ceedling/test_runner_manager.rb +1 -1
- data/lib/ceedling/tool_executor.rb +31 -21
- data/lib/ceedling/tool_executor_helper.rb +7 -15
- data/lib/ceedling/tool_validator.rb +25 -9
- data/lib/ceedling/verbosinator.rb +1 -1
- data/lib/ceedling/yaml_wrapper.rb +72 -12
- data/lib/ceedling.rb +1 -1
- data/lib/snapshot.rb +43 -0
- data/lib/version.rb +2 -2
- data/license.txt +1 -1
- data/mkdocs.local.yml +45 -0
- data/mkdocs.yml +202 -0
- data/plugins/beep/config/defaults.yml +1 -1
- data/plugins/beep/config/defaults_beep.rb +1 -1
- data/plugins/beep/lib/beep.rb +7 -5
- data/plugins/bullseye/assets/template.erb +1 -1
- data/plugins/bullseye/bullseye.rake +1 -1
- data/plugins/bullseye/config/defaults.yml +1 -1
- data/plugins/bullseye/lib/bullseye.rb +9 -9
- data/plugins/command_hooks/lib/command_hooks.rb +43 -38
- data/plugins/compile_commands_json_db/lib/compile_commands_json_db.rb +2 -2
- data/plugins/cppcheck/AUTHORS.md +8 -0
- data/plugins/cppcheck/config/defaults.yml +44 -0
- data/plugins/cppcheck/config/defaults_cppcheck.rb +32 -0
- data/plugins/cppcheck/cppcheck.rake +54 -0
- data/plugins/cppcheck/lib/cppcheck.rb +247 -0
- data/plugins/cppcheck/lib/cppcheck_constants.rb +20 -0
- data/plugins/cppcheck/lib/cppcheck_reports.rb +160 -0
- data/plugins/dependencies/Rakefile +1 -1
- data/plugins/dependencies/config/defaults.yml +1 -1
- data/plugins/dependencies/dependencies.rake +3 -3
- data/plugins/dependencies/example/boss/project.yml +1 -6
- data/plugins/dependencies/example/boss/src/boss.c +1 -1
- data/plugins/dependencies/example/boss/src/boss.h +1 -1
- data/plugins/dependencies/example/boss/src/main.c +1 -1
- data/plugins/dependencies/example/boss/test/test_boss.c +1 -1
- data/plugins/dependencies/example/supervisor/project.yml +1 -6
- data/plugins/dependencies/example/supervisor/src/supervisor.c +1 -1
- data/plugins/dependencies/example/supervisor/src/supervisor.h +1 -1
- data/plugins/dependencies/example/supervisor/test/test_supervisor.c +1 -1
- data/plugins/dependencies/lib/dependencies.rb +14 -2
- data/plugins/fff/Rakefile +1 -1
- data/plugins/fff/config/fff.yml +1 -1
- data/plugins/fff/examples/fff_example/project.yml +2 -2
- data/plugins/fff/examples/fff_example/src/bar.c +1 -1
- data/plugins/fff/examples/fff_example/src/bar.h +1 -1
- data/plugins/fff/examples/fff_example/src/custom_types.h +1 -1
- data/plugins/fff/examples/fff_example/src/display.c +1 -1
- data/plugins/fff/examples/fff_example/src/display.h +1 -1
- data/plugins/fff/examples/fff_example/src/event_processor.c +1 -1
- data/plugins/fff/examples/fff_example/src/event_processor.h +1 -1
- data/plugins/fff/examples/fff_example/src/foo.c +1 -1
- data/plugins/fff/examples/fff_example/src/foo.h +1 -1
- data/plugins/fff/examples/fff_example/src/subfolder/zzz.c +1 -1
- data/plugins/fff/examples/fff_example/src/subfolder/zzz.h +1 -1
- data/plugins/fff/examples/fff_example/test/test_event_processor.c +1 -1
- data/plugins/fff/examples/fff_example/test/test_foo.c +1 -1
- data/plugins/fff/lib/fff.rb +10 -5
- data/plugins/fff/lib/fff_mock_generator.rb +3 -1
- data/plugins/fff/spec/fff_mock_header_generator_spec.rb +1 -1
- data/plugins/fff/spec/fff_mock_source_generator_spec.rb +1 -1
- data/plugins/fff/spec/header_generator.rb +1 -1
- data/plugins/fff/spec/spec_helper.rb +1 -1
- data/plugins/fff/src/fff_unity_helper.h +1 -1
- data/plugins/gcov/config/defaults.yml +4 -1
- data/plugins/gcov/config/defaults_gcov.rb +40 -13
- data/plugins/gcov/gcov.rake +31 -1
- data/plugins/gcov/lib/console_reportinator.rb +180 -0
- data/plugins/gcov/lib/gcov.rb +189 -103
- data/plugins/gcov/lib/gcov_constants.rb +16 -4
- data/plugins/gcov/lib/gcov_reportinator.rb +63 -0
- data/plugins/gcov/lib/gcov_types.rb +8 -0
- data/plugins/gcov/lib/gcovr_reportinator.rb +237 -136
- data/plugins/gcov/lib/reportgenerator_reportinator.rb +242 -116
- data/plugins/module_generator/Rakefile +51 -24
- data/plugins/module_generator/assets/stubby1.h +1 -1
- data/plugins/module_generator/assets/stubby2.h +1 -1
- data/plugins/module_generator/config/module_generator.yml +1 -2
- data/plugins/module_generator/example/project.yml +2 -5
- data/plugins/module_generator/lib/module_generator.rb +7 -7
- data/plugins/module_generator/module_generator.rake +1 -1
- data/plugins/report_build_warnings_log/lib/report_build_warnings_log.rb +14 -20
- data/plugins/report_tests_gtestlike_stdout/assets/template.erb +3 -3
- data/plugins/report_tests_gtestlike_stdout/config/report_tests_gtestlike_stdout.yml +1 -1
- data/plugins/report_tests_gtestlike_stdout/lib/report_tests_gtestlike_stdout.rb +4 -61
- data/plugins/report_tests_ide_stdout/config/report_tests_ide_stdout.yml +1 -1
- data/plugins/report_tests_ide_stdout/lib/report_tests_ide_stdout.rb +7 -60
- data/plugins/report_tests_log_factory/config/defaults.yml +1 -1
- data/plugins/report_tests_log_factory/lib/cppunit_tests_reporter.rb +5 -5
- data/plugins/report_tests_log_factory/lib/html_tests_reporter.rb +302 -133
- data/plugins/report_tests_log_factory/lib/json_tests_reporter.rb +9 -7
- data/plugins/report_tests_log_factory/lib/junit_tests_reporter.rb +6 -5
- data/plugins/report_tests_log_factory/lib/report_tests_log_factory.rb +72 -36
- data/plugins/report_tests_log_factory/lib/tests_reporter.rb +8 -8
- data/plugins/report_tests_pretty_stdout/assets/template.erb +1 -2
- data/plugins/report_tests_pretty_stdout/config/report_tests_pretty_stdout.yml +1 -1
- data/plugins/report_tests_pretty_stdout/lib/report_tests_pretty_stdout.rb +4 -65
- data/plugins/report_tests_raw_output_log/lib/report_tests_raw_output_log.rb +4 -4
- data/plugins/report_tests_teamcity_stdout/config/defaults.yml +1 -1
- data/plugins/report_tests_teamcity_stdout/config/report_tests_teamcity_stdout.yml +1 -1
- data/plugins/report_tests_teamcity_stdout/lib/report_tests_teamcity_stdout.rb +2 -2
- data/plugins/valgrind/config/defaults.yml +19 -0
- data/plugins/valgrind/config/defaults_valgrind.rb +20 -0
- data/plugins/valgrind/lib/valgrind.rb +132 -0
- data/plugins/valgrind/lib/valgrind_constants.rb +13 -0
- data/plugins/valgrind/valgrind.rake +87 -0
- data/site-local/404.html +4002 -0
- data/site-local/assets/images/ceedling-logo-circle.png +0 -0
- data/site-local/assets/images/ceedling.svg +90 -0
- data/site-local/assets/images/favicon.png +0 -0
- data/site-local/assets/javascripts/bundle.79ae519e.min.js +16 -0
- data/site-local/assets/javascripts/bundle.79ae519e.min.js.map +7 -0
- data/site-local/assets/javascripts/lunr/min/lunr.ar.min.js +1 -0
- data/site-local/assets/javascripts/lunr/min/lunr.da.min.js +18 -0
- data/site-local/assets/javascripts/lunr/min/lunr.de.min.js +18 -0
- data/site-local/assets/javascripts/lunr/min/lunr.du.min.js +18 -0
- data/site-local/assets/javascripts/lunr/min/lunr.el.min.js +1 -0
- data/site-local/assets/javascripts/lunr/min/lunr.es.min.js +18 -0
- data/site-local/assets/javascripts/lunr/min/lunr.fi.min.js +18 -0
- data/site-local/assets/javascripts/lunr/min/lunr.fr.min.js +18 -0
- data/site-local/assets/javascripts/lunr/min/lunr.he.min.js +1 -0
- data/site-local/assets/javascripts/lunr/min/lunr.hi.min.js +1 -0
- data/site-local/assets/javascripts/lunr/min/lunr.hu.min.js +18 -0
- data/site-local/assets/javascripts/lunr/min/lunr.hy.min.js +1 -0
- data/site-local/assets/javascripts/lunr/min/lunr.it.min.js +18 -0
- data/site-local/assets/javascripts/lunr/min/lunr.ja.min.js +1 -0
- data/site-local/assets/javascripts/lunr/min/lunr.jp.min.js +1 -0
- data/site-local/assets/javascripts/lunr/min/lunr.kn.min.js +1 -0
- data/site-local/assets/javascripts/lunr/min/lunr.ko.min.js +1 -0
- data/site-local/assets/javascripts/lunr/min/lunr.multi.min.js +1 -0
- data/site-local/assets/javascripts/lunr/min/lunr.nl.min.js +18 -0
- data/site-local/assets/javascripts/lunr/min/lunr.no.min.js +18 -0
- data/site-local/assets/javascripts/lunr/min/lunr.pt.min.js +18 -0
- data/site-local/assets/javascripts/lunr/min/lunr.ro.min.js +18 -0
- data/site-local/assets/javascripts/lunr/min/lunr.ru.min.js +18 -0
- data/site-local/assets/javascripts/lunr/min/lunr.sa.min.js +1 -0
- data/site-local/assets/javascripts/lunr/min/lunr.stemmer.support.min.js +1 -0
- data/site-local/assets/javascripts/lunr/min/lunr.sv.min.js +18 -0
- data/site-local/assets/javascripts/lunr/min/lunr.ta.min.js +1 -0
- data/site-local/assets/javascripts/lunr/min/lunr.te.min.js +1 -0
- data/site-local/assets/javascripts/lunr/min/lunr.th.min.js +1 -0
- data/site-local/assets/javascripts/lunr/min/lunr.tr.min.js +18 -0
- data/site-local/assets/javascripts/lunr/min/lunr.vi.min.js +1 -0
- data/site-local/assets/javascripts/lunr/min/lunr.zh.min.js +1 -0
- data/site-local/assets/javascripts/lunr/tinyseg.js +206 -0
- data/site-local/assets/javascripts/lunr/wordcut.js +6708 -0
- data/site-local/assets/javascripts/workers/search.2c215733.min.js +42 -0
- data/site-local/assets/javascripts/workers/search.2c215733.min.js.map +7 -0
- data/site-local/assets/stylesheets/admonitions.css +152 -0
- data/site-local/assets/stylesheets/fixes-local.css +15 -0
- data/site-local/assets/stylesheets/main.484c7ddc.min.css +1 -0
- data/site-local/assets/stylesheets/main.484c7ddc.min.css.map +1 -0
- data/site-local/assets/stylesheets/palette.ab4e12ef.min.css +1 -0
- data/site-local/assets/stylesheets/palette.ab4e12ef.min.css.map +1 -0
- data/site-local/assets/stylesheets/styling.css +102 -0
- data/site-local/configuration/environment-vars.html +4102 -0
- data/site-local/configuration/global-collections.html +4248 -0
- data/site-local/configuration/index.html +4169 -0
- data/site-local/configuration/loading.html +4348 -0
- data/site-local/configuration/mixins.html +5060 -0
- data/site-local/configuration/parallel-builds.html +4347 -0
- data/site-local/configuration/project-file.html +4474 -0
- data/site-local/configuration/reference/cexception.html +4225 -0
- data/site-local/configuration/reference/cmock.html +4401 -0
- data/site-local/configuration/reference/defines.html +4734 -0
- data/site-local/configuration/reference/environment.html +4242 -0
- data/site-local/configuration/reference/extension.html +4387 -0
- data/site-local/configuration/reference/files.html +4541 -0
- data/site-local/configuration/reference/flags.html +4681 -0
- data/site-local/configuration/reference/index.html +4290 -0
- data/site-local/configuration/reference/libraries.html +4365 -0
- data/site-local/configuration/reference/mixins.html +4195 -0
- data/site-local/configuration/reference/paths.html +4714 -0
- data/site-local/configuration/reference/plugins.html +4262 -0
- data/site-local/configuration/reference/project.html +4777 -0
- data/site-local/configuration/reference/release-build.html +4287 -0
- data/site-local/configuration/reference/test-build.html +4264 -0
- data/site-local/configuration/reference/test-runner.html +4289 -0
- data/site-local/configuration/reference/tools.html +5120 -0
- data/site-local/configuration/reference/unity.html +4255 -0
- data/site-local/configuration/which-ceedling.html +4269 -0
- data/site-local/development/index.html +4148 -0
- data/site-local/development/plugins/configuration.html +4446 -0
- data/site-local/development/plugins/index.html +4212 -0
- data/site-local/development/plugins/plugin-subclass.html +5068 -0
- data/site-local/development/plugins/rake-tasks.html +4236 -0
- data/site-local/development/workflow.html +4664 -0
- data/site-local/getting-started/command-line.html +5498 -0
- data/site-local/getting-started/example-projects/cipher-quest.html +4272 -0
- data/site-local/getting-started/example-projects/index.html +4173 -0
- data/site-local/getting-started/example-projects/temp-sensor.html +4322 -0
- data/site-local/getting-started/example-projects/wondrous-forest.html +4290 -0
- data/site-local/getting-started/index.html +4116 -0
- data/site-local/getting-started/installation.html +4452 -0
- data/site-local/getting-started/quick-start.html +4262 -0
- data/site-local/help.html +4081 -0
- data/site-local/index.html +4364 -0
- data/site-local/overview/build-system.html +4288 -0
- data/site-local/overview/index.html +4103 -0
- data/site-local/overview/test-environments.html +4116 -0
- data/site-local/overview/tools-and-frameworks.html +4433 -0
- data/site-local/plugins/beep.html +4413 -0
- data/site-local/plugins/bullseye.html +4249 -0
- data/site-local/plugins/command-hooks.html +5023 -0
- data/site-local/plugins/compile-commands-json-db.html +4243 -0
- data/site-local/plugins/cppcheck.html +4851 -0
- data/site-local/plugins/dependencies.html +4828 -0
- data/site-local/plugins/fff.html +4661 -0
- data/site-local/plugins/gcov/examples.html +4293 -0
- data/site-local/plugins/gcov/gcovr.html +4512 -0
- data/site-local/plugins/gcov/index.html +4150 -0
- data/site-local/plugins/gcov/overview.html +4410 -0
- data/site-local/plugins/gcov/reportgenerator.html +4164 -0
- data/site-local/plugins/gcov/reporting.html +4336 -0
- data/site-local/plugins/gcov/setup.html +4597 -0
- data/site-local/plugins/gcov/tool-versions.html +4269 -0
- data/site-local/plugins/gcov/troubleshooting.html +4313 -0
- data/site-local/plugins/index.html +4348 -0
- data/site-local/plugins/module-generator.html +4588 -0
- data/site-local/plugins/report-build-warnings-log.html +4229 -0
- data/site-local/plugins/report-tests-gtestlike-stdout.html +4357 -0
- data/site-local/plugins/report-tests-ide-stdout.html +4270 -0
- data/site-local/plugins/report-tests-log-factory.html +4792 -0
- data/site-local/plugins/report-tests-pretty-stdout.html +4265 -0
- data/site-local/plugins/report-tests-raw-output-log.html +4292 -0
- data/site-local/plugins/report-tests-teamcity-stdout.html +4291 -0
- data/site-local/plugins/sample_html_report.png +0 -0
- data/site-local/plugins/valgrind.html +4605 -0
- data/site-local/project/release-history.html +4225 -0
- data/site-local/project/upgrade.html +4314 -0
- data/site-local/reference/build-directives.html +4210 -0
- data/site-local/reference/command-line.html +4989 -0
- data/site-local/reference/environment-vars.html +4278 -0
- data/site-local/reference/gcov-plugin.html +5886 -0
- data/site-local/reference/global-collections.html +4385 -0
- data/site-local/reference/index.html +4126 -0
- data/site-local/reference/partials-macros.html +4326 -0
- data/site-local/reference/project-configuration.html +4253 -0
- data/site-local/sitemap.xml +3 -0
- data/site-local/sitemap.xml.gz +0 -0
- data/site-local/snapshot/assets/project.yml +404 -0
- data/site-local/snapshot/examples/cipher_quest/index.html +4292 -0
- data/site-local/snapshot/examples/temp_sensor/index.html +4416 -0
- data/site-local/snapshot/examples/wondrous_forest/index.html +4200 -0
- data/site-local/snapshot/plugins/gcov/config/defaults.yml +33 -0
- data/site-local/snapshot/plugins/gcov/config/defaults_gcov.rb +136 -0
- data/site-local/testing-guide/build-directives.html +4481 -0
- data/site-local/testing-guide/conventions.html +5233 -0
- data/site-local/testing-guide/frameworks.html +4488 -0
- data/site-local/testing-guide/index.html +4174 -0
- data/site-local/testing-guide/partials/configuration.html +4347 -0
- data/site-local/testing-guide/partials/conventions.html +4327 -0
- data/site-local/testing-guide/partials/directives.html +4680 -0
- data/site-local/testing-guide/partials/example.html +4448 -0
- data/site-local/testing-guide/partials/index.html +4167 -0
- data/site-local/testing-guide/partials/overview.html +4322 -0
- data/site-local/testing-guide/partials/variables.html +4548 -0
- data/site-local/testing-guide/test-cases.html +4436 -0
- data/site-local/testing-guide/test-sample.html +4265 -0
- data/site-local/testing-guide/test-suite-anatomy.html +4249 -0
- data/spec/manual/stress_test.rb +1 -1
- data/spec/support/other_target.yml +1 -1
- data/spec/support/spec_helper.rb +20 -0
- data/spec/support/system/gem_dir_layout.rb +20 -0
- data/spec/support/system/spec_system_helper.rb +206 -0
- data/spec/support/system/system_context.rb +310 -0
- data/spec/support/system/system_test_output.rb +28 -0
- data/spec/support/target.yml +1 -1
- data/spec/system/cppcheck_deployment_spec.rb +49 -0
- data/spec/system/deployment_as_gem_spec.rb +86 -48
- data/spec/system/deployment_as_vendor_spec.rb +141 -79
- data/spec/system/encoding_stress_spec.rb +153 -0
- data/spec/system/example_cipher_quest_spec.rb +186 -0
- data/spec/system/example_temp_sensor_spec.rb +41 -35
- data/spec/system/example_wondrous_forest_spec.rb +117 -0
- data/spec/system/gcov_deployment_spec.rb +164 -0
- data/spec/system/mixin_ordering_spec.rb +548 -0
- data/spec/system/preprocessing_encoding_spec.rb +114 -0
- data/spec/system/preprocessing_fallback_conditionals_spec.rb +166 -0
- data/spec/system/preprocessing_locale_spec.rb +153 -0
- data/spec/system/preprocessing_parameterized_tests_spec.rb +183 -0
- data/spec/system/ruby_replacement_spec.rb +141 -0
- data/spec/system/support/common_test_cases.rb +945 -0
- data/spec/system/support/cppcheck_common_test_cases.rb +98 -0
- data/spec/system/support/cppcheck_helpers.rb +27 -0
- data/spec/system/support/gcov_common_test_cases.rb +457 -0
- data/spec/system/support/gcov_helpers.rb +81 -0
- data/spec/system/support/valgrind_common_test_cases.rb +120 -0
- data/spec/system/support/valgrind_helpers.rb +21 -0
- data/spec/system/upgrade_as_vendor_spec.rb +74 -39
- data/spec/system/valgrind_deployment_spec.rb +53 -0
- data/spec/units/bin/cli_helper_spec.rb +69 -0
- data/spec/units/bin/merginator_spec.rb +279 -0
- data/spec/units/bin/mixin_standardizer_spec.rb +231 -0
- data/spec/units/bin/mixinator_spec.rb +583 -0
- data/spec/units/bin/projectinator_mixin_spec.rb +362 -0
- data/spec/units/bin/recursive_merger_spec.rb +241 -0
- data/spec/units/c_extractor/c_extractor_code_text_spec.rb +2091 -0
- data/spec/units/c_extractor/c_extractor_declarations_spec.rb +746 -0
- data/spec/units/c_extractor/c_extractor_definitions_spec.rb +417 -0
- data/spec/units/c_extractor/c_extractor_functions_spec.rb +2742 -0
- data/spec/units/c_extractor/c_extractor_integration_spec.rb +935 -0
- data/spec/units/c_extractor/c_extractor_preprocessing_spec.rb +497 -0
- data/spec/units/c_extractor/c_extractor_spec.rb +356 -0
- data/spec/units/config_matchinator_spec.rb +401 -0
- data/spec/units/config_walkinator_spec.rb +62 -0
- data/spec/units/configurator_builder_spec.rb +16 -0
- data/spec/units/configurator_spec.rb +187 -0
- data/spec/units/file_finder_helper_spec.rb +73 -0
- data/spec/units/file_path_collection_utils_spec.rb +222 -0
- data/spec/units/file_path_utils_spec.rb +274 -0
- data/spec/units/generators/generator_helper_spec.rb +112 -0
- data/spec/units/generators/generator_partials_spec.rb +795 -0
- data/spec/units/generators/generator_test_results_backtrace_spec.rb +492 -0
- data/spec/units/generators/generator_test_results_sanity_checker_spec.rb +105 -0
- data/spec/units/generators/generator_test_results_spec.rb +412 -0
- data/spec/units/generators/generator_test_runner_spec.rb +120 -0
- data/spec/units/includes/include_spec.rb +716 -0
- data/spec/units/includes/includes_spec.rb +1069 -0
- data/spec/units/parsing_parcels_spec.rb +139 -0
- data/spec/units/partials/partializer_config_spec.rb +388 -0
- data/spec/units/partials/partializer_helper_spec.rb +992 -0
- data/spec/units/partials/partializer_spec.rb +1629 -0
- data/spec/units/partials/partializer_utils_spec.rb +587 -0
- data/spec/units/plugin_manager_spec.rb +48 -0
- data/spec/units/plugins/cppcheck_spec.rb +557 -0
- data/spec/units/preprocess/c_comment_scanner_spec.rb +409 -0
- data/spec/units/preprocess/c_preprocessor_conditionals_spec.rb +396 -0
- data/spec/units/preprocess/preprocessinator_code_finder_spec.rb +361 -0
- data/spec/units/preprocess/preprocessinator_comment_stripper_spec.rb +580 -0
- data/spec/units/preprocess/preprocessinator_file_assembler_spec.rb +263 -0
- data/spec/units/preprocess/preprocessinator_includes_handler_spec.rb +337 -0
- data/spec/units/preprocess/preprocessinator_reconstructor_spec.rb +700 -0
- data/spec/units/reportinator_spec.rb +251 -0
- data/spec/units/ruby_expandinator_spec.rb +91 -0
- data/spec/units/system_utils_spec.rb +65 -0
- data/spec/units/test_context_extractor_spec.rb +437 -0
- data/spec/units/tool_executor_helper_spec.rb +205 -0
- data/spec/units/tool_executor_spec.rb +83 -0
- data/spec/units/tool_validator_spec.rb +60 -0
- data/spec/units/yaml_wrapper_spec.rb +108 -0
- data/vendor/cmock/Gemfile +4 -1
- data/vendor/cmock/LICENSE.txt +1 -1
- data/vendor/cmock/config/production_environment.rb +1 -1
- data/vendor/cmock/config/test_environment.rb +1 -1
- data/vendor/cmock/docs/CMockChangeLog.md +47 -0
- data/vendor/cmock/docs/CMockKnownIssues.md +0 -1
- data/vendor/cmock/docs/CMock_ArgumentValidation.md +180 -25
- data/vendor/cmock/docs/CMock_Summary.md +158 -16
- data/vendor/cmock/examples/make_example/Makefile +1 -1
- data/vendor/cmock/examples/make_example/src/foo.c +1 -1
- data/vendor/cmock/examples/make_example/src/foo.h +1 -1
- data/vendor/cmock/examples/make_example/src/main.c +1 -1
- data/vendor/cmock/examples/make_example/test/test_foo.c +1 -1
- data/vendor/cmock/examples/make_example/test/test_main.c +2 -2
- data/vendor/cmock/examples/temp_sensor/project.yml +75 -0
- data/vendor/cmock/examples/temp_sensor/rakefile.rb +3 -3
- data/vendor/cmock/examples/temp_sensor/rakefile_helper.rb +163 -119
- data/vendor/cmock/examples/temp_sensor/src/AT91SAM7X256.h +1 -1
- data/vendor/cmock/examples/temp_sensor/src/AdcConductor.c +1 -1
- data/vendor/cmock/examples/temp_sensor/src/AdcConductor.h +1 -1
- data/vendor/cmock/examples/temp_sensor/src/AdcHardware.c +1 -1
- data/vendor/cmock/examples/temp_sensor/src/AdcHardware.h +1 -1
- data/vendor/cmock/examples/temp_sensor/src/AdcHardwareConfigurator.c +1 -1
- data/vendor/cmock/examples/temp_sensor/src/AdcHardwareConfigurator.h +1 -1
- data/vendor/cmock/examples/temp_sensor/src/AdcModel.c +3 -1
- data/vendor/cmock/examples/temp_sensor/src/AdcModel.h +1 -1
- data/vendor/cmock/examples/temp_sensor/src/AdcTemperatureSensor.c +1 -1
- data/vendor/cmock/examples/temp_sensor/src/AdcTemperatureSensor.h +1 -1
- data/vendor/cmock/examples/temp_sensor/src/Executor.c +1 -1
- data/vendor/cmock/examples/temp_sensor/src/Executor.h +1 -1
- data/vendor/cmock/examples/temp_sensor/src/IntrinsicsWrapper.c +1 -1
- data/vendor/cmock/examples/temp_sensor/src/IntrinsicsWrapper.h +1 -1
- data/vendor/cmock/examples/temp_sensor/src/Main.c +1 -1
- data/vendor/cmock/examples/temp_sensor/src/Main.h +1 -1
- data/vendor/cmock/examples/temp_sensor/src/Model.c +1 -1
- data/vendor/cmock/examples/temp_sensor/src/Model.h +1 -1
- data/vendor/cmock/examples/temp_sensor/src/ModelConfig.h +1 -1
- data/vendor/cmock/examples/temp_sensor/src/TaskScheduler.c +1 -1
- data/vendor/cmock/examples/temp_sensor/src/TaskScheduler.h +1 -1
- data/vendor/cmock/examples/temp_sensor/src/TemperatureCalculator.c +1 -1
- data/vendor/cmock/examples/temp_sensor/src/TemperatureCalculator.h +1 -1
- data/vendor/cmock/examples/temp_sensor/src/TemperatureFilter.c +2 -2
- data/vendor/cmock/examples/temp_sensor/src/TemperatureFilter.h +1 -1
- data/vendor/cmock/examples/temp_sensor/src/TimerConductor.c +1 -1
- data/vendor/cmock/examples/temp_sensor/src/TimerConductor.h +1 -1
- data/vendor/cmock/examples/temp_sensor/src/TimerConfigurator.c +2 -2
- data/vendor/cmock/examples/temp_sensor/src/TimerConfigurator.h +1 -1
- data/vendor/cmock/examples/temp_sensor/src/TimerHardware.c +1 -1
- data/vendor/cmock/examples/temp_sensor/src/TimerHardware.h +1 -1
- data/vendor/cmock/examples/temp_sensor/src/TimerInterruptConfigurator.c +10 -1
- data/vendor/cmock/examples/temp_sensor/src/TimerInterruptConfigurator.h +1 -1
- data/vendor/cmock/examples/temp_sensor/src/TimerInterruptHandler.c +1 -1
- data/vendor/cmock/examples/temp_sensor/src/TimerInterruptHandler.h +1 -1
- data/vendor/cmock/examples/temp_sensor/src/TimerModel.c +1 -1
- data/vendor/cmock/examples/temp_sensor/src/TimerModel.h +1 -1
- data/vendor/cmock/examples/temp_sensor/src/Types.h +1 -1
- data/vendor/cmock/examples/temp_sensor/src/UsartBaudRateRegisterCalculator.c +1 -1
- data/vendor/cmock/examples/temp_sensor/src/UsartBaudRateRegisterCalculator.h +1 -1
- data/vendor/cmock/examples/temp_sensor/src/UsartConductor.c +1 -1
- data/vendor/cmock/examples/temp_sensor/src/UsartConductor.h +1 -1
- data/vendor/cmock/examples/temp_sensor/src/UsartConfigurator.c +1 -1
- data/vendor/cmock/examples/temp_sensor/src/UsartConfigurator.h +1 -1
- data/vendor/cmock/examples/temp_sensor/src/UsartHardware.c +1 -1
- data/vendor/cmock/examples/temp_sensor/src/UsartHardware.h +1 -1
- data/vendor/cmock/examples/temp_sensor/src/UsartModel.c +2 -2
- data/vendor/cmock/examples/temp_sensor/src/UsartModel.h +1 -1
- data/vendor/cmock/examples/temp_sensor/src/UsartPutChar.c +2 -2
- data/vendor/cmock/examples/temp_sensor/src/UsartPutChar.h +1 -1
- data/vendor/cmock/examples/temp_sensor/src/UsartTransmitBufferStatus.c +1 -1
- data/vendor/cmock/examples/temp_sensor/src/UsartTransmitBufferStatus.h +1 -1
- data/vendor/cmock/examples/temp_sensor/test/TestAdcConductor.c +1 -1
- data/vendor/cmock/examples/temp_sensor/test/TestAdcHardware.c +1 -1
- data/vendor/cmock/examples/temp_sensor/test/TestAdcHardwareConfigurator.c +1 -1
- data/vendor/cmock/examples/temp_sensor/test/TestAdcModel.c +1 -1
- data/vendor/cmock/examples/temp_sensor/test/TestAdcTemperatureSensor.c +1 -1
- data/vendor/cmock/examples/temp_sensor/test/TestExecutor.c +1 -1
- data/vendor/cmock/examples/temp_sensor/test/TestMain.c +1 -1
- data/vendor/cmock/examples/temp_sensor/test/TestModel.c +1 -1
- data/vendor/cmock/examples/temp_sensor/test/TestTaskScheduler.c +1 -1
- data/vendor/cmock/examples/temp_sensor/test/TestTemperatureCalculator.c +1 -1
- data/vendor/cmock/examples/temp_sensor/test/TestTemperatureFilter.c +2 -2
- data/vendor/cmock/examples/temp_sensor/test/TestTimerConductor.c +1 -1
- data/vendor/cmock/examples/temp_sensor/test/TestTimerConfigurator.c +1 -1
- data/vendor/cmock/examples/temp_sensor/test/TestTimerHardware.c +1 -1
- data/vendor/cmock/examples/temp_sensor/test/TestTimerInterruptConfigurator.c +1 -1
- data/vendor/cmock/examples/temp_sensor/test/TestTimerInterruptHandler.c +1 -1
- data/vendor/cmock/examples/temp_sensor/test/TestTimerModel.c +1 -1
- data/vendor/cmock/examples/temp_sensor/test/TestUsartBaudRateRegisterCalculator.c +1 -1
- data/vendor/cmock/examples/temp_sensor/test/TestUsartConductor.c +7 -5
- data/vendor/cmock/examples/temp_sensor/test/TestUsartConfigurator.c +1 -1
- data/vendor/cmock/examples/temp_sensor/test/TestUsartHardware.c +3 -2
- data/vendor/cmock/examples/temp_sensor/test/TestUsartModel.c +1 -1
- data/vendor/cmock/examples/temp_sensor/test/TestUsartPutChar.c +1 -1
- data/vendor/cmock/examples/temp_sensor/test/TestUsartTransmitBufferStatus.c +1 -1
- data/vendor/cmock/lib/cmock.rb +1 -1
- data/vendor/cmock/lib/cmock_config.rb +8 -2
- data/vendor/cmock/lib/cmock_file_writer.rb +38 -1
- data/vendor/cmock/lib/cmock_generator.rb +44 -27
- data/vendor/cmock/lib/cmock_generator_plugin_array.rb +68 -15
- data/vendor/cmock/lib/cmock_generator_plugin_callback.rb +13 -3
- data/vendor/cmock/lib/cmock_generator_plugin_cexception.rb +12 -3
- data/vendor/cmock/lib/cmock_generator_plugin_expect.rb +33 -15
- data/vendor/cmock/lib/cmock_generator_plugin_expect_any_args.rb +13 -8
- data/vendor/cmock/lib/cmock_generator_plugin_ignore.rb +15 -10
- data/vendor/cmock/lib/cmock_generator_plugin_ignore_arg.rb +4 -2
- data/vendor/cmock/lib/cmock_generator_plugin_ignore_stateless.rb +15 -10
- data/vendor/cmock/lib/cmock_generator_plugin_return_thru_ptr.rb +53 -3
- data/vendor/cmock/lib/cmock_generator_utils.rb +159 -43
- data/vendor/cmock/lib/cmock_header_parser.rb +217 -26
- data/vendor/cmock/lib/cmock_plugin_manager.rb +1 -1
- data/vendor/cmock/lib/cmock_unityhelper_parser.rb +7 -2
- data/vendor/cmock/lib/cmock_version.rb +1 -1
- data/vendor/cmock/scripts/create_makefile.rb +7 -5
- data/vendor/cmock/src/cmock.c +132 -129
- data/vendor/cmock/src/cmock.h +7 -13
- data/vendor/cmock/src/cmock_internals.h +73 -39
- data/vendor/cmock/test/c/TestCMockC.c +1 -7
- data/vendor/cmock/test/c/TestCMockC.yml +1 -1
- data/vendor/cmock/test/c/TestCMockCDynamic.c +1 -7
- data/vendor/cmock/test/c/TestCMockCDynamic.yml +1 -1
- data/vendor/cmock/test/c/TestCMockCDynamic_Runner.c +1 -7
- data/vendor/cmock/test/c/TestCMockC_Runner.c +1 -7
- data/vendor/cmock/test/gcc_64_valgrind.yml +41 -0
- data/vendor/cmock/test/iar/iar_v4/incIAR/AT91SAM7X-EK.h +1 -1
- data/vendor/cmock/test/iar/iar_v4/incIAR/AT91SAM7X256_inc.h +1 -1
- data/vendor/cmock/test/iar/iar_v4/incIAR/ioat91sam7x256.h +1 -1
- data/vendor/cmock/test/iar/iar_v4/srcIAR/Cstartup_SAM7.c +1 -1
- data/vendor/cmock/test/iar/iar_v5/incIAR/AT91SAM7X-EK.h +1 -1
- data/vendor/cmock/test/iar/iar_v5/incIAR/AT91SAM7X256_inc.h +1 -1
- data/vendor/cmock/test/iar/iar_v5/incIAR/project.h +1 -1
- data/vendor/cmock/test/iar/iar_v5/srcIAR/Cstartup_SAM7.c +1 -1
- data/vendor/cmock/test/project.yml +32 -0
- data/vendor/cmock/test/rakefile +74 -58
- data/vendor/cmock/test/rakefile_helper.rb +359 -152
- data/vendor/cmock/test/system/systest_generator.rb +2 -2
- data/vendor/cmock/test/system/test_compilation/callingconv.h +1 -7
- data/vendor/cmock/test/system/test_compilation/config.yml +10 -1
- data/vendor/cmock/test/system/test_compilation/const.h +7 -13
- data/vendor/cmock/test/system/test_compilation/inline.h +1 -2
- data/vendor/cmock/test/system/test_compilation/osek.h +1 -7
- data/vendor/cmock/test/system/test_compilation/parsing.h +37 -7
- data/vendor/cmock/test/system/test_interactions/all_plugins_but_other_limits.yml +5 -13
- data/vendor/cmock/test/system/test_interactions/all_plugins_coexist.yml +5 -5
- data/vendor/cmock/test/system/test_interactions/array_handling.yml +758 -0
- data/vendor/cmock/test/system/test_interactions/basic_expect_and_return.yml +2 -2
- data/vendor/cmock/test/system/test_interactions/char_string_array_plugin.yml +113 -0
- data/vendor/cmock/test/system/test_interactions/const_custom_type.yml +68 -0
- data/vendor/cmock/test/system/test_interactions/const_primitives_handling.yml +4 -3
- data/vendor/cmock/test/system/test_interactions/const_ptr_return_and_arg.yml +89 -0
- data/vendor/cmock/test/system/test_interactions/debug_output.yml +235 -0
- data/vendor/cmock/test/system/test_interactions/doesnt_leave_details_behind.yml +16 -16
- data/vendor/cmock/test/system/test_interactions/enforce_strict_ordering.yml +1 -1
- data/vendor/cmock/test/system/test_interactions/expect_and_return_custom_types.yml +1 -1
- data/vendor/cmock/test/system/test_interactions/expect_and_return_treat_as.yml +3 -3
- data/vendor/cmock/test/system/test_interactions/expect_and_throw.yml +1 -1
- data/vendor/cmock/test/system/test_interactions/expect_any_args.yml +1 -1
- data/vendor/cmock/test/system/test_interactions/fancy_pointer_handling.yml +3 -3
- data/vendor/cmock/test/system/test_interactions/function_pointer_handling.yml +1 -1
- data/vendor/cmock/test/system/test_interactions/ignore_and_return.yml +1 -1
- data/vendor/cmock/test/system/test_interactions/ignore_and_return_stateless.yml +1 -1
- data/vendor/cmock/test/system/test_interactions/ignore_strict_mock_calling.yml +1 -1
- data/vendor/cmock/test/system/test_interactions/newer_standards_stuff1.yml +1 -1
- data/vendor/cmock/test/system/test_interactions/nonstandard_parsed_stuff_1.yml +2 -2
- data/vendor/cmock/test/system/test_interactions/nonstandard_parsed_stuff_2.yml +7 -4
- data/vendor/cmock/test/system/test_interactions/out_of_memory.yml +65 -8
- data/vendor/cmock/test/system/test_interactions/parsing_challenges.yml +1 -1
- data/vendor/cmock/test/system/test_interactions/parsing_challenges_with_func_pointers.yml +88 -0
- data/vendor/cmock/test/system/test_interactions/pointer_handling.yml +465 -0
- data/vendor/cmock/test/system/test_interactions/return_thru_ptr_expect_any_args.yml +238 -0
- data/vendor/cmock/test/system/test_interactions/return_thru_ptr_ignore.yml +142 -0
- data/vendor/cmock/test/system/test_interactions/return_thru_ptr_ignore_arg.yml +13 -9
- data/vendor/cmock/test/system/test_interactions/skeleton.yml +1 -1
- data/vendor/cmock/test/system/test_interactions/skeleton_update.yml +1 -1
- data/vendor/cmock/test/system/test_interactions/struct_union_enum_expect_and_return.yml +1 -1
- data/vendor/cmock/test/system/test_interactions/struct_union_enum_expect_and_return_with_plugins.yml +1 -1
- data/vendor/cmock/test/system/test_interactions/stubs_with_callbacks.yml +14 -2
- data/vendor/cmock/test/system/test_interactions/teardown_mock_calls.yml +57 -0
- data/vendor/cmock/test/system/test_interactions/teardown_mock_expectations.yml +59 -0
- data/vendor/cmock/test/system/test_interactions/unity_64bit_support.yml +1 -1
- data/vendor/cmock/test/system/test_interactions/unity_ignores.yml +1 -1
- data/vendor/cmock/test/system/test_interactions/unity_void_pointer_compare.yml +9 -9
- data/vendor/cmock/test/system/test_interactions/void_pointer_no_array_plugin.yml +133 -0
- data/vendor/cmock/test/system/test_interactions/void_pointer_treat_as_void_array_plugin.yml +102 -0
- data/vendor/cmock/test/system/test_interactions/volatile_pointer_handling.yml +291 -0
- data/vendor/cmock/test/system/test_interactions/wrong_expect_and_return.yml +9 -1
- data/vendor/cmock/test/targets/iar_arm.yml +14 -0
- data/vendor/cmock/test/targets/tiny.yml +36 -0
- data/vendor/cmock/test/test_helper.rb +1 -2
- data/vendor/cmock/test/unit/cmock_config_test.rb +1 -2
- data/vendor/cmock/test/unit/cmock_config_test.yml +1 -1
- data/vendor/cmock/test/unit/cmock_file_writer_test.rb +1 -1
- data/vendor/cmock/test/unit/cmock_generator_main_test.rb +6 -0
- data/vendor/cmock/test/unit/cmock_generator_no_error_stubs_plugin_array_test.rb +90 -0
- data/vendor/cmock/test/unit/cmock_generator_no_error_stubs_plugin_expect_any_args_test.rb +38 -0
- data/vendor/cmock/test/unit/cmock_generator_no_error_stubs_plugin_expect_test.rb +55 -0
- data/vendor/cmock/test/unit/cmock_generator_no_error_stubs_plugin_ignore_stateless_test.rb +42 -0
- data/vendor/cmock/test/unit/cmock_generator_no_error_stubs_plugin_ignore_test.rb +42 -0
- data/vendor/cmock/test/unit/cmock_generator_plugin_array_test.rb +63 -2
- data/vendor/cmock/test/unit/cmock_generator_plugin_callback_test.rb +24 -6
- data/vendor/cmock/test/unit/cmock_generator_plugin_cexception_test.rb +1 -1
- data/vendor/cmock/test/unit/cmock_generator_plugin_expect_a_test.rb +118 -2
- data/vendor/cmock/test/unit/cmock_generator_plugin_expect_any_args_test.rb +2 -2
- data/vendor/cmock/test/unit/cmock_generator_plugin_expect_b_test.rb +4 -2
- data/vendor/cmock/test/unit/cmock_generator_plugin_ignore_arg_test.rb +2 -1
- data/vendor/cmock/test/unit/cmock_generator_plugin_ignore_stateless_test.rb +2 -2
- data/vendor/cmock/test/unit/cmock_generator_plugin_ignore_test.rb +2 -2
- data/vendor/cmock/test/unit/cmock_generator_plugin_return_thru_ptr_test.rb +135 -3
- data/vendor/cmock/test/unit/cmock_generator_utils_test.rb +177 -9
- data/vendor/cmock/test/unit/cmock_header_parser_test.rb +705 -109
- data/vendor/cmock/test/unit/cmock_plugin_manager_test.rb +4 -2
- data/vendor/cmock/test/unit/cmock_unityhelper_parser_test.rb +1 -1
- data/vendor/cmock/vendor/unity/CMakeLists.txt +10 -0
- data/vendor/cmock/vendor/unity/LICENSE.txt +1 -1
- data/vendor/cmock/vendor/unity/README.md +2 -2
- data/vendor/cmock/vendor/unity/auto/__init__.py +1 -1
- data/vendor/cmock/vendor/unity/auto/colour_prompt.rb +1 -1
- data/vendor/cmock/vendor/unity/auto/colour_reporter.rb +7 -1
- data/vendor/cmock/vendor/unity/auto/extract_version.py +1 -1
- data/vendor/cmock/vendor/unity/auto/generate_config.yml +1 -1
- data/vendor/cmock/vendor/unity/auto/generate_module.rb +6 -6
- data/vendor/cmock/vendor/unity/auto/generate_test_runner.rb +95 -14
- data/vendor/cmock/vendor/unity/auto/parse_output.rb +10 -7
- data/vendor/cmock/vendor/unity/auto/stylize_as_junit.py +4 -3
- data/vendor/cmock/vendor/unity/auto/stylize_as_junit.rb +4 -2
- data/vendor/cmock/vendor/unity/auto/test_file_filter.rb +1 -1
- data/vendor/cmock/vendor/unity/auto/type_sanitizer.rb +1 -1
- data/vendor/cmock/vendor/unity/auto/unity_test_summary.py +2 -2
- data/vendor/cmock/vendor/unity/auto/unity_test_summary.rb +5 -2
- data/vendor/cmock/vendor/unity/auto/yaml_helper.rb +1 -1
- data/vendor/cmock/vendor/unity/docs/ThrowTheSwitchCodingStandard.md +2 -2
- data/vendor/cmock/vendor/unity/docs/UnityAssertionsReference.md +66 -1
- data/vendor/cmock/vendor/unity/docs/UnityChangeLog.md +41 -0
- data/vendor/cmock/vendor/unity/docs/UnityConfigurationGuide.md +2 -2
- data/vendor/cmock/vendor/unity/docs/UnityHelperScriptsGuide.md +28 -12
- data/vendor/cmock/vendor/unity/examples/example_1/makefile +1 -1
- data/vendor/cmock/vendor/unity/examples/example_1/src/ProductionCode.c +1 -1
- data/vendor/cmock/vendor/unity/examples/example_1/src/ProductionCode.h +1 -1
- data/vendor/cmock/vendor/unity/examples/example_1/src/ProductionCode2.c +1 -1
- data/vendor/cmock/vendor/unity/examples/example_1/src/ProductionCode2.h +1 -1
- data/vendor/cmock/vendor/unity/examples/example_1/test/TestProductionCode.c +1 -1
- data/vendor/cmock/vendor/unity/examples/example_1/test/TestProductionCode2.c +1 -1
- data/vendor/cmock/vendor/unity/examples/example_2/makefile +1 -1
- data/vendor/cmock/vendor/unity/examples/example_2/src/ProductionCode.c +1 -1
- data/vendor/cmock/vendor/unity/examples/example_2/src/ProductionCode.h +1 -1
- data/vendor/cmock/vendor/unity/examples/example_2/src/ProductionCode2.c +1 -1
- data/vendor/cmock/vendor/unity/examples/example_2/src/ProductionCode2.h +1 -1
- data/vendor/cmock/vendor/unity/examples/example_2/test/TestProductionCode.c +1 -1
- data/vendor/cmock/vendor/unity/examples/example_2/test/TestProductionCode2.c +1 -1
- data/vendor/cmock/vendor/unity/examples/example_2/test/test_runners/TestProductionCode2_Runner.c +1 -1
- data/vendor/cmock/vendor/unity/examples/example_2/test/test_runners/TestProductionCode_Runner.c +1 -1
- data/vendor/cmock/vendor/unity/examples/example_2/test/test_runners/all_tests.c +1 -1
- data/vendor/cmock/vendor/unity/examples/example_3/helper/UnityHelper.c +1 -1
- data/vendor/cmock/vendor/unity/examples/example_3/helper/UnityHelper.h +1 -1
- data/vendor/cmock/vendor/unity/examples/example_3/project.yml +24 -0
- data/vendor/cmock/vendor/unity/examples/example_3/rakefile.rb +2 -3
- data/vendor/cmock/vendor/unity/examples/example_3/rakefile_helper.rb +107 -153
- data/vendor/cmock/vendor/unity/examples/example_3/src/ProductionCode.c +3 -3
- data/vendor/cmock/vendor/unity/examples/example_3/src/ProductionCode.h +1 -1
- data/vendor/cmock/vendor/unity/examples/example_3/src/ProductionCode2.c +1 -1
- data/vendor/cmock/vendor/unity/examples/example_3/src/ProductionCode2.h +1 -1
- data/vendor/cmock/vendor/unity/examples/example_3/test/TestProductionCode.c +1 -1
- data/vendor/cmock/vendor/unity/examples/example_3/test/TestProductionCode2.c +1 -1
- data/vendor/cmock/vendor/unity/examples/example_4/src/ProductionCode.c +1 -1
- data/vendor/cmock/vendor/unity/examples/example_4/src/ProductionCode.h +1 -1
- data/vendor/cmock/vendor/unity/examples/example_4/src/ProductionCode2.c +1 -1
- data/vendor/cmock/vendor/unity/examples/example_4/src/ProductionCode2.h +1 -1
- data/vendor/cmock/vendor/unity/examples/example_4/test/TestProductionCode.c +1 -1
- data/vendor/cmock/vendor/unity/examples/example_4/test/TestProductionCode2.c +1 -1
- data/vendor/cmock/vendor/unity/examples/example_5/makefile +63 -0
- data/vendor/cmock/vendor/unity/examples/example_5/readme.txt +38 -0
- data/vendor/cmock/vendor/unity/examples/example_5/src/ProductionCode.c +56 -0
- data/vendor/cmock/vendor/unity/examples/example_5/src/ProductionCode.h +16 -0
- data/vendor/cmock/vendor/unity/examples/example_5/subprojects/unity.wrap +3 -0
- data/vendor/cmock/vendor/unity/examples/example_5/test/TestProductionCode.c +45 -0
- data/vendor/cmock/vendor/unity/examples/example_5/test/test_runners/TestProductionCode_Runner.c +48 -0
- data/vendor/cmock/vendor/unity/examples/example_5/test/unity_detail_config.h +25 -0
- data/vendor/cmock/vendor/unity/examples/unity_config.h +5 -3
- data/vendor/cmock/vendor/unity/extras/bdd/src/unity_bdd.h +1 -1
- data/vendor/cmock/vendor/unity/extras/bdd/test/test_bdd.c +1 -1
- data/vendor/cmock/vendor/unity/extras/fixture/src/unity_fixture.c +59 -15
- data/vendor/cmock/vendor/unity/extras/fixture/src/unity_fixture.h +1 -1
- data/vendor/cmock/vendor/unity/extras/fixture/src/unity_fixture_internals.h +4 -1
- data/vendor/cmock/vendor/unity/extras/fixture/test/main/AllTests.c +1 -1
- data/vendor/cmock/vendor/unity/extras/fixture/test/template_fixture_tests.c +1 -1
- data/vendor/cmock/vendor/unity/extras/fixture/test/unity_fixture_Test.c +46 -1
- data/vendor/cmock/vendor/unity/extras/fixture/test/unity_fixture_TestRunner.c +4 -1
- data/vendor/cmock/vendor/unity/extras/memory/src/unity_memory.c +1 -1
- data/vendor/cmock/vendor/unity/extras/memory/src/unity_memory.h +1 -1
- data/vendor/cmock/vendor/unity/extras/memory/test/unity_memory_Test.c +1 -1
- data/vendor/cmock/vendor/unity/extras/memory/test/unity_memory_TestRunner.c +1 -1
- data/vendor/cmock/vendor/unity/extras/memory/test/unity_output_Spy.c +1 -1
- data/vendor/cmock/vendor/unity/extras/memory/test/unity_output_Spy.h +1 -1
- data/vendor/cmock/vendor/unity/library.json +0 -7
- data/vendor/cmock/vendor/unity/meson.build +16 -8
- data/vendor/cmock/vendor/unity/meson_options.txt +5 -3
- data/vendor/cmock/vendor/unity/src/unity.c +480 -141
- data/vendor/cmock/vendor/unity/src/unity.h +16 -4
- data/vendor/cmock/vendor/unity/src/unity_internals.h +291 -148
- data/vendor/cmock/vendor/unity/test/Makefile +4 -6
- data/vendor/cmock/vendor/unity/test/rakefile +42 -21
- data/vendor/cmock/vendor/unity/test/rakefile_helper.rb +154 -15
- data/vendor/cmock/vendor/unity/test/spec/generate_module_existing_file_spec.rb +1 -1
- data/vendor/cmock/vendor/unity/test/targets/clang.yml +157 -0
- data/vendor/cmock/vendor/unity/test/targets/gcc.yml +139 -0
- data/vendor/cmock/vendor/unity/test/targets/hitech_picc18.yml +9 -16
- data/vendor/cmock/vendor/unity/test/targets/iar_arm.yml +88 -0
- data/vendor/cmock/vendor/unity/test/targets/no_stdlib.yml +23 -0
- data/vendor/cmock/vendor/unity/test/testdata/CException.h +1 -1
- data/vendor/cmock/vendor/unity/test/testdata/Defs.h +1 -1
- data/vendor/cmock/vendor/unity/test/testdata/cmock.h +1 -1
- data/vendor/cmock/vendor/unity/test/testdata/mockMock.h +1 -1
- data/vendor/cmock/vendor/unity/test/testdata/testRunnerGenerator.c +1 -1
- data/vendor/cmock/vendor/unity/test/testdata/testRunnerGeneratorSmall.c +1 -1
- data/vendor/cmock/vendor/unity/test/testdata/testRunnerGeneratorWithMocks.c +1 -1
- data/vendor/cmock/vendor/unity/test/tests/self_assessment_utils.h +23 -7
- data/vendor/cmock/vendor/unity/test/tests/test_generate_test_runner.rb +1 -4
- data/vendor/cmock/vendor/unity/test/tests/test_unity_arrays.c +1 -1
- data/vendor/cmock/vendor/unity/test/tests/test_unity_core.c +33 -38
- data/vendor/cmock/vendor/unity/test/tests/test_unity_doubles.c +4 -4
- data/vendor/cmock/vendor/unity/test/tests/test_unity_floats.c +15 -6
- data/vendor/cmock/vendor/unity/test/tests/test_unity_integers.c +35 -1
- data/vendor/cmock/vendor/unity/test/tests/test_unity_integers_64.c +1 -1
- data/vendor/cmock/vendor/unity/test/tests/test_unity_memory.c +69 -1
- data/vendor/cmock/vendor/unity/test/tests/test_unity_parameterized.c +5 -5
- data/vendor/cmock/vendor/unity/test/tests/test_unity_parameterizedDemo.c +1 -1
- data/vendor/cmock/vendor/unity/test/tests/test_unity_strings.c +65 -1
- data/vendor/cmock/vendor/unity/test/tests/types_for_test.h +1 -1
- data/vendor/unity/CMakeLists.txt +10 -0
- data/vendor/unity/LICENSE.txt +1 -1
- data/vendor/unity/README.md +2 -2
- data/vendor/unity/auto/__init__.py +1 -1
- data/vendor/unity/auto/colour_prompt.rb +1 -1
- data/vendor/unity/auto/colour_reporter.rb +7 -1
- data/vendor/unity/auto/extract_version.py +1 -1
- data/vendor/unity/auto/generate_config.yml +1 -1
- data/vendor/unity/auto/generate_module.rb +6 -6
- data/vendor/unity/auto/generate_test_runner.rb +95 -14
- data/vendor/unity/auto/parse_output.rb +10 -7
- data/vendor/unity/auto/stylize_as_junit.py +4 -3
- data/vendor/unity/auto/stylize_as_junit.rb +4 -2
- data/vendor/unity/auto/test_file_filter.rb +1 -1
- data/vendor/unity/auto/type_sanitizer.rb +1 -1
- data/vendor/unity/auto/unity_test_summary.py +2 -2
- data/vendor/unity/auto/unity_test_summary.rb +5 -2
- data/vendor/unity/auto/yaml_helper.rb +1 -1
- data/vendor/unity/docs/ThrowTheSwitchCodingStandard.md +2 -2
- data/vendor/unity/docs/UnityAssertionsReference.md +66 -1
- data/vendor/unity/docs/UnityChangeLog.md +41 -0
- data/vendor/unity/docs/UnityConfigurationGuide.md +2 -2
- data/vendor/unity/docs/UnityHelperScriptsGuide.md +28 -12
- data/vendor/unity/examples/example_1/makefile +1 -1
- data/vendor/unity/examples/example_1/src/ProductionCode.c +1 -1
- data/vendor/unity/examples/example_1/src/ProductionCode.h +1 -1
- data/vendor/unity/examples/example_1/src/ProductionCode2.c +1 -1
- data/vendor/unity/examples/example_1/src/ProductionCode2.h +1 -1
- data/vendor/unity/examples/example_1/test/TestProductionCode.c +1 -1
- data/vendor/unity/examples/example_1/test/TestProductionCode2.c +1 -1
- data/vendor/unity/examples/example_2/makefile +1 -1
- data/vendor/unity/examples/example_2/src/ProductionCode.c +1 -1
- data/vendor/unity/examples/example_2/src/ProductionCode.h +1 -1
- data/vendor/unity/examples/example_2/src/ProductionCode2.c +1 -1
- data/vendor/unity/examples/example_2/src/ProductionCode2.h +1 -1
- data/vendor/unity/examples/example_2/test/TestProductionCode.c +1 -1
- data/vendor/unity/examples/example_2/test/TestProductionCode2.c +1 -1
- data/vendor/unity/examples/example_2/test/test_runners/TestProductionCode2_Runner.c +1 -1
- data/vendor/unity/examples/example_2/test/test_runners/TestProductionCode_Runner.c +1 -1
- data/vendor/unity/examples/example_2/test/test_runners/all_tests.c +1 -1
- data/vendor/unity/examples/example_3/helper/UnityHelper.c +1 -1
- data/vendor/unity/examples/example_3/helper/UnityHelper.h +1 -1
- data/vendor/unity/examples/example_3/project.yml +24 -0
- data/vendor/unity/examples/example_3/rakefile.rb +2 -3
- data/vendor/unity/examples/example_3/rakefile_helper.rb +107 -153
- data/vendor/unity/examples/example_3/src/ProductionCode.c +3 -3
- data/vendor/unity/examples/example_3/src/ProductionCode.h +1 -1
- data/vendor/unity/examples/example_3/src/ProductionCode2.c +1 -1
- data/vendor/unity/examples/example_3/src/ProductionCode2.h +1 -1
- data/vendor/unity/examples/example_3/test/TestProductionCode.c +1 -1
- data/vendor/unity/examples/example_3/test/TestProductionCode2.c +1 -1
- data/vendor/unity/examples/example_4/src/ProductionCode.c +1 -1
- data/vendor/unity/examples/example_4/src/ProductionCode.h +1 -1
- data/vendor/unity/examples/example_4/src/ProductionCode2.c +1 -1
- data/vendor/unity/examples/example_4/src/ProductionCode2.h +1 -1
- data/vendor/unity/examples/example_4/test/TestProductionCode.c +1 -1
- data/vendor/unity/examples/example_4/test/TestProductionCode2.c +1 -1
- data/vendor/unity/examples/example_5/makefile +63 -0
- data/vendor/unity/examples/example_5/readme.txt +38 -0
- data/vendor/unity/examples/example_5/src/ProductionCode.c +56 -0
- data/vendor/unity/examples/example_5/src/ProductionCode.h +16 -0
- data/vendor/unity/examples/example_5/subprojects/unity.wrap +3 -0
- data/vendor/unity/examples/example_5/test/TestProductionCode.c +45 -0
- data/vendor/unity/examples/example_5/test/test_runners/TestProductionCode_Runner.c +48 -0
- data/vendor/unity/examples/example_5/test/unity_detail_config.h +25 -0
- data/vendor/unity/examples/unity_config.h +5 -3
- data/vendor/unity/extras/bdd/src/unity_bdd.h +1 -1
- data/vendor/unity/extras/bdd/test/test_bdd.c +1 -1
- data/vendor/unity/extras/fixture/src/unity_fixture.c +59 -15
- data/vendor/unity/extras/fixture/src/unity_fixture.h +1 -1
- data/vendor/unity/extras/fixture/src/unity_fixture_internals.h +4 -1
- data/vendor/unity/extras/fixture/test/main/AllTests.c +1 -1
- data/vendor/unity/extras/fixture/test/template_fixture_tests.c +1 -1
- data/vendor/unity/extras/fixture/test/unity_fixture_Test.c +46 -1
- data/vendor/unity/extras/fixture/test/unity_fixture_TestRunner.c +4 -1
- data/vendor/unity/extras/memory/src/unity_memory.c +1 -1
- data/vendor/unity/extras/memory/src/unity_memory.h +1 -1
- data/vendor/unity/extras/memory/test/unity_memory_Test.c +1 -1
- data/vendor/unity/extras/memory/test/unity_memory_TestRunner.c +1 -1
- data/vendor/unity/extras/memory/test/unity_output_Spy.c +1 -1
- data/vendor/unity/extras/memory/test/unity_output_Spy.h +1 -1
- data/vendor/unity/library.json +0 -7
- data/vendor/unity/meson.build +16 -8
- data/vendor/unity/meson_options.txt +5 -3
- data/vendor/unity/src/unity.c +480 -141
- data/vendor/unity/src/unity.h +16 -4
- data/vendor/unity/src/unity_internals.h +291 -148
- data/vendor/unity/test/Makefile +4 -6
- data/vendor/unity/test/rakefile +42 -21
- data/vendor/unity/test/rakefile_helper.rb +154 -15
- data/vendor/unity/test/spec/generate_module_existing_file_spec.rb +1 -1
- data/vendor/unity/test/targets/clang.yml +157 -0
- data/vendor/unity/test/targets/gcc.yml +139 -0
- data/vendor/unity/test/targets/hitech_picc18.yml +9 -16
- data/vendor/unity/test/targets/iar_arm.yml +88 -0
- data/vendor/unity/test/targets/no_stdlib.yml +23 -0
- data/vendor/unity/test/testdata/CException.h +1 -1
- data/vendor/unity/test/testdata/Defs.h +1 -1
- data/vendor/unity/test/testdata/cmock.h +1 -1
- data/vendor/unity/test/testdata/mockMock.h +1 -1
- data/vendor/unity/test/testdata/testRunnerGenerator.c +1 -1
- data/vendor/unity/test/testdata/testRunnerGeneratorSmall.c +1 -1
- data/vendor/unity/test/testdata/testRunnerGeneratorWithMocks.c +1 -1
- data/vendor/unity/test/tests/self_assessment_utils.h +23 -7
- data/vendor/unity/test/tests/test_generate_test_runner.rb +1 -4
- data/vendor/unity/test/tests/test_unity_arrays.c +1 -1
- data/vendor/unity/test/tests/test_unity_core.c +33 -38
- data/vendor/unity/test/tests/test_unity_doubles.c +4 -4
- data/vendor/unity/test/tests/test_unity_floats.c +15 -6
- data/vendor/unity/test/tests/test_unity_integers.c +35 -1
- data/vendor/unity/test/tests/test_unity_integers_64.c +1 -1
- data/vendor/unity/test/tests/test_unity_memory.c +69 -1
- data/vendor/unity/test/tests/test_unity_parameterized.c +5 -5
- data/vendor/unity/test/tests/test_unity_parameterizedDemo.c +1 -1
- data/vendor/unity/test/tests/test_unity_strings.c +65 -1
- data/vendor/unity/test/tests/types_for_test.h +1 -1
- metadata +709 -1223
- data/assets/project_as_gem.yml +0 -411
- data/assets/project_with_guts.yml +0 -412
- data/assets/test_example_file_crash.c +0 -25
- data/build/test/dependencies/AdcConductor.d +0 -2
- data/build/test/dependencies/AdcHardware.d +0 -3
- data/build/test/dependencies/AdcModel.d +0 -3
- data/build/test/dependencies/Executor.d +0 -3
- data/build/test/dependencies/Main.d +0 -10
- data/build/test/dependencies/MockAdcConductor.d +0 -9
- data/build/test/dependencies/MockAdcHardware.d +0 -9
- data/build/test/dependencies/MockAdcHardwareConfigurator.d +0 -10
- data/build/test/dependencies/MockAdcModel.d +0 -9
- data/build/test/dependencies/MockAdcTemperatureSensor.d +0 -10
- data/build/test/dependencies/MockExecutor.d +0 -9
- data/build/test/dependencies/MockIntrinsicsWrapper.d +0 -9
- data/build/test/dependencies/MockModel.d +0 -9
- data/build/test/dependencies/MockTaskScheduler.d +0 -9
- data/build/test/dependencies/MockTemperatureCalculator.d +0 -10
- data/build/test/dependencies/MockTemperatureFilter.d +0 -10
- data/build/test/dependencies/MockTimerConductor.d +0 -9
- data/build/test/dependencies/MockTimerConfigurator.d +0 -10
- data/build/test/dependencies/MockTimerHardware.d +0 -9
- data/build/test/dependencies/MockTimerInterruptHandler.d +0 -10
- data/build/test/dependencies/MockTimerModel.d +0 -9
- data/build/test/dependencies/MockUsartBaudRateRegisterCalculator.d +0 -10
- data/build/test/dependencies/MockUsartConductor.d +0 -9
- data/build/test/dependencies/MockUsartConfigurator.d +0 -10
- data/build/test/dependencies/MockUsartHardware.d +0 -9
- data/build/test/dependencies/MockUsartModel.d +0 -9
- data/build/test/dependencies/MockUsartPutChar.d +0 -9
- data/build/test/dependencies/Model.d +0 -2
- data/build/test/dependencies/TaskScheduler.d +0 -2
- data/build/test/dependencies/TemperatureCalculator.d +0 -2
- data/build/test/dependencies/TemperatureFilter.d +0 -2
- data/build/test/dependencies/TestAdcConductor.d +0 -7
- data/build/test/dependencies/TestAdcConductor_runner.d +0 -10
- data/build/test/dependencies/TestAdcHardware.d +0 -8
- data/build/test/dependencies/TestAdcHardware_runner.d +0 -11
- data/build/test/dependencies/TestAdcModel.d +0 -10
- data/build/test/dependencies/TestAdcModel_runner.d +0 -13
- data/build/test/dependencies/TestExecutor.d +0 -14
- data/build/test/dependencies/TestExecutor_runner.d +0 -17
- data/build/test/dependencies/TestMain.d +0 -5
- data/build/test/dependencies/TestMain_runner.d +0 -8
- data/build/test/dependencies/TestModel.d +0 -7
- data/build/test/dependencies/TestModel_runner.d +0 -10
- data/build/test/dependencies/TestTaskScheduler.d +0 -4
- data/build/test/dependencies/TestTaskScheduler_runner.d +0 -5
- data/build/test/dependencies/TestTemperatureCalculator.d +0 -3
- data/build/test/dependencies/TestTemperatureCalculator_runner.d +0 -4
- data/build/test/dependencies/TestTemperatureFilter.d +0 -4
- data/build/test/dependencies/TestTemperatureFilter_runner.d +0 -5
- data/build/test/dependencies/TestTimerConductor.d +0 -10
- data/build/test/dependencies/TestTimerConductor_runner.d +0 -13
- data/build/test/dependencies/TestTimerHardware.d +0 -6
- data/build/test/dependencies/TestTimerHardware_runner.d +0 -9
- data/build/test/dependencies/TestTimerIntegrated.d +0 -10
- data/build/test/dependencies/TestTimerIntegrated_runner.d +0 -13
- data/build/test/dependencies/TestTimerModel.d +0 -6
- data/build/test/dependencies/TestTimerModel_runner.d +0 -9
- data/build/test/dependencies/TestUsartBaudRateRegisterCalculator.d +0 -5
- data/build/test/dependencies/TestUsartBaudRateRegisterCalculator_runner.d +0 -5
- data/build/test/dependencies/TestUsartConductor.d +0 -10
- data/build/test/dependencies/TestUsartConductor_runner.d +0 -13
- data/build/test/dependencies/TestUsartHardware.d +0 -8
- data/build/test/dependencies/TestUsartHardware_runner.d +0 -11
- data/build/test/dependencies/TestUsartIntegrated.d +0 -15
- data/build/test/dependencies/TestUsartIntegrated_runner.d +0 -18
- data/build/test/dependencies/TestUsartModel.d +0 -8
- data/build/test/dependencies/TestUsartModel_runner.d +0 -11
- data/build/test/dependencies/TimerConductor.d +0 -3
- data/build/test/dependencies/TimerHardware.d +0 -3
- data/build/test/dependencies/TimerModel.d +0 -2
- data/build/test/dependencies/UnityHelper.d +0 -5
- data/build/test/dependencies/UsartBaudRateRegisterCalculator.d +0 -3
- data/build/test/dependencies/UsartConductor.d +0 -3
- data/build/test/dependencies/UsartHardware.d +0 -3
- data/build/test/dependencies/UsartModel.d +0 -3
- data/build/test/dependencies/cmock.d +0 -6
- data/build/test/dependencies/unity.d +0 -4
- data/build/test/mocks/TestAdcConductor/MockAdcHardware.c +0 -445
- data/build/test/mocks/TestAdcConductor/MockAdcHardware.h +0 -91
- data/build/test/mocks/TestAdcConductor/MockAdcModel.c +0 -618
- data/build/test/mocks/TestAdcConductor/MockAdcModel.h +0 -103
- data/build/test/mocks/TestAdcHardware/MockAdcHardwareConfigurator.c +0 -317
- data/build/test/mocks/TestAdcHardware/MockAdcHardwareConfigurator.h +0 -79
- data/build/test/mocks/TestAdcHardware/MockAdcTemperatureSensor.c +0 -351
- data/build/test/mocks/TestAdcHardware/MockAdcTemperatureSensor.h +0 -79
- data/build/test/mocks/TestAdcModel/MockTaskScheduler.c +0 -458
- data/build/test/mocks/TestAdcModel/MockTaskScheduler.h +0 -91
- data/build/test/mocks/TestAdcModel/MockTemperatureCalculator.c +0 -159
- data/build/test/mocks/TestAdcModel/MockTemperatureCalculator.h +0 -55
- data/build/test/mocks/TestAdcModel/MockTemperatureFilter.c +0 -347
- data/build/test/mocks/TestAdcModel/MockTemperatureFilter.h +0 -79
- data/build/test/mocks/TestExecutor/MockAdcConductor.c +0 -556
- data/build/test/mocks/TestExecutor/MockAdcConductor.h +0 -103
- data/build/test/mocks/TestExecutor/MockIntrinsicsWrapper.c +0 -223
- data/build/test/mocks/TestExecutor/MockIntrinsicsWrapper.h +0 -67
- data/build/test/mocks/TestExecutor/MockModel.c +0 -129
- data/build/test/mocks/TestExecutor/MockModel.h +0 -55
- data/build/test/mocks/TestExecutor/MockTimerConductor.c +0 -223
- data/build/test/mocks/TestExecutor/MockTimerConductor.h +0 -67
- data/build/test/mocks/TestExecutor/MockUsartConductor.c +0 -223
- data/build/test/mocks/TestExecutor/MockUsartConductor.h +0 -67
- data/build/test/mocks/TestMain/MockExecutor.c +0 -240
- data/build/test/mocks/TestMain/MockExecutor.h +0 -67
- data/build/test/mocks/TestModel/MockTaskScheduler.c +0 -458
- data/build/test/mocks/TestModel/MockTaskScheduler.h +0 -91
- data/build/test/mocks/TestModel/MockTemperatureFilter.c +0 -347
- data/build/test/mocks/TestModel/MockTemperatureFilter.h +0 -79
- data/build/test/mocks/TestTimerConductor/MockTimerHardware.c +0 -129
- data/build/test/mocks/TestTimerConductor/MockTimerHardware.h +0 -55
- data/build/test/mocks/TestTimerConductor/MockTimerInterruptHandler.c +0 -347
- data/build/test/mocks/TestTimerConductor/MockTimerInterruptHandler.h +0 -79
- data/build/test/mocks/TestTimerConductor/MockTimerModel.c +0 -142
- data/build/test/mocks/TestTimerConductor/MockTimerModel.h +0 -55
- data/build/test/mocks/TestTimerHardware/MockTimerConfigurator.c +0 -787
- data/build/test/mocks/TestTimerHardware/MockTimerConfigurator.h +0 -139
- data/build/test/mocks/TestTimerIntegrated/MockTaskScheduler.c +0 -458
- data/build/test/mocks/TestTimerIntegrated/MockTaskScheduler.h +0 -91
- data/build/test/mocks/TestTimerIntegrated/MockTimerConfigurator.c +0 -787
- data/build/test/mocks/TestTimerIntegrated/MockTimerConfigurator.h +0 -139
- data/build/test/mocks/TestTimerIntegrated/MockTimerInterruptHandler.c +0 -347
- data/build/test/mocks/TestTimerIntegrated/MockTimerInterruptHandler.h +0 -79
- data/build/test/mocks/TestTimerModel/MockTaskScheduler.c +0 -458
- data/build/test/mocks/TestTimerModel/MockTaskScheduler.h +0 -91
- data/build/test/mocks/TestUsartConductor/MockTaskScheduler.c +0 -458
- data/build/test/mocks/TestUsartConductor/MockTaskScheduler.h +0 -91
- data/build/test/mocks/TestUsartConductor/MockUsartHardware.c +0 -249
- data/build/test/mocks/TestUsartConductor/MockUsartHardware.h +0 -67
- data/build/test/mocks/TestUsartConductor/MockUsartModel.c +0 -368
- data/build/test/mocks/TestUsartConductor/MockUsartModel.h +0 -79
- data/build/test/mocks/TestUsartHardware/MockUsartConfigurator.c +0 -612
- data/build/test/mocks/TestUsartHardware/MockUsartConfigurator.h +0 -115
- data/build/test/mocks/TestUsartHardware/MockUsartPutChar.c +0 -142
- data/build/test/mocks/TestUsartHardware/MockUsartPutChar.h +0 -55
- data/build/test/mocks/TestUsartIntegrated/MockTaskScheduler.c +0 -458
- data/build/test/mocks/TestUsartIntegrated/MockTaskScheduler.h +0 -91
- data/build/test/mocks/TestUsartIntegrated/MockTemperatureFilter.c +0 -347
- data/build/test/mocks/TestUsartIntegrated/MockTemperatureFilter.h +0 -79
- data/build/test/mocks/TestUsartIntegrated/MockUsartBaudRateRegisterCalculator.c +0 -166
- data/build/test/mocks/TestUsartIntegrated/MockUsartBaudRateRegisterCalculator.h +0 -55
- data/build/test/mocks/TestUsartIntegrated/MockUsartConfigurator.c +0 -612
- data/build/test/mocks/TestUsartIntegrated/MockUsartConfigurator.h +0 -115
- data/build/test/mocks/TestUsartIntegrated/MockUsartPutChar.c +0 -142
- data/build/test/mocks/TestUsartIntegrated/MockUsartPutChar.h +0 -55
- data/build/test/mocks/TestUsartModel/MockTemperatureFilter.c +0 -347
- data/build/test/mocks/TestUsartModel/MockTemperatureFilter.h +0 -79
- data/build/test/mocks/TestUsartModel/MockUsartBaudRateRegisterCalculator.c +0 -166
- data/build/test/mocks/TestUsartModel/MockUsartBaudRateRegisterCalculator.h +0 -55
- data/build/test/out/TestAdcConductor/AdcConductor.o +0 -0
- data/build/test/out/TestAdcConductor/MockAdcHardware.o +0 -0
- data/build/test/out/TestAdcConductor/MockAdcModel.o +0 -0
- data/build/test/out/TestAdcConductor/TestAdcConductor.o +0 -0
- data/build/test/out/TestAdcConductor/TestAdcConductor.out +0 -0
- data/build/test/out/TestAdcConductor/TestAdcConductor_runner.o +0 -0
- data/build/test/out/TestAdcConductor/UnityHelper.o +0 -0
- data/build/test/out/TestAdcConductor/cmock.o +0 -0
- data/build/test/out/TestAdcConductor/unity.o +0 -0
- data/build/test/out/TestAdcHardware/AdcHardware.o +0 -0
- data/build/test/out/TestAdcHardware/MockAdcHardwareConfigurator.o +0 -0
- data/build/test/out/TestAdcHardware/MockAdcTemperatureSensor.o +0 -0
- data/build/test/out/TestAdcHardware/TestAdcHardware.o +0 -0
- data/build/test/out/TestAdcHardware/TestAdcHardware.out +0 -0
- data/build/test/out/TestAdcHardware/TestAdcHardware_runner.o +0 -0
- data/build/test/out/TestAdcHardware/UnityHelper.o +0 -0
- data/build/test/out/TestAdcHardware/cmock.o +0 -0
- data/build/test/out/TestAdcHardware/unity.o +0 -0
- data/build/test/out/TestAdcModel/AdcModel.o +0 -0
- data/build/test/out/TestAdcModel/MockTaskScheduler.o +0 -0
- data/build/test/out/TestAdcModel/MockTemperatureCalculator.o +0 -0
- data/build/test/out/TestAdcModel/MockTemperatureFilter.o +0 -0
- data/build/test/out/TestAdcModel/TestAdcModel.o +0 -0
- data/build/test/out/TestAdcModel/TestAdcModel.out +0 -0
- data/build/test/out/TestAdcModel/TestAdcModel_runner.o +0 -0
- data/build/test/out/TestAdcModel/UnityHelper.o +0 -0
- data/build/test/out/TestAdcModel/cmock.o +0 -0
- data/build/test/out/TestAdcModel/unity.o +0 -0
- data/build/test/out/TestExecutor/Executor.o +0 -0
- data/build/test/out/TestExecutor/MockAdcConductor.o +0 -0
- data/build/test/out/TestExecutor/MockIntrinsicsWrapper.o +0 -0
- data/build/test/out/TestExecutor/MockModel.o +0 -0
- data/build/test/out/TestExecutor/MockTimerConductor.o +0 -0
- data/build/test/out/TestExecutor/MockUsartConductor.o +0 -0
- data/build/test/out/TestExecutor/TestExecutor.o +0 -0
- data/build/test/out/TestExecutor/TestExecutor.out +0 -0
- data/build/test/out/TestExecutor/TestExecutor_runner.o +0 -0
- data/build/test/out/TestExecutor/UnityHelper.o +0 -0
- data/build/test/out/TestExecutor/cmock.o +0 -0
- data/build/test/out/TestExecutor/unity.o +0 -0
- data/build/test/out/TestMain/Main.o +0 -0
- data/build/test/out/TestMain/MockExecutor.o +0 -0
- data/build/test/out/TestMain/TestMain.o +0 -0
- data/build/test/out/TestMain/TestMain.out +0 -0
- data/build/test/out/TestMain/TestMain_runner.o +0 -0
- data/build/test/out/TestMain/UnityHelper.o +0 -0
- data/build/test/out/TestMain/cmock.o +0 -0
- data/build/test/out/TestMain/unity.o +0 -0
- data/build/test/out/TestModel/MockTaskScheduler.o +0 -0
- data/build/test/out/TestModel/MockTemperatureFilter.o +0 -0
- data/build/test/out/TestModel/Model.o +0 -0
- data/build/test/out/TestModel/TestModel.o +0 -0
- data/build/test/out/TestModel/TestModel.out +0 -0
- data/build/test/out/TestModel/TestModel_runner.o +0 -0
- data/build/test/out/TestModel/UnityHelper.o +0 -0
- data/build/test/out/TestModel/cmock.o +0 -0
- data/build/test/out/TestModel/unity.o +0 -0
- data/build/test/out/TestTaskScheduler/TaskScheduler.o +0 -0
- data/build/test/out/TestTaskScheduler/TestTaskScheduler.o +0 -0
- data/build/test/out/TestTaskScheduler/TestTaskScheduler.out +0 -0
- data/build/test/out/TestTaskScheduler/TestTaskScheduler_runner.o +0 -0
- data/build/test/out/TestTaskScheduler/UnityHelper.o +0 -0
- data/build/test/out/TestTaskScheduler/unity.o +0 -0
- data/build/test/out/TestTemperatureCalculator/TemperatureCalculator.o +0 -0
- data/build/test/out/TestTemperatureCalculator/TestTemperatureCalculator.o +0 -0
- data/build/test/out/TestTemperatureCalculator/TestTemperatureCalculator.out +0 -0
- data/build/test/out/TestTemperatureCalculator/TestTemperatureCalculator_runner.o +0 -0
- data/build/test/out/TestTemperatureCalculator/UnityHelper.o +0 -0
- data/build/test/out/TestTemperatureCalculator/unity.o +0 -0
- data/build/test/out/TestTemperatureFilter/TemperatureFilter.o +0 -0
- data/build/test/out/TestTemperatureFilter/TestTemperatureFilter.o +0 -0
- data/build/test/out/TestTemperatureFilter/TestTemperatureFilter.out +0 -0
- data/build/test/out/TestTemperatureFilter/TestTemperatureFilter_runner.o +0 -0
- data/build/test/out/TestTemperatureFilter/UnityHelper.o +0 -0
- data/build/test/out/TestTemperatureFilter/unity.o +0 -0
- data/build/test/out/TestTimerConductor/MockTimerHardware.o +0 -0
- data/build/test/out/TestTimerConductor/MockTimerInterruptHandler.o +0 -0
- data/build/test/out/TestTimerConductor/MockTimerModel.o +0 -0
- data/build/test/out/TestTimerConductor/TestTimerConductor.o +0 -0
- data/build/test/out/TestTimerConductor/TestTimerConductor.out +0 -0
- data/build/test/out/TestTimerConductor/TestTimerConductor_runner.o +0 -0
- data/build/test/out/TestTimerConductor/TimerConductor.o +0 -0
- data/build/test/out/TestTimerConductor/UnityHelper.o +0 -0
- data/build/test/out/TestTimerConductor/cmock.o +0 -0
- data/build/test/out/TestTimerConductor/unity.o +0 -0
- data/build/test/out/TestTimerHardware/MockTimerConfigurator.o +0 -0
- data/build/test/out/TestTimerHardware/TestTimerHardware.o +0 -0
- data/build/test/out/TestTimerHardware/TestTimerHardware.out +0 -0
- data/build/test/out/TestTimerHardware/TestTimerHardware_runner.o +0 -0
- data/build/test/out/TestTimerHardware/TimerHardware.o +0 -0
- data/build/test/out/TestTimerHardware/UnityHelper.o +0 -0
- data/build/test/out/TestTimerHardware/cmock.o +0 -0
- data/build/test/out/TestTimerHardware/unity.o +0 -0
- data/build/test/out/TestTimerIntegrated/MockTaskScheduler.o +0 -0
- data/build/test/out/TestTimerIntegrated/MockTimerConfigurator.o +0 -0
- data/build/test/out/TestTimerIntegrated/MockTimerInterruptHandler.o +0 -0
- data/build/test/out/TestTimerIntegrated/TestTimerIntegrated.o +0 -0
- data/build/test/out/TestTimerIntegrated/TestTimerIntegrated.out +0 -0
- data/build/test/out/TestTimerIntegrated/TestTimerIntegrated_runner.o +0 -0
- data/build/test/out/TestTimerIntegrated/TimerConductor.o +0 -0
- data/build/test/out/TestTimerIntegrated/TimerHardware.o +0 -0
- data/build/test/out/TestTimerIntegrated/TimerModel.o +0 -0
- data/build/test/out/TestTimerIntegrated/UnityHelper.o +0 -0
- data/build/test/out/TestTimerIntegrated/cmock.o +0 -0
- data/build/test/out/TestTimerIntegrated/unity.o +0 -0
- data/build/test/out/TestTimerModel/MockTaskScheduler.o +0 -0
- data/build/test/out/TestTimerModel/TestTimerModel.o +0 -0
- data/build/test/out/TestTimerModel/TestTimerModel.out +0 -0
- data/build/test/out/TestTimerModel/TestTimerModel_runner.o +0 -0
- data/build/test/out/TestTimerModel/TimerModel.o +0 -0
- data/build/test/out/TestTimerModel/UnityHelper.o +0 -0
- data/build/test/out/TestTimerModel/cmock.o +0 -0
- data/build/test/out/TestTimerModel/unity.o +0 -0
- data/build/test/out/TestUsartBaudRateRegisterCalculator/TestUsartBaudRateRegisterCalculator.o +0 -0
- data/build/test/out/TestUsartBaudRateRegisterCalculator/TestUsartBaudRateRegisterCalculator.out +0 -0
- data/build/test/out/TestUsartBaudRateRegisterCalculator/TestUsartBaudRateRegisterCalculator_runner.o +0 -0
- data/build/test/out/TestUsartBaudRateRegisterCalculator/UnityHelper.o +0 -0
- data/build/test/out/TestUsartBaudRateRegisterCalculator/UsartBaudRateRegisterCalculator.o +0 -0
- data/build/test/out/TestUsartBaudRateRegisterCalculator/unity.o +0 -0
- data/build/test/out/TestUsartConductor/MockTaskScheduler.o +0 -0
- data/build/test/out/TestUsartConductor/MockUsartHardware.o +0 -0
- data/build/test/out/TestUsartConductor/MockUsartModel.o +0 -0
- data/build/test/out/TestUsartConductor/TestUsartConductor.o +0 -0
- data/build/test/out/TestUsartConductor/TestUsartConductor.out +0 -0
- data/build/test/out/TestUsartConductor/TestUsartConductor_runner.o +0 -0
- data/build/test/out/TestUsartConductor/UnityHelper.o +0 -0
- data/build/test/out/TestUsartConductor/UsartConductor.o +0 -0
- data/build/test/out/TestUsartConductor/cmock.o +0 -0
- data/build/test/out/TestUsartConductor/unity.o +0 -0
- data/build/test/out/TestUsartHardware/MockUsartConfigurator.o +0 -0
- data/build/test/out/TestUsartHardware/MockUsartPutChar.o +0 -0
- data/build/test/out/TestUsartHardware/TestUsartHardware.o +0 -0
- data/build/test/out/TestUsartHardware/TestUsartHardware.out +0 -0
- data/build/test/out/TestUsartHardware/TestUsartHardware_runner.o +0 -0
- data/build/test/out/TestUsartHardware/UnityHelper.o +0 -0
- data/build/test/out/TestUsartHardware/UsartHardware.o +0 -0
- data/build/test/out/TestUsartHardware/cmock.o +0 -0
- data/build/test/out/TestUsartHardware/unity.o +0 -0
- data/build/test/out/TestUsartIntegrated/MockTaskScheduler.o +0 -0
- data/build/test/out/TestUsartIntegrated/MockTemperatureFilter.o +0 -0
- data/build/test/out/TestUsartIntegrated/MockUsartBaudRateRegisterCalculator.o +0 -0
- data/build/test/out/TestUsartIntegrated/MockUsartConfigurator.o +0 -0
- data/build/test/out/TestUsartIntegrated/MockUsartPutChar.o +0 -0
- data/build/test/out/TestUsartIntegrated/TestUsartIntegrated.o +0 -0
- data/build/test/out/TestUsartIntegrated/TestUsartIntegrated.out +0 -0
- data/build/test/out/TestUsartIntegrated/TestUsartIntegrated_runner.o +0 -0
- data/build/test/out/TestUsartIntegrated/UnityHelper.o +0 -0
- data/build/test/out/TestUsartIntegrated/UsartConductor.o +0 -0
- data/build/test/out/TestUsartIntegrated/UsartHardware.o +0 -0
- data/build/test/out/TestUsartIntegrated/UsartModel.o +0 -0
- data/build/test/out/TestUsartIntegrated/cmock.o +0 -0
- data/build/test/out/TestUsartIntegrated/unity.o +0 -0
- data/build/test/out/TestUsartModel/MockTemperatureFilter.o +0 -0
- data/build/test/out/TestUsartModel/MockUsartBaudRateRegisterCalculator.o +0 -0
- data/build/test/out/TestUsartModel/TestUsartModel.o +0 -0
- data/build/test/out/TestUsartModel/TestUsartModel.out +0 -0
- data/build/test/out/TestUsartModel/TestUsartModel_runner.o +0 -0
- data/build/test/out/TestUsartModel/UnityHelper.o +0 -0
- data/build/test/out/TestUsartModel/UsartModel.o +0 -0
- data/build/test/out/TestUsartModel/cmock.o +0 -0
- data/build/test/out/TestUsartModel/unity.o +0 -0
- data/build/test/preprocess/files/TestAdcConductor/AdcHardware.h +0 -16
- data/build/test/preprocess/files/TestAdcConductor/AdcModel.h +0 -18
- data/build/test/preprocess/files/TestAdcConductor/TestAdcConductor.c +0 -106
- data/build/test/preprocess/files/TestAdcHardware/AdcHardwareConfigurator.h +0 -14
- data/build/test/preprocess/files/TestAdcHardware/AdcTemperatureSensor.h +0 -14
- data/build/test/preprocess/files/TestAdcHardware/TestAdcHardware.c +0 -59
- data/build/test/preprocess/files/TestAdcModel/TaskScheduler.h +0 -16
- data/build/test/preprocess/files/TestAdcModel/TemperatureCalculator.h +0 -10
- data/build/test/preprocess/files/TestAdcModel/TemperatureFilter.h +0 -14
- data/build/test/preprocess/files/TestAdcModel/TestAdcModel.c +0 -41
- data/build/test/preprocess/files/TestExecutor/AdcConductor.h +0 -18
- data/build/test/preprocess/files/TestExecutor/IntrinsicsWrapper.h +0 -10
- data/build/test/preprocess/files/TestExecutor/Model.h +0 -10
- data/build/test/preprocess/files/TestExecutor/TestExecutor.c +0 -45
- data/build/test/preprocess/files/TestExecutor/TimerConductor.h +0 -12
- data/build/test/preprocess/files/TestExecutor/UsartConductor.h +0 -10
- data/build/test/preprocess/files/TestMain/Executor.h +0 -12
- data/build/test/preprocess/files/TestMain/TestMain.c +0 -31
- data/build/test/preprocess/files/TestModel/TaskScheduler.h +0 -16
- data/build/test/preprocess/files/TestModel/TemperatureFilter.h +0 -14
- data/build/test/preprocess/files/TestModel/TestModel.c +0 -24
- data/build/test/preprocess/files/TestTaskScheduler/TestTaskScheduler.c +0 -168
- data/build/test/preprocess/files/TestTemperatureCalculator/TestTemperatureCalculator.c +0 -52
- data/build/test/preprocess/files/TestTemperatureFilter/TestTemperatureFilter.c +0 -163
- data/build/test/preprocess/files/TestTimerConductor/TestTimerConductor.c +0 -38
- data/build/test/preprocess/files/TestTimerConductor/TimerHardware.h +0 -10
- data/build/test/preprocess/files/TestTimerConductor/TimerInterruptHandler.h +0 -14
- data/build/test/preprocess/files/TestTimerConductor/TimerModel.h +0 -10
- data/build/test/preprocess/files/TestTimerHardware/TestTimerHardware.c +0 -35
- data/build/test/preprocess/files/TestTimerHardware/TimerConfigurator.h +0 -24
- data/build/test/preprocess/files/TestTimerIntegrated/TaskScheduler.h +0 -16
- data/build/test/preprocess/files/TestTimerIntegrated/TestTimerIntegrated.c +0 -54
- data/build/test/preprocess/files/TestTimerIntegrated/TimerConfigurator.h +0 -24
- data/build/test/preprocess/files/TestTimerIntegrated/TimerInterruptHandler.h +0 -14
- data/build/test/preprocess/files/TestTimerModel/TaskScheduler.h +0 -16
- data/build/test/preprocess/files/TestTimerModel/TestTimerModel.c +0 -21
- data/build/test/preprocess/files/TestUsartBaudRateRegisterCalculator/TestUsartBaudRateRegisterCalculator.c +0 -46
- data/build/test/preprocess/files/TestUsartConductor/TaskScheduler.h +0 -16
- data/build/test/preprocess/files/TestUsartConductor/TestUsartConductor.c +0 -47
- data/build/test/preprocess/files/TestUsartConductor/UsartHardware.h +0 -12
- data/build/test/preprocess/files/TestUsartConductor/UsartModel.h +0 -14
- data/build/test/preprocess/files/TestUsartHardware/TestUsartHardware.c +0 -47
- data/build/test/preprocess/files/TestUsartHardware/UsartConfigurator.h +0 -20
- data/build/test/preprocess/files/TestUsartHardware/UsartPutChar.h +0 -10
- data/build/test/preprocess/files/TestUsartIntegrated/TaskScheduler.h +0 -16
- data/build/test/preprocess/files/TestUsartIntegrated/TemperatureFilter.h +0 -14
- data/build/test/preprocess/files/TestUsartIntegrated/TestUsartIntegrated.c +0 -57
- data/build/test/preprocess/files/TestUsartIntegrated/UsartBaudRateRegisterCalculator.h +0 -10
- data/build/test/preprocess/files/TestUsartIntegrated/UsartConfigurator.h +0 -20
- data/build/test/preprocess/files/TestUsartIntegrated/UsartPutChar.h +0 -10
- data/build/test/preprocess/files/TestUsartModel/TemperatureFilter.h +0 -14
- data/build/test/preprocess/files/TestUsartModel/TestUsartModel.c +0 -64
- data/build/test/preprocess/files/TestUsartModel/UsartBaudRateRegisterCalculator.h +0 -10
- data/build/test/preprocess/includes/TestAdcConductor/AdcHardware.h.yml +0 -2
- data/build/test/preprocess/includes/TestAdcConductor/AdcModel.h.yml +0 -2
- data/build/test/preprocess/includes/TestAdcConductor/TestAdcConductor.c.yml +0 -7
- data/build/test/preprocess/includes/TestAdcHardware/AdcHardwareConfigurator.h.yml +0 -2
- data/build/test/preprocess/includes/TestAdcHardware/AdcTemperatureSensor.h.yml +0 -2
- data/build/test/preprocess/includes/TestAdcHardware/TestAdcHardware.c.yml +0 -6
- data/build/test/preprocess/includes/TestAdcModel/TaskScheduler.h.yml +0 -2
- data/build/test/preprocess/includes/TestAdcModel/TemperatureCalculator.h.yml +0 -2
- data/build/test/preprocess/includes/TestAdcModel/TemperatureFilter.h.yml +0 -2
- data/build/test/preprocess/includes/TestAdcModel/TestAdcModel.c.yml +0 -7
- data/build/test/preprocess/includes/TestExecutor/AdcConductor.h.yml +0 -2
- data/build/test/preprocess/includes/TestExecutor/IntrinsicsWrapper.h.yml +0 -1
- data/build/test/preprocess/includes/TestExecutor/Model.h.yml +0 -2
- data/build/test/preprocess/includes/TestExecutor/TestExecutor.c.yml +0 -9
- data/build/test/preprocess/includes/TestExecutor/TimerConductor.h.yml +0 -2
- data/build/test/preprocess/includes/TestExecutor/UsartConductor.h.yml +0 -1
- data/build/test/preprocess/includes/TestMain/Executor.h.yml +0 -2
- data/build/test/preprocess/includes/TestMain/TestMain.c.yml +0 -5
- data/build/test/preprocess/includes/TestModel/TaskScheduler.h.yml +0 -2
- data/build/test/preprocess/includes/TestModel/TemperatureFilter.h.yml +0 -2
- data/build/test/preprocess/includes/TestModel/TestModel.c.yml +0 -6
- data/build/test/preprocess/includes/TestTaskScheduler/TestTaskScheduler.c.yml +0 -4
- data/build/test/preprocess/includes/TestTemperatureCalculator/TestTemperatureCalculator.c.yml +0 -3
- data/build/test/preprocess/includes/TestTemperatureFilter/TestTemperatureFilter.c.yml +0 -4
- data/build/test/preprocess/includes/TestTimerConductor/TestTimerConductor.c.yml +0 -7
- data/build/test/preprocess/includes/TestTimerConductor/TimerHardware.h.yml +0 -2
- data/build/test/preprocess/includes/TestTimerConductor/TimerInterruptHandler.h.yml +0 -2
- data/build/test/preprocess/includes/TestTimerConductor/TimerModel.h.yml +0 -2
- data/build/test/preprocess/includes/TestTimerHardware/TestTimerHardware.c.yml +0 -5
- data/build/test/preprocess/includes/TestTimerHardware/TimerConfigurator.h.yml +0 -2
- data/build/test/preprocess/includes/TestTimerIntegrated/TaskScheduler.h.yml +0 -2
- data/build/test/preprocess/includes/TestTimerIntegrated/TestTimerIntegrated.c.yml +0 -9
- data/build/test/preprocess/includes/TestTimerIntegrated/TimerConfigurator.h.yml +0 -2
- data/build/test/preprocess/includes/TestTimerIntegrated/TimerInterruptHandler.h.yml +0 -2
- data/build/test/preprocess/includes/TestTimerModel/TaskScheduler.h.yml +0 -2
- data/build/test/preprocess/includes/TestTimerModel/TestTimerModel.c.yml +0 -5
- data/build/test/preprocess/includes/TestUsartBaudRateRegisterCalculator/TestUsartBaudRateRegisterCalculator.c.yml +0 -4
- data/build/test/preprocess/includes/TestUsartConductor/TaskScheduler.h.yml +0 -2
- data/build/test/preprocess/includes/TestUsartConductor/TestUsartConductor.c.yml +0 -7
- data/build/test/preprocess/includes/TestUsartConductor/UsartHardware.h.yml +0 -2
- data/build/test/preprocess/includes/TestUsartConductor/UsartModel.h.yml +0 -2
- data/build/test/preprocess/includes/TestUsartHardware/TestUsartHardware.c.yml +0 -6
- data/build/test/preprocess/includes/TestUsartHardware/UsartConfigurator.h.yml +0 -2
- data/build/test/preprocess/includes/TestUsartHardware/UsartPutChar.h.yml +0 -2
- data/build/test/preprocess/includes/TestUsartIntegrated/TaskScheduler.h.yml +0 -2
- data/build/test/preprocess/includes/TestUsartIntegrated/TemperatureFilter.h.yml +0 -2
- data/build/test/preprocess/includes/TestUsartIntegrated/TestUsartIntegrated.c.yml +0 -12
- data/build/test/preprocess/includes/TestUsartIntegrated/UsartBaudRateRegisterCalculator.h.yml +0 -2
- data/build/test/preprocess/includes/TestUsartIntegrated/UsartConfigurator.h.yml +0 -2
- data/build/test/preprocess/includes/TestUsartIntegrated/UsartPutChar.h.yml +0 -2
- data/build/test/preprocess/includes/TestUsartModel/TemperatureFilter.h.yml +0 -2
- data/build/test/preprocess/includes/TestUsartModel/TestUsartModel.c.yml +0 -7
- data/build/test/preprocess/includes/TestUsartModel/UsartBaudRateRegisterCalculator.h.yml +0 -2
- data/build/test/results/TestAdcConductor.pass +0 -47
- data/build/test/results/TestAdcHardware.pass +0 -31
- data/build/test/results/TestAdcModel.pass +0 -27
- data/build/test/results/TestExecutor.pass +0 -23
- data/build/test/results/TestMain.pass +0 -19
- data/build/test/results/TestModel.pass +0 -19
- data/build/test/results/TestTaskScheduler.pass +0 -47
- data/build/test/results/TestTemperatureCalculator.pass +0 -23
- data/build/test/results/TestTemperatureFilter.pass +0 -31
- data/build/test/results/TestTimerConductor.pass +0 -23
- data/build/test/results/TestTimerHardware.pass +0 -19
- data/build/test/results/TestTimerIntegrated.pass +0 -23
- data/build/test/results/TestTimerModel.pass +0 -19
- data/build/test/results/TestUsartBaudRateRegisterCalculator.pass +0 -19
- data/build/test/results/TestUsartConductor.pass +0 -27
- data/build/test/results/TestUsartHardware.pass +0 -23
- data/build/test/results/TestUsartIntegrated.pass +0 -23
- data/build/test/results/TestUsartModel.pass +0 -31
- data/build/test/runners/TestAdcConductor_runner.c +0 -109
- data/build/test/runners/TestAdcHardware_runner.c +0 -100
- data/build/test/runners/TestAdcModel_runner.c +0 -102
- data/build/test/runners/TestExecutor_runner.c +0 -108
- data/build/test/runners/TestMain_runner.c +0 -90
- data/build/test/runners/TestModel_runner.c +0 -94
- data/build/test/runners/TestTaskScheduler_runner.c +0 -98
- data/build/test/runners/TestTemperatureCalculator_runner.c +0 -85
- data/build/test/runners/TestTemperatureFilter_runner.c +0 -90
- data/build/test/runners/TestTimerConductor_runner.c +0 -100
- data/build/test/runners/TestTimerHardware_runner.c +0 -90
- data/build/test/runners/TestTimerIntegrated_runner.c +0 -102
- data/build/test/runners/TestTimerModel_runner.c +0 -90
- data/build/test/runners/TestUsartBaudRateRegisterCalculator_runner.c +0 -84
- data/build/test/runners/TestUsartConductor_runner.c +0 -102
- data/build/test/runners/TestUsartHardware_runner.c +0 -96
- data/build/test/runners/TestUsartIntegrated_runner.c +0 -111
- data/build/test/runners/TestUsartModel_runner.c +0 -101
- data/build/vendor/cmock/src/cmock.c +0 -231
- data/build/vendor/cmock/src/cmock.h +0 -47
- data/build/vendor/cmock/src/cmock_internals.h +0 -91
- data/build/vendor/cmock/src/meson.build +0 -12
- data/build/vendor/unity/src/meson.build +0 -17
- data/build/vendor/unity/src/unity.c +0 -2501
- data/build/vendor/unity/src/unity.h +0 -698
- data/build/vendor/unity/src/unity_internals.h +0 -1183
- data/ceedling.sublime-project +0 -28
- data/ceedling.sublime-workspace +0 -6146
- data/docs/CeedlingPacket.md +0 -5654
- data/docs/CeedlingUpgrade.md +0 -83
- data/docs/PluginDevelopmentGuide.md +0 -764
- data/examples/temp_sensor/build/test/dependencies/AdcConductor.d +0 -2
- data/examples/temp_sensor/build/test/dependencies/AdcHardware.d +0 -3
- data/examples/temp_sensor/build/test/dependencies/AdcModel.d +0 -3
- data/examples/temp_sensor/build/test/dependencies/Executor.d +0 -3
- data/examples/temp_sensor/build/test/dependencies/Main.d +0 -10
- data/examples/temp_sensor/build/test/dependencies/MockAdcConductor.d +0 -7
- data/examples/temp_sensor/build/test/dependencies/MockAdcHardware.d +0 -7
- data/examples/temp_sensor/build/test/dependencies/MockAdcHardwareConfigurator.d +0 -8
- data/examples/temp_sensor/build/test/dependencies/MockAdcModel.d +0 -7
- data/examples/temp_sensor/build/test/dependencies/MockAdcTemperatureSensor.d +0 -8
- data/examples/temp_sensor/build/test/dependencies/MockExecutor.d +0 -7
- data/examples/temp_sensor/build/test/dependencies/MockIntrinsicsWrapper.d +0 -7
- data/examples/temp_sensor/build/test/dependencies/MockModel.d +0 -7
- data/examples/temp_sensor/build/test/dependencies/MockTaskScheduler.d +0 -7
- data/examples/temp_sensor/build/test/dependencies/MockTemperatureCalculator.d +0 -8
- data/examples/temp_sensor/build/test/dependencies/MockTemperatureFilter.d +0 -8
- data/examples/temp_sensor/build/test/dependencies/MockTimerConductor.d +0 -7
- data/examples/temp_sensor/build/test/dependencies/MockTimerConfigurator.d +0 -8
- data/examples/temp_sensor/build/test/dependencies/MockTimerHardware.d +0 -7
- data/examples/temp_sensor/build/test/dependencies/MockTimerInterruptHandler.d +0 -8
- data/examples/temp_sensor/build/test/dependencies/MockTimerModel.d +0 -7
- data/examples/temp_sensor/build/test/dependencies/MockUsartBaudRateRegisterCalculator.d +0 -8
- data/examples/temp_sensor/build/test/dependencies/MockUsartConductor.d +0 -7
- data/examples/temp_sensor/build/test/dependencies/MockUsartConfigurator.d +0 -8
- data/examples/temp_sensor/build/test/dependencies/MockUsartHardware.d +0 -7
- data/examples/temp_sensor/build/test/dependencies/MockUsartModel.d +0 -7
- data/examples/temp_sensor/build/test/dependencies/MockUsartPutChar.d +0 -7
- data/examples/temp_sensor/build/test/dependencies/Model.d +0 -2
- data/examples/temp_sensor/build/test/dependencies/TaskScheduler.d +0 -2
- data/examples/temp_sensor/build/test/dependencies/TemperatureCalculator.d +0 -2
- data/examples/temp_sensor/build/test/dependencies/TemperatureFilter.d +0 -2
- data/examples/temp_sensor/build/test/dependencies/TestAdcConductor.d +0 -6
- data/examples/temp_sensor/build/test/dependencies/TestAdcConductor_runner.d +0 -7
- data/examples/temp_sensor/build/test/dependencies/TestAdcHardware.d +0 -8
- data/examples/temp_sensor/build/test/dependencies/TestAdcHardware_runner.d +0 -9
- data/examples/temp_sensor/build/test/dependencies/TestAdcModel.d +0 -9
- data/examples/temp_sensor/build/test/dependencies/TestAdcModel_runner.d +0 -10
- data/examples/temp_sensor/build/test/dependencies/TestExecutor.d +0 -10
- data/examples/temp_sensor/build/test/dependencies/TestExecutor_runner.d +0 -11
- data/examples/temp_sensor/build/test/dependencies/TestMain.d +0 -4
- data/examples/temp_sensor/build/test/dependencies/TestMain_runner.d +0 -6
- data/examples/temp_sensor/build/test/dependencies/TestModel.d +0 -7
- data/examples/temp_sensor/build/test/dependencies/TestModel_runner.d +0 -8
- data/examples/temp_sensor/build/test/dependencies/TestTaskScheduler.d +0 -4
- data/examples/temp_sensor/build/test/dependencies/TestTaskScheduler_runner.d +0 -4
- data/examples/temp_sensor/build/test/dependencies/TestTemperatureCalculator.d +0 -3
- data/examples/temp_sensor/build/test/dependencies/TestTemperatureCalculator_runner.d +0 -4
- data/examples/temp_sensor/build/test/dependencies/TestTemperatureFilter.d +0 -4
- data/examples/temp_sensor/build/test/dependencies/TestTemperatureFilter_runner.d +0 -4
- data/examples/temp_sensor/build/test/dependencies/TestTimerConductor.d +0 -9
- data/examples/temp_sensor/build/test/dependencies/TestTimerConductor_runner.d +0 -10
- data/examples/temp_sensor/build/test/dependencies/TestTimerHardware.d +0 -5
- data/examples/temp_sensor/build/test/dependencies/TestTimerHardware_runner.d +0 -7
- data/examples/temp_sensor/build/test/dependencies/TestTimerIntegrated.d +0 -10
- data/examples/temp_sensor/build/test/dependencies/TestTimerIntegrated_runner.d +0 -12
- data/examples/temp_sensor/build/test/dependencies/TestTimerModel.d +0 -5
- data/examples/temp_sensor/build/test/dependencies/TestTimerModel_runner.d +0 -7
- data/examples/temp_sensor/build/test/dependencies/TestUsartBaudRateRegisterCalculator.d +0 -4
- data/examples/temp_sensor/build/test/dependencies/TestUsartBaudRateRegisterCalculator_runner.d +0 -4
- data/examples/temp_sensor/build/test/dependencies/TestUsartConductor.d +0 -10
- data/examples/temp_sensor/build/test/dependencies/TestUsartConductor_runner.d +0 -11
- data/examples/temp_sensor/build/test/dependencies/TestUsartHardware.d +0 -6
- data/examples/temp_sensor/build/test/dependencies/TestUsartHardware_runner.d +0 -8
- data/examples/temp_sensor/build/test/dependencies/TestUsartIntegrated.d +0 -15
- data/examples/temp_sensor/build/test/dependencies/TestUsartIntegrated_runner.d +0 -16
- data/examples/temp_sensor/build/test/dependencies/TestUsartModel.d +0 -7
- data/examples/temp_sensor/build/test/dependencies/TestUsartModel_runner.d +0 -9
- data/examples/temp_sensor/build/test/dependencies/TimerConductor.d +0 -3
- data/examples/temp_sensor/build/test/dependencies/TimerHardware.d +0 -2
- data/examples/temp_sensor/build/test/dependencies/TimerModel.d +0 -2
- data/examples/temp_sensor/build/test/dependencies/UnityHelper.d +0 -4
- data/examples/temp_sensor/build/test/dependencies/UsartBaudRateRegisterCalculator.d +0 -3
- data/examples/temp_sensor/build/test/dependencies/UsartConductor.d +0 -3
- data/examples/temp_sensor/build/test/dependencies/UsartHardware.d +0 -3
- data/examples/temp_sensor/build/test/dependencies/UsartModel.d +0 -3
- data/examples/temp_sensor/build/test/dependencies/cmock.d +0 -3
- data/examples/temp_sensor/build/test/dependencies/unity.d +0 -2
- data/examples/temp_sensor/build/test/mocks/TestAdcConductor/MockAdcHardware.c +0 -445
- data/examples/temp_sensor/build/test/mocks/TestAdcConductor/MockAdcHardware.h +0 -91
- data/examples/temp_sensor/build/test/mocks/TestAdcConductor/MockAdcModel.c +0 -618
- data/examples/temp_sensor/build/test/mocks/TestAdcConductor/MockAdcModel.h +0 -103
- data/examples/temp_sensor/build/test/mocks/TestAdcHardware/MockAdcHardwareConfigurator.c +0 -317
- data/examples/temp_sensor/build/test/mocks/TestAdcHardware/MockAdcHardwareConfigurator.h +0 -79
- data/examples/temp_sensor/build/test/mocks/TestAdcHardware/MockAdcTemperatureSensor.c +0 -351
- data/examples/temp_sensor/build/test/mocks/TestAdcHardware/MockAdcTemperatureSensor.h +0 -79
- data/examples/temp_sensor/build/test/mocks/TestAdcModel/MockTaskScheduler.c +0 -458
- data/examples/temp_sensor/build/test/mocks/TestAdcModel/MockTaskScheduler.h +0 -91
- data/examples/temp_sensor/build/test/mocks/TestAdcModel/MockTemperatureCalculator.c +0 -159
- data/examples/temp_sensor/build/test/mocks/TestAdcModel/MockTemperatureCalculator.h +0 -55
- data/examples/temp_sensor/build/test/mocks/TestAdcModel/MockTemperatureFilter.c +0 -347
- data/examples/temp_sensor/build/test/mocks/TestAdcModel/MockTemperatureFilter.h +0 -79
- data/examples/temp_sensor/build/test/mocks/TestExecutor/MockAdcConductor.c +0 -556
- data/examples/temp_sensor/build/test/mocks/TestExecutor/MockAdcConductor.h +0 -103
- data/examples/temp_sensor/build/test/mocks/TestExecutor/MockIntrinsicsWrapper.c +0 -223
- data/examples/temp_sensor/build/test/mocks/TestExecutor/MockIntrinsicsWrapper.h +0 -67
- data/examples/temp_sensor/build/test/mocks/TestExecutor/MockModel.c +0 -129
- data/examples/temp_sensor/build/test/mocks/TestExecutor/MockModel.h +0 -55
- data/examples/temp_sensor/build/test/mocks/TestExecutor/MockTimerConductor.c +0 -223
- data/examples/temp_sensor/build/test/mocks/TestExecutor/MockTimerConductor.h +0 -67
- data/examples/temp_sensor/build/test/mocks/TestExecutor/MockUsartConductor.c +0 -223
- data/examples/temp_sensor/build/test/mocks/TestExecutor/MockUsartConductor.h +0 -67
- data/examples/temp_sensor/build/test/mocks/TestMain/MockExecutor.c +0 -240
- data/examples/temp_sensor/build/test/mocks/TestMain/MockExecutor.h +0 -67
- data/examples/temp_sensor/build/test/mocks/TestModel/MockTaskScheduler.c +0 -458
- data/examples/temp_sensor/build/test/mocks/TestModel/MockTaskScheduler.h +0 -91
- data/examples/temp_sensor/build/test/mocks/TestModel/MockTemperatureFilter.c +0 -347
- data/examples/temp_sensor/build/test/mocks/TestModel/MockTemperatureFilter.h +0 -79
- data/examples/temp_sensor/build/test/mocks/TestTimerConductor/MockTimerHardware.c +0 -129
- data/examples/temp_sensor/build/test/mocks/TestTimerConductor/MockTimerHardware.h +0 -55
- data/examples/temp_sensor/build/test/mocks/TestTimerConductor/MockTimerInterruptHandler.c +0 -347
- data/examples/temp_sensor/build/test/mocks/TestTimerConductor/MockTimerInterruptHandler.h +0 -79
- data/examples/temp_sensor/build/test/mocks/TestTimerConductor/MockTimerModel.c +0 -142
- data/examples/temp_sensor/build/test/mocks/TestTimerConductor/MockTimerModel.h +0 -55
- data/examples/temp_sensor/build/test/mocks/TestTimerHardware/MockTimerConfigurator.c +0 -787
- data/examples/temp_sensor/build/test/mocks/TestTimerHardware/MockTimerConfigurator.h +0 -139
- data/examples/temp_sensor/build/test/mocks/TestTimerIntegrated/MockTaskScheduler.c +0 -458
- data/examples/temp_sensor/build/test/mocks/TestTimerIntegrated/MockTaskScheduler.h +0 -91
- data/examples/temp_sensor/build/test/mocks/TestTimerIntegrated/MockTimerConfigurator.c +0 -787
- data/examples/temp_sensor/build/test/mocks/TestTimerIntegrated/MockTimerConfigurator.h +0 -139
- data/examples/temp_sensor/build/test/mocks/TestTimerIntegrated/MockTimerInterruptHandler.c +0 -347
- data/examples/temp_sensor/build/test/mocks/TestTimerIntegrated/MockTimerInterruptHandler.h +0 -79
- data/examples/temp_sensor/build/test/mocks/TestTimerModel/MockTaskScheduler.c +0 -458
- data/examples/temp_sensor/build/test/mocks/TestTimerModel/MockTaskScheduler.h +0 -91
- data/examples/temp_sensor/build/test/mocks/TestUsartConductor/MockTaskScheduler.c +0 -458
- data/examples/temp_sensor/build/test/mocks/TestUsartConductor/MockTaskScheduler.h +0 -91
- data/examples/temp_sensor/build/test/mocks/TestUsartConductor/MockUsartHardware.c +0 -249
- data/examples/temp_sensor/build/test/mocks/TestUsartConductor/MockUsartHardware.h +0 -67
- data/examples/temp_sensor/build/test/mocks/TestUsartConductor/MockUsartModel.c +0 -368
- data/examples/temp_sensor/build/test/mocks/TestUsartConductor/MockUsartModel.h +0 -79
- data/examples/temp_sensor/build/test/mocks/TestUsartHardware/MockUsartConfigurator.c +0 -612
- data/examples/temp_sensor/build/test/mocks/TestUsartHardware/MockUsartConfigurator.h +0 -115
- data/examples/temp_sensor/build/test/mocks/TestUsartHardware/MockUsartPutChar.c +0 -142
- data/examples/temp_sensor/build/test/mocks/TestUsartHardware/MockUsartPutChar.h +0 -55
- data/examples/temp_sensor/build/test/mocks/TestUsartIntegrated/MockTaskScheduler.c +0 -458
- data/examples/temp_sensor/build/test/mocks/TestUsartIntegrated/MockTaskScheduler.h +0 -91
- data/examples/temp_sensor/build/test/mocks/TestUsartIntegrated/MockTemperatureFilter.c +0 -347
- data/examples/temp_sensor/build/test/mocks/TestUsartIntegrated/MockTemperatureFilter.h +0 -79
- data/examples/temp_sensor/build/test/mocks/TestUsartIntegrated/MockUsartBaudRateRegisterCalculator.c +0 -166
- data/examples/temp_sensor/build/test/mocks/TestUsartIntegrated/MockUsartBaudRateRegisterCalculator.h +0 -55
- data/examples/temp_sensor/build/test/mocks/TestUsartIntegrated/MockUsartConfigurator.c +0 -612
- data/examples/temp_sensor/build/test/mocks/TestUsartIntegrated/MockUsartConfigurator.h +0 -115
- data/examples/temp_sensor/build/test/mocks/TestUsartIntegrated/MockUsartPutChar.c +0 -142
- data/examples/temp_sensor/build/test/mocks/TestUsartIntegrated/MockUsartPutChar.h +0 -55
- data/examples/temp_sensor/build/test/mocks/TestUsartModel/MockTemperatureFilter.c +0 -347
- data/examples/temp_sensor/build/test/mocks/TestUsartModel/MockTemperatureFilter.h +0 -79
- data/examples/temp_sensor/build/test/mocks/TestUsartModel/MockUsartBaudRateRegisterCalculator.c +0 -166
- data/examples/temp_sensor/build/test/mocks/TestUsartModel/MockUsartBaudRateRegisterCalculator.h +0 -55
- data/examples/temp_sensor/build/test/out/TestAdcConductor/AdcConductor.o +0 -0
- data/examples/temp_sensor/build/test/out/TestAdcConductor/MockAdcHardware.o +0 -0
- data/examples/temp_sensor/build/test/out/TestAdcConductor/MockAdcModel.o +0 -0
- data/examples/temp_sensor/build/test/out/TestAdcConductor/TestAdcConductor.o +0 -0
- data/examples/temp_sensor/build/test/out/TestAdcConductor/TestAdcConductor.out +0 -0
- data/examples/temp_sensor/build/test/out/TestAdcConductor/TestAdcConductor_runner.o +0 -0
- data/examples/temp_sensor/build/test/out/TestAdcConductor/UnityHelper.o +0 -0
- data/examples/temp_sensor/build/test/out/TestAdcConductor/cmock.o +0 -0
- data/examples/temp_sensor/build/test/out/TestAdcConductor/unity.o +0 -0
- data/examples/temp_sensor/build/test/out/TestAdcHardware/AdcHardware.o +0 -0
- data/examples/temp_sensor/build/test/out/TestAdcHardware/MockAdcHardwareConfigurator.o +0 -0
- data/examples/temp_sensor/build/test/out/TestAdcHardware/MockAdcTemperatureSensor.o +0 -0
- data/examples/temp_sensor/build/test/out/TestAdcHardware/TestAdcHardware.o +0 -0
- data/examples/temp_sensor/build/test/out/TestAdcHardware/TestAdcHardware.out +0 -0
- data/examples/temp_sensor/build/test/out/TestAdcHardware/TestAdcHardware_runner.o +0 -0
- data/examples/temp_sensor/build/test/out/TestAdcHardware/UnityHelper.o +0 -0
- data/examples/temp_sensor/build/test/out/TestAdcHardware/cmock.o +0 -0
- data/examples/temp_sensor/build/test/out/TestAdcHardware/unity.o +0 -0
- data/examples/temp_sensor/build/test/out/TestAdcModel/AdcModel.o +0 -0
- data/examples/temp_sensor/build/test/out/TestAdcModel/MockTaskScheduler.o +0 -0
- data/examples/temp_sensor/build/test/out/TestAdcModel/MockTemperatureCalculator.o +0 -0
- data/examples/temp_sensor/build/test/out/TestAdcModel/MockTemperatureFilter.o +0 -0
- data/examples/temp_sensor/build/test/out/TestAdcModel/TestAdcModel.o +0 -0
- data/examples/temp_sensor/build/test/out/TestAdcModel/TestAdcModel.out +0 -0
- data/examples/temp_sensor/build/test/out/TestAdcModel/TestAdcModel_runner.o +0 -0
- data/examples/temp_sensor/build/test/out/TestAdcModel/UnityHelper.o +0 -0
- data/examples/temp_sensor/build/test/out/TestAdcModel/cmock.o +0 -0
- data/examples/temp_sensor/build/test/out/TestAdcModel/unity.o +0 -0
- data/examples/temp_sensor/build/test/out/TestExecutor/Executor.o +0 -0
- data/examples/temp_sensor/build/test/out/TestExecutor/MockAdcConductor.o +0 -0
- data/examples/temp_sensor/build/test/out/TestExecutor/MockIntrinsicsWrapper.o +0 -0
- data/examples/temp_sensor/build/test/out/TestExecutor/MockModel.o +0 -0
- data/examples/temp_sensor/build/test/out/TestExecutor/MockTimerConductor.o +0 -0
- data/examples/temp_sensor/build/test/out/TestExecutor/MockUsartConductor.o +0 -0
- data/examples/temp_sensor/build/test/out/TestExecutor/TestExecutor.o +0 -0
- data/examples/temp_sensor/build/test/out/TestExecutor/TestExecutor.out +0 -0
- data/examples/temp_sensor/build/test/out/TestExecutor/TestExecutor_runner.o +0 -0
- data/examples/temp_sensor/build/test/out/TestExecutor/UnityHelper.o +0 -0
- data/examples/temp_sensor/build/test/out/TestExecutor/cmock.o +0 -0
- data/examples/temp_sensor/build/test/out/TestExecutor/unity.o +0 -0
- data/examples/temp_sensor/build/test/out/TestMain/Main.o +0 -0
- data/examples/temp_sensor/build/test/out/TestMain/MockExecutor.o +0 -0
- data/examples/temp_sensor/build/test/out/TestMain/TestMain.o +0 -0
- data/examples/temp_sensor/build/test/out/TestMain/TestMain.out +0 -0
- data/examples/temp_sensor/build/test/out/TestMain/TestMain_runner.o +0 -0
- data/examples/temp_sensor/build/test/out/TestMain/UnityHelper.o +0 -0
- data/examples/temp_sensor/build/test/out/TestMain/cmock.o +0 -0
- data/examples/temp_sensor/build/test/out/TestMain/unity.o +0 -0
- data/examples/temp_sensor/build/test/out/TestModel/MockTaskScheduler.o +0 -0
- data/examples/temp_sensor/build/test/out/TestModel/MockTemperatureFilter.o +0 -0
- data/examples/temp_sensor/build/test/out/TestModel/Model.o +0 -0
- data/examples/temp_sensor/build/test/out/TestModel/TestModel.o +0 -0
- data/examples/temp_sensor/build/test/out/TestModel/TestModel.out +0 -0
- data/examples/temp_sensor/build/test/out/TestModel/TestModel_runner.o +0 -0
- data/examples/temp_sensor/build/test/out/TestModel/UnityHelper.o +0 -0
- data/examples/temp_sensor/build/test/out/TestModel/cmock.o +0 -0
- data/examples/temp_sensor/build/test/out/TestModel/unity.o +0 -0
- data/examples/temp_sensor/build/test/out/TestTaskScheduler/TaskScheduler.o +0 -0
- data/examples/temp_sensor/build/test/out/TestTaskScheduler/TestTaskScheduler.o +0 -0
- data/examples/temp_sensor/build/test/out/TestTaskScheduler/TestTaskScheduler.out +0 -0
- data/examples/temp_sensor/build/test/out/TestTaskScheduler/TestTaskScheduler_runner.o +0 -0
- data/examples/temp_sensor/build/test/out/TestTaskScheduler/UnityHelper.o +0 -0
- data/examples/temp_sensor/build/test/out/TestTaskScheduler/unity.o +0 -0
- data/examples/temp_sensor/build/test/out/TestTemperatureCalculator/TemperatureCalculator.o +0 -0
- data/examples/temp_sensor/build/test/out/TestTemperatureCalculator/TestTemperatureCalculator.o +0 -0
- data/examples/temp_sensor/build/test/out/TestTemperatureCalculator/TestTemperatureCalculator.out +0 -0
- data/examples/temp_sensor/build/test/out/TestTemperatureCalculator/TestTemperatureCalculator_runner.o +0 -0
- data/examples/temp_sensor/build/test/out/TestTemperatureCalculator/UnityHelper.o +0 -0
- data/examples/temp_sensor/build/test/out/TestTemperatureCalculator/unity.o +0 -0
- data/examples/temp_sensor/build/test/out/TestTemperatureFilter/TemperatureFilter.o +0 -0
- data/examples/temp_sensor/build/test/out/TestTemperatureFilter/TestTemperatureFilter.o +0 -0
- data/examples/temp_sensor/build/test/out/TestTemperatureFilter/TestTemperatureFilter.out +0 -0
- data/examples/temp_sensor/build/test/out/TestTemperatureFilter/TestTemperatureFilter_runner.o +0 -0
- data/examples/temp_sensor/build/test/out/TestTemperatureFilter/UnityHelper.o +0 -0
- data/examples/temp_sensor/build/test/out/TestTemperatureFilter/unity.o +0 -0
- data/examples/temp_sensor/build/test/out/TestTimerConductor/MockTimerHardware.o +0 -0
- data/examples/temp_sensor/build/test/out/TestTimerConductor/MockTimerInterruptHandler.o +0 -0
- data/examples/temp_sensor/build/test/out/TestTimerConductor/MockTimerModel.o +0 -0
- data/examples/temp_sensor/build/test/out/TestTimerConductor/TestTimerConductor.o +0 -0
- data/examples/temp_sensor/build/test/out/TestTimerConductor/TestTimerConductor.out +0 -0
- data/examples/temp_sensor/build/test/out/TestTimerConductor/TestTimerConductor_runner.o +0 -0
- data/examples/temp_sensor/build/test/out/TestTimerConductor/TimerConductor.o +0 -0
- data/examples/temp_sensor/build/test/out/TestTimerConductor/UnityHelper.o +0 -0
- data/examples/temp_sensor/build/test/out/TestTimerConductor/cmock.o +0 -0
- data/examples/temp_sensor/build/test/out/TestTimerConductor/unity.o +0 -0
- data/examples/temp_sensor/build/test/out/TestTimerHardware/MockTimerConfigurator.o +0 -0
- data/examples/temp_sensor/build/test/out/TestTimerHardware/TestTimerHardware.o +0 -0
- data/examples/temp_sensor/build/test/out/TestTimerHardware/TestTimerHardware.out +0 -0
- data/examples/temp_sensor/build/test/out/TestTimerHardware/TestTimerHardware_runner.o +0 -0
- data/examples/temp_sensor/build/test/out/TestTimerHardware/TimerHardware.o +0 -0
- data/examples/temp_sensor/build/test/out/TestTimerHardware/UnityHelper.o +0 -0
- data/examples/temp_sensor/build/test/out/TestTimerHardware/cmock.o +0 -0
- data/examples/temp_sensor/build/test/out/TestTimerHardware/unity.o +0 -0
- data/examples/temp_sensor/build/test/out/TestTimerIntegrated/MockTaskScheduler.o +0 -0
- data/examples/temp_sensor/build/test/out/TestTimerIntegrated/MockTimerConfigurator.o +0 -0
- data/examples/temp_sensor/build/test/out/TestTimerIntegrated/MockTimerInterruptHandler.o +0 -0
- data/examples/temp_sensor/build/test/out/TestTimerIntegrated/TestTimerIntegrated.o +0 -0
- data/examples/temp_sensor/build/test/out/TestTimerIntegrated/TestTimerIntegrated.out +0 -0
- data/examples/temp_sensor/build/test/out/TestTimerIntegrated/TestTimerIntegrated_runner.o +0 -0
- data/examples/temp_sensor/build/test/out/TestTimerIntegrated/TimerConductor.o +0 -0
- data/examples/temp_sensor/build/test/out/TestTimerIntegrated/TimerHardware.o +0 -0
- data/examples/temp_sensor/build/test/out/TestTimerIntegrated/TimerModel.o +0 -0
- data/examples/temp_sensor/build/test/out/TestTimerIntegrated/UnityHelper.o +0 -0
- data/examples/temp_sensor/build/test/out/TestTimerIntegrated/cmock.o +0 -0
- data/examples/temp_sensor/build/test/out/TestTimerIntegrated/unity.o +0 -0
- data/examples/temp_sensor/build/test/out/TestTimerModel/MockTaskScheduler.o +0 -0
- data/examples/temp_sensor/build/test/out/TestTimerModel/TestTimerModel.o +0 -0
- data/examples/temp_sensor/build/test/out/TestTimerModel/TestTimerModel.out +0 -0
- data/examples/temp_sensor/build/test/out/TestTimerModel/TestTimerModel_runner.o +0 -0
- data/examples/temp_sensor/build/test/out/TestTimerModel/TimerModel.o +0 -0
- data/examples/temp_sensor/build/test/out/TestTimerModel/UnityHelper.o +0 -0
- data/examples/temp_sensor/build/test/out/TestTimerModel/cmock.o +0 -0
- data/examples/temp_sensor/build/test/out/TestTimerModel/unity.o +0 -0
- data/examples/temp_sensor/build/test/out/TestUsartBaudRateRegisterCalculator/TestUsartBaudRateRegisterCalculator.o +0 -0
- data/examples/temp_sensor/build/test/out/TestUsartBaudRateRegisterCalculator/TestUsartBaudRateRegisterCalculator.out +0 -0
- data/examples/temp_sensor/build/test/out/TestUsartBaudRateRegisterCalculator/TestUsartBaudRateRegisterCalculator_runner.o +0 -0
- data/examples/temp_sensor/build/test/out/TestUsartBaudRateRegisterCalculator/UnityHelper.o +0 -0
- data/examples/temp_sensor/build/test/out/TestUsartBaudRateRegisterCalculator/UsartBaudRateRegisterCalculator.o +0 -0
- data/examples/temp_sensor/build/test/out/TestUsartBaudRateRegisterCalculator/unity.o +0 -0
- data/examples/temp_sensor/build/test/out/TestUsartConductor/MockTaskScheduler.o +0 -0
- data/examples/temp_sensor/build/test/out/TestUsartConductor/MockUsartHardware.o +0 -0
- data/examples/temp_sensor/build/test/out/TestUsartConductor/MockUsartModel.o +0 -0
- data/examples/temp_sensor/build/test/out/TestUsartConductor/TestUsartConductor.o +0 -0
- data/examples/temp_sensor/build/test/out/TestUsartConductor/TestUsartConductor.out +0 -0
- data/examples/temp_sensor/build/test/out/TestUsartConductor/TestUsartConductor_runner.o +0 -0
- data/examples/temp_sensor/build/test/out/TestUsartConductor/UnityHelper.o +0 -0
- data/examples/temp_sensor/build/test/out/TestUsartConductor/UsartConductor.o +0 -0
- data/examples/temp_sensor/build/test/out/TestUsartConductor/cmock.o +0 -0
- data/examples/temp_sensor/build/test/out/TestUsartConductor/unity.o +0 -0
- data/examples/temp_sensor/build/test/out/TestUsartHardware/MockUsartConfigurator.o +0 -0
- data/examples/temp_sensor/build/test/out/TestUsartHardware/MockUsartPutChar.o +0 -0
- data/examples/temp_sensor/build/test/out/TestUsartHardware/TestUsartHardware.o +0 -0
- data/examples/temp_sensor/build/test/out/TestUsartHardware/TestUsartHardware.out +0 -0
- data/examples/temp_sensor/build/test/out/TestUsartHardware/TestUsartHardware_runner.o +0 -0
- data/examples/temp_sensor/build/test/out/TestUsartHardware/UnityHelper.o +0 -0
- data/examples/temp_sensor/build/test/out/TestUsartHardware/UsartHardware.o +0 -0
- data/examples/temp_sensor/build/test/out/TestUsartHardware/cmock.o +0 -0
- data/examples/temp_sensor/build/test/out/TestUsartHardware/unity.o +0 -0
- data/examples/temp_sensor/build/test/out/TestUsartIntegrated/MockTaskScheduler.o +0 -0
- data/examples/temp_sensor/build/test/out/TestUsartIntegrated/MockTemperatureFilter.o +0 -0
- data/examples/temp_sensor/build/test/out/TestUsartIntegrated/MockUsartBaudRateRegisterCalculator.o +0 -0
- data/examples/temp_sensor/build/test/out/TestUsartIntegrated/MockUsartConfigurator.o +0 -0
- data/examples/temp_sensor/build/test/out/TestUsartIntegrated/MockUsartPutChar.o +0 -0
- data/examples/temp_sensor/build/test/out/TestUsartIntegrated/TestUsartIntegrated.o +0 -0
- data/examples/temp_sensor/build/test/out/TestUsartIntegrated/TestUsartIntegrated.out +0 -0
- data/examples/temp_sensor/build/test/out/TestUsartIntegrated/TestUsartIntegrated_runner.o +0 -0
- data/examples/temp_sensor/build/test/out/TestUsartIntegrated/UnityHelper.o +0 -0
- data/examples/temp_sensor/build/test/out/TestUsartIntegrated/UsartConductor.o +0 -0
- data/examples/temp_sensor/build/test/out/TestUsartIntegrated/UsartHardware.o +0 -0
- data/examples/temp_sensor/build/test/out/TestUsartIntegrated/UsartModel.o +0 -0
- data/examples/temp_sensor/build/test/out/TestUsartIntegrated/cmock.o +0 -0
- data/examples/temp_sensor/build/test/out/TestUsartIntegrated/unity.o +0 -0
- data/examples/temp_sensor/build/test/out/TestUsartModel/MockTemperatureFilter.o +0 -0
- data/examples/temp_sensor/build/test/out/TestUsartModel/MockUsartBaudRateRegisterCalculator.o +0 -0
- data/examples/temp_sensor/build/test/out/TestUsartModel/TestUsartModel.o +0 -0
- data/examples/temp_sensor/build/test/out/TestUsartModel/TestUsartModel.out +0 -0
- data/examples/temp_sensor/build/test/out/TestUsartModel/TestUsartModel_runner.o +0 -0
- data/examples/temp_sensor/build/test/out/TestUsartModel/UnityHelper.o +0 -0
- data/examples/temp_sensor/build/test/out/TestUsartModel/UsartModel.o +0 -0
- data/examples/temp_sensor/build/test/out/TestUsartModel/cmock.o +0 -0
- data/examples/temp_sensor/build/test/out/TestUsartModel/unity.o +0 -0
- data/examples/temp_sensor/build/test/preprocess/files/TestAdcConductor/AdcHardware.h +0 -16
- data/examples/temp_sensor/build/test/preprocess/files/TestAdcConductor/AdcModel.h +0 -18
- data/examples/temp_sensor/build/test/preprocess/files/TestAdcConductor/TestAdcConductor.c +0 -106
- data/examples/temp_sensor/build/test/preprocess/files/TestAdcHardware/AdcHardwareConfigurator.h +0 -14
- data/examples/temp_sensor/build/test/preprocess/files/TestAdcHardware/AdcTemperatureSensor.h +0 -14
- data/examples/temp_sensor/build/test/preprocess/files/TestAdcHardware/TestAdcHardware.c +0 -59
- data/examples/temp_sensor/build/test/preprocess/files/TestAdcModel/TaskScheduler.h +0 -16
- data/examples/temp_sensor/build/test/preprocess/files/TestAdcModel/TemperatureCalculator.h +0 -10
- data/examples/temp_sensor/build/test/preprocess/files/TestAdcModel/TemperatureFilter.h +0 -14
- data/examples/temp_sensor/build/test/preprocess/files/TestAdcModel/TestAdcModel.c +0 -41
- data/examples/temp_sensor/build/test/preprocess/files/TestExecutor/AdcConductor.h +0 -18
- data/examples/temp_sensor/build/test/preprocess/files/TestExecutor/IntrinsicsWrapper.h +0 -10
- data/examples/temp_sensor/build/test/preprocess/files/TestExecutor/Model.h +0 -10
- data/examples/temp_sensor/build/test/preprocess/files/TestExecutor/TestExecutor.c +0 -45
- data/examples/temp_sensor/build/test/preprocess/files/TestExecutor/TimerConductor.h +0 -12
- data/examples/temp_sensor/build/test/preprocess/files/TestExecutor/UsartConductor.h +0 -10
- data/examples/temp_sensor/build/test/preprocess/files/TestMain/Executor.h +0 -12
- data/examples/temp_sensor/build/test/preprocess/files/TestMain/TestMain.c +0 -31
- data/examples/temp_sensor/build/test/preprocess/files/TestModel/TaskScheduler.h +0 -16
- data/examples/temp_sensor/build/test/preprocess/files/TestModel/TemperatureFilter.h +0 -14
- data/examples/temp_sensor/build/test/preprocess/files/TestModel/TestModel.c +0 -24
- data/examples/temp_sensor/build/test/preprocess/files/TestTaskScheduler/TestTaskScheduler.c +0 -168
- data/examples/temp_sensor/build/test/preprocess/files/TestTemperatureCalculator/TestTemperatureCalculator.c +0 -52
- data/examples/temp_sensor/build/test/preprocess/files/TestTemperatureFilter/TestTemperatureFilter.c +0 -163
- data/examples/temp_sensor/build/test/preprocess/files/TestTimerConductor/TestTimerConductor.c +0 -38
- data/examples/temp_sensor/build/test/preprocess/files/TestTimerConductor/TimerHardware.h +0 -10
- data/examples/temp_sensor/build/test/preprocess/files/TestTimerConductor/TimerInterruptHandler.h +0 -14
- data/examples/temp_sensor/build/test/preprocess/files/TestTimerConductor/TimerModel.h +0 -10
- data/examples/temp_sensor/build/test/preprocess/files/TestTimerHardware/TestTimerHardware.c +0 -35
- data/examples/temp_sensor/build/test/preprocess/files/TestTimerHardware/TimerConfigurator.h +0 -24
- data/examples/temp_sensor/build/test/preprocess/files/TestTimerIntegrated/TaskScheduler.h +0 -16
- data/examples/temp_sensor/build/test/preprocess/files/TestTimerIntegrated/TestTimerIntegrated.c +0 -54
- data/examples/temp_sensor/build/test/preprocess/files/TestTimerIntegrated/TimerConfigurator.h +0 -24
- data/examples/temp_sensor/build/test/preprocess/files/TestTimerIntegrated/TimerInterruptHandler.h +0 -14
- data/examples/temp_sensor/build/test/preprocess/files/TestTimerModel/TaskScheduler.h +0 -16
- data/examples/temp_sensor/build/test/preprocess/files/TestTimerModel/TestTimerModel.c +0 -21
- data/examples/temp_sensor/build/test/preprocess/files/TestUsartBaudRateRegisterCalculator/TestUsartBaudRateRegisterCalculator.c +0 -46
- data/examples/temp_sensor/build/test/preprocess/files/TestUsartConductor/TaskScheduler.h +0 -16
- data/examples/temp_sensor/build/test/preprocess/files/TestUsartConductor/TestUsartConductor.c +0 -47
- data/examples/temp_sensor/build/test/preprocess/files/TestUsartConductor/UsartHardware.h +0 -12
- data/examples/temp_sensor/build/test/preprocess/files/TestUsartConductor/UsartModel.h +0 -14
- data/examples/temp_sensor/build/test/preprocess/files/TestUsartHardware/TestUsartHardware.c +0 -47
- data/examples/temp_sensor/build/test/preprocess/files/TestUsartHardware/UsartConfigurator.h +0 -20
- data/examples/temp_sensor/build/test/preprocess/files/TestUsartHardware/UsartPutChar.h +0 -10
- data/examples/temp_sensor/build/test/preprocess/files/TestUsartIntegrated/TaskScheduler.h +0 -16
- data/examples/temp_sensor/build/test/preprocess/files/TestUsartIntegrated/TemperatureFilter.h +0 -14
- data/examples/temp_sensor/build/test/preprocess/files/TestUsartIntegrated/TestUsartIntegrated.c +0 -57
- data/examples/temp_sensor/build/test/preprocess/files/TestUsartIntegrated/UsartBaudRateRegisterCalculator.h +0 -10
- data/examples/temp_sensor/build/test/preprocess/files/TestUsartIntegrated/UsartConfigurator.h +0 -20
- data/examples/temp_sensor/build/test/preprocess/files/TestUsartIntegrated/UsartPutChar.h +0 -10
- data/examples/temp_sensor/build/test/preprocess/files/TestUsartModel/TemperatureFilter.h +0 -14
- data/examples/temp_sensor/build/test/preprocess/files/TestUsartModel/TestUsartModel.c +0 -64
- data/examples/temp_sensor/build/test/preprocess/files/TestUsartModel/UsartBaudRateRegisterCalculator.h +0 -10
- data/examples/temp_sensor/build/test/preprocess/includes/TestAdcConductor/AdcHardware.h.yml +0 -2
- data/examples/temp_sensor/build/test/preprocess/includes/TestAdcConductor/AdcModel.h.yml +0 -2
- data/examples/temp_sensor/build/test/preprocess/includes/TestAdcConductor/TestAdcConductor.c.yml +0 -7
- data/examples/temp_sensor/build/test/preprocess/includes/TestAdcHardware/AdcHardwareConfigurator.h.yml +0 -2
- data/examples/temp_sensor/build/test/preprocess/includes/TestAdcHardware/AdcTemperatureSensor.h.yml +0 -2
- data/examples/temp_sensor/build/test/preprocess/includes/TestAdcHardware/TestAdcHardware.c.yml +0 -6
- data/examples/temp_sensor/build/test/preprocess/includes/TestAdcModel/TaskScheduler.h.yml +0 -2
- data/examples/temp_sensor/build/test/preprocess/includes/TestAdcModel/TemperatureCalculator.h.yml +0 -2
- data/examples/temp_sensor/build/test/preprocess/includes/TestAdcModel/TemperatureFilter.h.yml +0 -2
- data/examples/temp_sensor/build/test/preprocess/includes/TestAdcModel/TestAdcModel.c.yml +0 -7
- data/examples/temp_sensor/build/test/preprocess/includes/TestExecutor/AdcConductor.h.yml +0 -2
- data/examples/temp_sensor/build/test/preprocess/includes/TestExecutor/IntrinsicsWrapper.h.yml +0 -1
- data/examples/temp_sensor/build/test/preprocess/includes/TestExecutor/Model.h.yml +0 -2
- data/examples/temp_sensor/build/test/preprocess/includes/TestExecutor/TestExecutor.c.yml +0 -9
- data/examples/temp_sensor/build/test/preprocess/includes/TestExecutor/TimerConductor.h.yml +0 -2
- data/examples/temp_sensor/build/test/preprocess/includes/TestExecutor/UsartConductor.h.yml +0 -1
- data/examples/temp_sensor/build/test/preprocess/includes/TestMain/Executor.h.yml +0 -2
- data/examples/temp_sensor/build/test/preprocess/includes/TestMain/TestMain.c.yml +0 -5
- data/examples/temp_sensor/build/test/preprocess/includes/TestModel/TaskScheduler.h.yml +0 -2
- data/examples/temp_sensor/build/test/preprocess/includes/TestModel/TemperatureFilter.h.yml +0 -2
- data/examples/temp_sensor/build/test/preprocess/includes/TestModel/TestModel.c.yml +0 -6
- data/examples/temp_sensor/build/test/preprocess/includes/TestTaskScheduler/TestTaskScheduler.c.yml +0 -4
- data/examples/temp_sensor/build/test/preprocess/includes/TestTemperatureCalculator/TestTemperatureCalculator.c.yml +0 -3
- data/examples/temp_sensor/build/test/preprocess/includes/TestTemperatureFilter/TestTemperatureFilter.c.yml +0 -4
- data/examples/temp_sensor/build/test/preprocess/includes/TestTimerConductor/TestTimerConductor.c.yml +0 -7
- data/examples/temp_sensor/build/test/preprocess/includes/TestTimerConductor/TimerHardware.h.yml +0 -2
- data/examples/temp_sensor/build/test/preprocess/includes/TestTimerConductor/TimerInterruptHandler.h.yml +0 -2
- data/examples/temp_sensor/build/test/preprocess/includes/TestTimerConductor/TimerModel.h.yml +0 -2
- data/examples/temp_sensor/build/test/preprocess/includes/TestTimerHardware/TestTimerHardware.c.yml +0 -5
- data/examples/temp_sensor/build/test/preprocess/includes/TestTimerHardware/TimerConfigurator.h.yml +0 -2
- data/examples/temp_sensor/build/test/preprocess/includes/TestTimerIntegrated/TaskScheduler.h.yml +0 -2
- data/examples/temp_sensor/build/test/preprocess/includes/TestTimerIntegrated/TestTimerIntegrated.c.yml +0 -9
- data/examples/temp_sensor/build/test/preprocess/includes/TestTimerIntegrated/TimerConfigurator.h.yml +0 -2
- data/examples/temp_sensor/build/test/preprocess/includes/TestTimerIntegrated/TimerInterruptHandler.h.yml +0 -2
- data/examples/temp_sensor/build/test/preprocess/includes/TestTimerModel/TaskScheduler.h.yml +0 -2
- data/examples/temp_sensor/build/test/preprocess/includes/TestTimerModel/TestTimerModel.c.yml +0 -5
- data/examples/temp_sensor/build/test/preprocess/includes/TestUsartBaudRateRegisterCalculator/TestUsartBaudRateRegisterCalculator.c.yml +0 -4
- data/examples/temp_sensor/build/test/preprocess/includes/TestUsartConductor/TaskScheduler.h.yml +0 -2
- data/examples/temp_sensor/build/test/preprocess/includes/TestUsartConductor/TestUsartConductor.c.yml +0 -7
- data/examples/temp_sensor/build/test/preprocess/includes/TestUsartConductor/UsartHardware.h.yml +0 -2
- data/examples/temp_sensor/build/test/preprocess/includes/TestUsartConductor/UsartModel.h.yml +0 -2
- data/examples/temp_sensor/build/test/preprocess/includes/TestUsartHardware/TestUsartHardware.c.yml +0 -6
- data/examples/temp_sensor/build/test/preprocess/includes/TestUsartHardware/UsartConfigurator.h.yml +0 -2
- data/examples/temp_sensor/build/test/preprocess/includes/TestUsartHardware/UsartPutChar.h.yml +0 -2
- data/examples/temp_sensor/build/test/preprocess/includes/TestUsartIntegrated/TaskScheduler.h.yml +0 -2
- data/examples/temp_sensor/build/test/preprocess/includes/TestUsartIntegrated/TemperatureFilter.h.yml +0 -2
- data/examples/temp_sensor/build/test/preprocess/includes/TestUsartIntegrated/TestUsartIntegrated.c.yml +0 -12
- data/examples/temp_sensor/build/test/preprocess/includes/TestUsartIntegrated/UsartBaudRateRegisterCalculator.h.yml +0 -2
- data/examples/temp_sensor/build/test/preprocess/includes/TestUsartIntegrated/UsartConfigurator.h.yml +0 -2
- data/examples/temp_sensor/build/test/preprocess/includes/TestUsartIntegrated/UsartPutChar.h.yml +0 -2
- data/examples/temp_sensor/build/test/preprocess/includes/TestUsartModel/TemperatureFilter.h.yml +0 -2
- data/examples/temp_sensor/build/test/preprocess/includes/TestUsartModel/TestUsartModel.c.yml +0 -7
- data/examples/temp_sensor/build/test/preprocess/includes/TestUsartModel/UsartBaudRateRegisterCalculator.h.yml +0 -2
- data/examples/temp_sensor/build/test/results/TestAdcConductor.pass +0 -47
- data/examples/temp_sensor/build/test/results/TestAdcHardware.pass +0 -31
- data/examples/temp_sensor/build/test/results/TestAdcModel.pass +0 -27
- data/examples/temp_sensor/build/test/results/TestExecutor.pass +0 -23
- data/examples/temp_sensor/build/test/results/TestMain.pass +0 -19
- data/examples/temp_sensor/build/test/results/TestModel.pass +0 -19
- data/examples/temp_sensor/build/test/results/TestTaskScheduler.pass +0 -47
- data/examples/temp_sensor/build/test/results/TestTemperatureCalculator.pass +0 -23
- data/examples/temp_sensor/build/test/results/TestTemperatureFilter.pass +0 -31
- data/examples/temp_sensor/build/test/results/TestTimerConductor.pass +0 -23
- data/examples/temp_sensor/build/test/results/TestTimerHardware.pass +0 -19
- data/examples/temp_sensor/build/test/results/TestTimerIntegrated.pass +0 -23
- data/examples/temp_sensor/build/test/results/TestTimerModel.pass +0 -19
- data/examples/temp_sensor/build/test/results/TestUsartBaudRateRegisterCalculator.pass +0 -19
- data/examples/temp_sensor/build/test/results/TestUsartConductor.pass +0 -27
- data/examples/temp_sensor/build/test/results/TestUsartHardware.pass +0 -23
- data/examples/temp_sensor/build/test/results/TestUsartIntegrated.pass +0 -23
- data/examples/temp_sensor/build/test/results/TestUsartModel.pass +0 -31
- data/examples/temp_sensor/build/test/runners/TestAdcConductor_runner.c +0 -109
- data/examples/temp_sensor/build/test/runners/TestAdcHardware_runner.c +0 -100
- data/examples/temp_sensor/build/test/runners/TestAdcModel_runner.c +0 -102
- data/examples/temp_sensor/build/test/runners/TestExecutor_runner.c +0 -108
- data/examples/temp_sensor/build/test/runners/TestMain_runner.c +0 -90
- data/examples/temp_sensor/build/test/runners/TestModel_runner.c +0 -94
- data/examples/temp_sensor/build/test/runners/TestTaskScheduler_runner.c +0 -98
- data/examples/temp_sensor/build/test/runners/TestTemperatureCalculator_runner.c +0 -85
- data/examples/temp_sensor/build/test/runners/TestTemperatureFilter_runner.c +0 -90
- data/examples/temp_sensor/build/test/runners/TestTimerConductor_runner.c +0 -100
- data/examples/temp_sensor/build/test/runners/TestTimerHardware_runner.c +0 -90
- data/examples/temp_sensor/build/test/runners/TestTimerIntegrated_runner.c +0 -102
- data/examples/temp_sensor/build/test/runners/TestTimerModel_runner.c +0 -90
- data/examples/temp_sensor/build/test/runners/TestUsartBaudRateRegisterCalculator_runner.c +0 -84
- data/examples/temp_sensor/build/test/runners/TestUsartConductor_runner.c +0 -102
- data/examples/temp_sensor/build/test/runners/TestUsartHardware_runner.c +0 -96
- data/examples/temp_sensor/build/test/runners/TestUsartIntegrated_runner.c +0 -111
- data/examples/temp_sensor/build/test/runners/TestUsartModel_runner.c +0 -101
- data/examples/temp_sensor/build/vendor/cmock/src/cmock.c +0 -231
- data/examples/temp_sensor/build/vendor/cmock/src/cmock.h +0 -47
- data/examples/temp_sensor/build/vendor/cmock/src/cmock_internals.h +0 -91
- data/examples/temp_sensor/build/vendor/cmock/src/meson.build +0 -12
- data/examples/temp_sensor/build/vendor/unity/src/meson.build +0 -17
- data/examples/temp_sensor/build/vendor/unity/src/unity.c +0 -2501
- data/examples/temp_sensor/build/vendor/unity/src/unity.h +0 -698
- data/examples/temp_sensor/build/vendor/unity/src/unity_internals.h +0 -1183
- data/examples/temp_sensor/src/TemperatureCalculator.c +0 -38
- data/examples/temp_sensor/src/TemperatureCalculator.h +0 -15
- data/examples/temp_sensor/src/UsartBaudRateRegisterCalculator.c +0 -25
- data/examples/temp_sensor/src/UsartBaudRateRegisterCalculator.h +0 -15
- data/lib/ceedling/build_batchinator.rb +0 -113
- data/lib/ceedling/config_matchinator.rb +0 -192
- data/lib/ceedling/config_walkinator.rb +0 -35
- data/lib/ceedling/configurator.rb +0 -735
- data/lib/ceedling/configurator_builder.rb +0 -558
- data/lib/ceedling/configurator_plugins.rb +0 -165
- data/lib/ceedling/configurator_setup.rb +0 -799
- data/lib/ceedling/configurator_validator.rb +0 -203
- data/lib/ceedling/generator.rb +0 -365
- data/lib/ceedling/generator_helper.rb +0 -78
- data/lib/ceedling/generator_mocks.rb +0 -41
- data/lib/ceedling/generator_test_results.rb +0 -270
- data/lib/ceedling/generator_test_results_backtrace.rb +0 -215
- data/lib/ceedling/generator_test_results_sanity_checker.rb +0 -70
- data/lib/ceedling/generator_test_runner.rb +0 -84
- data/lib/ceedling/include_pathinator.rb +0 -83
- data/lib/ceedling/plugin.rb +0 -30
- data/lib/ceedling/plugin_manager.rb +0 -133
- data/lib/ceedling/plugin_manager_helper.rb +0 -25
- data/lib/ceedling/plugin_reportinator.rb +0 -139
- data/lib/ceedling/plugin_reportinator_helper.rb +0 -84
- data/lib/ceedling/preprocessinator.rb +0 -239
- data/lib/ceedling/preprocessinator_extractor.rb +0 -241
- data/lib/ceedling/preprocessinator_file_handler.rb +0 -229
- data/lib/ceedling/preprocessinator_includes_handler.rb +0 -382
- data/lib/ceedling/rake_utils.rb +0 -23
- data/lib/ceedling/rake_wrapper.rb +0 -40
- data/lib/ceedling/release_invoker_helper.rb +0 -12
- data/lib/ceedling/task_invoker.rb +0 -70
- data/lib/ceedling/test_invoker.rb +0 -505
- data/lib/ceedling/test_invoker_helper.rb +0 -347
- data/out.fail +0 -25
- data/plugins/beep/README.md +0 -133
- data/plugins/bullseye/README.md +0 -81
- data/plugins/command_hooks/README.md +0 -241
- data/plugins/compile_commands_json_db/README.md +0 -40
- data/plugins/dependencies/README.md +0 -321
- data/plugins/dependencies/example/boss/build/artifacts/release/DepTest +0 -0
- data/plugins/dependencies/example/boss/build/artifacts/test/test_boss.log +0 -0
- data/plugins/dependencies/example/boss/build/release/DepTest +0 -0
- data/plugins/dependencies/example/boss/build/release/cache/input.yml +0 -371
- data/plugins/dependencies/example/boss/build/release/dependencies/boss.d +0 -3
- data/plugins/dependencies/example/boss/build/release/dependencies/main.d +0 -2
- data/plugins/dependencies/example/boss/build/release/out/boss.o +0 -0
- data/plugins/dependencies/example/boss/build/release/out/main.o +0 -0
- data/plugins/dependencies/example/boss/build/test/cache/input.yml +0 -371
- data/plugins/dependencies/example/boss/build/test/dependencies/boss.d +0 -3
- data/plugins/dependencies/example/boss/build/test/dependencies/cmock.d +0 -5
- data/plugins/dependencies/example/boss/build/test/dependencies/mock_libworker.d +0 -8
- data/plugins/dependencies/example/boss/build/test/dependencies/mock_supervisor.d +0 -8
- data/plugins/dependencies/example/boss/build/test/dependencies/test_boss.d +0 -7
- data/plugins/dependencies/example/boss/build/test/dependencies/test_boss_runner.d +0 -9
- data/plugins/dependencies/example/boss/build/test/dependencies/unity.d +0 -3
- data/plugins/dependencies/example/boss/build/test/mocks/test_boss/mock_libworker.c +0 -386
- data/plugins/dependencies/example/boss/build/test/mocks/test_boss/mock_libworker.h +0 -82
- data/plugins/dependencies/example/boss/build/test/mocks/test_boss/mock_supervisor.c +0 -309
- data/plugins/dependencies/example/boss/build/test/mocks/test_boss/mock_supervisor.h +0 -72
- data/plugins/dependencies/example/boss/build/test/out/test_boss/boss.o +0 -0
- data/plugins/dependencies/example/boss/build/test/out/test_boss/cmock.o +0 -0
- data/plugins/dependencies/example/boss/build/test/out/test_boss/mock_libworker.o +0 -0
- data/plugins/dependencies/example/boss/build/test/out/test_boss/mock_supervisor.o +0 -0
- data/plugins/dependencies/example/boss/build/test/out/test_boss/test_boss.o +0 -0
- data/plugins/dependencies/example/boss/build/test/out/test_boss/test_boss.out +0 -0
- data/plugins/dependencies/example/boss/build/test/out/test_boss/test_boss_runner.o +0 -0
- data/plugins/dependencies/example/boss/build/test/out/test_boss/unity.o +0 -0
- data/plugins/dependencies/example/boss/build/test/preprocess/files/test_boss/libworker.h +0 -22
- data/plugins/dependencies/example/boss/build/test/preprocess/files/test_boss/supervisor.h +0 -20
- data/plugins/dependencies/example/boss/build/test/preprocess/files/test_boss/test_boss.c +0 -142
- data/plugins/dependencies/example/boss/build/test/preprocess/includes/test_boss/libworker.h.yml +0 -9
- data/plugins/dependencies/example/boss/build/test/preprocess/includes/test_boss/supervisor.h.yml +0 -9
- data/plugins/dependencies/example/boss/build/test/preprocess/includes/test_boss/test_boss.c.yml +0 -15
- data/plugins/dependencies/example/boss/build/test/results/test_boss.pass +0 -27
- data/plugins/dependencies/example/boss/build/test/runners/test_boss_runner.c +0 -148
- data/plugins/dependencies/example/boss/build/vendor/cmock/src/cmock.c +0 -234
- data/plugins/dependencies/example/boss/build/vendor/cmock/src/cmock.h +0 -52
- data/plugins/dependencies/example/boss/build/vendor/cmock/src/cmock_internals.h +0 -96
- data/plugins/dependencies/example/boss/build/vendor/cmock/src/meson.build +0 -12
- data/plugins/dependencies/example/boss/build/vendor/unity/src/meson.build +0 -17
- data/plugins/dependencies/example/boss/build/vendor/unity/src/unity.c +0 -2471
- data/plugins/dependencies/example/boss/build/vendor/unity/src/unity.h +0 -702
- data/plugins/dependencies/example/boss/build/vendor/unity/src/unity_internals.h +0 -1153
- data/plugins/fake_function_framework/README.md +0 -250
- data/plugins/fake_function_framework/Rakefile +0 -19
- data/plugins/fake_function_framework/examples/fff_example/project.yml +0 -71
- data/plugins/fake_function_framework/examples/fff_example/rakefile.rb +0 -7
- data/plugins/fake_function_framework/examples/fff_example/src/bar.c +0 -1
- data/plugins/fake_function_framework/examples/fff_example/src/bar.h +0 -14
- data/plugins/fake_function_framework/examples/fff_example/src/custom_types.h +0 -6
- data/plugins/fake_function_framework/examples/fff_example/src/display.c +0 -7
- data/plugins/fake_function_framework/examples/fff_example/src/display.h +0 -16
- data/plugins/fake_function_framework/examples/fff_example/src/event_processor.c +0 -93
- data/plugins/fake_function_framework/examples/fff_example/src/event_processor.h +0 -11
- data/plugins/fake_function_framework/examples/fff_example/src/foo.c +0 -16
- data/plugins/fake_function_framework/examples/fff_example/src/foo.h +0 -8
- data/plugins/fake_function_framework/examples/fff_example/src/subfolder/zzz.c +0 -1
- data/plugins/fake_function_framework/examples/fff_example/src/subfolder/zzz.h +0 -6
- data/plugins/fake_function_framework/examples/fff_example/test/test_event_processor.c +0 -155
- data/plugins/fake_function_framework/examples/fff_example/test/test_foo.c +0 -47
- data/plugins/fake_function_framework/lib/fake_function_framework.rb +0 -87
- data/plugins/fake_function_framework/lib/fff_mock_generator.rb +0 -163
- data/plugins/fake_function_framework/spec/fff_mock_header_generator_spec.rb +0 -304
- data/plugins/fake_function_framework/spec/fff_mock_source_generator_spec.rb +0 -149
- data/plugins/fake_function_framework/spec/header_generator.rb +0 -51
- data/plugins/fake_function_framework/spec/spec_helper.rb +0 -96
- data/plugins/fake_function_framework/src/fff_unity_helper.h +0 -33
- data/plugins/fff/README.md +0 -242
- data/plugins/fff/examples/fff_example/build/test/cache/input.yml +0 -263
- data/plugins/fff/examples/fff_example/build/test/dependencies/cmock.d +0 -5
- data/plugins/fff/examples/fff_example/build/test/dependencies/event_processor.d +0 -2
- data/plugins/fff/examples/fff_example/build/test/dependencies/foo.d +0 -2
- data/plugins/fff/examples/fff_example/build/test/dependencies/mock_bar.d +0 -3
- data/plugins/fff/examples/fff_example/build/test/dependencies/mock_display.d +0 -5
- data/plugins/fff/examples/fff_example/build/test/dependencies/mock_zzz.d +0 -3
- data/plugins/fff/examples/fff_example/build/test/dependencies/test_event_processor.d +0 -5
- data/plugins/fff/examples/fff_example/build/test/dependencies/test_event_processor_runner.d +0 -8
- data/plugins/fff/examples/fff_example/build/test/dependencies/test_foo.d +0 -6
- data/plugins/fff/examples/fff_example/build/test/dependencies/test_foo_runner.d +0 -8
- data/plugins/fff/examples/fff_example/build/test/dependencies/unity.d +0 -3
- data/plugins/fff/examples/fff_example/build/test/mocks/test_event_processor/mock_display.c +0 -43
- data/plugins/fff/examples/fff_example/build/test/mocks/test_event_processor/mock_display.h +0 -35
- data/plugins/fff/examples/fff_example/build/test/mocks/test_foo/mock_bar.c +0 -37
- data/plugins/fff/examples/fff_example/build/test/mocks/test_foo/mock_bar.h +0 -31
- data/plugins/fff/examples/fff_example/build/test/mocks/test_foo/mock_zzz.c +0 -25
- data/plugins/fff/examples/fff_example/build/test/mocks/test_foo/mock_zzz.h +0 -25
- data/plugins/fff/examples/fff_example/build/test/out/test_event_processor/cmock.o +0 -0
- data/plugins/fff/examples/fff_example/build/test/out/test_event_processor/event_processor.o +0 -0
- data/plugins/fff/examples/fff_example/build/test/out/test_event_processor/mock_display.o +0 -0
- data/plugins/fff/examples/fff_example/build/test/out/test_event_processor/test_event_processor.o +0 -0
- data/plugins/fff/examples/fff_example/build/test/out/test_event_processor/test_event_processor.out +0 -0
- data/plugins/fff/examples/fff_example/build/test/out/test_event_processor/test_event_processor_runner.o +0 -0
- data/plugins/fff/examples/fff_example/build/test/out/test_event_processor/unity.o +0 -0
- data/plugins/fff/examples/fff_example/build/test/out/test_foo/cmock.o +0 -0
- data/plugins/fff/examples/fff_example/build/test/out/test_foo/foo.o +0 -0
- data/plugins/fff/examples/fff_example/build/test/out/test_foo/mock_bar.o +0 -0
- data/plugins/fff/examples/fff_example/build/test/out/test_foo/mock_zzz.o +0 -0
- data/plugins/fff/examples/fff_example/build/test/out/test_foo/test_foo.o +0 -0
- data/plugins/fff/examples/fff_example/build/test/out/test_foo/test_foo.out +0 -0
- data/plugins/fff/examples/fff_example/build/test/out/test_foo/test_foo_runner.o +0 -0
- data/plugins/fff/examples/fff_example/build/test/out/test_foo/unity.o +0 -0
- data/plugins/fff/examples/fff_example/build/test/preprocess/files/test_event_processor/display.h +0 -38
- data/plugins/fff/examples/fff_example/build/test/preprocess/files/test_event_processor/test_event_processor.c +0 -140
- data/plugins/fff/examples/fff_example/build/test/preprocess/files/test_foo/bar.h +0 -32
- data/plugins/fff/examples/fff_example/build/test/preprocess/files/test_foo/test_foo.c +0 -58
- data/plugins/fff/examples/fff_example/build/test/preprocess/files/test_foo/zzz.h +0 -18
- data/plugins/fff/examples/fff_example/build/test/preprocess/includes/test_event_processor/display.h.yml +0 -10
- data/plugins/fff/examples/fff_example/build/test/preprocess/includes/test_event_processor/test_event_processor.c.yml +0 -12
- data/plugins/fff/examples/fff_example/build/test/preprocess/includes/test_foo/bar.h.yml +0 -10
- data/plugins/fff/examples/fff_example/build/test/preprocess/includes/test_foo/test_foo.c.yml +0 -13
- data/plugins/fff/examples/fff_example/build/test/preprocess/includes/test_foo/zzz.h.yml +0 -9
- data/plugins/fff/examples/fff_example/build/test/results/test_event_processor.pass +0 -43
- data/plugins/fff/examples/fff_example/build/test/results/test_foo.pass +0 -31
- data/plugins/fff/examples/fff_example/build/test/runners/test_event_processor_runner.c +0 -148
- data/plugins/fff/examples/fff_example/build/test/runners/test_foo_runner.c +0 -146
- data/plugins/fff/examples/fff_example/build/vendor/cmock/src/cmock.c +0 -234
- data/plugins/fff/examples/fff_example/build/vendor/cmock/src/cmock.h +0 -52
- data/plugins/fff/examples/fff_example/build/vendor/cmock/src/cmock_internals.h +0 -96
- data/plugins/fff/examples/fff_example/build/vendor/cmock/src/meson.build +0 -12
- data/plugins/fff/examples/fff_example/build/vendor/unity/src/meson.build +0 -17
- data/plugins/fff/examples/fff_example/build/vendor/unity/src/unity.c +0 -2471
- data/plugins/fff/examples/fff_example/build/vendor/unity/src/unity.h +0 -702
- data/plugins/fff/examples/fff_example/build/vendor/unity/src/unity_internals.h +0 -1153
- data/plugins/gcov/README.md +0 -893
- data/plugins/gcov/lib/reportinator_helper.rb +0 -30
- data/plugins/module_generator/README.md +0 -212
- data/plugins/module_generator/example/build/test/cache/input.yml +0 -269
- data/plugins/module_generator/example/build/vendor/cmock/src/meson.build +0 -12
- data/plugins/module_generator/example/build/vendor/unity/src/meson.build +0 -17
- data/plugins/report_build_warnings_log/README.md +0 -40
- data/plugins/report_tests_gtestlike_stdout/README.md +0 -96
- data/plugins/report_tests_ide_stdout/README.md +0 -62
- data/plugins/report_tests_log_factory/README.md +0 -446
- data/plugins/report_tests_log_factory/sample_html_report.png +0 -0
- data/plugins/report_tests_pretty_stdout/README.md +0 -54
- data/plugins/report_tests_raw_output_log/README.md +0 -50
- data/plugins/report_tests_teamcity_stdout/README.md +0 -94
- data/spec/config_walkinator_spec.rb +0 -62
- data/spec/configurator_builder_spec.rb +0 -16
- data/spec/configurator_helper_spec.rb +0 -12
- data/spec/configurator_spec.rb +0 -18
- data/spec/file_finder_helper_spec.rb +0 -73
- data/spec/gcov/gcov_deployment_spec.rb +0 -135
- data/spec/gcov/gcov_test_cases_spec.rb +0 -344
- data/spec/generator_test_results_sanity_checker_spec.rb +0 -104
- data/spec/generator_test_results_spec.rb +0 -131
- data/spec/preprocessinator_extractor_spec.rb +0 -330
- data/spec/preprocessinator_includes_handler_spec.rb +0 -289
- data/spec/reportinator_spec.rb +0 -26
- data/spec/spec_helper.rb +0 -31
- data/spec/spec_system_helper.rb +0 -994
- data/spec/system_utils_spec.rb +0 -65
- data/spec/test_context_extractor_spec.rb +0 -358
- data/spec/tool_executor_helper_spec.rb +0 -219
- data/spec/uncategorized_specs_spec.rb +0 -15
- data/vendor/cmock/examples/temp_sensor/targets/gcc.yml +0 -97
- data/vendor/cmock/examples/temp_sensor/targets/iar_v4.yml +0 -143
- data/vendor/cmock/examples/temp_sensor/targets/iar_v5.yml +0 -132
- data/vendor/cmock/scripts/create_mock.rb +0 -15
- data/vendor/cmock/scripts/create_runner.rb +0 -25
- data/vendor/cmock/scripts/test_summary.rb +0 -25
- data/vendor/cmock/test/system/test_interactions/array_and_pointer_handling.yml +0 -453
- data/vendor/cmock/test/system/test_interactions/return_thru_ptr_and_expect_any_args.yml +0 -242
- data/vendor/cmock/test/targets/clang_strict.yml +0 -97
- data/vendor/cmock/test/targets/gcc.yml +0 -65
- data/vendor/cmock/test/targets/gcc_64.yml +0 -65
- data/vendor/cmock/test/targets/gcc_tiny.yml +0 -87
- data/vendor/cmock/test/targets/iar_arm_v4.yml +0 -117
- data/vendor/cmock/test/targets/iar_arm_v5.yml +0 -102
- data/vendor/cmock/vendor/unity/examples/example_3/target_gcc_32.yml +0 -54
- data/vendor/cmock/vendor/unity/test/targets/ansi.yml +0 -51
- data/vendor/cmock/vendor/unity/test/targets/clang_file.yml +0 -79
- data/vendor/cmock/vendor/unity/test/targets/clang_strict.yml +0 -79
- data/vendor/cmock/vendor/unity/test/targets/gcc_32.yml +0 -52
- data/vendor/cmock/vendor/unity/test/targets/gcc_64.yml +0 -53
- data/vendor/cmock/vendor/unity/test/targets/gcc_auto_limits.yml +0 -50
- data/vendor/cmock/vendor/unity/test/targets/gcc_auto_stdint.yml +0 -62
- data/vendor/cmock/vendor/unity/test/targets/gcc_manual_math.yml +0 -50
- data/vendor/cmock/vendor/unity/test/targets/iar_arm_v4.yml +0 -105
- data/vendor/cmock/vendor/unity/test/targets/iar_arm_v5.yml +0 -99
- data/vendor/cmock/vendor/unity/test/targets/iar_arm_v5_3.yml +0 -99
- data/vendor/cmock/vendor/unity/test/targets/iar_armcortex_LM3S9B92_v5_4.yml +0 -97
- data/vendor/cmock/vendor/unity/test/targets/iar_cortexm3_v5.yml +0 -101
- data/vendor/cmock/vendor/unity/test/targets/iar_msp430.yml +0 -119
- data/vendor/cmock/vendor/unity/test/targets/iar_sh2a_v6.yml +0 -106
- data/vendor/unity/examples/example_3/target_gcc_32.yml +0 -54
- data/vendor/unity/test/targets/ansi.yml +0 -51
- data/vendor/unity/test/targets/clang_file.yml +0 -79
- data/vendor/unity/test/targets/clang_strict.yml +0 -79
- data/vendor/unity/test/targets/gcc_32.yml +0 -52
- data/vendor/unity/test/targets/gcc_64.yml +0 -53
- data/vendor/unity/test/targets/gcc_auto_limits.yml +0 -50
- data/vendor/unity/test/targets/gcc_auto_stdint.yml +0 -62
- data/vendor/unity/test/targets/gcc_manual_math.yml +0 -50
- data/vendor/unity/test/targets/iar_arm_v4.yml +0 -105
- data/vendor/unity/test/targets/iar_arm_v5.yml +0 -99
- data/vendor/unity/test/targets/iar_arm_v5_3.yml +0 -99
- data/vendor/unity/test/targets/iar_armcortex_LM3S9B92_v5_4.yml +0 -97
- data/vendor/unity/test/targets/iar_cortexm3_v5.yml +0 -101
- data/vendor/unity/test/targets/iar_msp430.yml +0 -119
- data/vendor/unity/test/targets/iar_sh2a_v6.yml +0 -106
|
@@ -0,0 +1,992 @@
|
|
|
1
|
+
|
|
2
|
+
# =========================================================================
|
|
3
|
+
# Ceedling - Test-Centered Build System for C
|
|
4
|
+
# ThrowTheSwitch.org
|
|
5
|
+
# Copyright (c) 2010-26 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
|
6
|
+
# SPDX-License-Identifier: MIT
|
|
7
|
+
# =========================================================================
|
|
8
|
+
|
|
9
|
+
require 'set'
|
|
10
|
+
require 'spec_helper'
|
|
11
|
+
require 'ceedling/partials/partializer_helper'
|
|
12
|
+
require 'ceedling/partials/partializer_utils'
|
|
13
|
+
require 'ceedling/partials/partials'
|
|
14
|
+
require 'ceedling/c_extractor/c_extractor_declarations'
|
|
15
|
+
require 'ceedling/c_extractor/c_extractor_code_text'
|
|
16
|
+
require 'ostruct'
|
|
17
|
+
|
|
18
|
+
describe PartializerHelper do
|
|
19
|
+
before(:each) do
|
|
20
|
+
@partializer_utils = double("PartializerUtils")
|
|
21
|
+
@c_extractor = double("CExtractor")
|
|
22
|
+
@c_extractor_declarations = double("CExtractorDeclarations")
|
|
23
|
+
@file_path_utils = double("FilePathUtils")
|
|
24
|
+
@loginator = double("Loginator").as_null_object
|
|
25
|
+
|
|
26
|
+
@helper = described_class.new(
|
|
27
|
+
{
|
|
28
|
+
:partializer_utils => @partializer_utils,
|
|
29
|
+
:c_extractor => @c_extractor,
|
|
30
|
+
:c_extractor_declarations => @c_extractor_declarations,
|
|
31
|
+
:file_path_utils => @file_path_utils,
|
|
32
|
+
:loginator => @loginator
|
|
33
|
+
}
|
|
34
|
+
)
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
context "#filter_and_transform_funcs" do
|
|
38
|
+
before(:each) do
|
|
39
|
+
@mock_func1 = double('func1',
|
|
40
|
+
name: 'publicFunc',
|
|
41
|
+
decorators: [],
|
|
42
|
+
signature_stripped: 'void publicFunc(void)'
|
|
43
|
+
)
|
|
44
|
+
@mock_func2 = double('func2',
|
|
45
|
+
name: 'staticFunc',
|
|
46
|
+
decorators: ['static'],
|
|
47
|
+
signature_stripped: 'void staticFunc(void)'
|
|
48
|
+
)
|
|
49
|
+
@mock_func3 = double('func3',
|
|
50
|
+
name: 'inlineFunc',
|
|
51
|
+
decorators: ['inline'],
|
|
52
|
+
signature_stripped: 'int inlineFunc(int x)'
|
|
53
|
+
)
|
|
54
|
+
end
|
|
55
|
+
|
|
56
|
+
it "returns empty array when functions list is empty" do
|
|
57
|
+
result = @helper.filter_and_transform_funcs([], Partials::PUBLIC, :impl)
|
|
58
|
+
expect(result).to eq([])
|
|
59
|
+
end
|
|
60
|
+
|
|
61
|
+
it "filters out public function when :private visibility requested" do
|
|
62
|
+
allow(@partializer_utils).to receive(:matches_visibility?)
|
|
63
|
+
.with([], Partials::PRIVATE)
|
|
64
|
+
.and_return(false)
|
|
65
|
+
|
|
66
|
+
result = @helper.filter_and_transform_funcs([@mock_func1], Partials::PRIVATE, :impl)
|
|
67
|
+
expect(result).to eq([])
|
|
68
|
+
end
|
|
69
|
+
|
|
70
|
+
it "filters out private function when :public visibility requested" do
|
|
71
|
+
allow(@partializer_utils).to receive(:matches_visibility?)
|
|
72
|
+
.with(['static'], Partials::PUBLIC)
|
|
73
|
+
.and_return(false)
|
|
74
|
+
|
|
75
|
+
result = @helper.filter_and_transform_funcs([@mock_func2], Partials::PUBLIC, :impl)
|
|
76
|
+
expect(result).to eq([])
|
|
77
|
+
end
|
|
78
|
+
|
|
79
|
+
it "transforms a matching public function to :impl type" do
|
|
80
|
+
allow(@partializer_utils).to receive(:matches_visibility?)
|
|
81
|
+
.with([], Partials::PUBLIC)
|
|
82
|
+
.and_return(true)
|
|
83
|
+
|
|
84
|
+
mock_impl = double('FunctionDefinition')
|
|
85
|
+
expect(@partializer_utils).to receive(:transform_function)
|
|
86
|
+
.with(@mock_func1, 'void publicFunc(void)', :impl)
|
|
87
|
+
.and_return(mock_impl)
|
|
88
|
+
|
|
89
|
+
result = @helper.filter_and_transform_funcs([@mock_func1], Partials::PUBLIC, :impl)
|
|
90
|
+
expect(result).to eq([mock_impl])
|
|
91
|
+
end
|
|
92
|
+
|
|
93
|
+
it "transforms a matching public function to :interface type" do
|
|
94
|
+
allow(@partializer_utils).to receive(:matches_visibility?)
|
|
95
|
+
.with([], Partials::PUBLIC)
|
|
96
|
+
.and_return(true)
|
|
97
|
+
|
|
98
|
+
mock_interface = double('FunctionDeclaration')
|
|
99
|
+
expect(@partializer_utils).to receive(:transform_function)
|
|
100
|
+
.with(@mock_func1, 'void publicFunc(void)', :interface)
|
|
101
|
+
.and_return(mock_interface)
|
|
102
|
+
|
|
103
|
+
result = @helper.filter_and_transform_funcs([@mock_func1], Partials::PUBLIC, :interface)
|
|
104
|
+
expect(result).to eq([mock_interface])
|
|
105
|
+
end
|
|
106
|
+
|
|
107
|
+
it "returns only the matching function when mixed public/private present" do
|
|
108
|
+
allow(@partializer_utils).to receive(:matches_visibility?)
|
|
109
|
+
.with([], Partials::PUBLIC)
|
|
110
|
+
.and_return(true)
|
|
111
|
+
allow(@partializer_utils).to receive(:matches_visibility?)
|
|
112
|
+
.with(['static'], Partials::PUBLIC)
|
|
113
|
+
.and_return(false)
|
|
114
|
+
|
|
115
|
+
mock_transformed = double('transformed_func')
|
|
116
|
+
allow(@partializer_utils).to receive(:transform_function)
|
|
117
|
+
.with(@mock_func1, 'void publicFunc(void)', :impl)
|
|
118
|
+
.and_return(mock_transformed)
|
|
119
|
+
|
|
120
|
+
result = @helper.filter_and_transform_funcs([@mock_func1, @mock_func2], Partials::PUBLIC, :impl)
|
|
121
|
+
expect(result).to eq([mock_transformed])
|
|
122
|
+
end
|
|
123
|
+
|
|
124
|
+
it "filters to only the private function when :private visibility requested" do
|
|
125
|
+
allow(@partializer_utils).to receive(:matches_visibility?)
|
|
126
|
+
.with([], Partials::PRIVATE)
|
|
127
|
+
.and_return(false)
|
|
128
|
+
allow(@partializer_utils).to receive(:matches_visibility?)
|
|
129
|
+
.with(['static'], Partials::PRIVATE)
|
|
130
|
+
.and_return(true)
|
|
131
|
+
|
|
132
|
+
mock_transformed = double('transformed_func')
|
|
133
|
+
allow(@partializer_utils).to receive(:transform_function)
|
|
134
|
+
.with(@mock_func2, 'void staticFunc(void)', :impl)
|
|
135
|
+
.and_return(mock_transformed)
|
|
136
|
+
|
|
137
|
+
result = @helper.filter_and_transform_funcs([@mock_func1, @mock_func2], Partials::PRIVATE, :impl)
|
|
138
|
+
expect(result).to eq([mock_transformed])
|
|
139
|
+
end
|
|
140
|
+
|
|
141
|
+
it "processes multiple matching functions preserving order" do
|
|
142
|
+
allow(@partializer_utils).to receive(:matches_visibility?)
|
|
143
|
+
.with([], Partials::PUBLIC)
|
|
144
|
+
.and_return(true)
|
|
145
|
+
allow(@partializer_utils).to receive(:matches_visibility?)
|
|
146
|
+
.with(['static'], Partials::PUBLIC)
|
|
147
|
+
.and_return(false)
|
|
148
|
+
allow(@partializer_utils).to receive(:matches_visibility?)
|
|
149
|
+
.with(['inline'], Partials::PUBLIC)
|
|
150
|
+
.and_return(true)
|
|
151
|
+
|
|
152
|
+
mock_result1 = double('result1')
|
|
153
|
+
mock_result3 = double('result3')
|
|
154
|
+
|
|
155
|
+
allow(@partializer_utils).to receive(:transform_function)
|
|
156
|
+
.with(@mock_func1, 'void publicFunc(void)', :impl)
|
|
157
|
+
.and_return(mock_result1)
|
|
158
|
+
allow(@partializer_utils).to receive(:transform_function)
|
|
159
|
+
.with(@mock_func3, 'int inlineFunc(int x)', :impl)
|
|
160
|
+
.and_return(mock_result3)
|
|
161
|
+
|
|
162
|
+
result = @helper.filter_and_transform_funcs([@mock_func1, @mock_func2, @mock_func3], Partials::PUBLIC, :impl)
|
|
163
|
+
expect(result).to eq([mock_result1, mock_result3])
|
|
164
|
+
end
|
|
165
|
+
|
|
166
|
+
it "returns empty array when no functions match visibility" do
|
|
167
|
+
allow(@partializer_utils).to receive(:matches_visibility?)
|
|
168
|
+
.with([], Partials::PRIVATE)
|
|
169
|
+
.and_return(false)
|
|
170
|
+
|
|
171
|
+
result = @helper.filter_and_transform_funcs([@mock_func1], Partials::PRIVATE, :impl)
|
|
172
|
+
expect(result).to eq([])
|
|
173
|
+
end
|
|
174
|
+
end
|
|
175
|
+
|
|
176
|
+
context "#find_and_transform_func" do
|
|
177
|
+
before(:each) do
|
|
178
|
+
@prim_func = OpenStruct.new(name: 'primary_func', signature_stripped: 'int primary_func(void)')
|
|
179
|
+
@sec_func = OpenStruct.new(name: 'secondary_func', signature_stripped: 'void secondary_func(void)')
|
|
180
|
+
@transformed = double('transformed')
|
|
181
|
+
end
|
|
182
|
+
|
|
183
|
+
it "returns transformed result from primary_funcs when found there" do
|
|
184
|
+
expect(@partializer_utils).to receive(:transform_function)
|
|
185
|
+
.with(@prim_func, 'int primary_func(void)', :impl)
|
|
186
|
+
.and_return(@transformed)
|
|
187
|
+
|
|
188
|
+
result = @helper.find_and_transform_func(
|
|
189
|
+
name: 'primary_func',
|
|
190
|
+
primary_funcs: [@prim_func],
|
|
191
|
+
secondary_funcs: [@sec_func],
|
|
192
|
+
output_type: :impl
|
|
193
|
+
)
|
|
194
|
+
expect(result).to eq(@transformed)
|
|
195
|
+
end
|
|
196
|
+
|
|
197
|
+
it "falls back to secondary_funcs when name not in primary" do
|
|
198
|
+
expect(@partializer_utils).to receive(:transform_function)
|
|
199
|
+
.with(@sec_func, 'void secondary_func(void)', :interface)
|
|
200
|
+
.and_return(@transformed)
|
|
201
|
+
|
|
202
|
+
result = @helper.find_and_transform_func(
|
|
203
|
+
name: 'secondary_func',
|
|
204
|
+
primary_funcs: [@prim_func],
|
|
205
|
+
secondary_funcs: [@sec_func],
|
|
206
|
+
output_type: :interface
|
|
207
|
+
)
|
|
208
|
+
expect(result).to eq(@transformed)
|
|
209
|
+
end
|
|
210
|
+
|
|
211
|
+
it "returns nil when name not found in either list" do
|
|
212
|
+
expect(@partializer_utils).not_to receive(:transform_function)
|
|
213
|
+
|
|
214
|
+
result = @helper.find_and_transform_func(
|
|
215
|
+
name: 'missing',
|
|
216
|
+
primary_funcs: [@prim_func],
|
|
217
|
+
secondary_funcs: [@sec_func],
|
|
218
|
+
output_type: :impl
|
|
219
|
+
)
|
|
220
|
+
expect(result).to be_nil
|
|
221
|
+
end
|
|
222
|
+
|
|
223
|
+
it "does not search secondary when name found in primary" do
|
|
224
|
+
expect(@partializer_utils).to receive(:transform_function)
|
|
225
|
+
.with(@prim_func, 'int primary_func(void)', :interface)
|
|
226
|
+
.and_return(@transformed)
|
|
227
|
+
.once
|
|
228
|
+
|
|
229
|
+
# A duplicate of prim_func in secondary — should never be reached
|
|
230
|
+
sec_dup = OpenStruct.new(name: 'primary_func', signature_stripped: 'WRONG')
|
|
231
|
+
|
|
232
|
+
result = @helper.find_and_transform_func(
|
|
233
|
+
name: 'primary_func',
|
|
234
|
+
primary_funcs: [@prim_func],
|
|
235
|
+
secondary_funcs: [sec_dup],
|
|
236
|
+
output_type: :interface
|
|
237
|
+
)
|
|
238
|
+
expect(result).to eq(@transformed)
|
|
239
|
+
end
|
|
240
|
+
end
|
|
241
|
+
|
|
242
|
+
context "#subtract_funcs" do
|
|
243
|
+
before(:each) do
|
|
244
|
+
@fa = OpenStruct.new(name: 'foo')
|
|
245
|
+
@fb = OpenStruct.new(name: 'bar')
|
|
246
|
+
@fc = OpenStruct.new(name: 'baz')
|
|
247
|
+
end
|
|
248
|
+
|
|
249
|
+
it "removes a named function from the list" do
|
|
250
|
+
result = @helper.subtract_funcs(funcs: [@fa, @fb, @fc], names: ['bar'])
|
|
251
|
+
expect(result.map(&:name)).to eq(['foo', 'baz'])
|
|
252
|
+
end
|
|
253
|
+
|
|
254
|
+
it "removes multiple named functions" do
|
|
255
|
+
result = @helper.subtract_funcs(funcs: [@fa, @fb, @fc], names: ['foo', 'baz'])
|
|
256
|
+
expect(result.map(&:name)).to eq(['bar'])
|
|
257
|
+
end
|
|
258
|
+
|
|
259
|
+
it "returns original list unchanged when names is empty" do
|
|
260
|
+
result = @helper.subtract_funcs(funcs: [@fa, @fb], names: [])
|
|
261
|
+
expect(result).to eq([@fa, @fb])
|
|
262
|
+
end
|
|
263
|
+
|
|
264
|
+
it "has no effect when named function is not in the list" do
|
|
265
|
+
result = @helper.subtract_funcs(funcs: [@fa, @fb], names: ['nonexistent'])
|
|
266
|
+
expect(result.map(&:name)).to eq(['foo', 'bar'])
|
|
267
|
+
end
|
|
268
|
+
|
|
269
|
+
it "returns empty array when all functions are subtracted" do
|
|
270
|
+
result = @helper.subtract_funcs(funcs: [@fa, @fb], names: ['foo', 'bar'])
|
|
271
|
+
expect(result).to eq([])
|
|
272
|
+
end
|
|
273
|
+
end
|
|
274
|
+
|
|
275
|
+
context "#associate_function_line_numbers" do
|
|
276
|
+
before(:each) do
|
|
277
|
+
@name = 'TestModule'
|
|
278
|
+
@filepath = '/path/to/module.c'
|
|
279
|
+
@preprocessed_filepath = '/build/preproc/module_TestModule.i'
|
|
280
|
+
|
|
281
|
+
allow(@file_path_utils).to receive(:form_preprocessed_file_raw_directives_only_filepath)
|
|
282
|
+
.with(@filepath, @name)
|
|
283
|
+
.and_return(@preprocessed_filepath)
|
|
284
|
+
|
|
285
|
+
allow(@partializer_utils).to receive(:stamp_source_filepaths)
|
|
286
|
+
allow(@partializer_utils).to receive(:format_line_number_list).and_return([])
|
|
287
|
+
end
|
|
288
|
+
|
|
289
|
+
it "calls stamp_source_filepaths for empty funcs with fallback: false" do
|
|
290
|
+
expect(@partializer_utils).to receive(:stamp_source_filepaths).with([], @filepath)
|
|
291
|
+
|
|
292
|
+
@helper.associate_function_line_numbers(name: @name, funcs: [], filepath: @filepath, fallback: false)
|
|
293
|
+
end
|
|
294
|
+
|
|
295
|
+
it "calls stamp_source_filepaths for empty funcs with fallback: true" do
|
|
296
|
+
expect(@partializer_utils).to receive(:stamp_source_filepaths).with([], @filepath)
|
|
297
|
+
|
|
298
|
+
@helper.associate_function_line_numbers(name: @name, funcs: [], filepath: @filepath, fallback: true)
|
|
299
|
+
end
|
|
300
|
+
|
|
301
|
+
it "makes no locate calls when funcs is empty" do
|
|
302
|
+
expect(@partializer_utils).not_to receive(:locate_function_in_source)
|
|
303
|
+
expect(@partializer_utils).not_to receive(:locate_function_via_preprocessed)
|
|
304
|
+
|
|
305
|
+
@helper.associate_function_line_numbers(name: @name, funcs: [], filepath: @filepath, fallback: false)
|
|
306
|
+
end
|
|
307
|
+
|
|
308
|
+
it "constructs preprocessed filepath from name and filepath" do
|
|
309
|
+
expect(@file_path_utils).to receive(:form_preprocessed_file_raw_directives_only_filepath)
|
|
310
|
+
.with(@filepath, @name)
|
|
311
|
+
.and_return(@preprocessed_filepath)
|
|
312
|
+
|
|
313
|
+
@helper.associate_function_line_numbers(name: @name, funcs: [], filepath: @filepath, fallback: false)
|
|
314
|
+
end
|
|
315
|
+
|
|
316
|
+
it "uses locate_function_in_source for each func when fallback: true" do
|
|
317
|
+
func1 = OpenStruct.new(code_block: 'void foo(void) {}', line_num: nil)
|
|
318
|
+
func2 = OpenStruct.new(code_block: 'int bar(int x) {}', line_num: nil)
|
|
319
|
+
|
|
320
|
+
expect(@partializer_utils).to receive(:locate_function_in_source)
|
|
321
|
+
.with(code_block: func1.code_block, filepath: @filepath)
|
|
322
|
+
.and_return(10)
|
|
323
|
+
expect(@partializer_utils).to receive(:locate_function_in_source)
|
|
324
|
+
.with(code_block: func2.code_block, filepath: @filepath)
|
|
325
|
+
.and_return(25)
|
|
326
|
+
|
|
327
|
+
@helper.associate_function_line_numbers(name: @name, funcs: [func1, func2], filepath: @filepath, fallback: true)
|
|
328
|
+
|
|
329
|
+
expect(func1.line_num).to eq(10)
|
|
330
|
+
expect(func2.line_num).to eq(25)
|
|
331
|
+
end
|
|
332
|
+
|
|
333
|
+
it "uses locate_function_via_preprocessed for each func when fallback: false" do
|
|
334
|
+
func1 = OpenStruct.new(code_block: 'void foo(void) {}', line_num: nil)
|
|
335
|
+
func2 = OpenStruct.new(code_block: 'int bar(int x) {}', line_num: nil)
|
|
336
|
+
|
|
337
|
+
expect(@partializer_utils).to receive(:locate_function_via_preprocessed)
|
|
338
|
+
.with(code_block: func1.code_block, filepath: @filepath, preprocessed_filepath: @preprocessed_filepath)
|
|
339
|
+
.and_return(10)
|
|
340
|
+
expect(@partializer_utils).to receive(:locate_function_via_preprocessed)
|
|
341
|
+
.with(code_block: func2.code_block, filepath: @filepath, preprocessed_filepath: @preprocessed_filepath)
|
|
342
|
+
.and_return(25)
|
|
343
|
+
|
|
344
|
+
@helper.associate_function_line_numbers(name: @name, funcs: [func1, func2], filepath: @filepath, fallback: false)
|
|
345
|
+
|
|
346
|
+
expect(func1.line_num).to eq(10)
|
|
347
|
+
expect(func2.line_num).to eq(25)
|
|
348
|
+
end
|
|
349
|
+
|
|
350
|
+
it "sets line_num to nil when locate_function_via_preprocessed returns nil" do
|
|
351
|
+
func = OpenStruct.new(code_block: 'void foo(void) {}', line_num: nil)
|
|
352
|
+
|
|
353
|
+
allow(@partializer_utils).to receive(:locate_function_via_preprocessed).and_return(nil)
|
|
354
|
+
|
|
355
|
+
@helper.associate_function_line_numbers(name: @name, funcs: [func], filepath: @filepath, fallback: false)
|
|
356
|
+
|
|
357
|
+
expect(func.line_num).to be_nil
|
|
358
|
+
end
|
|
359
|
+
|
|
360
|
+
it "does not call locate_function_via_preprocessed when fallback: true" do
|
|
361
|
+
func = OpenStruct.new(code_block: 'void foo(void) {}', line_num: nil)
|
|
362
|
+
|
|
363
|
+
expect(@partializer_utils).not_to receive(:locate_function_via_preprocessed)
|
|
364
|
+
allow(@partializer_utils).to receive(:locate_function_in_source).and_return(1)
|
|
365
|
+
|
|
366
|
+
@helper.associate_function_line_numbers(name: @name, funcs: [func], filepath: @filepath, fallback: true)
|
|
367
|
+
end
|
|
368
|
+
|
|
369
|
+
it "does not call locate_function_in_source when fallback: false" do
|
|
370
|
+
func = OpenStruct.new(code_block: 'void foo(void) {}', line_num: nil)
|
|
371
|
+
|
|
372
|
+
expect(@partializer_utils).not_to receive(:locate_function_in_source)
|
|
373
|
+
allow(@partializer_utils).to receive(:locate_function_via_preprocessed).and_return(1)
|
|
374
|
+
|
|
375
|
+
@helper.associate_function_line_numbers(name: @name, funcs: [func], filepath: @filepath, fallback: false)
|
|
376
|
+
end
|
|
377
|
+
|
|
378
|
+
it "calls format_line_number_list with funcs and passes result to loginator" do
|
|
379
|
+
func = OpenStruct.new(code_block: 'void foo(void) {}', line_num: nil, name: 'foo')
|
|
380
|
+
|
|
381
|
+
allow(@partializer_utils).to receive(:locate_function_via_preprocessed).and_return(5)
|
|
382
|
+
|
|
383
|
+
expect(@partializer_utils).to receive(:format_line_number_list).with([func]).and_return(["foo(): 5"])
|
|
384
|
+
|
|
385
|
+
@helper.associate_function_line_numbers(name: @name, funcs: [func], filepath: @filepath, fallback: false)
|
|
386
|
+
end
|
|
387
|
+
|
|
388
|
+
it "forwards the constructed preprocessed_filepath to locate_function_via_preprocessed" do
|
|
389
|
+
func = OpenStruct.new(code_block: 'void foo(void) {}', line_num: nil)
|
|
390
|
+
|
|
391
|
+
custom_preproc = '/custom/preproc/output.i'
|
|
392
|
+
allow(@file_path_utils).to receive(:form_preprocessed_file_raw_directives_only_filepath)
|
|
393
|
+
.with(@filepath, @name)
|
|
394
|
+
.and_return(custom_preproc)
|
|
395
|
+
|
|
396
|
+
expect(@partializer_utils).to receive(:locate_function_via_preprocessed)
|
|
397
|
+
.with(hash_including(preprocessed_filepath: custom_preproc))
|
|
398
|
+
.and_return(nil)
|
|
399
|
+
|
|
400
|
+
@helper.associate_function_line_numbers(name: @name, funcs: [func], filepath: @filepath, fallback: false)
|
|
401
|
+
end
|
|
402
|
+
end
|
|
403
|
+
|
|
404
|
+
context "#extract_function_scope_static_vars" do
|
|
405
|
+
context "mock-based delegation tests" do
|
|
406
|
+
it "returns empty array and makes no calls when funcs is empty" do
|
|
407
|
+
expect(@c_extractor_declarations).not_to receive(:try_extract_variable)
|
|
408
|
+
|
|
409
|
+
result = @helper.extract_function_scope_static_vars([], name: 'test', module_name: 'mod', file_type: 'source')
|
|
410
|
+
expect(result).to eq([])
|
|
411
|
+
end
|
|
412
|
+
|
|
413
|
+
it "returns empty array when function body has no declarations (scanner returns false immediately)" do
|
|
414
|
+
func = OpenStruct.new(
|
|
415
|
+
name: 'simple',
|
|
416
|
+
code_block: 'void simple(void) { return; }',
|
|
417
|
+
body: '{ return; }'
|
|
418
|
+
)
|
|
419
|
+
|
|
420
|
+
allow(@c_extractor_declarations).to receive(:try_extract_variable)
|
|
421
|
+
.and_return([false, nil])
|
|
422
|
+
|
|
423
|
+
expect(@partializer_utils).not_to receive(:replace_declaration_with_noop)
|
|
424
|
+
expect(@partializer_utils).not_to receive(:rename_c_identifier)
|
|
425
|
+
|
|
426
|
+
result = @helper.extract_function_scope_static_vars([func], name: 'test', module_name: 'mod', file_type: 'source')
|
|
427
|
+
expect(result).to eq([])
|
|
428
|
+
end
|
|
429
|
+
|
|
430
|
+
it "returns empty array when variable is found but is non-static" do
|
|
431
|
+
func = OpenStruct.new(
|
|
432
|
+
name: 'simple',
|
|
433
|
+
code_block: 'void simple(void) { int x; return x; }',
|
|
434
|
+
body: '{ int x; return x; }'
|
|
435
|
+
)
|
|
436
|
+
|
|
437
|
+
non_static_var = OpenStruct.new(
|
|
438
|
+
original: 'int x',
|
|
439
|
+
name: 'x',
|
|
440
|
+
decorators: [],
|
|
441
|
+
text: 'int x;'
|
|
442
|
+
)
|
|
443
|
+
|
|
444
|
+
allow(@c_extractor_declarations).to receive(:try_extract_variable)
|
|
445
|
+
.and_return([true, [non_static_var]], [false, nil])
|
|
446
|
+
|
|
447
|
+
expect(@partializer_utils).not_to receive(:replace_declaration_with_noop)
|
|
448
|
+
expect(@partializer_utils).not_to receive(:rename_c_identifier)
|
|
449
|
+
|
|
450
|
+
result = @helper.extract_function_scope_static_vars([func], name: 'test', module_name: 'mod', file_type: 'source')
|
|
451
|
+
expect(result).to eq([])
|
|
452
|
+
end
|
|
453
|
+
|
|
454
|
+
it "delegates noop and rename calls to utils for a static variable" do
|
|
455
|
+
func = OpenStruct.new(
|
|
456
|
+
name: 'process',
|
|
457
|
+
code_block: 'void process(void) { static int count; count = 0; }',
|
|
458
|
+
body: '{ static int count; count = 0; }'
|
|
459
|
+
)
|
|
460
|
+
|
|
461
|
+
var = OpenStruct.new(
|
|
462
|
+
original: 'static int count',
|
|
463
|
+
name: 'count',
|
|
464
|
+
decorators: ['static'],
|
|
465
|
+
text: 'int count;'
|
|
466
|
+
)
|
|
467
|
+
|
|
468
|
+
allow(@c_extractor_declarations).to receive(:try_extract_variable)
|
|
469
|
+
.and_return([true, [var]], [false, nil])
|
|
470
|
+
|
|
471
|
+
placeholder = '__CEEDLING_NOOP_PROCESS_COUNT__'
|
|
472
|
+
noop_text = "(void)0; /* `#{placeholder}` ... */"
|
|
473
|
+
|
|
474
|
+
allow(@partializer_utils).to receive(:replace_declaration_with_noop)
|
|
475
|
+
.and_return(noop_text)
|
|
476
|
+
allow(@partializer_utils).to receive(:rename_c_identifier)
|
|
477
|
+
.and_return('')
|
|
478
|
+
|
|
479
|
+
result = @helper.extract_function_scope_static_vars([func], name: 'test', module_name: 'mod', file_type: 'source')
|
|
480
|
+
|
|
481
|
+
expect(@partializer_utils).to have_received(:replace_declaration_with_noop).exactly(2).times
|
|
482
|
+
expect(@partializer_utils).to have_received(:rename_c_identifier).exactly(3).times
|
|
483
|
+
expect(result.first.name).to eq('partial_process_count')
|
|
484
|
+
end
|
|
485
|
+
|
|
486
|
+
it "delegates compound noop and rename calls to utils for a compound static declaration" do
|
|
487
|
+
func = OpenStruct.new(
|
|
488
|
+
name: 'calc',
|
|
489
|
+
code_block: 'void calc(void) { static int a, b; a = 0; b = 1; }',
|
|
490
|
+
body: '{ static int a, b; a = 0; b = 1; }'
|
|
491
|
+
)
|
|
492
|
+
|
|
493
|
+
shared_original = 'static int a, b;'
|
|
494
|
+
var_a = OpenStruct.new(
|
|
495
|
+
original: shared_original,
|
|
496
|
+
name: 'a',
|
|
497
|
+
decorators: ['static'],
|
|
498
|
+
text: 'int a;'
|
|
499
|
+
)
|
|
500
|
+
var_b = OpenStruct.new(
|
|
501
|
+
original: shared_original,
|
|
502
|
+
name: 'b',
|
|
503
|
+
decorators: ['static'],
|
|
504
|
+
text: 'int b;'
|
|
505
|
+
)
|
|
506
|
+
|
|
507
|
+
# Scanner returns both vars in one call, then fails
|
|
508
|
+
allow(@c_extractor_declarations).to receive(:try_extract_variable)
|
|
509
|
+
.and_return([true, [var_a, var_b]], [false, nil])
|
|
510
|
+
|
|
511
|
+
placeholder = '__CEEDLING_NOOP_CALC_A__'
|
|
512
|
+
noops = "(void)0; (void)0; /* `#{placeholder}` ... */"
|
|
513
|
+
|
|
514
|
+
allow(@partializer_utils).to receive(:replace_compound_declaration_with_noops)
|
|
515
|
+
.and_return(noops)
|
|
516
|
+
allow(@partializer_utils).to receive(:rename_c_identifier)
|
|
517
|
+
.and_return('')
|
|
518
|
+
|
|
519
|
+
result = @helper.extract_function_scope_static_vars([func], name: 'test', module_name: 'mod', file_type: 'source')
|
|
520
|
+
|
|
521
|
+
expect(@partializer_utils).to have_received(:replace_compound_declaration_with_noops)
|
|
522
|
+
.with(anything, shared_original, placeholder, 2)
|
|
523
|
+
.exactly(2).times
|
|
524
|
+
expect(@partializer_utils).to have_received(:rename_c_identifier).exactly(6).times
|
|
525
|
+
expect(result.map(&:name)).to contain_exactly('partial_calc_a', 'partial_calc_b')
|
|
526
|
+
end
|
|
527
|
+
end
|
|
528
|
+
|
|
529
|
+
context "end-to-end happy day tests" do
|
|
530
|
+
let(:real_utils) do
|
|
531
|
+
PartializerUtils.new(
|
|
532
|
+
{
|
|
533
|
+
:preprocessinator_code_finder => double("CodeFinder"),
|
|
534
|
+
:loginator => double("Loginator").as_null_object
|
|
535
|
+
}
|
|
536
|
+
)
|
|
537
|
+
end
|
|
538
|
+
|
|
539
|
+
let(:real_helper) do
|
|
540
|
+
PartializerHelper.new(
|
|
541
|
+
{
|
|
542
|
+
:partializer_utils => real_utils,
|
|
543
|
+
:c_extractor => double("CExtractor").as_null_object,
|
|
544
|
+
:c_extractor_declarations => CExtractorDeclarations.new({ c_extractor_code_text: CExtractorCodeText.new() }).tap(&:setup),
|
|
545
|
+
:file_path_utils => double("FilePathUtils"),
|
|
546
|
+
:loginator => double("Loginator").as_null_object
|
|
547
|
+
}
|
|
548
|
+
)
|
|
549
|
+
end
|
|
550
|
+
|
|
551
|
+
it "excises a single static variable declaration and renames references" do
|
|
552
|
+
func = OpenStruct.new(
|
|
553
|
+
name: 'process',
|
|
554
|
+
body: "{\n static int count;\n return count;\n}",
|
|
555
|
+
code_block: "void process(void) {\n static int count;\n return count;\n}"
|
|
556
|
+
)
|
|
557
|
+
|
|
558
|
+
result = real_helper.extract_function_scope_static_vars([func], name: 'test', module_name: 'mod', file_type: 'source')
|
|
559
|
+
|
|
560
|
+
# One var returned with renamed identifier
|
|
561
|
+
expect(result.length).to eq(1)
|
|
562
|
+
expect(result.first.name).to eq('partial_process_count')
|
|
563
|
+
|
|
564
|
+
# No-op placeholder present in code_block
|
|
565
|
+
expect(func.code_block).to include('(void)0;')
|
|
566
|
+
|
|
567
|
+
# References renamed throughout code_block
|
|
568
|
+
expect(func.code_block).to include('partial_process_count')
|
|
569
|
+
|
|
570
|
+
# Original declaration text preserved inside comment
|
|
571
|
+
expect(func.code_block).to include('static int count')
|
|
572
|
+
end
|
|
573
|
+
|
|
574
|
+
it "does not modify code_block when function body has only non-static variables" do
|
|
575
|
+
original_code_block = "void simple(void) {\n int x = 0;\n return x;\n}"
|
|
576
|
+
|
|
577
|
+
func = OpenStruct.new(
|
|
578
|
+
name: 'simple',
|
|
579
|
+
body: "{\n int x = 0;\n return x;\n}",
|
|
580
|
+
code_block: original_code_block.dup
|
|
581
|
+
)
|
|
582
|
+
|
|
583
|
+
result = real_helper.extract_function_scope_static_vars([func], name: 'test', module_name: 'mod', file_type: 'source')
|
|
584
|
+
|
|
585
|
+
expect(result).to eq([])
|
|
586
|
+
expect(func.code_block).to eq(original_code_block)
|
|
587
|
+
end
|
|
588
|
+
|
|
589
|
+
it "returns empty array when function has no variable declarations at all" do
|
|
590
|
+
func = OpenStruct.new(
|
|
591
|
+
name: 'empty_func',
|
|
592
|
+
body: "{\n return;\n}",
|
|
593
|
+
code_block: "void empty_func(void) {\n return;\n}"
|
|
594
|
+
)
|
|
595
|
+
|
|
596
|
+
result = real_helper.extract_function_scope_static_vars([func], name: 'test', module_name: 'mod', file_type: 'source')
|
|
597
|
+
expect(result).to eq([])
|
|
598
|
+
end
|
|
599
|
+
|
|
600
|
+
it "correctly handles a compound static declaration without corrupting comments" do
|
|
601
|
+
func = OpenStruct.new(
|
|
602
|
+
name: 'calc',
|
|
603
|
+
body: "{\n static int a, b;\n a = 0;\n b = 1;\n}",
|
|
604
|
+
code_block: "void calc(void) {\n static int a, b;\n a = 0;\n b = 1;\n}"
|
|
605
|
+
)
|
|
606
|
+
|
|
607
|
+
result = real_helper.extract_function_scope_static_vars([func], name: 'test', module_name: 'mod', file_type: 'source')
|
|
608
|
+
|
|
609
|
+
# Two vars returned, both renamed
|
|
610
|
+
expect(result.length).to eq(2)
|
|
611
|
+
expect(result.map(&:name)).to contain_exactly('partial_calc_a', 'partial_calc_b')
|
|
612
|
+
|
|
613
|
+
# Exactly two no-ops replace the one compound declaration
|
|
614
|
+
expect(func.code_block.scan('(void)0;').length).to eq(2)
|
|
615
|
+
|
|
616
|
+
# Renamed references present in code_block
|
|
617
|
+
expect(func.code_block).to include('partial_calc_a')
|
|
618
|
+
expect(func.code_block).to include('partial_calc_b')
|
|
619
|
+
|
|
620
|
+
# Replacement no-op with (incomplete) comment
|
|
621
|
+
expect(func.code_block).to include('(void)0; (void)0; /* `static int a, b;` replaced with no-op')
|
|
622
|
+
end
|
|
623
|
+
end
|
|
624
|
+
end
|
|
625
|
+
|
|
626
|
+
###
|
|
627
|
+
### Validation helpers shared fixtures
|
|
628
|
+
###
|
|
629
|
+
|
|
630
|
+
def make_func(name, decorators: [])
|
|
631
|
+
OpenStruct.new(name: name, decorators: decorators)
|
|
632
|
+
end
|
|
633
|
+
|
|
634
|
+
def make_c_module(funcs)
|
|
635
|
+
OpenStruct.new(function_definitions: funcs)
|
|
636
|
+
end
|
|
637
|
+
|
|
638
|
+
def make_pf(type: nil, additions: [], subtractions: [])
|
|
639
|
+
OpenStruct.new(type: type, additions: additions, subtractions: subtractions)
|
|
640
|
+
end
|
|
641
|
+
|
|
642
|
+
def make_config(mod, tests:, mocks:)
|
|
643
|
+
OpenStruct.new(module: mod, tests: tests, mocks: mocks)
|
|
644
|
+
end
|
|
645
|
+
|
|
646
|
+
###
|
|
647
|
+
### validate_function_names_exist()
|
|
648
|
+
###
|
|
649
|
+
|
|
650
|
+
context "#validate_function_names_exist" do
|
|
651
|
+
it "does not raise when all additions and subtractions name existing functions" do
|
|
652
|
+
name = "test_mod"
|
|
653
|
+
c_module = make_c_module([make_func('foo'), make_func('bar')])
|
|
654
|
+
config = make_config('mod',
|
|
655
|
+
tests: make_pf(additions: ['foo'], subtractions: ['bar']),
|
|
656
|
+
mocks: make_pf
|
|
657
|
+
)
|
|
658
|
+
expect { @helper.validate_function_names_exist(c_module, config, name) }.not_to raise_error
|
|
659
|
+
end
|
|
660
|
+
|
|
661
|
+
it "raises when a tests.additions name is not in function_definitions" do
|
|
662
|
+
name = "test_mod"
|
|
663
|
+
c_module = make_c_module([make_func('foo')])
|
|
664
|
+
config = make_config('mod',
|
|
665
|
+
tests: make_pf(additions: ['missing']),
|
|
666
|
+
mocks: make_pf
|
|
667
|
+
)
|
|
668
|
+
expect { @helper.validate_function_names_exist(c_module, config, name) }
|
|
669
|
+
.to raise_error(CeedlingException, /test_mod.*mod.*missing/)
|
|
670
|
+
end
|
|
671
|
+
|
|
672
|
+
it "raises when a tests.subtractions name is not in function_definitions" do
|
|
673
|
+
name = "test_mod"
|
|
674
|
+
c_module = make_c_module([make_func('foo')])
|
|
675
|
+
config = make_config('mod',
|
|
676
|
+
tests: make_pf(subtractions: ['ghost']),
|
|
677
|
+
mocks: make_pf
|
|
678
|
+
)
|
|
679
|
+
expect { @helper.validate_function_names_exist(c_module, config, name) }
|
|
680
|
+
.to raise_error(CeedlingException, /test_mod.*mod.*ghost/)
|
|
681
|
+
end
|
|
682
|
+
|
|
683
|
+
it "raises when a mocks.additions name is not in function_definitions" do
|
|
684
|
+
name = "test_mod"
|
|
685
|
+
c_module = make_c_module([make_func('foo')])
|
|
686
|
+
config = make_config('mod',
|
|
687
|
+
tests: make_pf,
|
|
688
|
+
mocks: make_pf(additions: ['unknown'])
|
|
689
|
+
)
|
|
690
|
+
expect { @helper.validate_function_names_exist(c_module, config, name) }
|
|
691
|
+
.to raise_error(CeedlingException, /test_mod.*mod.*unknown/)
|
|
692
|
+
end
|
|
693
|
+
|
|
694
|
+
it "raises when a mocks.subtractions name is not in function_definitions" do
|
|
695
|
+
name = "test_mod"
|
|
696
|
+
c_module = make_c_module([make_func('foo')])
|
|
697
|
+
config = make_config('mod',
|
|
698
|
+
tests: make_pf,
|
|
699
|
+
mocks: make_pf(subtractions: ['gone'])
|
|
700
|
+
)
|
|
701
|
+
expect { @helper.validate_function_names_exist(c_module, config, name) }
|
|
702
|
+
.to raise_error(CeedlingException, /test_mod.*mod.*gone/)
|
|
703
|
+
end
|
|
704
|
+
|
|
705
|
+
it "raises a case-mismatch exception when name differs only by case from a known function" do
|
|
706
|
+
name = "test_mod"
|
|
707
|
+
c_module = make_c_module([make_func('FooBar')])
|
|
708
|
+
config = make_config('mod',
|
|
709
|
+
tests: make_pf(additions: ['foobar']),
|
|
710
|
+
mocks: make_pf
|
|
711
|
+
)
|
|
712
|
+
expect { @helper.validate_function_names_exist(c_module, config, name) }
|
|
713
|
+
.to raise_error(CeedlingException, /test_mod.*case/)
|
|
714
|
+
end
|
|
715
|
+
end
|
|
716
|
+
|
|
717
|
+
###
|
|
718
|
+
### validate_no_additions_subtractions_overlap()
|
|
719
|
+
###
|
|
720
|
+
|
|
721
|
+
context "#validate_no_additions_subtractions_overlap" do
|
|
722
|
+
it "does not raise when tests additions and subtractions are disjoint" do
|
|
723
|
+
name = "test_mod"
|
|
724
|
+
config = make_config('mod',
|
|
725
|
+
tests: make_pf(additions: ['foo'], subtractions: ['bar']),
|
|
726
|
+
mocks: make_pf
|
|
727
|
+
)
|
|
728
|
+
expect { @helper.validate_no_additions_subtractions_overlap(config, name) }.not_to raise_error
|
|
729
|
+
end
|
|
730
|
+
|
|
731
|
+
it "does not raise when mocks additions and subtractions are disjoint" do
|
|
732
|
+
name = "test_mod"
|
|
733
|
+
config = make_config('mod',
|
|
734
|
+
tests: make_pf,
|
|
735
|
+
mocks: make_pf(additions: ['read'], subtractions: ['write'])
|
|
736
|
+
)
|
|
737
|
+
expect { @helper.validate_no_additions_subtractions_overlap(config, name) }.not_to raise_error
|
|
738
|
+
end
|
|
739
|
+
|
|
740
|
+
it "raises when a function appears in both tests.additions and tests.subtractions" do
|
|
741
|
+
name = "test_mod"
|
|
742
|
+
config = make_config('mod',
|
|
743
|
+
tests: make_pf(additions: ['foo'], subtractions: ['foo']),
|
|
744
|
+
mocks: make_pf
|
|
745
|
+
)
|
|
746
|
+
expect { @helper.validate_no_additions_subtractions_overlap(config, name) }
|
|
747
|
+
.to raise_error(CeedlingException, /test_mod.*mod.*foo/)
|
|
748
|
+
end
|
|
749
|
+
|
|
750
|
+
it "raises when a function appears in both mocks.additions and mocks.subtractions" do
|
|
751
|
+
name = "test_mod"
|
|
752
|
+
config = make_config('mod',
|
|
753
|
+
tests: make_pf,
|
|
754
|
+
mocks: make_pf(additions: ['bar'], subtractions: ['bar'])
|
|
755
|
+
)
|
|
756
|
+
expect { @helper.validate_no_additions_subtractions_overlap(config, name) }
|
|
757
|
+
.to raise_error(CeedlingException, /test_mod.*mod.*bar/)
|
|
758
|
+
end
|
|
759
|
+
end
|
|
760
|
+
|
|
761
|
+
###
|
|
762
|
+
### validate_additions_subtractions_visibility()
|
|
763
|
+
###
|
|
764
|
+
|
|
765
|
+
context "#validate_additions_subtractions_visibility" do
|
|
766
|
+
it "does not raise when PUBLIC subtractions are public functions" do
|
|
767
|
+
name = "test_mod"
|
|
768
|
+
func = make_func('pub')
|
|
769
|
+
c_module = make_c_module([func])
|
|
770
|
+
config = make_config('mod',
|
|
771
|
+
tests: make_pf(type: Partials::PUBLIC, subtractions: ['pub']),
|
|
772
|
+
mocks: make_pf
|
|
773
|
+
)
|
|
774
|
+
allow(@partializer_utils).to receive(:matches_visibility?)
|
|
775
|
+
.with(func.decorators, Partials::PUBLIC).and_return(true)
|
|
776
|
+
expect { @helper.validate_additions_subtractions_visibility(c_module, config, name) }
|
|
777
|
+
.not_to raise_error
|
|
778
|
+
end
|
|
779
|
+
|
|
780
|
+
it "raises when PUBLIC subtractions include a private function" do
|
|
781
|
+
name = "test_mod"
|
|
782
|
+
func = make_func('priv', decorators: ['static'])
|
|
783
|
+
c_module = make_c_module([func])
|
|
784
|
+
config = make_config('mod',
|
|
785
|
+
tests: make_pf(type: Partials::PUBLIC, subtractions: ['priv']),
|
|
786
|
+
mocks: make_pf
|
|
787
|
+
)
|
|
788
|
+
allow(@partializer_utils).to receive(:matches_visibility?)
|
|
789
|
+
.with(func.decorators, Partials::PUBLIC).and_return(false)
|
|
790
|
+
expect { @helper.validate_additions_subtractions_visibility(c_module, config, name) }
|
|
791
|
+
.to raise_error(CeedlingException, /test_mod.*mod.*priv/)
|
|
792
|
+
end
|
|
793
|
+
|
|
794
|
+
it "does not raise when PRIVATE subtractions are private functions" do
|
|
795
|
+
name = "test_mod"
|
|
796
|
+
func = make_func('priv', decorators: ['static'])
|
|
797
|
+
c_module = make_c_module([func])
|
|
798
|
+
config = make_config('mod',
|
|
799
|
+
tests: make_pf(type: Partials::PRIVATE, subtractions: ['priv']),
|
|
800
|
+
mocks: make_pf
|
|
801
|
+
)
|
|
802
|
+
allow(@partializer_utils).to receive(:matches_visibility?)
|
|
803
|
+
.with(func.decorators, Partials::PRIVATE).and_return(true)
|
|
804
|
+
expect { @helper.validate_additions_subtractions_visibility(c_module, config, name) }
|
|
805
|
+
.not_to raise_error
|
|
806
|
+
end
|
|
807
|
+
|
|
808
|
+
it "raises when PRIVATE subtractions include a public function" do
|
|
809
|
+
name = "test_mod"
|
|
810
|
+
func = make_func('pub')
|
|
811
|
+
c_module = make_c_module([func])
|
|
812
|
+
config = make_config('mod',
|
|
813
|
+
tests: make_pf(type: Partials::PRIVATE, subtractions: ['pub']),
|
|
814
|
+
mocks: make_pf
|
|
815
|
+
)
|
|
816
|
+
allow(@partializer_utils).to receive(:matches_visibility?)
|
|
817
|
+
.with(func.decorators, Partials::PRIVATE).and_return(false)
|
|
818
|
+
expect { @helper.validate_additions_subtractions_visibility(c_module, config, name) }
|
|
819
|
+
.to raise_error(CeedlingException, /test_mod.*mod.*pub/)
|
|
820
|
+
end
|
|
821
|
+
|
|
822
|
+
it "does not raise when PUBLIC additions include a public function (redundant but harmless)" do
|
|
823
|
+
name = "test_mod"
|
|
824
|
+
func = make_func('pub')
|
|
825
|
+
c_module = make_c_module([func])
|
|
826
|
+
config = make_config('mod',
|
|
827
|
+
tests: make_pf(type: Partials::PUBLIC, additions: ['pub']),
|
|
828
|
+
mocks: make_pf
|
|
829
|
+
)
|
|
830
|
+
expect { @helper.validate_additions_subtractions_visibility(c_module, config, name) }
|
|
831
|
+
.not_to raise_error
|
|
832
|
+
end
|
|
833
|
+
|
|
834
|
+
it "does not raise when PRIVATE additions include a private function (redundant but harmless)" do
|
|
835
|
+
name = "test_mod"
|
|
836
|
+
func = make_func('priv', decorators: ['static'])
|
|
837
|
+
c_module = make_c_module([func])
|
|
838
|
+
config = make_config('mod',
|
|
839
|
+
tests: make_pf(type: Partials::PRIVATE, additions: ['priv']),
|
|
840
|
+
mocks: make_pf
|
|
841
|
+
)
|
|
842
|
+
expect { @helper.validate_additions_subtractions_visibility(c_module, config, name) }
|
|
843
|
+
.not_to raise_error
|
|
844
|
+
end
|
|
845
|
+
|
|
846
|
+
it "skips visibility check for ACCUMULATE type" do
|
|
847
|
+
name = "test_mod"
|
|
848
|
+
func = make_func('any')
|
|
849
|
+
c_module = make_c_module([func])
|
|
850
|
+
config = make_config('mod',
|
|
851
|
+
tests: make_pf(type: Partials::ACCUMULATE, additions: ['any']),
|
|
852
|
+
mocks: make_pf
|
|
853
|
+
)
|
|
854
|
+
expect(@partializer_utils).not_to receive(:matches_visibility?)
|
|
855
|
+
expect { @helper.validate_additions_subtractions_visibility(c_module, config, name) }
|
|
856
|
+
.not_to raise_error
|
|
857
|
+
end
|
|
858
|
+
end
|
|
859
|
+
|
|
860
|
+
###
|
|
861
|
+
### update_signatures_from_full_expansion()
|
|
862
|
+
###
|
|
863
|
+
|
|
864
|
+
context "#update_signatures_from_full_expansion" do
|
|
865
|
+
require 'ceedling/c_extractor/c_extractor_types'
|
|
866
|
+
|
|
867
|
+
def make_expanded_func(name:, signature:, decorators:, signature_stripped:)
|
|
868
|
+
CExtractorTypes::CFunctionDefinition.new(
|
|
869
|
+
name: name,
|
|
870
|
+
signature: signature,
|
|
871
|
+
decorators: decorators,
|
|
872
|
+
signature_stripped: signature_stripped
|
|
873
|
+
)
|
|
874
|
+
end
|
|
875
|
+
|
|
876
|
+
it "replaces signature fields from expanded function when name matches" do
|
|
877
|
+
func = double('func',
|
|
878
|
+
name: 'helper',
|
|
879
|
+
signature: 'MY_STATIC int helper(void)',
|
|
880
|
+
decorators: [],
|
|
881
|
+
signature_stripped: 'int helper(void)'
|
|
882
|
+
)
|
|
883
|
+
allow(func).to receive(:signature=)
|
|
884
|
+
allow(func).to receive(:decorators=)
|
|
885
|
+
allow(func).to receive(:signature_stripped=)
|
|
886
|
+
|
|
887
|
+
expanded_func = make_expanded_func(
|
|
888
|
+
name: 'helper',
|
|
889
|
+
signature: 'static int helper(void)',
|
|
890
|
+
decorators: ['static'],
|
|
891
|
+
signature_stripped: 'int helper(void)'
|
|
892
|
+
)
|
|
893
|
+
expanded_module = CExtractorTypes::CModule.new(function_definitions: [expanded_func])
|
|
894
|
+
|
|
895
|
+
allow(@c_extractor).to receive(:from_file)
|
|
896
|
+
.with('/build/full_expansion/mod.c')
|
|
897
|
+
.and_return(expanded_module)
|
|
898
|
+
|
|
899
|
+
expect(func).to receive(:signature=).with('static int helper(void)')
|
|
900
|
+
expect(func).to receive(:decorators=).with(['static'])
|
|
901
|
+
expect(func).to receive(:signature_stripped=).with('int helper(void)')
|
|
902
|
+
|
|
903
|
+
@helper.update_signatures_from_full_expansion(
|
|
904
|
+
funcs: [func],
|
|
905
|
+
full_expansion_filepath: '/build/full_expansion/mod.c',
|
|
906
|
+
name: 'TestMod',
|
|
907
|
+
module_name: 'mod',
|
|
908
|
+
file_type: 'source'
|
|
909
|
+
)
|
|
910
|
+
end
|
|
911
|
+
|
|
912
|
+
it "leaves function unchanged when name is not found in expanded module" do
|
|
913
|
+
func = double('func',
|
|
914
|
+
name: 'missing',
|
|
915
|
+
signature: 'MACRO int missing(void)',
|
|
916
|
+
decorators: [],
|
|
917
|
+
signature_stripped: 'int missing(void)'
|
|
918
|
+
)
|
|
919
|
+
|
|
920
|
+
expanded_module = CExtractorTypes::CModule.new(function_definitions: [])
|
|
921
|
+
|
|
922
|
+
allow(@c_extractor).to receive(:from_file).and_return(expanded_module)
|
|
923
|
+
|
|
924
|
+
expect(func).not_to receive(:signature=)
|
|
925
|
+
expect(func).not_to receive(:decorators=)
|
|
926
|
+
expect(func).not_to receive(:signature_stripped=)
|
|
927
|
+
|
|
928
|
+
@helper.update_signatures_from_full_expansion(
|
|
929
|
+
funcs: [func],
|
|
930
|
+
full_expansion_filepath: '/build/full_expansion/mod.c',
|
|
931
|
+
name: 'TestMod',
|
|
932
|
+
module_name: 'mod',
|
|
933
|
+
file_type: 'source'
|
|
934
|
+
)
|
|
935
|
+
end
|
|
936
|
+
|
|
937
|
+
it "updates only matched functions and skips unmatched ones" do
|
|
938
|
+
func_match = double('matched',
|
|
939
|
+
name: 'private_func',
|
|
940
|
+
signature: 'MY_STATIC void private_func(void)',
|
|
941
|
+
decorators: [],
|
|
942
|
+
signature_stripped: 'void private_func(void)'
|
|
943
|
+
)
|
|
944
|
+
allow(func_match).to receive(:signature=)
|
|
945
|
+
allow(func_match).to receive(:decorators=)
|
|
946
|
+
allow(func_match).to receive(:signature_stripped=)
|
|
947
|
+
|
|
948
|
+
func_no_match = double('unmatched', name: 'orphan')
|
|
949
|
+
|
|
950
|
+
expanded_func = make_expanded_func(
|
|
951
|
+
name: 'private_func',
|
|
952
|
+
signature: 'static void private_func(void)',
|
|
953
|
+
decorators: ['static'],
|
|
954
|
+
signature_stripped: 'void private_func(void)'
|
|
955
|
+
)
|
|
956
|
+
expanded_module = CExtractorTypes::CModule.new(function_definitions: [expanded_func])
|
|
957
|
+
|
|
958
|
+
allow(@c_extractor).to receive(:from_file).and_return(expanded_module)
|
|
959
|
+
|
|
960
|
+
expect(func_match).to receive(:signature=).with('static void private_func(void)')
|
|
961
|
+
expect(func_match).to receive(:decorators=).with(['static'])
|
|
962
|
+
expect(func_match).to receive(:signature_stripped=).with('void private_func(void)')
|
|
963
|
+
expect(func_no_match).not_to receive(:signature=)
|
|
964
|
+
expect(func_no_match).not_to receive(:decorators=)
|
|
965
|
+
expect(func_no_match).not_to receive(:signature_stripped=)
|
|
966
|
+
|
|
967
|
+
@helper.update_signatures_from_full_expansion(
|
|
968
|
+
funcs: [func_match, func_no_match],
|
|
969
|
+
full_expansion_filepath: '/build/full_expansion/mod.c',
|
|
970
|
+
name: 'TestMod',
|
|
971
|
+
module_name: 'mod',
|
|
972
|
+
file_type: 'source'
|
|
973
|
+
)
|
|
974
|
+
end
|
|
975
|
+
|
|
976
|
+
it "handles an empty funcs list without error" do
|
|
977
|
+
expanded_module = CExtractorTypes::CModule.new(function_definitions: [])
|
|
978
|
+
allow(@c_extractor).to receive(:from_file).and_return(expanded_module)
|
|
979
|
+
|
|
980
|
+
expect {
|
|
981
|
+
@helper.update_signatures_from_full_expansion(
|
|
982
|
+
funcs: [],
|
|
983
|
+
full_expansion_filepath: '/build/full_expansion/mod.c',
|
|
984
|
+
name: 'TestMod',
|
|
985
|
+
module_name: 'mod',
|
|
986
|
+
file_type: 'source'
|
|
987
|
+
)
|
|
988
|
+
}.not_to raise_error
|
|
989
|
+
end
|
|
990
|
+
end
|
|
991
|
+
|
|
992
|
+
end
|