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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# =========================================================================
|
|
2
2
|
# CMock - Automatic Mock Generation for C
|
|
3
3
|
# ThrowTheSwitch.org
|
|
4
|
-
# Copyright (c) 2007-
|
|
4
|
+
# Copyright (c) 2007-26 Mike Karlesky, Mark VanderVoord, & Greg Williams
|
|
5
5
|
# SPDX-License-Identifier: MIT
|
|
6
6
|
# =========================================================================
|
|
7
7
|
|
|
@@ -27,6 +27,7 @@ describe CMockHeaderParser, "Verify CMockHeaderParser Module" do
|
|
|
27
27
|
@config.expect :inline_function_patterns, ['(static\s+inline|inline\s+static)\s*', '(\bstatic\b|\binline\b)\s*']
|
|
28
28
|
@config.expect :array_size_type, ['int', 'size_t']
|
|
29
29
|
@config.expect :array_size_name, 'size|len'
|
|
30
|
+
@config.expect :ct_assert_patterns, ['ct_assert', '_?[Ss]tatic_[Aa]ssert', '_Static_assert', 'STATIC_ASSERT', 'BUILD_ASSERT', 'CTASSERT']
|
|
30
31
|
|
|
31
32
|
@parser = CMockHeaderParser.new(@config)
|
|
32
33
|
|
|
@@ -146,6 +147,118 @@ describe CMockHeaderParser, "Verify CMockHeaderParser Module" do
|
|
|
146
147
|
assert_equal(expected, @parser.import_source(source, @test_project))
|
|
147
148
|
end
|
|
148
149
|
|
|
150
|
+
it "remove code inside #if 0 blocks" do
|
|
151
|
+
source =
|
|
152
|
+
"void before(void);\n" +
|
|
153
|
+
"#if 0\n" +
|
|
154
|
+
"void hidden(void);\n" +
|
|
155
|
+
"#endif\n" +
|
|
156
|
+
"void after(void);\n"
|
|
157
|
+
|
|
158
|
+
expected = ["void before(void)", "void after(void)"]
|
|
159
|
+
|
|
160
|
+
assert_equal(expected, @parser.import_source(source, @test_project).map! { |s| s.strip })
|
|
161
|
+
end
|
|
162
|
+
|
|
163
|
+
it "keep code inside #if 1 blocks" do
|
|
164
|
+
source =
|
|
165
|
+
"void before(void);\n" +
|
|
166
|
+
"#if 1\n" +
|
|
167
|
+
"void visible(void);\n" +
|
|
168
|
+
"#endif\n" +
|
|
169
|
+
"void after(void);\n"
|
|
170
|
+
|
|
171
|
+
expected = ["void before(void)", "void visible(void)", "void after(void)"]
|
|
172
|
+
|
|
173
|
+
assert_equal(expected, @parser.import_source(source, @test_project).map! { |s| s.strip })
|
|
174
|
+
end
|
|
175
|
+
|
|
176
|
+
it "keep else branch of #if 0 blocks" do
|
|
177
|
+
source =
|
|
178
|
+
"void before(void);\n" +
|
|
179
|
+
"#if 0\n" +
|
|
180
|
+
"void hidden(void);\n" +
|
|
181
|
+
"#else\n" +
|
|
182
|
+
"void visible(void);\n" +
|
|
183
|
+
"#endif\n" +
|
|
184
|
+
"void after(void);\n"
|
|
185
|
+
|
|
186
|
+
expected = ["void before(void)", "void visible(void)", "void after(void)"]
|
|
187
|
+
|
|
188
|
+
assert_equal(expected, @parser.import_source(source, @test_project).map! { |s| s.strip })
|
|
189
|
+
end
|
|
190
|
+
|
|
191
|
+
it "remove else branch of #if 1 blocks" do
|
|
192
|
+
source =
|
|
193
|
+
"void before(void);\n" +
|
|
194
|
+
"#if 1\n" +
|
|
195
|
+
"void visible(void);\n" +
|
|
196
|
+
"#else\n" +
|
|
197
|
+
"void hidden(void);\n" +
|
|
198
|
+
"#endif\n" +
|
|
199
|
+
"void after(void);\n"
|
|
200
|
+
|
|
201
|
+
expected = ["void before(void)", "void visible(void)", "void after(void)"]
|
|
202
|
+
|
|
203
|
+
assert_equal(expected, @parser.import_source(source, @test_project).map! { |s| s.strip })
|
|
204
|
+
end
|
|
205
|
+
|
|
206
|
+
it "handle nested #if 1 blocks inside #if 0" do
|
|
207
|
+
source =
|
|
208
|
+
"void before(void);\n" +
|
|
209
|
+
"#if 0\n" +
|
|
210
|
+
"void hidden1(void);\n" +
|
|
211
|
+
"#if 1\n" +
|
|
212
|
+
"void hidden2(void);\n" +
|
|
213
|
+
"#endif\n" +
|
|
214
|
+
"void hidden3(void);\n" +
|
|
215
|
+
"#endif\n" +
|
|
216
|
+
"void after(void);\n"
|
|
217
|
+
|
|
218
|
+
expected = ["void before(void)", "void after(void)"]
|
|
219
|
+
|
|
220
|
+
assert_equal(expected, @parser.import_source(source, @test_project).map! { |s| s.strip })
|
|
221
|
+
end
|
|
222
|
+
|
|
223
|
+
it "handle nested #if 0 blocks inside #if 1" do
|
|
224
|
+
source =
|
|
225
|
+
"void before(void);\n" +
|
|
226
|
+
"#if 1\n" +
|
|
227
|
+
"void visible1(void);\n" +
|
|
228
|
+
"#if 0\n" +
|
|
229
|
+
"void hidden1(void);\n" +
|
|
230
|
+
"#endif\n" +
|
|
231
|
+
"void visible2(void);\n" +
|
|
232
|
+
"#endif\n" +
|
|
233
|
+
"void after(void);\n"
|
|
234
|
+
|
|
235
|
+
expected = ["void before(void)", "void visible1(void)", "void visible2(void)", "void after(void)"]
|
|
236
|
+
|
|
237
|
+
assert_equal(expected, @parser.import_source(source, @test_project).map! { |s| s.strip })
|
|
238
|
+
end
|
|
239
|
+
|
|
240
|
+
it "handle back to back #if 1 blocks and #if 0 blocks" do
|
|
241
|
+
source =
|
|
242
|
+
"void before(void);\n" +
|
|
243
|
+
"#if 0\n" +
|
|
244
|
+
"void hidden1(void);\n" +
|
|
245
|
+
"#endif\n" +
|
|
246
|
+
"#if 1\n" +
|
|
247
|
+
"void visible1(void);\n" +
|
|
248
|
+
"#endif\n" +
|
|
249
|
+
"#if 0\n" +
|
|
250
|
+
"void hidden2(void);\n" +
|
|
251
|
+
"#endif\n" +
|
|
252
|
+
"#if 1\n" +
|
|
253
|
+
"void visible2(void);\n" +
|
|
254
|
+
"#endif\n" +
|
|
255
|
+
"void after(void);\n"
|
|
256
|
+
|
|
257
|
+
expected = ["void before(void)", "void visible1(void)", "void visible2(void)", "void after(void)"]
|
|
258
|
+
|
|
259
|
+
assert_equal(expected, @parser.import_source(source, @test_project).map! { |s| s.strip })
|
|
260
|
+
end
|
|
261
|
+
|
|
149
262
|
|
|
150
263
|
it "remove assembler pragma sections" do
|
|
151
264
|
source =
|
|
@@ -259,6 +372,32 @@ describe CMockHeaderParser, "Verify CMockHeaderParser Module" do
|
|
|
259
372
|
end
|
|
260
373
|
|
|
261
374
|
|
|
375
|
+
it "ignore compile-time assertions and not treat them as function prototypes" do
|
|
376
|
+
source =
|
|
377
|
+
"static_assert(BLAH_BOOLEAN_TRAIT);\n" +
|
|
378
|
+
"void real_func(int a);\n" +
|
|
379
|
+
"ct_assert(COMMIT_ID_H, ID_SIZE == (sizeof(ID)) - 1);\n" +
|
|
380
|
+
"CTASSERT(OTHER_HEADER_H, BUF_SIZE != 0);\n" +
|
|
381
|
+
"BUILD_ASSERT(MAX_LEN <= 256);\n" +
|
|
382
|
+
"STATIC_ASSERT(sizeof(MyStruct) >= 4);\n"
|
|
383
|
+
|
|
384
|
+
expected = ["void real_func(int a)"]
|
|
385
|
+
|
|
386
|
+
assert_equal(expected, @parser.import_source(source, @test_project).map! { |s| s.strip })
|
|
387
|
+
end
|
|
388
|
+
|
|
389
|
+
|
|
390
|
+
it "ignore function pointer variables with pointer return types and not treat them as function prototypes" do
|
|
391
|
+
source =
|
|
392
|
+
"struct_t * (*func)(some_argument);\n" +
|
|
393
|
+
"void real_func(int a);\n"
|
|
394
|
+
|
|
395
|
+
expected = ["void real_func(int a)"]
|
|
396
|
+
|
|
397
|
+
assert_equal(expected, @parser.import_source(source, @test_project).map! { |s| s.strip })
|
|
398
|
+
end
|
|
399
|
+
|
|
400
|
+
|
|
262
401
|
it "remove struct statements" do
|
|
263
402
|
source =
|
|
264
403
|
"struct _NamedStruct1 {\n" +
|
|
@@ -597,7 +736,7 @@ describe CMockHeaderParser, "Verify CMockHeaderParser Module" do
|
|
|
597
736
|
},
|
|
598
737
|
:modifier=>"",
|
|
599
738
|
:contains_ptr? => false,
|
|
600
|
-
:args=>[{:type=>"int", :name=>"a", :ptr? => false, :const? => false, :const_ptr? => false}],
|
|
739
|
+
:args=>[{:type=>"int", :name=>"a", :ptr? => false, :string? => false, :const? => false, :const_ptr? => false}],
|
|
601
740
|
:args_string=>"int a",
|
|
602
741
|
:args_call=>"a"}
|
|
603
742
|
assert_equal(expected, @parser.parse_declaration(@test_project, source))
|
|
@@ -643,7 +782,7 @@ describe CMockHeaderParser, "Verify CMockHeaderParser Module" do
|
|
|
643
782
|
},
|
|
644
783
|
:modifier=>"",
|
|
645
784
|
:contains_ptr? => true,
|
|
646
|
-
:args=>[{:type=>"MY_FUNKY_VOID*", :name=>"bluh", :ptr? => true, :const? => false, :const_ptr? => false}],
|
|
785
|
+
:args=>[{:type=>"MY_FUNKY_VOID*", :name=>"bluh", :ptr? => true, :string? => false, :const? => false, :const_ptr? => false}],
|
|
647
786
|
:args_string=>"MY_FUNKY_VOID* bluh",
|
|
648
787
|
:args_call=>"bluh" }
|
|
649
788
|
assert_equal(expected, @parser.parse_declaration(@test_project, source))
|
|
@@ -745,8 +884,8 @@ describe CMockHeaderParser, "Verify CMockHeaderParser Module" do
|
|
|
745
884
|
},
|
|
746
885
|
:modifier=>"",
|
|
747
886
|
:contains_ptr? => false,
|
|
748
|
-
:args=>[ {:type=>"int", :name=>"a", :ptr? => false, :const? => false, :const_ptr? => false},
|
|
749
|
-
{:type=>"unsigned int", :name=>"b", :ptr? => false, :const? => false, :const_ptr? => false}
|
|
887
|
+
:args=>[ {:type=>"int", :name=>"a", :ptr? => false, :string? => false, :const? => false, :const_ptr? => false},
|
|
888
|
+
{:type=>"unsigned int", :name=>"b", :ptr? => false, :string? => false, :const? => false, :const_ptr? => false}
|
|
750
889
|
],
|
|
751
890
|
:args_string=>"int a, unsigned int b",
|
|
752
891
|
:args_call=>"a, b" }
|
|
@@ -771,9 +910,9 @@ describe CMockHeaderParser, "Verify CMockHeaderParser Module" do
|
|
|
771
910
|
:class=>nil,
|
|
772
911
|
:modifier=>"",
|
|
773
912
|
:contains_ptr? => false,
|
|
774
|
-
:args=>[ {:type=>"uint", :name=>"la", :ptr? => false, :const? => false, :const_ptr? => false},
|
|
775
|
-
{:type=>"int", :name=>"de", :ptr? => false, :const? => false, :const_ptr? => false},
|
|
776
|
-
{:type=>"bool", :name=>"da", :ptr? => false, :const? => false, :const_ptr? => false}
|
|
913
|
+
:args=>[ {:type=>"uint", :name=>"la", :ptr? => false, :string? => false, :const? => false, :const_ptr? => false},
|
|
914
|
+
{:type=>"int", :name=>"de", :ptr? => false, :string? => false, :const? => false, :const_ptr? => false},
|
|
915
|
+
{:type=>"bool", :name=>"da", :ptr? => false, :string? => false, :const? => false, :const_ptr? => false}
|
|
777
916
|
],
|
|
778
917
|
:args_string=>"uint la, int de, bool da",
|
|
779
918
|
:args_call=>"la, de, da" }
|
|
@@ -822,8 +961,8 @@ describe CMockHeaderParser, "Verify CMockHeaderParser Module" do
|
|
|
822
961
|
:class=>nil,
|
|
823
962
|
:modifier=>"const",
|
|
824
963
|
:contains_ptr? => true,
|
|
825
|
-
:args=>[ {:type=>"int", :name=>"Trinity", :ptr? => false, :const? => false, :const_ptr? => false},
|
|
826
|
-
{:type=>"unsigned int*", :name=>"Neo", :ptr? => true, :const? => false, :const_ptr? => false}
|
|
964
|
+
:args=>[ {:type=>"int", :name=>"Trinity", :ptr? => false, :string? => false, :const? => false, :const_ptr? => false},
|
|
965
|
+
{:type=>"unsigned int*", :name=>"Neo", :ptr? => true, :string? => false, :const? => false, :const_ptr? => false}
|
|
827
966
|
],
|
|
828
967
|
:args_string=>"int Trinity, unsigned int* Neo",
|
|
829
968
|
:args_call=>"Trinity, Neo" }
|
|
@@ -849,8 +988,8 @@ describe CMockHeaderParser, "Verify CMockHeaderParser Module" do
|
|
|
849
988
|
:modifier=>"const",
|
|
850
989
|
:c_calling_convention=>"__stdcall",
|
|
851
990
|
:contains_ptr? => true,
|
|
852
|
-
:args=>[ {:type=>"int", :name=>"Trinity", :ptr? => false, :const? => false, :const_ptr? => false},
|
|
853
|
-
{:type=>"unsigned int*", :name=>"Neo", :ptr? => true, :const? => false, :const_ptr? => false}
|
|
991
|
+
:args=>[ {:type=>"int", :name=>"Trinity", :ptr? => false, :string? => false, :const? => false, :const_ptr? => false},
|
|
992
|
+
{:type=>"unsigned int*", :name=>"Neo", :ptr? => true, :string? => false, :const? => false, :const_ptr? => false}
|
|
854
993
|
],
|
|
855
994
|
:args_string=>"int Trinity, unsigned int* Neo",
|
|
856
995
|
:args_call=>"Trinity, Neo" }
|
|
@@ -874,8 +1013,8 @@ describe CMockHeaderParser, "Verify CMockHeaderParser Module" do
|
|
|
874
1013
|
},
|
|
875
1014
|
:modifier=>"",
|
|
876
1015
|
:contains_ptr? => false,
|
|
877
|
-
:args=>[ {:type=>"int", :name=>"a", :ptr? => false, :const? => false, :const_ptr? => false},
|
|
878
|
-
{:type=>"unsigned int", :name=>"b", :ptr? => false, :const? => false, :const_ptr? => false}
|
|
1016
|
+
:args=>[ {:type=>"int", :name=>"a", :ptr? => false, :string? => false, :const? => false, :const_ptr? => false},
|
|
1017
|
+
{:type=>"unsigned int", :name=>"b", :ptr? => false, :string? => false, :const? => false, :const_ptr? => false}
|
|
879
1018
|
],
|
|
880
1019
|
:args_string=>"int a, unsigned int b",
|
|
881
1020
|
:args_call=>"a, b" }
|
|
@@ -902,8 +1041,8 @@ describe CMockHeaderParser, "Verify CMockHeaderParser Module" do
|
|
|
902
1041
|
:class=>nil,
|
|
903
1042
|
:modifier=>"const",
|
|
904
1043
|
:contains_ptr? => true,
|
|
905
|
-
:args=>[ {:type=>"int", :name=>"Trinity", :ptr? => false, :const? => false, :const_ptr? => false},
|
|
906
|
-
{:type=>"unsigned int*", :name=>"Neo", :ptr? => true, :const? => false, :const_ptr? => false}
|
|
1044
|
+
:args=>[ {:type=>"int", :name=>"Trinity", :ptr? => false, :string? => false, :const? => false, :const_ptr? => false},
|
|
1045
|
+
{:type=>"unsigned int*", :name=>"Neo", :ptr? => true, :string? => false, :const? => false, :const_ptr? => false}
|
|
907
1046
|
],
|
|
908
1047
|
:args_string=>"int Trinity, unsigned int* Neo",
|
|
909
1048
|
:args_call=>"Trinity, Neo" },
|
|
@@ -922,8 +1061,8 @@ describe CMockHeaderParser, "Verify CMockHeaderParser Module" do
|
|
|
922
1061
|
:class=>nil,
|
|
923
1062
|
:modifier=>"",
|
|
924
1063
|
:contains_ptr? => true,
|
|
925
|
-
:args=>[ {:type=>"int", :name=>"cmock_arg1", :ptr? => false, :const? => false, :const_ptr? => false},
|
|
926
|
-
{:type=>"unsigned int*", :name=>"cmock_arg2", :ptr? => true, :const? => false, :const_ptr? => false}
|
|
1064
|
+
:args=>[ {:type=>"int", :name=>"cmock_arg1", :ptr? => false, :string? => false, :const? => false, :const_ptr? => false},
|
|
1065
|
+
{:type=>"unsigned int*", :name=>"cmock_arg2", :ptr? => true, :string? => false, :const? => false, :const_ptr? => false}
|
|
927
1066
|
],
|
|
928
1067
|
:args_string=>"int cmock_arg1, unsigned int* cmock_arg2",
|
|
929
1068
|
:args_call=>"cmock_arg1, cmock_arg2"
|
|
@@ -951,8 +1090,8 @@ describe CMockHeaderParser, "Verify CMockHeaderParser Module" do
|
|
|
951
1090
|
},
|
|
952
1091
|
:modifier=>"const",
|
|
953
1092
|
:contains_ptr? => true,
|
|
954
|
-
:args=>[ {:type=>"int", :name=>"Trinity", :ptr? => false, :const? => false, :const_ptr? => false},
|
|
955
|
-
{:type=>"unsigned int*", :name=>"Neo", :ptr? => true, :const? => false, :const_ptr? => false}
|
|
1093
|
+
:args=>[ {:type=>"int", :name=>"Trinity", :ptr? => false, :string? => false, :const? => false, :const_ptr? => false},
|
|
1094
|
+
{:type=>"unsigned int*", :name=>"Neo", :ptr? => true, :string? => false, :const? => false, :const_ptr? => false}
|
|
956
1095
|
],
|
|
957
1096
|
:args_string=>"int Trinity, unsigned int* Neo",
|
|
958
1097
|
:args_call=>"Trinity, Neo"
|
|
@@ -1038,7 +1177,7 @@ describe CMockHeaderParser, "Verify CMockHeaderParser Module" do
|
|
|
1038
1177
|
:ptr? => true,
|
|
1039
1178
|
:const? => false,
|
|
1040
1179
|
:const_ptr? => true,
|
|
1041
|
-
:str => "int* cmock_to_return",
|
|
1180
|
+
:str => "int* const cmock_to_return",
|
|
1042
1181
|
:void? => false
|
|
1043
1182
|
},
|
|
1044
1183
|
:modifier=>"const",
|
|
@@ -1070,14 +1209,14 @@ describe CMockHeaderParser, "Verify CMockHeaderParser Module" do
|
|
|
1070
1209
|
:var_arg => nil,
|
|
1071
1210
|
:args_string => "int const* cmock_arg1, int* const cmock_arg2, const int* cmock_arg3, const int* const cmock_arg4, " +
|
|
1072
1211
|
"int const* const cmock_arg5, int* cmock_arg6, int cmock_arg7, const int cmock_arg8",
|
|
1073
|
-
:args => [{ :type=>"int const*", :name => "cmock_arg1", :ptr? => true, :const? => true, :const_ptr? => false },
|
|
1074
|
-
{ :type=>"int*", :name => "cmock_arg2", :ptr? => true, :const? => false, :const_ptr? => true },
|
|
1075
|
-
{ :type=>"const int*", :name => "cmock_arg3", :ptr? => true, :const? => true, :const_ptr? => false },
|
|
1076
|
-
{ :type=>"const int*", :name => "cmock_arg4", :ptr? => true, :const? => true, :const_ptr? => true },
|
|
1077
|
-
{ :type=>"int const*", :name => "cmock_arg5", :ptr? => true, :const? => true, :const_ptr? => true },
|
|
1078
|
-
{ :type=>"int*", :name => "cmock_arg6", :ptr? => true, :const? => false, :const_ptr? => false },
|
|
1079
|
-
{ :type=>"int", :name => "cmock_arg7", :ptr? => false, :const? => false, :const_ptr? => false },
|
|
1080
|
-
{ :type=>"int", :name => "cmock_arg8", :ptr? => false, :const? => true, :const_ptr? => false }],
|
|
1212
|
+
:args => [{ :type=>"int const*", :name => "cmock_arg1", :ptr? => true, :string? => false, :const? => true, :const_ptr? => false },
|
|
1213
|
+
{ :type=>"int*", :name => "cmock_arg2", :ptr? => true, :string? => false, :const? => false, :const_ptr? => true },
|
|
1214
|
+
{ :type=>"const int*", :name => "cmock_arg3", :ptr? => true, :string? => false, :const? => true, :const_ptr? => false },
|
|
1215
|
+
{ :type=>"const int*", :name => "cmock_arg4", :ptr? => true, :string? => false, :const? => true, :const_ptr? => true },
|
|
1216
|
+
{ :type=>"int const*", :name => "cmock_arg5", :ptr? => true, :string? => false, :const? => true, :const_ptr? => true },
|
|
1217
|
+
{ :type=>"int*", :name => "cmock_arg6", :ptr? => true, :string? => false, :const? => false, :const_ptr? => false },
|
|
1218
|
+
{ :type=>"int", :name => "cmock_arg7", :ptr? => false, :string? => false, :const? => false, :const_ptr? => false },
|
|
1219
|
+
{ :type=>"int", :name => "cmock_arg8", :ptr? => false, :string? => false, :const? => true, :const_ptr? => false }],
|
|
1081
1220
|
:args_call => "cmock_arg1, cmock_arg2, cmock_arg3, cmock_arg4, cmock_arg5, cmock_arg6, cmock_arg7, cmock_arg8",
|
|
1082
1221
|
:contains_ptr? => true
|
|
1083
1222
|
}]
|
|
@@ -1105,20 +1244,112 @@ describe CMockHeaderParser, "Verify CMockHeaderParser Module" do
|
|
|
1105
1244
|
:var_arg => nil,
|
|
1106
1245
|
:args_string => "int const* param1, int* const param2, const int* param3, const int* const param4, " +
|
|
1107
1246
|
"int const* const param5, int* param6, int param7, const int param8",
|
|
1108
|
-
:args => [{ :type=>"int const*", :name => "param1", :ptr? => true, :const? => true, :const_ptr? => false },
|
|
1109
|
-
{ :type=>"int*", :name => "param2", :ptr? => true, :const? => false, :const_ptr? => true },
|
|
1110
|
-
{ :type=>"const int*", :name => "param3", :ptr? => true, :const? => true, :const_ptr? => false },
|
|
1111
|
-
{ :type=>"const int*", :name => "param4", :ptr? => true, :const? => true, :const_ptr? => true },
|
|
1112
|
-
{ :type=>"int const*", :name => "param5", :ptr? => true, :const? => true, :const_ptr? => true },
|
|
1113
|
-
{ :type=>"int*", :name => "param6", :ptr? => true, :const? => false, :const_ptr? => false },
|
|
1114
|
-
{ :type=>"int", :name => "param7", :ptr? => false, :const? => false, :const_ptr? => false },
|
|
1115
|
-
{ :type=>"int", :name => "param8", :ptr? => false, :const? => true, :const_ptr? => false }],
|
|
1247
|
+
:args => [{ :type=>"int const*", :name => "param1", :ptr? => true, :string? => false, :const? => true, :const_ptr? => false },
|
|
1248
|
+
{ :type=>"int*", :name => "param2", :ptr? => true, :string? => false, :const? => false, :const_ptr? => true },
|
|
1249
|
+
{ :type=>"const int*", :name => "param3", :ptr? => true, :string? => false, :const? => true, :const_ptr? => false },
|
|
1250
|
+
{ :type=>"const int*", :name => "param4", :ptr? => true, :string? => false, :const? => true, :const_ptr? => true },
|
|
1251
|
+
{ :type=>"int const*", :name => "param5", :ptr? => true, :string? => false, :const? => true, :const_ptr? => true },
|
|
1252
|
+
{ :type=>"int*", :name => "param6", :ptr? => true, :string? => false, :const? => false, :const_ptr? => false },
|
|
1253
|
+
{ :type=>"int", :name => "param7", :ptr? => false, :string? => false, :const? => false, :const_ptr? => false },
|
|
1254
|
+
{ :type=>"int", :name => "param8", :ptr? => false, :string? => false, :const? => true, :const_ptr? => false }],
|
|
1116
1255
|
:args_call => "param1, param2, param3, param4, param5, param6, param7, param8",
|
|
1117
1256
|
:contains_ptr? => true
|
|
1118
1257
|
}].freeze
|
|
1119
1258
|
assert_equal(expected, @parser.parse("module", source)[:functions])
|
|
1120
1259
|
end
|
|
1121
1260
|
|
|
1261
|
+
it "properly parses volatile pointer argument types" do
|
|
1262
|
+
|
|
1263
|
+
source = "int16_t foo(volatile struct foo_obj *foo_handle, int plain, volatile int not_a_ptr);\n"
|
|
1264
|
+
|
|
1265
|
+
expected = [{ :name => "foo",
|
|
1266
|
+
:unscoped_name => "foo",
|
|
1267
|
+
:namespace=>[],
|
|
1268
|
+
:class=>nil,
|
|
1269
|
+
:modifier => "",
|
|
1270
|
+
:return => { :type => "int16_t",
|
|
1271
|
+
:name => "cmock_to_return",
|
|
1272
|
+
:str => "int16_t cmock_to_return",
|
|
1273
|
+
:void? => false,
|
|
1274
|
+
:ptr? => false,
|
|
1275
|
+
:const? => false,
|
|
1276
|
+
:const_ptr? => false
|
|
1277
|
+
},
|
|
1278
|
+
:var_arg => nil,
|
|
1279
|
+
:args_string => "volatile struct foo_obj* foo_handle, int plain, volatile int not_a_ptr",
|
|
1280
|
+
:args => [{ :type => "struct foo_obj*", :name => "foo_handle",
|
|
1281
|
+
:ptr? => true, :string? => false, :const? => false, :const_ptr? => false, :volatile? => true },
|
|
1282
|
+
{ :type => "int", :name => "plain",
|
|
1283
|
+
:ptr? => false, :string? => false, :const? => false, :const_ptr? => false },
|
|
1284
|
+
{ :type => "volatile int", :name => "not_a_ptr",
|
|
1285
|
+
:ptr? => false, :string? => false, :const? => false, :const_ptr? => false }],
|
|
1286
|
+
:args_call => "foo_handle, plain, not_a_ptr",
|
|
1287
|
+
:contains_ptr? => true
|
|
1288
|
+
}]
|
|
1289
|
+
assert_equal(expected, @parser.parse("module", source)[:functions])
|
|
1290
|
+
end
|
|
1291
|
+
|
|
1292
|
+
it "properly parses T volatile* style volatile pointer argument types" do
|
|
1293
|
+
# volatile can appear before OR after the base type; both mean "pointer to volatile T"
|
|
1294
|
+
# e.g. "int volatile*" is identical to "volatile int*" in C
|
|
1295
|
+
|
|
1296
|
+
source = "void bar(int volatile* a, struct foo_obj volatile* b);\n"
|
|
1297
|
+
|
|
1298
|
+
expected = [{ :name => "bar",
|
|
1299
|
+
:unscoped_name => "bar",
|
|
1300
|
+
:namespace=>[],
|
|
1301
|
+
:class=>nil,
|
|
1302
|
+
:modifier => "",
|
|
1303
|
+
:return => { :type => "void",
|
|
1304
|
+
:name => "cmock_to_return",
|
|
1305
|
+
:str => "void cmock_to_return",
|
|
1306
|
+
:void? => true,
|
|
1307
|
+
:ptr? => false,
|
|
1308
|
+
:const? => false,
|
|
1309
|
+
:const_ptr? => false
|
|
1310
|
+
},
|
|
1311
|
+
:var_arg => nil,
|
|
1312
|
+
:args_string => "int volatile* a, struct foo_obj volatile* b",
|
|
1313
|
+
:args => [{ :type => "int*", :name => "a",
|
|
1314
|
+
:ptr? => true, :string? => false, :const? => false, :const_ptr? => false, :volatile? => true },
|
|
1315
|
+
{ :type => "struct foo_obj*", :name => "b",
|
|
1316
|
+
:ptr? => true, :string? => false, :const? => false, :const_ptr? => false, :volatile? => true }],
|
|
1317
|
+
:args_call => "a, b",
|
|
1318
|
+
:contains_ptr? => true
|
|
1319
|
+
}]
|
|
1320
|
+
assert_equal(expected, @parser.parse("module", source)[:functions])
|
|
1321
|
+
end
|
|
1322
|
+
|
|
1323
|
+
it "treats int*volatile (volatile pointer to non-volatile type) as a plain pointer without volatile? flag" do
|
|
1324
|
+
# "int * volatile p" = volatile pointer to int (the pointer itself is volatile, not the pointed-to value)
|
|
1325
|
+
# This is distinct from "volatile int *p" (pointer to volatile int).
|
|
1326
|
+
# CMock must NOT set volatile? here: the pointed-to type is not volatile, so no cast-qual issue.
|
|
1327
|
+
|
|
1328
|
+
source = "void baz(int * volatile p);\n"
|
|
1329
|
+
|
|
1330
|
+
expected = [{ :name => "baz",
|
|
1331
|
+
:unscoped_name => "baz",
|
|
1332
|
+
:namespace=>[],
|
|
1333
|
+
:class=>nil,
|
|
1334
|
+
:modifier => "",
|
|
1335
|
+
:return => { :type => "void",
|
|
1336
|
+
:name => "cmock_to_return",
|
|
1337
|
+
:str => "void cmock_to_return",
|
|
1338
|
+
:void? => true,
|
|
1339
|
+
:ptr? => false,
|
|
1340
|
+
:const? => false,
|
|
1341
|
+
:const_ptr? => false
|
|
1342
|
+
},
|
|
1343
|
+
:var_arg => nil,
|
|
1344
|
+
:args_string => "int* volatile p",
|
|
1345
|
+
:args => [{ :type => "int* volatile", :name => "p",
|
|
1346
|
+
:ptr? => true, :string? => false, :const? => false, :const_ptr? => false }],
|
|
1347
|
+
:args_call => "p",
|
|
1348
|
+
:contains_ptr? => true
|
|
1349
|
+
}]
|
|
1350
|
+
assert_equal(expected, @parser.parse("module", source)[:functions])
|
|
1351
|
+
end
|
|
1352
|
+
|
|
1122
1353
|
it "converts typedef'd array arguments to pointers" do
|
|
1123
1354
|
|
|
1124
1355
|
source = "Book AddToBook(Book book, const IntArray values);\n"
|
|
@@ -1137,8 +1368,8 @@ describe CMockHeaderParser, "Verify CMockHeaderParser Module" do
|
|
|
1137
1368
|
:const_ptr? => false
|
|
1138
1369
|
},
|
|
1139
1370
|
:var_arg => nil,
|
|
1140
|
-
:args => [{ :type => "Page*", :name => "book", :ptr? => true, :const? => false, :const_ptr? => false },
|
|
1141
|
-
{ :type => "const int*", :name => "values", :ptr? => true, :const? => true, :const_ptr? => false }],
|
|
1371
|
+
:args => [{ :type => "Page*", :name => "book", :ptr? => true, :string? => false, :const? => false, :const_ptr? => false },
|
|
1372
|
+
{ :type => "const int*", :name => "values", :ptr? => true, :string? => false, :const? => true, :const_ptr? => false }],
|
|
1142
1373
|
:args_string => "Book book, const IntArray values",
|
|
1143
1374
|
:args_call => "book, values",
|
|
1144
1375
|
:contains_ptr? => true
|
|
@@ -1170,7 +1401,7 @@ describe CMockHeaderParser, "Verify CMockHeaderParser Module" do
|
|
|
1170
1401
|
},
|
|
1171
1402
|
:modifier=>"",
|
|
1172
1403
|
:contains_ptr? => false,
|
|
1173
|
-
:args=>[ {:type=>"int", :name=>"SingAlong", :ptr? => false, :const? => false, :const_ptr? => false} ],
|
|
1404
|
+
:args=>[ {:type=>"int", :name=>"SingAlong", :ptr? => false, :string? => false, :const? => false, :const_ptr? => false} ],
|
|
1174
1405
|
:args_string=>"int SingAlong",
|
|
1175
1406
|
:args_call=>"SingAlong"
|
|
1176
1407
|
},
|
|
@@ -1217,7 +1448,7 @@ describe CMockHeaderParser, "Verify CMockHeaderParser Module" do
|
|
|
1217
1448
|
:class=>nil,
|
|
1218
1449
|
:modifier=>"",
|
|
1219
1450
|
:contains_ptr? => false,
|
|
1220
|
-
:args=>[ {:type=>"struct SingAlong", :name=>"Blog", :ptr? => false, :const? => false, :const_ptr? => false} ],
|
|
1451
|
+
:args=>[ {:type=>"struct SingAlong", :name=>"Blog", :ptr? => false, :string? => false, :const? => false, :const_ptr? => false} ],
|
|
1221
1452
|
:args_string=>"struct SingAlong Blog",
|
|
1222
1453
|
:args_call=>"Blog"
|
|
1223
1454
|
},
|
|
@@ -1236,7 +1467,7 @@ describe CMockHeaderParser, "Verify CMockHeaderParser Module" do
|
|
|
1236
1467
|
:class=>nil,
|
|
1237
1468
|
:modifier=>"",
|
|
1238
1469
|
:contains_ptr? => true,
|
|
1239
|
-
:args=>[ {:type=>"struct const _KeepYourHeadUp_*", :name=>"BillyBuddy", :ptr? => true, :const? => true, :const_ptr? => true} ],
|
|
1470
|
+
:args=>[ {:type=>"struct const _KeepYourHeadUp_*", :name=>"BillyBuddy", :ptr? => true, :string? => false, :const? => true, :const_ptr? => true} ],
|
|
1240
1471
|
:args_string=>"struct const _KeepYourHeadUp_* const BillyBuddy",
|
|
1241
1472
|
:args_call=>"BillyBuddy"
|
|
1242
1473
|
},
|
|
@@ -1279,8 +1510,8 @@ describe CMockHeaderParser, "Verify CMockHeaderParser Module" do
|
|
|
1279
1510
|
:class=>nil,
|
|
1280
1511
|
:modifier=>"",
|
|
1281
1512
|
:contains_ptr? => true,
|
|
1282
|
-
:args=>[ {:type=>"union STARS_AND_STRIPES*", :name=>"a", :ptr? => true, :const? => false, :const_ptr? => false},
|
|
1283
|
-
{:type=>"union AFL_CIO", :name=>"b", :ptr? => false, :const? => false, :const_ptr? => false}
|
|
1513
|
+
:args=>[ {:type=>"union STARS_AND_STRIPES*", :name=>"a", :ptr? => true, :string? => false, :const? => false, :const_ptr? => false},
|
|
1514
|
+
{:type=>"union AFL_CIO", :name=>"b", :ptr? => false, :string? => false, :const? => false, :const_ptr? => false}
|
|
1284
1515
|
],
|
|
1285
1516
|
:args_string=>"union STARS_AND_STRIPES* a, union AFL_CIO b",
|
|
1286
1517
|
:args_call=>"a, b" }]
|
|
@@ -1305,11 +1536,11 @@ describe CMockHeaderParser, "Verify CMockHeaderParser Module" do
|
|
|
1305
1536
|
:class=>nil,
|
|
1306
1537
|
:modifier=>"",
|
|
1307
1538
|
:contains_ptr? => true,
|
|
1308
|
-
:args=>[ {:type=> "unsigned int", :name=>"const_param", :ptr? => false, :const? => true, :const_ptr? => false},
|
|
1309
|
-
{:type=>"int", :name=>"int_param", :ptr? => false, :const? => false, :const_ptr? => false},
|
|
1310
|
-
{:type=>"int", :name=>"integer", :ptr? => false, :const? => false, :const_ptr? => false},
|
|
1311
|
-
{:type=>"char", :name=>"character", :ptr? => false, :const? => false, :const_ptr? => false},
|
|
1312
|
-
{:type=>"int*", :name=>"constant", :ptr? => true, :const? => false, :const_ptr? => true}
|
|
1539
|
+
:args=>[ {:type=> "unsigned int", :name=>"const_param", :ptr? => false, :string? => false, :const? => true, :const_ptr? => false},
|
|
1540
|
+
{:type=>"int", :name=>"int_param", :ptr? => false, :string? => false, :const? => false, :const_ptr? => false},
|
|
1541
|
+
{:type=>"int", :name=>"integer", :ptr? => false, :string? => false, :const? => false, :const_ptr? => false},
|
|
1542
|
+
{:type=>"char", :name=>"character", :ptr? => false, :string? => false, :const? => false, :const_ptr? => false},
|
|
1543
|
+
{:type=>"int*", :name=>"constant", :ptr? => true, :string? => false, :const? => false, :const_ptr? => true}
|
|
1313
1544
|
],
|
|
1314
1545
|
:args_string=>"const unsigned int const_param, int int_param, int integer, char character, int* const constant",
|
|
1315
1546
|
:args_call=>"const_param, int_param, integer, character, constant" }]
|
|
@@ -1334,11 +1565,11 @@ describe CMockHeaderParser, "Verify CMockHeaderParser Module" do
|
|
|
1334
1565
|
:class=>nil,
|
|
1335
1566
|
:modifier=>"",
|
|
1336
1567
|
:contains_ptr? => true,
|
|
1337
|
-
:args=>[ {:type=>"integer", :name=>"param", :ptr? => false, :const? => false, :const_ptr? => false},
|
|
1338
|
-
{:type=>"character", :name=>"thing", :ptr? => false, :const? => false, :const_ptr? => false},
|
|
1339
|
-
{:type=>"longint*", :name=>"junk", :ptr? => true, :const? => false, :const_ptr? => false},
|
|
1340
|
-
{:type=>"constant", :name=>"value", :ptr? => false, :const? => false, :const_ptr? => false},
|
|
1341
|
-
{:type=>"int32_t", :name=>"number", :ptr? => false, :const? => true, :const_ptr? => false}
|
|
1568
|
+
:args=>[ {:type=>"integer", :name=>"param", :ptr? => false, :string? => false, :const? => false, :const_ptr? => false},
|
|
1569
|
+
{:type=>"character", :name=>"thing", :ptr? => false, :string? => false, :const? => false, :const_ptr? => false},
|
|
1570
|
+
{:type=>"longint*", :name=>"junk", :ptr? => true, :string? => false, :const? => false, :const_ptr? => false},
|
|
1571
|
+
{:type=>"constant", :name=>"value", :ptr? => false, :string? => false, :const? => false, :const_ptr? => false},
|
|
1572
|
+
{:type=>"int32_t", :name=>"number", :ptr? => false, :string? => false, :const? => true, :const_ptr? => false}
|
|
1342
1573
|
],
|
|
1343
1574
|
:args_string=>"integer param, character thing, longint* junk, constant value, int32_t const number",
|
|
1344
1575
|
:args_call=>"param, thing, junk, value, number" }]
|
|
@@ -1363,10 +1594,10 @@ describe CMockHeaderParser, "Verify CMockHeaderParser Module" do
|
|
|
1363
1594
|
:class=>nil,
|
|
1364
1595
|
:modifier=>"",
|
|
1365
1596
|
:contains_ptr? => false,
|
|
1366
|
-
:args=>[ {:type=>"signed char", :name=>"abc", :ptr? => false, :const? => false, :const_ptr? => false},
|
|
1367
|
-
{:type=>"unsigned long int", :name=>"xyz_123", :ptr? => false, :const? => true, :const_ptr? => false},
|
|
1368
|
-
{:type=>"unsigned int", :name=>"abc_123", :ptr? => false, :const? => true, :const_ptr? => false},
|
|
1369
|
-
{:type=>"long long", :name=>"arm_of_the_law", :ptr? => false, :const? => false, :const_ptr? => false}
|
|
1597
|
+
:args=>[ {:type=>"signed char", :name=>"abc", :ptr? => false, :string? => false, :const? => false, :const_ptr? => false},
|
|
1598
|
+
{:type=>"unsigned long int", :name=>"xyz_123", :ptr? => false, :string? => false, :const? => true, :const_ptr? => false},
|
|
1599
|
+
{:type=>"unsigned int", :name=>"abc_123", :ptr? => false, :string? => false, :const? => true, :const_ptr? => false},
|
|
1600
|
+
{:type=>"long long", :name=>"arm_of_the_law", :ptr? => false, :string? => false, :const? => false, :const_ptr? => false}
|
|
1370
1601
|
],
|
|
1371
1602
|
:args_string=>"signed char abc, const unsigned long int xyz_123, unsigned int const abc_123, long long arm_of_the_law",
|
|
1372
1603
|
:args_call=>"abc, xyz_123, abc_123, arm_of_the_law" }]
|
|
@@ -1391,10 +1622,10 @@ describe CMockHeaderParser, "Verify CMockHeaderParser Module" do
|
|
|
1391
1622
|
:class=>nil,
|
|
1392
1623
|
:modifier=>"",
|
|
1393
1624
|
:contains_ptr? => true,
|
|
1394
|
-
:args=>[ {:type=>"CUSTOM_TYPE", :name=>"abc", :ptr? => false, :const? => false, :const_ptr? => false},
|
|
1395
|
-
{:type=>"CUSTOM_TYPE*", :name=>"xyz_123", :ptr? => true, :const? => false, :const_ptr? => false},
|
|
1396
|
-
{:type=>"CUSTOM_TYPE", :name=>"abcxyz", :ptr? => false, :const? => true, :const_ptr? => false},
|
|
1397
|
-
{:type=>"struct CUSTOM_TYPE const*", :name=>"abc123", :ptr? => true, :const? => true, :const_ptr? => true}
|
|
1625
|
+
:args=>[ {:type=>"CUSTOM_TYPE", :name=>"abc", :ptr? => false, :string? => false, :const? => false, :const_ptr? => false},
|
|
1626
|
+
{:type=>"CUSTOM_TYPE*", :name=>"xyz_123", :ptr? => true, :string? => false, :const? => false, :const_ptr? => false},
|
|
1627
|
+
{:type=>"CUSTOM_TYPE", :name=>"abcxyz", :ptr? => false, :string? => false, :const? => true, :const_ptr? => false},
|
|
1628
|
+
{:type=>"struct CUSTOM_TYPE const*", :name=>"abc123", :ptr? => true, :string? => false, :const? => true, :const_ptr? => true}
|
|
1398
1629
|
],
|
|
1399
1630
|
:args_string=>"CUSTOM_TYPE abc, CUSTOM_TYPE* xyz_123, CUSTOM_TYPE const abcxyz, struct CUSTOM_TYPE const* const abc123",
|
|
1400
1631
|
:args_call=>"abc, xyz_123, abcxyz, abc123" }]
|
|
@@ -1406,13 +1637,11 @@ describe CMockHeaderParser, "Verify CMockHeaderParser Module" do
|
|
|
1406
1637
|
source = 'void KeyOperated(CUSTOM_TYPE thing1[], int thing2 [ ], ' \
|
|
1407
1638
|
'char thing3 [][2 ][ 3], int* thing4[4], u8 thing5[((u8)((5 + 5*2)/3))])'
|
|
1408
1639
|
expected_args = [
|
|
1409
|
-
{ type: 'CUSTOM_TYPE*', name: 'thing1', ptr?: true, const?: false, const_ptr?: false },
|
|
1410
|
-
{ type: 'int*', name: 'thing2', ptr?: true, const?: false, const_ptr?: false },
|
|
1411
|
-
|
|
1412
|
-
{ type: '
|
|
1413
|
-
|
|
1414
|
-
{ type: 'int**', name: 'thing4', ptr?: true, const?: false, const_ptr?: false },
|
|
1415
|
-
{ type: 'u8*', name: 'thing5', ptr?: true, const?: false, const_ptr?: false }
|
|
1640
|
+
{ type: 'CUSTOM_TYPE*', name: 'thing1', ptr?: true, string?: false, const?: false, const_ptr?: false, array_dims: [''] },
|
|
1641
|
+
{ type: 'int*', name: 'thing2', ptr?: true, string?: false, const?: false, const_ptr?: false, array_dims: [''] },
|
|
1642
|
+
{ type: 'char*', name: 'thing3', ptr?: false, string?: true, const?: false, const_ptr?: false, array_dims: ['', '2', '3'] },
|
|
1643
|
+
{ type: 'int**', name: 'thing4', ptr?: true, string?: false, const?: false, const_ptr?: false, array_dims: ['4'] },
|
|
1644
|
+
{ type: 'u8*', name: 'thing5', ptr?: true, string?: false, const?: false, const_ptr?: false, array_dims: ['((u8)((5 + 5*2)/3))'] }
|
|
1416
1645
|
]
|
|
1417
1646
|
expected = [{:var_arg=>nil,
|
|
1418
1647
|
:return=>{ :type => "void",
|
|
@@ -1430,8 +1659,7 @@ describe CMockHeaderParser, "Verify CMockHeaderParser Module" do
|
|
|
1430
1659
|
:modifier=>"",
|
|
1431
1660
|
:contains_ptr? => true,
|
|
1432
1661
|
:args => expected_args,
|
|
1433
|
-
:args_string => 'CUSTOM_TYPE
|
|
1434
|
-
'char* thing3, int** thing4, u8* thing5',
|
|
1662
|
+
:args_string => 'CUSTOM_TYPE thing1[], int thing2[], char thing3[][2][3], int* thing4[4], u8 thing5[((u8)((5 + 5*2)/3))]',
|
|
1435
1663
|
:args_call => 'thing1, thing2, thing3, thing4, thing5' }]
|
|
1436
1664
|
result = @parser.parse("module", source)
|
|
1437
1665
|
assert_equal(expected, result[:functions])
|
|
@@ -1454,9 +1682,9 @@ describe CMockHeaderParser, "Verify CMockHeaderParser Module" do
|
|
|
1454
1682
|
:class=>nil,
|
|
1455
1683
|
:modifier=>"",
|
|
1456
1684
|
:contains_ptr? => false,
|
|
1457
|
-
:args=>[ {:type=>"unsigned CUSTOM_TYPE", :name=>"abc", :ptr? => false, :const? => false, :const_ptr? => false},
|
|
1458
|
-
{:type=>"unsigned", :name=>"xyz", :ptr? => false, :const? => false, :const_ptr? => false},
|
|
1459
|
-
{:type=>"CUSTOM_TYPE1 CUSTOM_TYPE2", :name=>"pdq", :ptr? => false, :const? => false, :const_ptr? => false}
|
|
1685
|
+
:args=>[ {:type=>"unsigned CUSTOM_TYPE", :name=>"abc", :ptr? => false, :string? => false, :const? => false, :const_ptr? => false},
|
|
1686
|
+
{:type=>"unsigned", :name=>"xyz", :ptr? => false, :string? => false, :const? => false, :const_ptr? => false},
|
|
1687
|
+
{:type=>"CUSTOM_TYPE1 CUSTOM_TYPE2", :name=>"pdq", :ptr? => false, :string? => false, :const? => false, :const_ptr? => false}
|
|
1460
1688
|
],
|
|
1461
1689
|
:args_string=>"unsigned CUSTOM_TYPE abc, unsigned xyz, CUSTOM_TYPE1 CUSTOM_TYPE2 pdq",
|
|
1462
1690
|
:args_call=>"abc, xyz, pdq" }]
|
|
@@ -1481,7 +1709,7 @@ describe CMockHeaderParser, "Verify CMockHeaderParser Module" do
|
|
|
1481
1709
|
:class=>nil,
|
|
1482
1710
|
:modifier=>"",
|
|
1483
1711
|
:contains_ptr? => false,
|
|
1484
|
-
:args=>[ {:type=>"cmock_module_func_ptr1", :name=>"func_ptr", :ptr? => false, :const? => false, :const_ptr? => false}
|
|
1712
|
+
:args=>[ {:type=>"cmock_module_func_ptr1", :name=>"func_ptr", :ptr? => false, :string? => false, :const? => false, :const_ptr? => false}
|
|
1485
1713
|
],
|
|
1486
1714
|
:args_string=>"cmock_module_func_ptr1 func_ptr",
|
|
1487
1715
|
:args_call=>"func_ptr" }]
|
|
@@ -1508,7 +1736,7 @@ describe CMockHeaderParser, "Verify CMockHeaderParser Module" do
|
|
|
1508
1736
|
:class=>nil,
|
|
1509
1737
|
:modifier=>"",
|
|
1510
1738
|
:contains_ptr? => false,
|
|
1511
|
-
:args=>[ {:type=>"cmock_module_func_ptr1", :name=>"func_ptr", :ptr? => false, :const? => false, :const_ptr? => false}
|
|
1739
|
+
:args=>[ {:type=>"cmock_module_func_ptr1", :name=>"func_ptr", :ptr? => false, :string? => false, :const? => false, :const_ptr? => false}
|
|
1512
1740
|
],
|
|
1513
1741
|
:args_string=>"cmock_module_func_ptr1 func_ptr",
|
|
1514
1742
|
:args_call=>"func_ptr" }]
|
|
@@ -1518,6 +1746,33 @@ describe CMockHeaderParser, "Verify CMockHeaderParser Module" do
|
|
|
1518
1746
|
assert_equal(typedefs, result[:typedefs])
|
|
1519
1747
|
end
|
|
1520
1748
|
|
|
1749
|
+
it "extract functions using a function pointer with shorthand notation and a calling convention" do
|
|
1750
|
+
source = "void FunkyTurkey(void __stdcall * func_ptr(int arg0))"
|
|
1751
|
+
expected = [{ :var_arg=>nil,
|
|
1752
|
+
:return=>{ :type => "void",
|
|
1753
|
+
:name => 'cmock_to_return',
|
|
1754
|
+
:ptr? => false,
|
|
1755
|
+
:const? => false,
|
|
1756
|
+
:const_ptr? => false,
|
|
1757
|
+
:str => "void cmock_to_return",
|
|
1758
|
+
:void? => true
|
|
1759
|
+
},
|
|
1760
|
+
:name=>"FunkyTurkey",
|
|
1761
|
+
:unscoped_name=>"FunkyTurkey",
|
|
1762
|
+
:namespace=>[],
|
|
1763
|
+
:class=>nil,
|
|
1764
|
+
:modifier=>"",
|
|
1765
|
+
:contains_ptr? => false,
|
|
1766
|
+
:args=>[ {:type=>"cmock_module_func_ptr1", :name=>"func_ptr", :ptr? => false, :string? => false, :const? => false, :const_ptr? => false}
|
|
1767
|
+
],
|
|
1768
|
+
:args_string=>"cmock_module_func_ptr1 func_ptr",
|
|
1769
|
+
:args_call=>"func_ptr" }]
|
|
1770
|
+
typedefs = ["typedef void *(__stdcall *cmock_module_func_ptr1)(int arg0);"]
|
|
1771
|
+
result = @parser.parse("module", source)
|
|
1772
|
+
assert_equal(expected, result[:functions])
|
|
1773
|
+
assert_equal(typedefs, result[:typedefs])
|
|
1774
|
+
end
|
|
1775
|
+
|
|
1521
1776
|
it "extract functions containing a function pointer with a void" do
|
|
1522
1777
|
source = "void FunkyTurkey(void (*func_ptr)(void))"
|
|
1523
1778
|
expected = [{ :var_arg=>nil,
|
|
@@ -1535,7 +1790,7 @@ describe CMockHeaderParser, "Verify CMockHeaderParser Module" do
|
|
|
1535
1790
|
:class=>nil,
|
|
1536
1791
|
:modifier=>"",
|
|
1537
1792
|
:contains_ptr? => false,
|
|
1538
|
-
:args=>[ {:type=>"cmock_module_func_ptr1", :name=>"func_ptr", :ptr? => false, :const? => false, :const_ptr? => false}
|
|
1793
|
+
:args=>[ {:type=>"cmock_module_func_ptr1", :name=>"func_ptr", :ptr? => false, :string? => false, :const? => false, :const_ptr? => false}
|
|
1539
1794
|
],
|
|
1540
1795
|
:args_string=>"cmock_module_func_ptr1 func_ptr",
|
|
1541
1796
|
:args_call=>"func_ptr" }]
|
|
@@ -1562,7 +1817,7 @@ describe CMockHeaderParser, "Verify CMockHeaderParser Module" do
|
|
|
1562
1817
|
:class=>nil,
|
|
1563
1818
|
:modifier=>"",
|
|
1564
1819
|
:contains_ptr? => false,
|
|
1565
|
-
:args=>[ {:type=>"cmock_module_func_ptr1", :name=>"func_ptr", :ptr? => false, :const? => false, :const_ptr? => false}
|
|
1820
|
+
:args=>[ {:type=>"cmock_module_func_ptr1", :name=>"func_ptr", :ptr? => false, :string? => false, :const? => false, :const_ptr? => false}
|
|
1566
1821
|
],
|
|
1567
1822
|
:args_string=>"cmock_module_func_ptr1 func_ptr",
|
|
1568
1823
|
:args_call=>"func_ptr" }]
|
|
@@ -1589,7 +1844,7 @@ describe CMockHeaderParser, "Verify CMockHeaderParser Module" do
|
|
|
1589
1844
|
:class=>nil,
|
|
1590
1845
|
:modifier=>"",
|
|
1591
1846
|
:contains_ptr? => false,
|
|
1592
|
-
:args=>[ {:type=>"cmock_module_func_ptr1", :name=>"func_ptr", :ptr? => false, :const? => true, :const_ptr? => false}
|
|
1847
|
+
:args=>[ {:type=>"cmock_module_func_ptr1", :name=>"func_ptr", :ptr? => false, :string? => false, :const? => true, :const_ptr? => false}
|
|
1593
1848
|
],
|
|
1594
1849
|
:args_string=>"cmock_module_func_ptr1 const func_ptr",
|
|
1595
1850
|
:args_call=>"func_ptr" }]
|
|
@@ -1604,7 +1859,7 @@ describe CMockHeaderParser, "Verify CMockHeaderParser Module" do
|
|
|
1604
1859
|
# expected = [{ :var_arg=>nil,
|
|
1605
1860
|
# :return=>{ :type => "void",
|
|
1606
1861
|
# :name => 'cmock_to_return',
|
|
1607
|
-
# :ptr? => false,
|
|
1862
|
+
# :ptr? => false, :string? => false,
|
|
1608
1863
|
# :const? => false,
|
|
1609
1864
|
# :const_ptr? => false,
|
|
1610
1865
|
# :str => "void cmock_to_return",
|
|
@@ -1616,7 +1871,7 @@ describe CMockHeaderParser, "Verify CMockHeaderParser Module" do
|
|
|
1616
1871
|
# :class=>nil,
|
|
1617
1872
|
# :modifier=>"",
|
|
1618
1873
|
# :contains_ptr? => false,
|
|
1619
|
-
# :args=>[ {:type=>"cmock_module_func_ptr1", :name=>"func_ptr", :ptr? => false, :const? => false, :const_ptr? => false}
|
|
1874
|
+
# :args=>[ {:type=>"cmock_module_func_ptr1", :name=>"func_ptr", :ptr? => false, :string? => false, :const? => false, :const_ptr? => false}
|
|
1620
1875
|
# ],
|
|
1621
1876
|
# :args_string=>"cmock_module_func_ptr1 func_ptr",
|
|
1622
1877
|
# :args_call=>"func_ptr" }]
|
|
@@ -1643,8 +1898,8 @@ describe CMockHeaderParser, "Verify CMockHeaderParser Module" do
|
|
|
1643
1898
|
:class=>nil,
|
|
1644
1899
|
:modifier=>"",
|
|
1645
1900
|
:contains_ptr? => false,
|
|
1646
|
-
:args=>[ {:type=>"cmock_module_func_ptr1", :name=>"func_ptr1", :ptr? => false, :const? => false, :const_ptr? => false},
|
|
1647
|
-
{:type=>"cmock_module_func_ptr2", :name=>"func_ptr2", :ptr? => false, :const? => false, :const_ptr? => false}
|
|
1901
|
+
:args=>[ {:type=>"cmock_module_func_ptr1", :name=>"func_ptr1", :ptr? => false, :string? => false, :const? => false, :const_ptr? => false},
|
|
1902
|
+
{:type=>"cmock_module_func_ptr2", :name=>"func_ptr2", :ptr? => false, :string? => false, :const? => false, :const_ptr? => false}
|
|
1648
1903
|
],
|
|
1649
1904
|
:args_string=>"cmock_module_func_ptr1 func_ptr1, cmock_module_func_ptr2 func_ptr2",
|
|
1650
1905
|
:args_call=>"func_ptr1, func_ptr2" }]
|
|
@@ -1671,9 +1926,9 @@ describe CMockHeaderParser, "Verify CMockHeaderParser Module" do
|
|
|
1671
1926
|
:class=>nil,
|
|
1672
1927
|
:modifier=>"",
|
|
1673
1928
|
:contains_ptr? => false,
|
|
1674
|
-
:args=>[ {:type=>"uint16_t", :name=>"num1", :ptr? => false, :const? => false, :const_ptr? => false},
|
|
1675
|
-
{:type=>"uint16_t", :name=>"num2", :ptr? => false, :const? => false, :const_ptr? => false},
|
|
1676
|
-
{:type=>"cmock_module_func_ptr1", :name=>"func_ptr1", :ptr? => false, :const? => false, :const_ptr? => false}
|
|
1929
|
+
:args=>[ {:type=>"uint16_t", :name=>"num1", :ptr? => false, :string? => false, :const? => false, :const_ptr? => false},
|
|
1930
|
+
{:type=>"uint16_t", :name=>"num2", :ptr? => false, :string? => false, :const? => false, :const_ptr? => false},
|
|
1931
|
+
{:type=>"cmock_module_func_ptr1", :name=>"func_ptr1", :ptr? => false, :string? => false, :const? => false, :const_ptr? => false}
|
|
1677
1932
|
],
|
|
1678
1933
|
:args_string=>"uint16_t num1, uint16_t num2, cmock_module_func_ptr1 func_ptr1",
|
|
1679
1934
|
:args_call=>"num1, num2, func_ptr1" }]
|
|
@@ -1700,7 +1955,7 @@ describe CMockHeaderParser, "Verify CMockHeaderParser Module" do
|
|
|
1700
1955
|
:class=>nil,
|
|
1701
1956
|
:modifier=>"",
|
|
1702
1957
|
:contains_ptr? => false,
|
|
1703
|
-
:args=>[ {:type=>"cmock_module_func_ptr1", :name=>"cmock_arg1", :ptr? => false, :const? => true, :const_ptr? => false}
|
|
1958
|
+
:args=>[ {:type=>"cmock_module_func_ptr1", :name=>"cmock_arg1", :ptr? => false, :string? => false, :const? => true, :const_ptr? => false}
|
|
1704
1959
|
],
|
|
1705
1960
|
:args_string=>"cmock_module_func_ptr1 const cmock_arg1",
|
|
1706
1961
|
:args_call=>"cmock_arg1" }]
|
|
@@ -1727,7 +1982,7 @@ describe CMockHeaderParser, "Verify CMockHeaderParser Module" do
|
|
|
1727
1982
|
:class=>nil,
|
|
1728
1983
|
:modifier=>"",
|
|
1729
1984
|
:contains_ptr? => false,
|
|
1730
|
-
:args=>[ {:type=>"char", :name=>"op_code", :ptr? => false, :const? => true, :const_ptr? => false}
|
|
1985
|
+
:args=>[ {:type=>"char", :name=>"op_code", :ptr? => false, :string? => false, :const? => true, :const_ptr? => false}
|
|
1731
1986
|
],
|
|
1732
1987
|
:args_string=>"const char op_code",
|
|
1733
1988
|
:args_call=>"op_code" }]
|
|
@@ -1806,8 +2061,8 @@ describe CMockHeaderParser, "Verify CMockHeaderParser Module" do
|
|
|
1806
2061
|
:class=>nil,
|
|
1807
2062
|
:modifier=>"",
|
|
1808
2063
|
:contains_ptr? => true,
|
|
1809
|
-
:args=>[ {:type=>"double*", :name=>"foo", :ptr? => true, :const? => false, :const_ptr? => false},
|
|
1810
|
-
{:type=>"THING*", :name=>"bar", :ptr? => true, :const? => false, :const_ptr? => false}
|
|
2064
|
+
:args=>[ {:type=>"double*", :name=>"foo", :ptr? => true, :string? => false, :const? => false, :const_ptr? => false},
|
|
2065
|
+
{:type=>"THING*", :name=>"bar", :ptr? => true, :string? => false, :const? => false, :const_ptr? => false}
|
|
1811
2066
|
],
|
|
1812
2067
|
:args_string=>"double* foo, THING* bar",
|
|
1813
2068
|
:args_call=>"foo, bar" }]
|
|
@@ -1834,11 +2089,11 @@ describe CMockHeaderParser, "Verify CMockHeaderParser Module" do
|
|
|
1834
2089
|
:class=>nil,
|
|
1835
2090
|
:modifier=>"SQLITE_API",
|
|
1836
2091
|
:contains_ptr? => true,
|
|
1837
|
-
:args=>[ {:type=>"sqlite3_stmt*", :name=>"cmock_arg2", :ptr? => true, :const? => false, :const_ptr? => false},
|
|
1838
|
-
{:type=>"int", :name=>"cmock_arg3", :ptr? => false, :const? => false, :const_ptr? => false},
|
|
1839
|
-
{:type=>"const char*", :name=>"cmock_arg4", :ptr? => false, :const? => true, :const_ptr? => false},
|
|
1840
|
-
{:type=>"int", :name=>"n", :ptr? => false, :const? => false, :const_ptr? => false},
|
|
1841
|
-
{:type=>"cmock_module_func_ptr1", :name=>"cmock_arg1", :ptr? => false, :const? => false, :const_ptr? => false}
|
|
2092
|
+
:args=>[ {:type=>"sqlite3_stmt*", :name=>"cmock_arg2", :ptr? => true, :string? => false, :const? => false, :const_ptr? => false},
|
|
2093
|
+
{:type=>"int", :name=>"cmock_arg3", :ptr? => false, :string? => false, :const? => false, :const_ptr? => false},
|
|
2094
|
+
{:type=>"const char*", :name=>"cmock_arg4", :ptr? => false, :string? => true, :const? => true, :const_ptr? => false},
|
|
2095
|
+
{:type=>"int", :name=>"n", :ptr? => false, :string? => false, :const? => false, :const_ptr? => false},
|
|
2096
|
+
{:type=>"cmock_module_func_ptr1", :name=>"cmock_arg1", :ptr? => false, :string? => false, :const? => false, :const_ptr? => false}
|
|
1842
2097
|
],
|
|
1843
2098
|
:args_string=>"sqlite3_stmt* cmock_arg2, int cmock_arg3, const char* cmock_arg4, int n, cmock_module_func_ptr1 cmock_arg1",
|
|
1844
2099
|
:args_call=>"cmock_arg2, cmock_arg3, cmock_arg4, n, cmock_arg1" }]
|
|
@@ -1848,6 +2103,59 @@ describe CMockHeaderParser, "Verify CMockHeaderParser Module" do
|
|
|
1848
2103
|
assert_equal(typedefs, result[:typedefs])
|
|
1849
2104
|
end
|
|
1850
2105
|
|
|
2106
|
+
it "extract functions containing a parenthesized pointer argument" do
|
|
2107
|
+
source = "void func(char *str, int (* numb))"
|
|
2108
|
+
expected = [{ :var_arg=>nil,
|
|
2109
|
+
:return=>{ :type => "void",
|
|
2110
|
+
:name => 'cmock_to_return',
|
|
2111
|
+
:ptr? => false,
|
|
2112
|
+
:const? => false,
|
|
2113
|
+
:const_ptr? => false,
|
|
2114
|
+
:str => "void cmock_to_return",
|
|
2115
|
+
:void? => true
|
|
2116
|
+
},
|
|
2117
|
+
:name=>"func",
|
|
2118
|
+
:unscoped_name=>"func",
|
|
2119
|
+
:namespace=>[],
|
|
2120
|
+
:class=>nil,
|
|
2121
|
+
:modifier=>"",
|
|
2122
|
+
:contains_ptr? => true,
|
|
2123
|
+
:args=>[ {:type=>"char*", :name=>"str", :ptr? => false, :string? => true, :const? => false, :const_ptr? => false},
|
|
2124
|
+
{:type=>"int*", :name=>"numb", :ptr? => true, :string? => false, :const? => false, :const_ptr? => false}
|
|
2125
|
+
],
|
|
2126
|
+
:args_string=>"char* str, int* numb",
|
|
2127
|
+
:args_call=>"str, numb" }]
|
|
2128
|
+
result = @parser.parse("module", source)
|
|
2129
|
+
assert_equal(expected, result[:functions])
|
|
2130
|
+
assert_equal([], result[:typedefs])
|
|
2131
|
+
end
|
|
2132
|
+
|
|
2133
|
+
it "extract functions containing a parenthesized const pointer argument" do
|
|
2134
|
+
source = "void func(int (* const numb))"
|
|
2135
|
+
expected = [{ :var_arg=>nil,
|
|
2136
|
+
:return=>{ :type => "void",
|
|
2137
|
+
:name => 'cmock_to_return',
|
|
2138
|
+
:ptr? => false,
|
|
2139
|
+
:const? => false,
|
|
2140
|
+
:const_ptr? => false,
|
|
2141
|
+
:str => "void cmock_to_return",
|
|
2142
|
+
:void? => true
|
|
2143
|
+
},
|
|
2144
|
+
:name=>"func",
|
|
2145
|
+
:unscoped_name=>"func",
|
|
2146
|
+
:namespace=>[],
|
|
2147
|
+
:class=>nil,
|
|
2148
|
+
:modifier=>"",
|
|
2149
|
+
:contains_ptr? => true,
|
|
2150
|
+
:args=>[ {:type=>"int*", :name=>"numb", :ptr? => true, :string? => false, :const? => false, :const_ptr? => true}
|
|
2151
|
+
],
|
|
2152
|
+
:args_string=>"int* const numb",
|
|
2153
|
+
:args_call=>"numb" }]
|
|
2154
|
+
result = @parser.parse("module", source)
|
|
2155
|
+
assert_equal(expected, result[:functions])
|
|
2156
|
+
assert_equal([], result[:typedefs])
|
|
2157
|
+
end
|
|
2158
|
+
|
|
1851
2159
|
it "extract functions with varargs" do
|
|
1852
2160
|
source = "int XFiles(int Scully, int Mulder, ...);\n"
|
|
1853
2161
|
expected = [{ :var_arg=>"...",
|
|
@@ -1865,8 +2173,8 @@ describe CMockHeaderParser, "Verify CMockHeaderParser Module" do
|
|
|
1865
2173
|
:class=>nil,
|
|
1866
2174
|
:modifier=>"",
|
|
1867
2175
|
:contains_ptr? => false,
|
|
1868
|
-
:args=>[ {:type=>"int", :name=>"Scully", :ptr? => false, :const? => false, :const_ptr? => false},
|
|
1869
|
-
{:type=>"int", :name=>"Mulder", :ptr? => false, :const? => false, :const_ptr? => false}
|
|
2176
|
+
:args=>[ {:type=>"int", :name=>"Scully", :ptr? => false, :string? => false, :const? => false, :const_ptr? => false},
|
|
2177
|
+
{:type=>"int", :name=>"Mulder", :ptr? => false, :string? => false, :const? => false, :const_ptr? => false}
|
|
1870
2178
|
],
|
|
1871
2179
|
:args_string=>"int Scully, int Mulder",
|
|
1872
2180
|
:args_call=>"Scully, Mulder"
|
|
@@ -1891,7 +2199,7 @@ describe CMockHeaderParser, "Verify CMockHeaderParser Module" do
|
|
|
1891
2199
|
:class=>nil,
|
|
1892
2200
|
:modifier=>"",
|
|
1893
2201
|
:contains_ptr? => true,
|
|
1894
|
-
:args=>[ {:type=>"void*", :name=>"stuff", :ptr? => true, :const? => false, :const_ptr? => false}
|
|
2202
|
+
:args=>[ {:type=>"void*", :name=>"stuff", :ptr? => true, :string? => false, :const? => false, :const_ptr? => false}
|
|
1895
2203
|
],
|
|
1896
2204
|
:args_string=>"void* stuff",
|
|
1897
2205
|
:args_call=>"stuff"
|
|
@@ -1916,8 +2224,8 @@ describe CMockHeaderParser, "Verify CMockHeaderParser Module" do
|
|
|
1916
2224
|
:class=>nil,
|
|
1917
2225
|
:modifier=>"",
|
|
1918
2226
|
:contains_ptr? => false,
|
|
1919
|
-
:args=>[ {:type=>"int", :name=>"Lenny", :ptr? => false, :const? => false, :const_ptr? => false},
|
|
1920
|
-
{:type=>"int", :name=>"Squiggy", :ptr? => false, :const? => false, :const_ptr? => false}
|
|
2227
|
+
:args=>[ {:type=>"int", :name=>"Lenny", :ptr? => false, :string? => false, :const? => false, :const_ptr? => false},
|
|
2228
|
+
{:type=>"int", :name=>"Squiggy", :ptr? => false, :string? => false, :const? => false, :const_ptr? => false}
|
|
1921
2229
|
],
|
|
1922
2230
|
:args_string=>"int Lenny, int Squiggy",
|
|
1923
2231
|
:args_call=>"Lenny, Squiggy"
|
|
@@ -1942,8 +2250,8 @@ describe CMockHeaderParser, "Verify CMockHeaderParser Module" do
|
|
|
1942
2250
|
:class=>nil,
|
|
1943
2251
|
:modifier=>"",
|
|
1944
2252
|
:contains_ptr? => false,
|
|
1945
|
-
:args=>[ {:type=>"int", :name=>"Cliff", :ptr? => false, :const? => false, :const_ptr? => false},
|
|
1946
|
-
{:type=>"int", :name=>"Claire", :ptr? => false, :const? => false, :const_ptr? => false}
|
|
2253
|
+
:args=>[ {:type=>"int", :name=>"Cliff", :ptr? => false, :string? => false, :const? => false, :const_ptr? => false},
|
|
2254
|
+
{:type=>"int", :name=>"Claire", :ptr? => false, :string? => false, :const? => false, :const_ptr? => false}
|
|
1947
2255
|
],
|
|
1948
2256
|
:args_string=>"int Cliff, int Claire",
|
|
1949
2257
|
:args_call=>"Cliff, Claire"
|
|
@@ -1981,7 +2289,7 @@ describe CMockHeaderParser, "Verify CMockHeaderParser Module" do
|
|
|
1981
2289
|
assert_equal(@parser.divine_ptr(entry[0]), entry[1])
|
|
1982
2290
|
assert_equal(@parser.divine_const(entry[0]), entry[2])
|
|
1983
2291
|
assert_equal(@parser.divine_ptr_and_const(entry[0]),
|
|
1984
|
-
{ ptr?: entry[1], const?: entry[2], const_ptr?: entry[3] })
|
|
2292
|
+
{ ptr?: entry[1], string?: false, const?: entry[2], const_ptr?: entry[3] })
|
|
1985
2293
|
end
|
|
1986
2294
|
end
|
|
1987
2295
|
|
|
@@ -2348,8 +2656,8 @@ describe CMockHeaderParser, "Verify CMockHeaderParser Module" do
|
|
|
2348
2656
|
:class=>nil,
|
|
2349
2657
|
:modifier=>"",
|
|
2350
2658
|
:contains_ptr? => false,
|
|
2351
|
-
:args=>[ {:type=>"int", :name=>"Lenny", :ptr? => false, :const? => false, :const_ptr? => false},
|
|
2352
|
-
{:type=>"int", :name=>"Squiggy", :ptr? => false, :const? => false, :const_ptr? => false}
|
|
2659
|
+
:args=>[ {:type=>"int", :name=>"Lenny", :ptr? => false, :string? => false, :const? => false, :const_ptr? => false},
|
|
2660
|
+
{:type=>"int", :name=>"Squiggy", :ptr? => false, :string? => false, :const? => false, :const_ptr? => false}
|
|
2353
2661
|
],
|
|
2354
2662
|
:args_string=>"int Lenny, int Squiggy",
|
|
2355
2663
|
:args_call=>"Lenny, Squiggy"
|
|
@@ -2592,7 +2900,7 @@ describe CMockHeaderParser, "Verify CMockHeaderParser Module" do
|
|
|
2592
2900
|
:var_arg => nil,
|
|
2593
2901
|
:args_string => "int a",
|
|
2594
2902
|
:args => [
|
|
2595
|
-
{ :ptr? => false,
|
|
2903
|
+
{ :ptr? => false, :string? => false,
|
|
2596
2904
|
:const? => false,
|
|
2597
2905
|
:const_ptr? => false,
|
|
2598
2906
|
:name => "a",
|
|
@@ -2615,7 +2923,7 @@ describe CMockHeaderParser, "Verify CMockHeaderParser Module" do
|
|
|
2615
2923
|
:var_arg => nil,
|
|
2616
2924
|
:args_string => "int* a",
|
|
2617
2925
|
:args => [
|
|
2618
|
-
{ :ptr? => true,
|
|
2926
|
+
{ :ptr? => true, :string? => false,
|
|
2619
2927
|
:const? => false,
|
|
2620
2928
|
:const_ptr? => false,
|
|
2621
2929
|
:name => "a",
|
|
@@ -2664,7 +2972,7 @@ describe CMockHeaderParser, "Verify CMockHeaderParser Module" do
|
|
|
2664
2972
|
:var_arg => nil,
|
|
2665
2973
|
:args_string => "int a",
|
|
2666
2974
|
:args => [
|
|
2667
|
-
{ :ptr? => false,
|
|
2975
|
+
{ :ptr? => false, :string? => false,
|
|
2668
2976
|
:const? => false,
|
|
2669
2977
|
:const_ptr? => false,
|
|
2670
2978
|
:name => "a",
|
|
@@ -2687,7 +2995,7 @@ describe CMockHeaderParser, "Verify CMockHeaderParser Module" do
|
|
|
2687
2995
|
:var_arg => nil,
|
|
2688
2996
|
:args_string => "int* a",
|
|
2689
2997
|
:args => [
|
|
2690
|
-
{ :ptr? => true,
|
|
2998
|
+
{ :ptr? => true, :string? => false,
|
|
2691
2999
|
:const? => false,
|
|
2692
3000
|
:const_ptr? => false,
|
|
2693
3001
|
:name => "a",
|
|
@@ -2882,5 +3190,293 @@ describe CMockHeaderParser, "Verify CMockHeaderParser Module" do
|
|
|
2882
3190
|
assert_equal(expected, @parser.transform_inline_functions(source))
|
|
2883
3191
|
end
|
|
2884
3192
|
|
|
3193
|
+
it "pairs size arg with adjacent pointer when no name affinity exists" do
|
|
3194
|
+
source = "void process(int *data, int size)"
|
|
3195
|
+
|
|
3196
|
+
result = @parser.parse("module", source)
|
|
3197
|
+
args = result[:functions].first[:args]
|
|
3198
|
+
|
|
3199
|
+
data_arg = args.find { |a| a[:name] == 'data' }
|
|
3200
|
+
size_arg = args.find { |a| a[:name] == 'size' }
|
|
3201
|
+
|
|
3202
|
+
assert_equal(:after, data_arg[:array_size_order], "data should be paired with size (after)")
|
|
3203
|
+
assert_equal(true, size_arg[:array_size?], "size should be marked as array_size?")
|
|
3204
|
+
end
|
|
3205
|
+
|
|
3206
|
+
it "pairs size arg with the pointer whose name it matches, even when a different pointer is adjacent" do
|
|
3207
|
+
# buf_size is adjacent to status, but 'buf' root matches 'buf' exactly
|
|
3208
|
+
source = "void store(int *status, int buf_size, int *buf)"
|
|
3209
|
+
|
|
3210
|
+
result = @parser.parse("module", source)
|
|
3211
|
+
args = result[:functions].first[:args]
|
|
3212
|
+
|
|
3213
|
+
status_arg = args.find { |a| a[:name] == 'status' }
|
|
3214
|
+
buf_size_arg = args.find { |a| a[:name] == 'buf_size' }
|
|
3215
|
+
buf_arg = args.find { |a| a[:name] == 'buf' }
|
|
3216
|
+
|
|
3217
|
+
assert_nil(status_arg[:array_size_order], "status should NOT be paired")
|
|
3218
|
+
assert_equal(:before, buf_arg[:array_size_order], "buf should be paired with size (before)")
|
|
3219
|
+
assert_equal(true, buf_size_arg[:array_size?], "buf_size should be marked as array_size?")
|
|
3220
|
+
end
|
|
3221
|
+
|
|
3222
|
+
it "pairs size arg with pointer that comes after it when name affinity is stronger than adjacency" do
|
|
3223
|
+
# buff_size is adjacent to bytes_to_read, but 'buff' root is a prefix of 'buffer'
|
|
3224
|
+
source = "void read_interface(size_t *bytes_to_read, size_t buff_size, char **buffer)"
|
|
3225
|
+
|
|
3226
|
+
result = @parser.parse("module", source)
|
|
3227
|
+
args = result[:functions].first[:args]
|
|
3228
|
+
|
|
3229
|
+
bytes_arg = args.find { |a| a[:name] == 'bytes_to_read' }
|
|
3230
|
+
buff_size_arg = args.find { |a| a[:name] == 'buff_size' }
|
|
3231
|
+
buffer_arg = args.find { |a| a[:name] == 'buffer' }
|
|
3232
|
+
|
|
3233
|
+
assert_nil(bytes_arg[:array_size_order], "bytes_to_read should NOT be paired")
|
|
3234
|
+
assert_equal(:before, buffer_arg[:array_size_order], "buffer should be paired with size (before)")
|
|
3235
|
+
assert_equal(true, buff_size_arg[:array_size?], "buff_size should be marked as array_size?")
|
|
3236
|
+
end
|
|
3237
|
+
|
|
3238
|
+
it "pairs multiple size args each with their best-matched pointer" do
|
|
3239
|
+
source = "void copy(int *dst, int dst_len, int *src, int src_len)"
|
|
3240
|
+
|
|
3241
|
+
result = @parser.parse("module", source)
|
|
3242
|
+
args = result[:functions].first[:args]
|
|
3243
|
+
|
|
3244
|
+
dst_arg = args.find { |a| a[:name] == 'dst' }
|
|
3245
|
+
dst_len_arg = args.find { |a| a[:name] == 'dst_len' }
|
|
3246
|
+
src_arg = args.find { |a| a[:name] == 'src' }
|
|
3247
|
+
src_len_arg = args.find { |a| a[:name] == 'src_len' }
|
|
3248
|
+
|
|
3249
|
+
assert_equal(:after, dst_arg[:array_size_order], "dst should be paired with size (after)")
|
|
3250
|
+
assert_equal(true, dst_len_arg[:array_size?], "dst_len should be marked as array_size?")
|
|
3251
|
+
assert_equal(:after, src_arg[:array_size_order], "src should be paired with size (after)")
|
|
3252
|
+
assert_equal(true, src_len_arg[:array_size?], "src_len should be marked as array_size?")
|
|
3253
|
+
end
|
|
3254
|
+
|
|
3255
|
+
it "pairs size arg with adjacent array when no name affinity exists" do
|
|
3256
|
+
source = "void process(int data[], int size)"
|
|
3257
|
+
|
|
3258
|
+
result = @parser.parse("module", source)
|
|
3259
|
+
args = result[:functions].first[:args]
|
|
3260
|
+
|
|
3261
|
+
data_arg = args.find { |a| a[:name] == 'data' }
|
|
3262
|
+
size_arg = args.find { |a| a[:name] == 'size' }
|
|
3263
|
+
|
|
3264
|
+
assert_equal(:after, data_arg[:array_size_order], "data should be paired with size (after)")
|
|
3265
|
+
assert_equal(true, size_arg[:array_size?], "size should be marked as array_size?")
|
|
3266
|
+
end
|
|
3267
|
+
|
|
3268
|
+
it "pairs size arg with the array whose name it matches, even when a different pointer is adjacent" do
|
|
3269
|
+
# buf_size is adjacent to status, but 'buf' root matches 'buf' exactly
|
|
3270
|
+
source = "void store(int status[], int buf_size, int buf[])"
|
|
3271
|
+
|
|
3272
|
+
result = @parser.parse("module", source)
|
|
3273
|
+
args = result[:functions].first[:args]
|
|
3274
|
+
|
|
3275
|
+
status_arg = args.find { |a| a[:name] == 'status' }
|
|
3276
|
+
buf_size_arg = args.find { |a| a[:name] == 'buf_size' }
|
|
3277
|
+
buf_arg = args.find { |a| a[:name] == 'buf' }
|
|
3278
|
+
|
|
3279
|
+
assert_nil(status_arg[:array_size_order], "status should NOT be paired")
|
|
3280
|
+
assert_equal(:before, buf_arg[:array_size_order], "buf should be paired with size (before)")
|
|
3281
|
+
assert_equal(true, buf_size_arg[:array_size?], "buf_size should be marked as array_size?")
|
|
3282
|
+
end
|
|
3283
|
+
|
|
3284
|
+
it "pairs size arg with array that comes after it when name affinity is stronger than adjacency" do
|
|
3285
|
+
# buff_size is adjacent to bytes_to_read, but 'buff' root is a prefix of 'buffer'
|
|
3286
|
+
source = "void read_interface(size_t bytes_to_read[], size_t buff_size, char *buffer[])"
|
|
3287
|
+
|
|
3288
|
+
result = @parser.parse("module", source)
|
|
3289
|
+
args = result[:functions].first[:args]
|
|
3290
|
+
|
|
3291
|
+
bytes_arg = args.find { |a| a[:name] == 'bytes_to_read' }
|
|
3292
|
+
buff_size_arg = args.find { |a| a[:name] == 'buff_size' }
|
|
3293
|
+
buffer_arg = args.find { |a| a[:name] == 'buffer' }
|
|
3294
|
+
|
|
3295
|
+
assert_nil(bytes_arg[:array_size_order], "bytes_to_read should NOT be paired")
|
|
3296
|
+
assert_equal(:before, buffer_arg[:array_size_order], "buffer should be paired with size (before)")
|
|
3297
|
+
assert_equal(true, buff_size_arg[:array_size?], "buff_size should be marked as array_size?")
|
|
3298
|
+
end
|
|
3299
|
+
|
|
3300
|
+
it "pairs multiple size args each with their best-matched array" do
|
|
3301
|
+
source = "void copy(int dst[], int dst_len, int src[], int src_len)"
|
|
3302
|
+
|
|
3303
|
+
result = @parser.parse("module", source)
|
|
3304
|
+
args = result[:functions].first[:args]
|
|
3305
|
+
|
|
3306
|
+
dst_arg = args.find { |a| a[:name] == 'dst' }
|
|
3307
|
+
dst_len_arg = args.find { |a| a[:name] == 'dst_len' }
|
|
3308
|
+
src_arg = args.find { |a| a[:name] == 'src' }
|
|
3309
|
+
src_len_arg = args.find { |a| a[:name] == 'src_len' }
|
|
3310
|
+
|
|
3311
|
+
assert_equal(:after, dst_arg[:array_size_order], "dst should be paired with size (after)")
|
|
3312
|
+
assert_equal(true, dst_len_arg[:array_size?], "dst_len should be marked as array_size?")
|
|
3313
|
+
assert_equal(:after, src_arg[:array_size_order], "src should be paired with size (after)")
|
|
3314
|
+
assert_equal(true, src_len_arg[:array_size?], "src_len should be marked as array_size?")
|
|
3315
|
+
end
|
|
3316
|
+
|
|
3317
|
+
it "correctly parse const int* const return type (both const qualifiers)" do
|
|
3318
|
+
sources = [
|
|
3319
|
+
"const int* const DoubleConst(void);\n",
|
|
3320
|
+
"const int *const DoubleConst(void);\n",
|
|
3321
|
+
]
|
|
3322
|
+
|
|
3323
|
+
# The trailing 'const' (const_ptr?) also lands in :modifier, matching the existing
|
|
3324
|
+
# behavior seen for 'int* const' return types (see the test above for PorkRoast).
|
|
3325
|
+
# The generated mock correctly uses return[:str] and function_return_type() which
|
|
3326
|
+
# reconstruct the full "const int* const" from :type + const_ptr? without needing :modifier.
|
|
3327
|
+
expected = [{ :var_arg => nil,
|
|
3328
|
+
:name => "DoubleConst",
|
|
3329
|
+
:unscoped_name => "DoubleConst",
|
|
3330
|
+
:namespace => [],
|
|
3331
|
+
:class => nil,
|
|
3332
|
+
:return => { :type => "const int*",
|
|
3333
|
+
:name => 'cmock_to_return',
|
|
3334
|
+
:ptr? => true,
|
|
3335
|
+
:const? => true,
|
|
3336
|
+
:const_ptr? => true,
|
|
3337
|
+
:str => "const int* const cmock_to_return",
|
|
3338
|
+
:void? => false
|
|
3339
|
+
},
|
|
3340
|
+
:modifier => "const",
|
|
3341
|
+
:contains_ptr? => false,
|
|
3342
|
+
:args => [],
|
|
3343
|
+
:args_string => "void",
|
|
3344
|
+
:args_call => ""
|
|
3345
|
+
}]
|
|
3346
|
+
|
|
3347
|
+
sources.each do |source|
|
|
3348
|
+
assert_equal(expected, @parser.parse("module", source)[:functions])
|
|
3349
|
+
end
|
|
3350
|
+
end
|
|
3351
|
+
|
|
3352
|
+
it "correctly parse int const* const return type (trailing-const form, both qualifiers)" do
|
|
3353
|
+
sources = [
|
|
3354
|
+
"int const* const DoubleConst(void);\n",
|
|
3355
|
+
"int const *const DoubleConst(void);\n",
|
|
3356
|
+
]
|
|
3357
|
+
|
|
3358
|
+
expected = [{ :var_arg => nil,
|
|
3359
|
+
:name => "DoubleConst",
|
|
3360
|
+
:unscoped_name => "DoubleConst",
|
|
3361
|
+
:namespace => [],
|
|
3362
|
+
:class => nil,
|
|
3363
|
+
:return => { :type => "int const*",
|
|
3364
|
+
:name => 'cmock_to_return',
|
|
3365
|
+
:ptr? => true,
|
|
3366
|
+
:const? => true,
|
|
3367
|
+
:const_ptr? => true,
|
|
3368
|
+
:str => "int const* const cmock_to_return",
|
|
3369
|
+
:void? => false
|
|
3370
|
+
},
|
|
3371
|
+
:modifier => "const",
|
|
3372
|
+
:contains_ptr? => false,
|
|
3373
|
+
:args => [],
|
|
3374
|
+
:args_string => "void",
|
|
3375
|
+
:args_call => ""
|
|
3376
|
+
}]
|
|
3377
|
+
|
|
3378
|
+
sources.each do |source|
|
|
3379
|
+
assert_equal(expected, @parser.parse("module", source)[:functions])
|
|
3380
|
+
end
|
|
3381
|
+
end
|
|
3382
|
+
|
|
3383
|
+
it "correctly parse double-pointer argument types preserving const and pointer ordering" do
|
|
3384
|
+
# Tests the full parse pipeline for double-pointer args (not just divine_ptr_and_const).
|
|
3385
|
+
# const int** p → const? false (const is not before the final *), type preserves "const int**"
|
|
3386
|
+
# int** const q → const_ptr? true, type is "int**"
|
|
3387
|
+
# int* const* p → const? true (const* before the last *), type is "int* const*"
|
|
3388
|
+
source = "void TriplePlay(const int** a, int** const b, int* const* c);\n"
|
|
3389
|
+
|
|
3390
|
+
expected = [{ :var_arg => nil,
|
|
3391
|
+
:name => "TriplePlay",
|
|
3392
|
+
:unscoped_name => "TriplePlay",
|
|
3393
|
+
:namespace => [],
|
|
3394
|
+
:class => nil,
|
|
3395
|
+
:return => { :type => "void",
|
|
3396
|
+
:name => 'cmock_to_return',
|
|
3397
|
+
:ptr? => false,
|
|
3398
|
+
:const? => false,
|
|
3399
|
+
:const_ptr? => false,
|
|
3400
|
+
:str => "void cmock_to_return",
|
|
3401
|
+
:void? => true
|
|
3402
|
+
},
|
|
3403
|
+
:modifier => "",
|
|
3404
|
+
:contains_ptr? => true,
|
|
3405
|
+
:args => [
|
|
3406
|
+
{ :type => "const int**", :name => "a", :ptr? => true, :string? => false,
|
|
3407
|
+
:const? => false, :const_ptr? => false },
|
|
3408
|
+
{ :type => "int**", :name => "b", :ptr? => true, :string? => false,
|
|
3409
|
+
:const? => false, :const_ptr? => true },
|
|
3410
|
+
{ :type => "int* const*", :name => "c", :ptr? => true, :string? => false,
|
|
3411
|
+
:const? => true, :const_ptr? => false },
|
|
3412
|
+
],
|
|
3413
|
+
:args_string => "const int** a, int** const b, int* const* c",
|
|
3414
|
+
:args_call => "a, b, c"
|
|
3415
|
+
}]
|
|
3416
|
+
|
|
3417
|
+
assert_equal(expected, @parser.parse("module", source)[:functions])
|
|
3418
|
+
end
|
|
3419
|
+
|
|
3420
|
+
it "correctly parse double-pointer argument types with all consts" do
|
|
3421
|
+
# const int** const p → both const forms: type "const int**", const?=false, const_ptr?=true
|
|
3422
|
+
# int* const* const q → both const forms: type "int* const*", const?=true, const_ptr?=true
|
|
3423
|
+
source = "void AllConst(const int** const a, int* const* const b);\n"
|
|
3424
|
+
|
|
3425
|
+
expected = [{ :var_arg => nil,
|
|
3426
|
+
:name => "AllConst",
|
|
3427
|
+
:unscoped_name => "AllConst",
|
|
3428
|
+
:namespace => [],
|
|
3429
|
+
:class => nil,
|
|
3430
|
+
:return => { :type => "void",
|
|
3431
|
+
:name => 'cmock_to_return',
|
|
3432
|
+
:ptr? => false,
|
|
3433
|
+
:const? => false,
|
|
3434
|
+
:const_ptr? => false,
|
|
3435
|
+
:str => "void cmock_to_return",
|
|
3436
|
+
:void? => true
|
|
3437
|
+
},
|
|
3438
|
+
:modifier => "",
|
|
3439
|
+
:contains_ptr? => true,
|
|
3440
|
+
:args => [
|
|
3441
|
+
{ :type => "const int**", :name => "a", :ptr? => true, :string? => false,
|
|
3442
|
+
:const? => false, :const_ptr? => true },
|
|
3443
|
+
{ :type => "int* const*", :name => "b", :ptr? => true, :string? => false,
|
|
3444
|
+
:const? => true, :const_ptr? => true },
|
|
3445
|
+
],
|
|
3446
|
+
:args_string => "const int** const a, int* const* const b",
|
|
3447
|
+
:args_call => "a, b"
|
|
3448
|
+
}]
|
|
3449
|
+
|
|
3450
|
+
assert_equal(expected, @parser.parse("module", source)[:functions])
|
|
3451
|
+
end
|
|
3452
|
+
|
|
3453
|
+
it "preserve const on non-pointer custom type arguments (e.g. const MyType_t)" do
|
|
3454
|
+
source = "int myFunc(const MyType_t t_MyType);\n"
|
|
3455
|
+
|
|
3456
|
+
expected = [{ :var_arg => nil,
|
|
3457
|
+
:name => "myFunc",
|
|
3458
|
+
:unscoped_name => "myFunc",
|
|
3459
|
+
:namespace => [],
|
|
3460
|
+
:class => nil,
|
|
3461
|
+
:return => { :type => "int",
|
|
3462
|
+
:name => 'cmock_to_return',
|
|
3463
|
+
:ptr? => false,
|
|
3464
|
+
:const? => false,
|
|
3465
|
+
:const_ptr? => false,
|
|
3466
|
+
:str => "int cmock_to_return",
|
|
3467
|
+
:void? => false
|
|
3468
|
+
},
|
|
3469
|
+
:modifier => "",
|
|
3470
|
+
:contains_ptr? => false,
|
|
3471
|
+
:args => [
|
|
3472
|
+
{ :type => "MyType_t", :name => "t_MyType", :ptr? => false, :string? => false,
|
|
3473
|
+
:const? => true, :const_ptr? => false }
|
|
3474
|
+
],
|
|
3475
|
+
:args_string => "const MyType_t t_MyType",
|
|
3476
|
+
:args_call => "t_MyType"
|
|
3477
|
+
}]
|
|
3478
|
+
|
|
3479
|
+
assert_equal(expected, @parser.parse("module", source)[:functions])
|
|
3480
|
+
end
|
|
2885
3481
|
|
|
2886
3482
|
end
|