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.
Files changed (2367) hide show
  1. checksums.yaml +4 -4
  2. data/GIT_COMMIT_SHA +1 -0
  3. data/Gemfile +7 -1
  4. data/Gemfile.lock +19 -12
  5. data/README.md +141 -157
  6. data/Rakefile +189 -9
  7. data/assets/example_file.c +1 -1
  8. data/assets/example_file.h +1 -1
  9. data/assets/example_file_call.c +1 -1
  10. data/assets/example_file_call.h +1 -1
  11. data/assets/example_file_with_statics.c +10 -0
  12. data/assets/example_file_with_stdio.c +13 -0
  13. data/assets/example_file_with_stdio.h +15 -0
  14. data/assets/project.yml +404 -0
  15. data/assets/test_example_file.c +1 -1
  16. data/assets/test_example_file_boom.c +1 -1
  17. data/assets/test_example_file_crash_assert.c +25 -0
  18. data/assets/test_example_file_crash_sigsegv.c +26 -0
  19. data/assets/test_example_file_source_include.c +17 -0
  20. data/assets/test_example_file_success.c +1 -1
  21. data/assets/test_example_file_unity_printf.c +1 -1
  22. data/assets/test_example_file_verbose.c +1 -1
  23. data/assets/test_example_file_with_mock.c +1 -1
  24. data/assets/test_example_file_with_stdio.c +18 -0
  25. data/assets/test_example_with_parameterized_tests.c +1 -1
  26. data/assets/tests_with_defines/src/adc_hardware.c +1 -1
  27. data/assets/tests_with_defines/src/adc_hardware.h +1 -1
  28. data/assets/tests_with_defines/src/adc_hardware_configurator.c +1 -1
  29. data/assets/tests_with_defines/src/adc_hardware_configurator.h +1 -1
  30. data/assets/tests_with_defines/test/test_adc_hardware.c +1 -1
  31. data/assets/tests_with_defines/test/test_adc_hardware_special.c +1 -1
  32. data/assets/tests_with_encoding/src/unicoder.c +12 -0
  33. data/assets/tests_with_encoding/src/unicoder.h +14 -0
  34. data/assets/tests_with_encoding/test/test_unicoder.c +15 -0
  35. data/assets/tests_with_encoding/test/test_unicoder_partial.c +17 -0
  36. data/assets/tests_with_fallback_conditionals/src/conditional_module.c +18 -0
  37. data/assets/tests_with_fallback_conditionals/src/conditional_module.h +13 -0
  38. data/assets/tests_with_fallback_conditionals/src/optional_dep.h +12 -0
  39. data/assets/tests_with_fallback_conditionals/test/test_conditionals.c +49 -0
  40. data/assets/tests_with_preprocessing/src/adc_hardwareA.c +1 -1
  41. data/assets/tests_with_preprocessing/src/adc_hardwareA.h +1 -1
  42. data/assets/tests_with_preprocessing/src/adc_hardwareB.c +1 -1
  43. data/assets/tests_with_preprocessing/src/adc_hardwareB.h +1 -1
  44. data/assets/tests_with_preprocessing/src/adc_hardwareC.c +1 -1
  45. data/assets/tests_with_preprocessing/src/adc_hardwareC.h +1 -1
  46. data/assets/tests_with_preprocessing/src/adc_hardware_configuratorA.h +1 -1
  47. data/assets/tests_with_preprocessing/src/adc_hardware_configuratorB.h +1 -1
  48. data/assets/tests_with_preprocessing/src/adc_hardware_configuratorC.h +1 -1
  49. data/assets/tests_with_preprocessing/test/test_adc_hardwareA.c +1 -1
  50. data/assets/tests_with_preprocessing/test/test_adc_hardwareB.c +1 -1
  51. data/assets/tests_with_preprocessing/test/test_adc_hardwareC.c +1 -1
  52. data/assets/uncovered_example_file.c +1 -1
  53. data/bin/actions_wrapper.rb +1 -1
  54. data/bin/app_cfg.rb +1 -1
  55. data/bin/ceedling +14 -3
  56. data/bin/cli.rb +110 -38
  57. data/bin/cli_handler.rb +167 -68
  58. data/bin/cli_helper.rb +191 -62
  59. data/bin/configinator.rb +71 -12
  60. data/bin/merginator.rb +82 -0
  61. data/bin/mixin_standardizer.rb +127 -0
  62. data/bin/mixinator.rb +199 -33
  63. data/bin/mixins.rb +4 -2
  64. data/bin/objects.yml +22 -1
  65. data/bin/path_validator.rb +1 -1
  66. data/bin/projectinator.rb +29 -20
  67. data/bin/rake_patches.rb +31 -0
  68. data/bin/recursive_merger.rb +128 -0
  69. data/bin/versionator.rb +2 -2
  70. data/ceedling.gemspec +31 -14
  71. data/config/test_environment.rb +1 -1
  72. data/docs/BreakingChanges.md +27 -4
  73. data/docs/CONTRIBUTING.md +2 -12
  74. data/docs/CeedlingPullRequestChecklist.md +24 -0
  75. data/docs/Changelog.md +195 -5
  76. data/docs/KnownIssues.md +26 -0
  77. data/docs/ReleaseNotes.md +141 -19
  78. data/docs/SECURITY.md +41 -0
  79. data/docs/mkdocs/assets/images/ceedling-logo-circle.png +0 -0
  80. data/docs/mkdocs/assets/images/ceedling.svg +90 -0
  81. data/docs/mkdocs/assets/images/favicon.png +0 -0
  82. data/docs/mkdocs/assets/stylesheets/admonitions.css +152 -0
  83. data/docs/mkdocs/assets/stylesheets/fixes-local.css +15 -0
  84. data/docs/mkdocs/assets/stylesheets/styling.css +102 -0
  85. data/docs/mkdocs/configuration/environment-vars.md +14 -0
  86. data/docs/mkdocs/configuration/global-collections.md +156 -0
  87. data/docs/mkdocs/configuration/index.md +75 -0
  88. data/docs/mkdocs/configuration/loading.md +89 -0
  89. data/docs/mkdocs/configuration/mixins.md +607 -0
  90. data/docs/mkdocs/configuration/parallel-builds.md +97 -0
  91. data/docs/mkdocs/configuration/project-file.md +198 -0
  92. data/docs/mkdocs/configuration/reference/cexception.md +35 -0
  93. data/docs/mkdocs/configuration/reference/cmock.md +106 -0
  94. data/docs/mkdocs/configuration/reference/defines.md +352 -0
  95. data/docs/mkdocs/configuration/reference/environment.md +55 -0
  96. data/docs/mkdocs/configuration/reference/extension.md +63 -0
  97. data/docs/mkdocs/configuration/reference/files.md +154 -0
  98. data/docs/mkdocs/configuration/reference/flags.md +296 -0
  99. data/docs/mkdocs/configuration/reference/index.md +168 -0
  100. data/docs/mkdocs/configuration/reference/libraries.md +82 -0
  101. data/docs/mkdocs/configuration/reference/mixins.md +24 -0
  102. data/docs/mkdocs/configuration/reference/paths.md +276 -0
  103. data/docs/mkdocs/configuration/reference/plugins.md +60 -0
  104. data/docs/mkdocs/configuration/reference/project.md +333 -0
  105. data/docs/mkdocs/configuration/reference/release-build.md +62 -0
  106. data/docs/mkdocs/configuration/reference/test-build.md +55 -0
  107. data/docs/mkdocs/configuration/reference/test-runner.md +61 -0
  108. data/docs/mkdocs/configuration/reference/tools.md +457 -0
  109. data/docs/mkdocs/configuration/reference/unity.md +49 -0
  110. data/docs/mkdocs/configuration/which-ceedling.md +77 -0
  111. data/docs/mkdocs/development/index.md +50 -0
  112. data/docs/mkdocs/development/plugins/configuration.md +164 -0
  113. data/docs/mkdocs/development/plugins/index.md +84 -0
  114. data/docs/mkdocs/development/plugins/plugin-subclass.md +513 -0
  115. data/docs/mkdocs/development/plugins/rake-tasks.md +54 -0
  116. data/docs/mkdocs/development/workflow.md +284 -0
  117. data/docs/mkdocs/getting-started/command-line.md +477 -0
  118. data/docs/mkdocs/getting-started/example-projects/cipher-quest.md +65 -0
  119. data/docs/mkdocs/getting-started/example-projects/index.md +49 -0
  120. data/docs/mkdocs/getting-started/example-projects/temp-sensor.md +60 -0
  121. data/docs/mkdocs/getting-started/example-projects/wondrous-forest.md +45 -0
  122. data/docs/mkdocs/getting-started/index.md +41 -0
  123. data/docs/mkdocs/getting-started/installation.md +172 -0
  124. data/docs/mkdocs/getting-started/quick-start.md +65 -0
  125. data/docs/mkdocs/help.md +49 -0
  126. data/docs/mkdocs/index.md +215 -0
  127. data/docs/mkdocs/overview/build-system.md +115 -0
  128. data/docs/mkdocs/overview/index.md +29 -0
  129. data/docs/mkdocs/overview/test-environments.md +33 -0
  130. data/docs/mkdocs/overview/tools-and-frameworks.md +115 -0
  131. data/docs/mkdocs/plugins/beep.md +134 -0
  132. data/docs/mkdocs/plugins/bullseye.md +77 -0
  133. data/docs/mkdocs/plugins/command-hooks.md +263 -0
  134. data/docs/mkdocs/plugins/compile-commands-json-db.md +42 -0
  135. data/docs/mkdocs/plugins/cppcheck.md +377 -0
  136. data/docs/mkdocs/plugins/dependencies.md +310 -0
  137. data/docs/mkdocs/plugins/fff.md +247 -0
  138. data/docs/mkdocs/plugins/gcov/examples.md +92 -0
  139. data/docs/mkdocs/plugins/gcov/gcovr.md +251 -0
  140. data/docs/mkdocs/plugins/gcov/index.md +68 -0
  141. data/docs/mkdocs/plugins/gcov/overview.md +145 -0
  142. data/docs/mkdocs/plugins/gcov/reportgenerator.md +58 -0
  143. data/docs/mkdocs/plugins/gcov/reporting.md +147 -0
  144. data/docs/mkdocs/plugins/gcov/setup.md +232 -0
  145. data/docs/mkdocs/plugins/gcov/tool-versions.md +60 -0
  146. data/docs/mkdocs/plugins/gcov/troubleshooting.md +78 -0
  147. data/docs/mkdocs/plugins/index.md +221 -0
  148. data/docs/mkdocs/plugins/module-generator.md +267 -0
  149. data/docs/mkdocs/plugins/report-build-warnings-log.md +42 -0
  150. data/docs/mkdocs/plugins/report-tests-gtestlike-stdout.md +98 -0
  151. data/docs/mkdocs/plugins/report-tests-ide-stdout.md +63 -0
  152. data/docs/mkdocs/plugins/report-tests-log-factory.md +454 -0
  153. data/docs/mkdocs/plugins/report-tests-pretty-stdout.md +56 -0
  154. data/docs/mkdocs/plugins/report-tests-raw-output-log.md +52 -0
  155. data/docs/mkdocs/plugins/report-tests-teamcity-stdout.md +96 -0
  156. data/docs/mkdocs/plugins/sample_html_report.png +0 -0
  157. data/docs/mkdocs/plugins/valgrind.md +192 -0
  158. data/docs/mkdocs/project/release-history.md +61 -0
  159. data/docs/mkdocs/project/upgrade.md +85 -0
  160. data/docs/mkdocs/reference/build-directives.md +37 -0
  161. data/docs/mkdocs/reference/command-line.md +323 -0
  162. data/docs/mkdocs/reference/environment-vars.md +60 -0
  163. data/docs/mkdocs/reference/gcov-plugin.md +577 -0
  164. data/docs/mkdocs/reference/global-collections.md +160 -0
  165. data/docs/mkdocs/reference/index.md +65 -0
  166. data/docs/mkdocs/reference/partials-macros.md +79 -0
  167. data/docs/mkdocs/reference/project-configuration.md +46 -0
  168. data/docs/mkdocs/snapshot/assets/project.yml +404 -0
  169. data/docs/mkdocs/snapshot/examples/cipher_quest/README.md +210 -0
  170. data/docs/mkdocs/snapshot/examples/temp_sensor/README.md +283 -0
  171. data/docs/mkdocs/snapshot/examples/wondrous_forest/README.md +92 -0
  172. data/docs/mkdocs/snapshot/plugins/gcov/config/defaults.yml +33 -0
  173. data/docs/mkdocs/snapshot/plugins/gcov/config/defaults_gcov.rb +136 -0
  174. data/docs/mkdocs/snapshot.yml +20 -0
  175. data/docs/mkdocs/testing-guide/build-directives.md +153 -0
  176. data/docs/mkdocs/testing-guide/conventions.md +616 -0
  177. data/docs/mkdocs/testing-guide/frameworks.md +192 -0
  178. data/docs/mkdocs/testing-guide/index.md +80 -0
  179. data/docs/mkdocs/testing-guide/partials/configuration.md +67 -0
  180. data/docs/mkdocs/testing-guide/partials/conventions.md +68 -0
  181. data/docs/mkdocs/testing-guide/partials/directives.md +212 -0
  182. data/docs/mkdocs/testing-guide/partials/example.md +149 -0
  183. data/docs/mkdocs/testing-guide/partials/index.md +79 -0
  184. data/docs/mkdocs/testing-guide/partials/overview.md +81 -0
  185. data/docs/mkdocs/testing-guide/partials/variables.md +244 -0
  186. data/docs/mkdocs/testing-guide/test-cases.md +194 -0
  187. data/docs/mkdocs/testing-guide/test-sample.md +94 -0
  188. data/docs/mkdocs/testing-guide/test-suite-anatomy.md +58 -0
  189. data/examples/cipher_quest/README.md +210 -0
  190. data/examples/cipher_quest/mixin/release_analyze.yml +28 -0
  191. data/examples/cipher_quest/mixin/release_caesar.yml +28 -0
  192. data/examples/cipher_quest/mixin/release_full.yml +30 -0
  193. data/examples/cipher_quest/mixin/release_rot13.yml +28 -0
  194. data/examples/cipher_quest/project.yml +108 -0
  195. data/examples/cipher_quest/src/analyzer.c +83 -0
  196. data/examples/cipher_quest/src/analyzer.h +29 -0
  197. data/examples/cipher_quest/src/cipher.c +59 -0
  198. data/examples/cipher_quest/src/cipher.h +27 -0
  199. data/examples/cipher_quest/src/main.c +151 -0
  200. data/examples/cipher_quest/src/text_utils.c +119 -0
  201. data/examples/cipher_quest/src/text_utils.h +23 -0
  202. data/examples/cipher_quest/test/TestAnalyzer.c +133 -0
  203. data/examples/cipher_quest/test/TestCipherCaesar.c +81 -0
  204. data/examples/cipher_quest/test/TestCipherRot13.c +74 -0
  205. data/examples/cipher_quest/test/TestTextUtils.c +184 -0
  206. data/examples/temp_sensor/README.md +279 -14
  207. data/examples/temp_sensor/mixin/add_gcov.yml +1 -1
  208. data/examples/temp_sensor/mixin/add_unity_helper.yml +1 -1
  209. data/examples/temp_sensor/project.yml +4 -24
  210. data/examples/temp_sensor/src/AdcConductor.c +5 -1
  211. data/examples/temp_sensor/src/AdcConductor.h +1 -1
  212. data/examples/temp_sensor/src/AdcHardware.c +1 -1
  213. data/examples/temp_sensor/src/AdcHardware.h +1 -1
  214. data/examples/temp_sensor/src/AdcHardwareConfigurator.c +2 -1
  215. data/examples/temp_sensor/src/AdcHardwareConfigurator.h +1 -1
  216. data/examples/temp_sensor/src/AdcModel.c +2 -2
  217. data/examples/temp_sensor/src/AdcModel.h +1 -1
  218. data/examples/temp_sensor/src/AdcTemperatureSensor.c +2 -1
  219. data/examples/temp_sensor/src/AdcTemperatureSensor.h +1 -1
  220. data/examples/temp_sensor/src/Executor.c +1 -1
  221. data/examples/temp_sensor/src/Executor.h +1 -1
  222. data/examples/temp_sensor/src/IntrinsicsWrapper.c +1 -1
  223. data/examples/temp_sensor/src/IntrinsicsWrapper.h +1 -1
  224. data/examples/temp_sensor/src/Main.c +3 -3
  225. data/examples/temp_sensor/src/Main.h +1 -1
  226. data/examples/temp_sensor/src/Model.c +1 -1
  227. data/examples/temp_sensor/src/Model.h +1 -1
  228. data/examples/temp_sensor/src/ModelConfig.h +1 -1
  229. data/examples/temp_sensor/src/TaskScheduler.c +1 -1
  230. data/examples/temp_sensor/src/TaskScheduler.h +1 -1
  231. data/examples/temp_sensor/src/TemperatureFilter.c +1 -1
  232. data/examples/temp_sensor/src/TemperatureFilter.h +1 -1
  233. data/examples/temp_sensor/src/TimerConductor.c +1 -1
  234. data/examples/temp_sensor/src/TimerConductor.h +1 -1
  235. data/examples/temp_sensor/src/TimerConfigurator.c +2 -1
  236. data/examples/temp_sensor/src/TimerConfigurator.h +1 -1
  237. data/examples/temp_sensor/src/TimerHardware.c +1 -1
  238. data/examples/temp_sensor/src/TimerHardware.h +1 -1
  239. data/examples/temp_sensor/src/TimerInterruptConfigurator.c +2 -1
  240. data/examples/temp_sensor/src/TimerInterruptConfigurator.h +1 -1
  241. data/examples/temp_sensor/src/TimerInterruptHandler.c +2 -1
  242. data/examples/temp_sensor/src/TimerInterruptHandler.h +1 -1
  243. data/examples/temp_sensor/src/TimerModel.c +1 -1
  244. data/examples/temp_sensor/src/TimerModel.h +1 -1
  245. data/examples/temp_sensor/src/Types.h +5 -2
  246. data/examples/temp_sensor/src/UsartConductor.c +1 -1
  247. data/examples/temp_sensor/src/UsartConductor.h +1 -1
  248. data/examples/temp_sensor/src/UsartConfigurator.c +2 -1
  249. data/examples/temp_sensor/src/UsartConfigurator.h +1 -1
  250. data/examples/temp_sensor/src/UsartHardware.c +1 -1
  251. data/examples/temp_sensor/src/UsartHardware.h +1 -1
  252. data/examples/temp_sensor/src/UsartModel.c +2 -2
  253. data/examples/temp_sensor/src/UsartModel.h +1 -1
  254. data/examples/temp_sensor/src/UsartPutChar.c +2 -1
  255. data/examples/temp_sensor/src/UsartPutChar.h +1 -1
  256. data/examples/temp_sensor/src/UsartTransmitBufferStatus.c +2 -1
  257. data/examples/temp_sensor/src/UsartTransmitBufferStatus.h +1 -1
  258. data/examples/temp_sensor/src/calculators/TemperatureCalculator.c +38 -0
  259. data/examples/temp_sensor/src/calculators/TemperatureCalculator.h +15 -0
  260. data/examples/temp_sensor/src/calculators/UsartBaudRateRegisterCalculator.c +25 -0
  261. data/examples/temp_sensor/src/calculators/UsartBaudRateRegisterCalculator.h +15 -0
  262. data/examples/temp_sensor/test/TestExecutor.c +1 -1
  263. data/examples/temp_sensor/test/TestMain.c +5 -1
  264. data/examples/temp_sensor/test/TestModel.c +1 -1
  265. data/examples/temp_sensor/test/TestTaskScheduler.c +1 -1
  266. data/examples/temp_sensor/test/TestTemperatureCalculator.c +2 -2
  267. data/examples/temp_sensor/test/TestTemperatureFilter.c +5 -2
  268. data/examples/temp_sensor/test/TestTimerConductor.c +1 -1
  269. data/examples/temp_sensor/test/TestTimerHardware.c +1 -1
  270. data/examples/temp_sensor/test/TestTimerIntegrated.c +8 -4
  271. data/examples/temp_sensor/test/TestTimerModel.c +1 -1
  272. data/examples/temp_sensor/test/TestTimerPlatformStandin.c +154 -0
  273. data/examples/temp_sensor/test/TestUsartBaudRateRegisterCalculator.c +1 -1
  274. data/examples/temp_sensor/test/TestUsartConductor.c +1 -1
  275. data/examples/temp_sensor/test/TestUsartHardware.c +1 -1
  276. data/examples/temp_sensor/test/TestUsartIntegrated.c +9 -5
  277. data/examples/temp_sensor/test/TestUsartModel.c +2 -2
  278. data/examples/temp_sensor/test/TestUsartPlatformStandin.c +145 -0
  279. data/examples/temp_sensor/test/adc/TestAdcConductor.c +1 -1
  280. data/examples/temp_sensor/test/adc/TestAdcHardware.c +1 -1
  281. data/examples/temp_sensor/test/adc/TestAdcModel.c +1 -1
  282. data/examples/temp_sensor/test/adc/TestAdcPlatformStandin.c +100 -0
  283. data/examples/temp_sensor/test/platform/at91sam7s256.c +25 -0
  284. data/examples/temp_sensor/test/platform/at91sam7s256.h +183 -0
  285. data/examples/temp_sensor/test/support/UnityHelper.c +1 -1
  286. data/examples/temp_sensor/test/support/UnityHelper.h +1 -1
  287. data/examples/wondrous_forest/README.md +92 -0
  288. data/examples/wondrous_forest/mixin/add_gcov.yml +22 -0
  289. data/examples/wondrous_forest/project.yml +86 -0
  290. data/examples/wondrous_forest/src/AlertManager.c +125 -0
  291. data/examples/wondrous_forest/src/AlertManager.h +30 -0
  292. data/examples/wondrous_forest/src/EventQueue.c +73 -0
  293. data/examples/wondrous_forest/src/EventQueue.h +22 -0
  294. data/examples/wondrous_forest/src/ForestMonitor.c +88 -0
  295. data/examples/wondrous_forest/src/ForestMonitor.h +18 -0
  296. data/examples/wondrous_forest/src/HumiditySensor.c +57 -0
  297. data/examples/wondrous_forest/src/HumiditySensor.h +17 -0
  298. data/examples/wondrous_forest/src/LightSensor.c +51 -0
  299. data/examples/wondrous_forest/src/LightSensor.h +18 -0
  300. data/examples/wondrous_forest/src/SensorHal.c +62 -0
  301. data/examples/wondrous_forest/src/SensorHal.h +19 -0
  302. data/examples/wondrous_forest/src/SoilMoisture.c +61 -0
  303. data/examples/wondrous_forest/src/SoilMoisture.h +19 -0
  304. data/examples/wondrous_forest/src/TemperatureSensor.c +67 -0
  305. data/examples/wondrous_forest/src/TemperatureSensor.h +18 -0
  306. data/examples/wondrous_forest/src/Types.h +84 -0
  307. data/examples/wondrous_forest/src/UartDriver.c +55 -0
  308. data/examples/wondrous_forest/src/UartDriver.h +18 -0
  309. data/examples/wondrous_forest/test/TestAlertManager.c +105 -0
  310. data/examples/wondrous_forest/test/TestEventQueue.c +117 -0
  311. data/examples/wondrous_forest/test/TestForestMonitor.c +118 -0
  312. data/examples/wondrous_forest/test/TestHumiditySensor.c +85 -0
  313. data/examples/wondrous_forest/test/TestLightSensor.c +79 -0
  314. data/examples/wondrous_forest/test/TestSensorHal.c +58 -0
  315. data/examples/wondrous_forest/test/TestSoilMoisture.c +96 -0
  316. data/examples/wondrous_forest/test/TestTemperatureSensor.c +100 -0
  317. data/examples/wondrous_forest/test/TestUartDriver.c +55 -0
  318. data/lib/ceedling/application.rb +1 -1
  319. data/lib/ceedling/array_patches.rb +28 -0
  320. data/lib/ceedling/batchinator.rb +76 -0
  321. data/lib/ceedling/c_extractor/c_extractor.rb +340 -0
  322. data/lib/ceedling/c_extractor/c_extractor_code_text.rb +283 -0
  323. data/lib/ceedling/c_extractor/c_extractor_constants.rb +38 -0
  324. data/lib/ceedling/c_extractor/c_extractor_declarations.rb +415 -0
  325. data/lib/ceedling/c_extractor/c_extractor_definitions.rb +157 -0
  326. data/lib/ceedling/c_extractor/c_extractor_functions.rb +402 -0
  327. data/lib/ceedling/c_extractor/c_extractor_preprocessing.rb +262 -0
  328. data/lib/ceedling/c_extractor/c_extractor_types.rb +122 -0
  329. data/lib/ceedling/cacheinator.rb +1 -1
  330. data/lib/ceedling/cacheinator_helper.rb +23 -4
  331. data/lib/ceedling/ceedling.h +40 -0
  332. data/lib/ceedling/config/config_matchinator.rb +254 -0
  333. data/lib/ceedling/config/config_walkinator.rb +35 -0
  334. data/lib/ceedling/config/configurator.rb +897 -0
  335. data/lib/ceedling/config/configurator_builder.rb +577 -0
  336. data/lib/ceedling/config/configurator_plugins.rb +163 -0
  337. data/lib/ceedling/config/configurator_setup.rb +767 -0
  338. data/lib/ceedling/config/configurator_validator.rb +203 -0
  339. data/lib/ceedling/constants.rb +67 -27
  340. data/lib/ceedling/defaults.rb +32 -71
  341. data/lib/ceedling/defineinator.rb +4 -2
  342. data/lib/ceedling/dependinator.rb +1 -1
  343. data/lib/ceedling/encodinator.rb +26 -0
  344. data/lib/ceedling/erb_wrapper.rb +1 -1
  345. data/lib/ceedling/exceptions.rb +23 -3
  346. data/lib/ceedling/file_finder.rb +39 -10
  347. data/lib/ceedling/file_finder_helper.rb +19 -5
  348. data/lib/ceedling/file_path_collection_utils.rb +39 -25
  349. data/lib/ceedling/file_path_utils.rb +184 -27
  350. data/lib/ceedling/file_system_wrapper.rb +1 -1
  351. data/lib/ceedling/file_wrapper.rb +14 -1
  352. data/lib/ceedling/flaginator.rb +1 -1
  353. data/lib/ceedling/generators/generator.rb +428 -0
  354. data/lib/ceedling/generators/generator_helper.rb +84 -0
  355. data/lib/ceedling/generators/generator_mocks.rb +41 -0
  356. data/lib/ceedling/generators/generator_partials.rb +177 -0
  357. data/lib/ceedling/generators/generator_test_results.rb +296 -0
  358. data/lib/ceedling/generators/generator_test_results_backtrace.rb +290 -0
  359. data/lib/ceedling/generators/generator_test_results_sanity_checker.rb +70 -0
  360. data/lib/ceedling/generators/generator_test_runner.rb +97 -0
  361. data/lib/ceedling/includes/include_factory.rb +43 -0
  362. data/lib/ceedling/includes/include_pathinator.rb +83 -0
  363. data/lib/ceedling/includes/includes.rb +341 -0
  364. data/lib/ceedling/loginator.rb +115 -12
  365. data/lib/ceedling/makefile.rb +1 -1
  366. data/lib/ceedling/objects.yml +150 -42
  367. data/lib/ceedling/parsing_parcels.rb +103 -0
  368. data/lib/ceedling/partials/partializer.rb +444 -0
  369. data/lib/ceedling/partials/partializer_config.rb +217 -0
  370. data/lib/ceedling/partials/partializer_helper.rb +344 -0
  371. data/lib/ceedling/partials/partializer_runtime.rb +29 -0
  372. data/lib/ceedling/partials/partializer_utils.rb +222 -0
  373. data/lib/ceedling/partials/partials.rb +82 -0
  374. data/lib/ceedling/plugins/plugin.rb +30 -0
  375. data/lib/ceedling/plugins/plugin_manager.rb +159 -0
  376. data/lib/ceedling/plugins/plugin_manager_helper.rb +25 -0
  377. data/lib/ceedling/plugins/plugin_reportinator.rb +131 -0
  378. data/lib/ceedling/plugins/plugin_reportinator_helper.rb +80 -0
  379. data/lib/ceedling/plugins/report_tests_stdout_plugin.rb +88 -0
  380. data/lib/ceedling/preprocess/README.md +184 -0
  381. data/lib/ceedling/preprocess/c_comment_scanner.rb +194 -0
  382. data/lib/ceedling/preprocess/c_preprocessor_conditionals.rb +170 -0
  383. data/lib/ceedling/preprocess/preprocessinator.rb +605 -0
  384. data/lib/ceedling/preprocess/preprocessinator_bare_includes_extractor.rb +69 -0
  385. data/lib/ceedling/preprocess/preprocessinator_code_finder.rb +150 -0
  386. data/lib/ceedling/preprocess/preprocessinator_comment_stripper.rb +80 -0
  387. data/lib/ceedling/preprocess/preprocessinator_file_assembler.rb +378 -0
  388. data/lib/ceedling/preprocess/preprocessinator_includes_handler.rb +224 -0
  389. data/lib/ceedling/preprocess/preprocessinator_line_marker_includes_extractor.rb +215 -0
  390. data/lib/ceedling/preprocess/preprocessinator_reconstructor.rb +398 -0
  391. data/lib/ceedling/rake_app/rake_invocation_tracker.rb +39 -0
  392. data/lib/ceedling/rake_app/rake_task_registry.rb +210 -0
  393. data/lib/ceedling/rake_app/rake_utils.rb +23 -0
  394. data/lib/ceedling/rake_app/rake_wrapper.rb +40 -0
  395. data/lib/ceedling/rake_app/rakefile_component_resolver.rb +77 -0
  396. data/lib/ceedling/rakefile.rb +16 -8
  397. data/lib/ceedling/release_invoker.rb +48 -4
  398. data/lib/ceedling/reportinator.rb +39 -18
  399. data/lib/ceedling/ruby_expandinator.rb +61 -0
  400. data/lib/ceedling/rules_release.rake +4 -2
  401. data/lib/ceedling/rules_tests.rake +1 -23
  402. data/lib/ceedling/setupinator.rb +23 -11
  403. data/lib/ceedling/stream_wrapper.rb +1 -1
  404. data/lib/ceedling/system_utils.rb +1 -1
  405. data/lib/ceedling/system_wrapper.rb +18 -21
  406. data/lib/ceedling/tasks_base.rake +3 -3
  407. data/lib/ceedling/tasks_filesystem.rake +22 -12
  408. data/lib/ceedling/tasks_release.rake +11 -18
  409. data/lib/ceedling/tasks_tests.rake +1 -1
  410. data/lib/ceedling/test_context_extractor.rb +184 -176
  411. data/lib/ceedling/test_invoker/test_build_executor.rb +661 -0
  412. data/lib/ceedling/test_invoker/test_build_planner.rb +277 -0
  413. data/lib/ceedling/test_invoker/test_build_setup.rb +441 -0
  414. data/lib/ceedling/test_invoker/test_invoker.rb +251 -0
  415. data/lib/ceedling/test_invoker/test_invoker_types.rb +56 -0
  416. data/lib/ceedling/test_runner_manager.rb +1 -1
  417. data/lib/ceedling/tool_executor.rb +31 -21
  418. data/lib/ceedling/tool_executor_helper.rb +7 -15
  419. data/lib/ceedling/tool_validator.rb +25 -9
  420. data/lib/ceedling/verbosinator.rb +1 -1
  421. data/lib/ceedling/yaml_wrapper.rb +72 -12
  422. data/lib/ceedling.rb +1 -1
  423. data/lib/snapshot.rb +43 -0
  424. data/lib/version.rb +2 -2
  425. data/license.txt +1 -1
  426. data/mkdocs.local.yml +45 -0
  427. data/mkdocs.yml +202 -0
  428. data/plugins/beep/config/defaults.yml +1 -1
  429. data/plugins/beep/config/defaults_beep.rb +1 -1
  430. data/plugins/beep/lib/beep.rb +7 -5
  431. data/plugins/bullseye/assets/template.erb +1 -1
  432. data/plugins/bullseye/bullseye.rake +1 -1
  433. data/plugins/bullseye/config/defaults.yml +1 -1
  434. data/plugins/bullseye/lib/bullseye.rb +9 -9
  435. data/plugins/command_hooks/lib/command_hooks.rb +43 -38
  436. data/plugins/compile_commands_json_db/lib/compile_commands_json_db.rb +2 -2
  437. data/plugins/cppcheck/AUTHORS.md +8 -0
  438. data/plugins/cppcheck/config/defaults.yml +44 -0
  439. data/plugins/cppcheck/config/defaults_cppcheck.rb +32 -0
  440. data/plugins/cppcheck/cppcheck.rake +54 -0
  441. data/plugins/cppcheck/lib/cppcheck.rb +247 -0
  442. data/plugins/cppcheck/lib/cppcheck_constants.rb +20 -0
  443. data/plugins/cppcheck/lib/cppcheck_reports.rb +160 -0
  444. data/plugins/dependencies/Rakefile +1 -1
  445. data/plugins/dependencies/config/defaults.yml +1 -1
  446. data/plugins/dependencies/dependencies.rake +3 -3
  447. data/plugins/dependencies/example/boss/project.yml +1 -6
  448. data/plugins/dependencies/example/boss/src/boss.c +1 -1
  449. data/plugins/dependencies/example/boss/src/boss.h +1 -1
  450. data/plugins/dependencies/example/boss/src/main.c +1 -1
  451. data/plugins/dependencies/example/boss/test/test_boss.c +1 -1
  452. data/plugins/dependencies/example/supervisor/project.yml +1 -6
  453. data/plugins/dependencies/example/supervisor/src/supervisor.c +1 -1
  454. data/plugins/dependencies/example/supervisor/src/supervisor.h +1 -1
  455. data/plugins/dependencies/example/supervisor/test/test_supervisor.c +1 -1
  456. data/plugins/dependencies/lib/dependencies.rb +14 -2
  457. data/plugins/fff/Rakefile +1 -1
  458. data/plugins/fff/config/fff.yml +1 -1
  459. data/plugins/fff/examples/fff_example/project.yml +2 -2
  460. data/plugins/fff/examples/fff_example/src/bar.c +1 -1
  461. data/plugins/fff/examples/fff_example/src/bar.h +1 -1
  462. data/plugins/fff/examples/fff_example/src/custom_types.h +1 -1
  463. data/plugins/fff/examples/fff_example/src/display.c +1 -1
  464. data/plugins/fff/examples/fff_example/src/display.h +1 -1
  465. data/plugins/fff/examples/fff_example/src/event_processor.c +1 -1
  466. data/plugins/fff/examples/fff_example/src/event_processor.h +1 -1
  467. data/plugins/fff/examples/fff_example/src/foo.c +1 -1
  468. data/plugins/fff/examples/fff_example/src/foo.h +1 -1
  469. data/plugins/fff/examples/fff_example/src/subfolder/zzz.c +1 -1
  470. data/plugins/fff/examples/fff_example/src/subfolder/zzz.h +1 -1
  471. data/plugins/fff/examples/fff_example/test/test_event_processor.c +1 -1
  472. data/plugins/fff/examples/fff_example/test/test_foo.c +1 -1
  473. data/plugins/fff/lib/fff.rb +10 -5
  474. data/plugins/fff/lib/fff_mock_generator.rb +3 -1
  475. data/plugins/fff/spec/fff_mock_header_generator_spec.rb +1 -1
  476. data/plugins/fff/spec/fff_mock_source_generator_spec.rb +1 -1
  477. data/plugins/fff/spec/header_generator.rb +1 -1
  478. data/plugins/fff/spec/spec_helper.rb +1 -1
  479. data/plugins/fff/src/fff_unity_helper.h +1 -1
  480. data/plugins/gcov/config/defaults.yml +4 -1
  481. data/plugins/gcov/config/defaults_gcov.rb +40 -13
  482. data/plugins/gcov/gcov.rake +31 -1
  483. data/plugins/gcov/lib/console_reportinator.rb +180 -0
  484. data/plugins/gcov/lib/gcov.rb +189 -103
  485. data/plugins/gcov/lib/gcov_constants.rb +16 -4
  486. data/plugins/gcov/lib/gcov_reportinator.rb +63 -0
  487. data/plugins/gcov/lib/gcov_types.rb +8 -0
  488. data/plugins/gcov/lib/gcovr_reportinator.rb +237 -136
  489. data/plugins/gcov/lib/reportgenerator_reportinator.rb +242 -116
  490. data/plugins/module_generator/Rakefile +51 -24
  491. data/plugins/module_generator/assets/stubby1.h +1 -1
  492. data/plugins/module_generator/assets/stubby2.h +1 -1
  493. data/plugins/module_generator/config/module_generator.yml +1 -2
  494. data/plugins/module_generator/example/project.yml +2 -5
  495. data/plugins/module_generator/lib/module_generator.rb +7 -7
  496. data/plugins/module_generator/module_generator.rake +1 -1
  497. data/plugins/report_build_warnings_log/lib/report_build_warnings_log.rb +14 -20
  498. data/plugins/report_tests_gtestlike_stdout/assets/template.erb +3 -3
  499. data/plugins/report_tests_gtestlike_stdout/config/report_tests_gtestlike_stdout.yml +1 -1
  500. data/plugins/report_tests_gtestlike_stdout/lib/report_tests_gtestlike_stdout.rb +4 -61
  501. data/plugins/report_tests_ide_stdout/config/report_tests_ide_stdout.yml +1 -1
  502. data/plugins/report_tests_ide_stdout/lib/report_tests_ide_stdout.rb +7 -60
  503. data/plugins/report_tests_log_factory/config/defaults.yml +1 -1
  504. data/plugins/report_tests_log_factory/lib/cppunit_tests_reporter.rb +5 -5
  505. data/plugins/report_tests_log_factory/lib/html_tests_reporter.rb +302 -133
  506. data/plugins/report_tests_log_factory/lib/json_tests_reporter.rb +9 -7
  507. data/plugins/report_tests_log_factory/lib/junit_tests_reporter.rb +6 -5
  508. data/plugins/report_tests_log_factory/lib/report_tests_log_factory.rb +72 -36
  509. data/plugins/report_tests_log_factory/lib/tests_reporter.rb +8 -8
  510. data/plugins/report_tests_pretty_stdout/assets/template.erb +1 -2
  511. data/plugins/report_tests_pretty_stdout/config/report_tests_pretty_stdout.yml +1 -1
  512. data/plugins/report_tests_pretty_stdout/lib/report_tests_pretty_stdout.rb +4 -65
  513. data/plugins/report_tests_raw_output_log/lib/report_tests_raw_output_log.rb +4 -4
  514. data/plugins/report_tests_teamcity_stdout/config/defaults.yml +1 -1
  515. data/plugins/report_tests_teamcity_stdout/config/report_tests_teamcity_stdout.yml +1 -1
  516. data/plugins/report_tests_teamcity_stdout/lib/report_tests_teamcity_stdout.rb +2 -2
  517. data/plugins/valgrind/config/defaults.yml +19 -0
  518. data/plugins/valgrind/config/defaults_valgrind.rb +20 -0
  519. data/plugins/valgrind/lib/valgrind.rb +132 -0
  520. data/plugins/valgrind/lib/valgrind_constants.rb +13 -0
  521. data/plugins/valgrind/valgrind.rake +87 -0
  522. data/site-local/404.html +4002 -0
  523. data/site-local/assets/images/ceedling-logo-circle.png +0 -0
  524. data/site-local/assets/images/ceedling.svg +90 -0
  525. data/site-local/assets/images/favicon.png +0 -0
  526. data/site-local/assets/javascripts/bundle.79ae519e.min.js +16 -0
  527. data/site-local/assets/javascripts/bundle.79ae519e.min.js.map +7 -0
  528. data/site-local/assets/javascripts/lunr/min/lunr.ar.min.js +1 -0
  529. data/site-local/assets/javascripts/lunr/min/lunr.da.min.js +18 -0
  530. data/site-local/assets/javascripts/lunr/min/lunr.de.min.js +18 -0
  531. data/site-local/assets/javascripts/lunr/min/lunr.du.min.js +18 -0
  532. data/site-local/assets/javascripts/lunr/min/lunr.el.min.js +1 -0
  533. data/site-local/assets/javascripts/lunr/min/lunr.es.min.js +18 -0
  534. data/site-local/assets/javascripts/lunr/min/lunr.fi.min.js +18 -0
  535. data/site-local/assets/javascripts/lunr/min/lunr.fr.min.js +18 -0
  536. data/site-local/assets/javascripts/lunr/min/lunr.he.min.js +1 -0
  537. data/site-local/assets/javascripts/lunr/min/lunr.hi.min.js +1 -0
  538. data/site-local/assets/javascripts/lunr/min/lunr.hu.min.js +18 -0
  539. data/site-local/assets/javascripts/lunr/min/lunr.hy.min.js +1 -0
  540. data/site-local/assets/javascripts/lunr/min/lunr.it.min.js +18 -0
  541. data/site-local/assets/javascripts/lunr/min/lunr.ja.min.js +1 -0
  542. data/site-local/assets/javascripts/lunr/min/lunr.jp.min.js +1 -0
  543. data/site-local/assets/javascripts/lunr/min/lunr.kn.min.js +1 -0
  544. data/site-local/assets/javascripts/lunr/min/lunr.ko.min.js +1 -0
  545. data/site-local/assets/javascripts/lunr/min/lunr.multi.min.js +1 -0
  546. data/site-local/assets/javascripts/lunr/min/lunr.nl.min.js +18 -0
  547. data/site-local/assets/javascripts/lunr/min/lunr.no.min.js +18 -0
  548. data/site-local/assets/javascripts/lunr/min/lunr.pt.min.js +18 -0
  549. data/site-local/assets/javascripts/lunr/min/lunr.ro.min.js +18 -0
  550. data/site-local/assets/javascripts/lunr/min/lunr.ru.min.js +18 -0
  551. data/site-local/assets/javascripts/lunr/min/lunr.sa.min.js +1 -0
  552. data/site-local/assets/javascripts/lunr/min/lunr.stemmer.support.min.js +1 -0
  553. data/site-local/assets/javascripts/lunr/min/lunr.sv.min.js +18 -0
  554. data/site-local/assets/javascripts/lunr/min/lunr.ta.min.js +1 -0
  555. data/site-local/assets/javascripts/lunr/min/lunr.te.min.js +1 -0
  556. data/site-local/assets/javascripts/lunr/min/lunr.th.min.js +1 -0
  557. data/site-local/assets/javascripts/lunr/min/lunr.tr.min.js +18 -0
  558. data/site-local/assets/javascripts/lunr/min/lunr.vi.min.js +1 -0
  559. data/site-local/assets/javascripts/lunr/min/lunr.zh.min.js +1 -0
  560. data/site-local/assets/javascripts/lunr/tinyseg.js +206 -0
  561. data/site-local/assets/javascripts/lunr/wordcut.js +6708 -0
  562. data/site-local/assets/javascripts/workers/search.2c215733.min.js +42 -0
  563. data/site-local/assets/javascripts/workers/search.2c215733.min.js.map +7 -0
  564. data/site-local/assets/stylesheets/admonitions.css +152 -0
  565. data/site-local/assets/stylesheets/fixes-local.css +15 -0
  566. data/site-local/assets/stylesheets/main.484c7ddc.min.css +1 -0
  567. data/site-local/assets/stylesheets/main.484c7ddc.min.css.map +1 -0
  568. data/site-local/assets/stylesheets/palette.ab4e12ef.min.css +1 -0
  569. data/site-local/assets/stylesheets/palette.ab4e12ef.min.css.map +1 -0
  570. data/site-local/assets/stylesheets/styling.css +102 -0
  571. data/site-local/configuration/environment-vars.html +4102 -0
  572. data/site-local/configuration/global-collections.html +4248 -0
  573. data/site-local/configuration/index.html +4169 -0
  574. data/site-local/configuration/loading.html +4348 -0
  575. data/site-local/configuration/mixins.html +5060 -0
  576. data/site-local/configuration/parallel-builds.html +4347 -0
  577. data/site-local/configuration/project-file.html +4474 -0
  578. data/site-local/configuration/reference/cexception.html +4225 -0
  579. data/site-local/configuration/reference/cmock.html +4401 -0
  580. data/site-local/configuration/reference/defines.html +4734 -0
  581. data/site-local/configuration/reference/environment.html +4242 -0
  582. data/site-local/configuration/reference/extension.html +4387 -0
  583. data/site-local/configuration/reference/files.html +4541 -0
  584. data/site-local/configuration/reference/flags.html +4681 -0
  585. data/site-local/configuration/reference/index.html +4290 -0
  586. data/site-local/configuration/reference/libraries.html +4365 -0
  587. data/site-local/configuration/reference/mixins.html +4195 -0
  588. data/site-local/configuration/reference/paths.html +4714 -0
  589. data/site-local/configuration/reference/plugins.html +4262 -0
  590. data/site-local/configuration/reference/project.html +4777 -0
  591. data/site-local/configuration/reference/release-build.html +4287 -0
  592. data/site-local/configuration/reference/test-build.html +4264 -0
  593. data/site-local/configuration/reference/test-runner.html +4289 -0
  594. data/site-local/configuration/reference/tools.html +5120 -0
  595. data/site-local/configuration/reference/unity.html +4255 -0
  596. data/site-local/configuration/which-ceedling.html +4269 -0
  597. data/site-local/development/index.html +4148 -0
  598. data/site-local/development/plugins/configuration.html +4446 -0
  599. data/site-local/development/plugins/index.html +4212 -0
  600. data/site-local/development/plugins/plugin-subclass.html +5068 -0
  601. data/site-local/development/plugins/rake-tasks.html +4236 -0
  602. data/site-local/development/workflow.html +4664 -0
  603. data/site-local/getting-started/command-line.html +5498 -0
  604. data/site-local/getting-started/example-projects/cipher-quest.html +4272 -0
  605. data/site-local/getting-started/example-projects/index.html +4173 -0
  606. data/site-local/getting-started/example-projects/temp-sensor.html +4322 -0
  607. data/site-local/getting-started/example-projects/wondrous-forest.html +4290 -0
  608. data/site-local/getting-started/index.html +4116 -0
  609. data/site-local/getting-started/installation.html +4452 -0
  610. data/site-local/getting-started/quick-start.html +4262 -0
  611. data/site-local/help.html +4081 -0
  612. data/site-local/index.html +4364 -0
  613. data/site-local/overview/build-system.html +4288 -0
  614. data/site-local/overview/index.html +4103 -0
  615. data/site-local/overview/test-environments.html +4116 -0
  616. data/site-local/overview/tools-and-frameworks.html +4433 -0
  617. data/site-local/plugins/beep.html +4413 -0
  618. data/site-local/plugins/bullseye.html +4249 -0
  619. data/site-local/plugins/command-hooks.html +5023 -0
  620. data/site-local/plugins/compile-commands-json-db.html +4243 -0
  621. data/site-local/plugins/cppcheck.html +4851 -0
  622. data/site-local/plugins/dependencies.html +4828 -0
  623. data/site-local/plugins/fff.html +4661 -0
  624. data/site-local/plugins/gcov/examples.html +4293 -0
  625. data/site-local/plugins/gcov/gcovr.html +4512 -0
  626. data/site-local/plugins/gcov/index.html +4150 -0
  627. data/site-local/plugins/gcov/overview.html +4410 -0
  628. data/site-local/plugins/gcov/reportgenerator.html +4164 -0
  629. data/site-local/plugins/gcov/reporting.html +4336 -0
  630. data/site-local/plugins/gcov/setup.html +4597 -0
  631. data/site-local/plugins/gcov/tool-versions.html +4269 -0
  632. data/site-local/plugins/gcov/troubleshooting.html +4313 -0
  633. data/site-local/plugins/index.html +4348 -0
  634. data/site-local/plugins/module-generator.html +4588 -0
  635. data/site-local/plugins/report-build-warnings-log.html +4229 -0
  636. data/site-local/plugins/report-tests-gtestlike-stdout.html +4357 -0
  637. data/site-local/plugins/report-tests-ide-stdout.html +4270 -0
  638. data/site-local/plugins/report-tests-log-factory.html +4792 -0
  639. data/site-local/plugins/report-tests-pretty-stdout.html +4265 -0
  640. data/site-local/plugins/report-tests-raw-output-log.html +4292 -0
  641. data/site-local/plugins/report-tests-teamcity-stdout.html +4291 -0
  642. data/site-local/plugins/sample_html_report.png +0 -0
  643. data/site-local/plugins/valgrind.html +4605 -0
  644. data/site-local/project/release-history.html +4225 -0
  645. data/site-local/project/upgrade.html +4314 -0
  646. data/site-local/reference/build-directives.html +4210 -0
  647. data/site-local/reference/command-line.html +4989 -0
  648. data/site-local/reference/environment-vars.html +4278 -0
  649. data/site-local/reference/gcov-plugin.html +5886 -0
  650. data/site-local/reference/global-collections.html +4385 -0
  651. data/site-local/reference/index.html +4126 -0
  652. data/site-local/reference/partials-macros.html +4326 -0
  653. data/site-local/reference/project-configuration.html +4253 -0
  654. data/site-local/sitemap.xml +3 -0
  655. data/site-local/sitemap.xml.gz +0 -0
  656. data/site-local/snapshot/assets/project.yml +404 -0
  657. data/site-local/snapshot/examples/cipher_quest/index.html +4292 -0
  658. data/site-local/snapshot/examples/temp_sensor/index.html +4416 -0
  659. data/site-local/snapshot/examples/wondrous_forest/index.html +4200 -0
  660. data/site-local/snapshot/plugins/gcov/config/defaults.yml +33 -0
  661. data/site-local/snapshot/plugins/gcov/config/defaults_gcov.rb +136 -0
  662. data/site-local/testing-guide/build-directives.html +4481 -0
  663. data/site-local/testing-guide/conventions.html +5233 -0
  664. data/site-local/testing-guide/frameworks.html +4488 -0
  665. data/site-local/testing-guide/index.html +4174 -0
  666. data/site-local/testing-guide/partials/configuration.html +4347 -0
  667. data/site-local/testing-guide/partials/conventions.html +4327 -0
  668. data/site-local/testing-guide/partials/directives.html +4680 -0
  669. data/site-local/testing-guide/partials/example.html +4448 -0
  670. data/site-local/testing-guide/partials/index.html +4167 -0
  671. data/site-local/testing-guide/partials/overview.html +4322 -0
  672. data/site-local/testing-guide/partials/variables.html +4548 -0
  673. data/site-local/testing-guide/test-cases.html +4436 -0
  674. data/site-local/testing-guide/test-sample.html +4265 -0
  675. data/site-local/testing-guide/test-suite-anatomy.html +4249 -0
  676. data/spec/manual/stress_test.rb +1 -1
  677. data/spec/support/other_target.yml +1 -1
  678. data/spec/support/spec_helper.rb +20 -0
  679. data/spec/support/system/gem_dir_layout.rb +20 -0
  680. data/spec/support/system/spec_system_helper.rb +206 -0
  681. data/spec/support/system/system_context.rb +310 -0
  682. data/spec/support/system/system_test_output.rb +28 -0
  683. data/spec/support/target.yml +1 -1
  684. data/spec/system/cppcheck_deployment_spec.rb +49 -0
  685. data/spec/system/deployment_as_gem_spec.rb +86 -48
  686. data/spec/system/deployment_as_vendor_spec.rb +141 -79
  687. data/spec/system/encoding_stress_spec.rb +153 -0
  688. data/spec/system/example_cipher_quest_spec.rb +186 -0
  689. data/spec/system/example_temp_sensor_spec.rb +41 -35
  690. data/spec/system/example_wondrous_forest_spec.rb +117 -0
  691. data/spec/system/gcov_deployment_spec.rb +164 -0
  692. data/spec/system/mixin_ordering_spec.rb +548 -0
  693. data/spec/system/preprocessing_encoding_spec.rb +114 -0
  694. data/spec/system/preprocessing_fallback_conditionals_spec.rb +166 -0
  695. data/spec/system/preprocessing_locale_spec.rb +153 -0
  696. data/spec/system/preprocessing_parameterized_tests_spec.rb +183 -0
  697. data/spec/system/ruby_replacement_spec.rb +141 -0
  698. data/spec/system/support/common_test_cases.rb +945 -0
  699. data/spec/system/support/cppcheck_common_test_cases.rb +98 -0
  700. data/spec/system/support/cppcheck_helpers.rb +27 -0
  701. data/spec/system/support/gcov_common_test_cases.rb +457 -0
  702. data/spec/system/support/gcov_helpers.rb +81 -0
  703. data/spec/system/support/valgrind_common_test_cases.rb +120 -0
  704. data/spec/system/support/valgrind_helpers.rb +21 -0
  705. data/spec/system/upgrade_as_vendor_spec.rb +74 -39
  706. data/spec/system/valgrind_deployment_spec.rb +53 -0
  707. data/spec/units/bin/cli_helper_spec.rb +69 -0
  708. data/spec/units/bin/merginator_spec.rb +279 -0
  709. data/spec/units/bin/mixin_standardizer_spec.rb +231 -0
  710. data/spec/units/bin/mixinator_spec.rb +583 -0
  711. data/spec/units/bin/projectinator_mixin_spec.rb +362 -0
  712. data/spec/units/bin/recursive_merger_spec.rb +241 -0
  713. data/spec/units/c_extractor/c_extractor_code_text_spec.rb +2091 -0
  714. data/spec/units/c_extractor/c_extractor_declarations_spec.rb +746 -0
  715. data/spec/units/c_extractor/c_extractor_definitions_spec.rb +417 -0
  716. data/spec/units/c_extractor/c_extractor_functions_spec.rb +2742 -0
  717. data/spec/units/c_extractor/c_extractor_integration_spec.rb +935 -0
  718. data/spec/units/c_extractor/c_extractor_preprocessing_spec.rb +497 -0
  719. data/spec/units/c_extractor/c_extractor_spec.rb +356 -0
  720. data/spec/units/config_matchinator_spec.rb +401 -0
  721. data/spec/units/config_walkinator_spec.rb +62 -0
  722. data/spec/units/configurator_builder_spec.rb +16 -0
  723. data/spec/units/configurator_spec.rb +187 -0
  724. data/spec/units/file_finder_helper_spec.rb +73 -0
  725. data/spec/units/file_path_collection_utils_spec.rb +222 -0
  726. data/spec/units/file_path_utils_spec.rb +274 -0
  727. data/spec/units/generators/generator_helper_spec.rb +112 -0
  728. data/spec/units/generators/generator_partials_spec.rb +795 -0
  729. data/spec/units/generators/generator_test_results_backtrace_spec.rb +492 -0
  730. data/spec/units/generators/generator_test_results_sanity_checker_spec.rb +105 -0
  731. data/spec/units/generators/generator_test_results_spec.rb +412 -0
  732. data/spec/units/generators/generator_test_runner_spec.rb +120 -0
  733. data/spec/units/includes/include_spec.rb +716 -0
  734. data/spec/units/includes/includes_spec.rb +1069 -0
  735. data/spec/units/parsing_parcels_spec.rb +139 -0
  736. data/spec/units/partials/partializer_config_spec.rb +388 -0
  737. data/spec/units/partials/partializer_helper_spec.rb +992 -0
  738. data/spec/units/partials/partializer_spec.rb +1629 -0
  739. data/spec/units/partials/partializer_utils_spec.rb +587 -0
  740. data/spec/units/plugin_manager_spec.rb +48 -0
  741. data/spec/units/plugins/cppcheck_spec.rb +557 -0
  742. data/spec/units/preprocess/c_comment_scanner_spec.rb +409 -0
  743. data/spec/units/preprocess/c_preprocessor_conditionals_spec.rb +396 -0
  744. data/spec/units/preprocess/preprocessinator_code_finder_spec.rb +361 -0
  745. data/spec/units/preprocess/preprocessinator_comment_stripper_spec.rb +580 -0
  746. data/spec/units/preprocess/preprocessinator_file_assembler_spec.rb +263 -0
  747. data/spec/units/preprocess/preprocessinator_includes_handler_spec.rb +337 -0
  748. data/spec/units/preprocess/preprocessinator_reconstructor_spec.rb +700 -0
  749. data/spec/units/reportinator_spec.rb +251 -0
  750. data/spec/units/ruby_expandinator_spec.rb +91 -0
  751. data/spec/units/system_utils_spec.rb +65 -0
  752. data/spec/units/test_context_extractor_spec.rb +437 -0
  753. data/spec/units/tool_executor_helper_spec.rb +205 -0
  754. data/spec/units/tool_executor_spec.rb +83 -0
  755. data/spec/units/tool_validator_spec.rb +60 -0
  756. data/spec/units/yaml_wrapper_spec.rb +108 -0
  757. data/vendor/cmock/Gemfile +4 -1
  758. data/vendor/cmock/LICENSE.txt +1 -1
  759. data/vendor/cmock/config/production_environment.rb +1 -1
  760. data/vendor/cmock/config/test_environment.rb +1 -1
  761. data/vendor/cmock/docs/CMockChangeLog.md +47 -0
  762. data/vendor/cmock/docs/CMockKnownIssues.md +0 -1
  763. data/vendor/cmock/docs/CMock_ArgumentValidation.md +180 -25
  764. data/vendor/cmock/docs/CMock_Summary.md +158 -16
  765. data/vendor/cmock/examples/make_example/Makefile +1 -1
  766. data/vendor/cmock/examples/make_example/src/foo.c +1 -1
  767. data/vendor/cmock/examples/make_example/src/foo.h +1 -1
  768. data/vendor/cmock/examples/make_example/src/main.c +1 -1
  769. data/vendor/cmock/examples/make_example/test/test_foo.c +1 -1
  770. data/vendor/cmock/examples/make_example/test/test_main.c +2 -2
  771. data/vendor/cmock/examples/temp_sensor/project.yml +75 -0
  772. data/vendor/cmock/examples/temp_sensor/rakefile.rb +3 -3
  773. data/vendor/cmock/examples/temp_sensor/rakefile_helper.rb +163 -119
  774. data/vendor/cmock/examples/temp_sensor/src/AT91SAM7X256.h +1 -1
  775. data/vendor/cmock/examples/temp_sensor/src/AdcConductor.c +1 -1
  776. data/vendor/cmock/examples/temp_sensor/src/AdcConductor.h +1 -1
  777. data/vendor/cmock/examples/temp_sensor/src/AdcHardware.c +1 -1
  778. data/vendor/cmock/examples/temp_sensor/src/AdcHardware.h +1 -1
  779. data/vendor/cmock/examples/temp_sensor/src/AdcHardwareConfigurator.c +1 -1
  780. data/vendor/cmock/examples/temp_sensor/src/AdcHardwareConfigurator.h +1 -1
  781. data/vendor/cmock/examples/temp_sensor/src/AdcModel.c +3 -1
  782. data/vendor/cmock/examples/temp_sensor/src/AdcModel.h +1 -1
  783. data/vendor/cmock/examples/temp_sensor/src/AdcTemperatureSensor.c +1 -1
  784. data/vendor/cmock/examples/temp_sensor/src/AdcTemperatureSensor.h +1 -1
  785. data/vendor/cmock/examples/temp_sensor/src/Executor.c +1 -1
  786. data/vendor/cmock/examples/temp_sensor/src/Executor.h +1 -1
  787. data/vendor/cmock/examples/temp_sensor/src/IntrinsicsWrapper.c +1 -1
  788. data/vendor/cmock/examples/temp_sensor/src/IntrinsicsWrapper.h +1 -1
  789. data/vendor/cmock/examples/temp_sensor/src/Main.c +1 -1
  790. data/vendor/cmock/examples/temp_sensor/src/Main.h +1 -1
  791. data/vendor/cmock/examples/temp_sensor/src/Model.c +1 -1
  792. data/vendor/cmock/examples/temp_sensor/src/Model.h +1 -1
  793. data/vendor/cmock/examples/temp_sensor/src/ModelConfig.h +1 -1
  794. data/vendor/cmock/examples/temp_sensor/src/TaskScheduler.c +1 -1
  795. data/vendor/cmock/examples/temp_sensor/src/TaskScheduler.h +1 -1
  796. data/vendor/cmock/examples/temp_sensor/src/TemperatureCalculator.c +1 -1
  797. data/vendor/cmock/examples/temp_sensor/src/TemperatureCalculator.h +1 -1
  798. data/vendor/cmock/examples/temp_sensor/src/TemperatureFilter.c +2 -2
  799. data/vendor/cmock/examples/temp_sensor/src/TemperatureFilter.h +1 -1
  800. data/vendor/cmock/examples/temp_sensor/src/TimerConductor.c +1 -1
  801. data/vendor/cmock/examples/temp_sensor/src/TimerConductor.h +1 -1
  802. data/vendor/cmock/examples/temp_sensor/src/TimerConfigurator.c +2 -2
  803. data/vendor/cmock/examples/temp_sensor/src/TimerConfigurator.h +1 -1
  804. data/vendor/cmock/examples/temp_sensor/src/TimerHardware.c +1 -1
  805. data/vendor/cmock/examples/temp_sensor/src/TimerHardware.h +1 -1
  806. data/vendor/cmock/examples/temp_sensor/src/TimerInterruptConfigurator.c +10 -1
  807. data/vendor/cmock/examples/temp_sensor/src/TimerInterruptConfigurator.h +1 -1
  808. data/vendor/cmock/examples/temp_sensor/src/TimerInterruptHandler.c +1 -1
  809. data/vendor/cmock/examples/temp_sensor/src/TimerInterruptHandler.h +1 -1
  810. data/vendor/cmock/examples/temp_sensor/src/TimerModel.c +1 -1
  811. data/vendor/cmock/examples/temp_sensor/src/TimerModel.h +1 -1
  812. data/vendor/cmock/examples/temp_sensor/src/Types.h +1 -1
  813. data/vendor/cmock/examples/temp_sensor/src/UsartBaudRateRegisterCalculator.c +1 -1
  814. data/vendor/cmock/examples/temp_sensor/src/UsartBaudRateRegisterCalculator.h +1 -1
  815. data/vendor/cmock/examples/temp_sensor/src/UsartConductor.c +1 -1
  816. data/vendor/cmock/examples/temp_sensor/src/UsartConductor.h +1 -1
  817. data/vendor/cmock/examples/temp_sensor/src/UsartConfigurator.c +1 -1
  818. data/vendor/cmock/examples/temp_sensor/src/UsartConfigurator.h +1 -1
  819. data/vendor/cmock/examples/temp_sensor/src/UsartHardware.c +1 -1
  820. data/vendor/cmock/examples/temp_sensor/src/UsartHardware.h +1 -1
  821. data/vendor/cmock/examples/temp_sensor/src/UsartModel.c +2 -2
  822. data/vendor/cmock/examples/temp_sensor/src/UsartModel.h +1 -1
  823. data/vendor/cmock/examples/temp_sensor/src/UsartPutChar.c +2 -2
  824. data/vendor/cmock/examples/temp_sensor/src/UsartPutChar.h +1 -1
  825. data/vendor/cmock/examples/temp_sensor/src/UsartTransmitBufferStatus.c +1 -1
  826. data/vendor/cmock/examples/temp_sensor/src/UsartTransmitBufferStatus.h +1 -1
  827. data/vendor/cmock/examples/temp_sensor/test/TestAdcConductor.c +1 -1
  828. data/vendor/cmock/examples/temp_sensor/test/TestAdcHardware.c +1 -1
  829. data/vendor/cmock/examples/temp_sensor/test/TestAdcHardwareConfigurator.c +1 -1
  830. data/vendor/cmock/examples/temp_sensor/test/TestAdcModel.c +1 -1
  831. data/vendor/cmock/examples/temp_sensor/test/TestAdcTemperatureSensor.c +1 -1
  832. data/vendor/cmock/examples/temp_sensor/test/TestExecutor.c +1 -1
  833. data/vendor/cmock/examples/temp_sensor/test/TestMain.c +1 -1
  834. data/vendor/cmock/examples/temp_sensor/test/TestModel.c +1 -1
  835. data/vendor/cmock/examples/temp_sensor/test/TestTaskScheduler.c +1 -1
  836. data/vendor/cmock/examples/temp_sensor/test/TestTemperatureCalculator.c +1 -1
  837. data/vendor/cmock/examples/temp_sensor/test/TestTemperatureFilter.c +2 -2
  838. data/vendor/cmock/examples/temp_sensor/test/TestTimerConductor.c +1 -1
  839. data/vendor/cmock/examples/temp_sensor/test/TestTimerConfigurator.c +1 -1
  840. data/vendor/cmock/examples/temp_sensor/test/TestTimerHardware.c +1 -1
  841. data/vendor/cmock/examples/temp_sensor/test/TestTimerInterruptConfigurator.c +1 -1
  842. data/vendor/cmock/examples/temp_sensor/test/TestTimerInterruptHandler.c +1 -1
  843. data/vendor/cmock/examples/temp_sensor/test/TestTimerModel.c +1 -1
  844. data/vendor/cmock/examples/temp_sensor/test/TestUsartBaudRateRegisterCalculator.c +1 -1
  845. data/vendor/cmock/examples/temp_sensor/test/TestUsartConductor.c +7 -5
  846. data/vendor/cmock/examples/temp_sensor/test/TestUsartConfigurator.c +1 -1
  847. data/vendor/cmock/examples/temp_sensor/test/TestUsartHardware.c +3 -2
  848. data/vendor/cmock/examples/temp_sensor/test/TestUsartModel.c +1 -1
  849. data/vendor/cmock/examples/temp_sensor/test/TestUsartPutChar.c +1 -1
  850. data/vendor/cmock/examples/temp_sensor/test/TestUsartTransmitBufferStatus.c +1 -1
  851. data/vendor/cmock/lib/cmock.rb +1 -1
  852. data/vendor/cmock/lib/cmock_config.rb +8 -2
  853. data/vendor/cmock/lib/cmock_file_writer.rb +38 -1
  854. data/vendor/cmock/lib/cmock_generator.rb +44 -27
  855. data/vendor/cmock/lib/cmock_generator_plugin_array.rb +68 -15
  856. data/vendor/cmock/lib/cmock_generator_plugin_callback.rb +13 -3
  857. data/vendor/cmock/lib/cmock_generator_plugin_cexception.rb +12 -3
  858. data/vendor/cmock/lib/cmock_generator_plugin_expect.rb +33 -15
  859. data/vendor/cmock/lib/cmock_generator_plugin_expect_any_args.rb +13 -8
  860. data/vendor/cmock/lib/cmock_generator_plugin_ignore.rb +15 -10
  861. data/vendor/cmock/lib/cmock_generator_plugin_ignore_arg.rb +4 -2
  862. data/vendor/cmock/lib/cmock_generator_plugin_ignore_stateless.rb +15 -10
  863. data/vendor/cmock/lib/cmock_generator_plugin_return_thru_ptr.rb +53 -3
  864. data/vendor/cmock/lib/cmock_generator_utils.rb +159 -43
  865. data/vendor/cmock/lib/cmock_header_parser.rb +217 -26
  866. data/vendor/cmock/lib/cmock_plugin_manager.rb +1 -1
  867. data/vendor/cmock/lib/cmock_unityhelper_parser.rb +7 -2
  868. data/vendor/cmock/lib/cmock_version.rb +1 -1
  869. data/vendor/cmock/scripts/create_makefile.rb +7 -5
  870. data/vendor/cmock/src/cmock.c +132 -129
  871. data/vendor/cmock/src/cmock.h +7 -13
  872. data/vendor/cmock/src/cmock_internals.h +73 -39
  873. data/vendor/cmock/test/c/TestCMockC.c +1 -7
  874. data/vendor/cmock/test/c/TestCMockC.yml +1 -1
  875. data/vendor/cmock/test/c/TestCMockCDynamic.c +1 -7
  876. data/vendor/cmock/test/c/TestCMockCDynamic.yml +1 -1
  877. data/vendor/cmock/test/c/TestCMockCDynamic_Runner.c +1 -7
  878. data/vendor/cmock/test/c/TestCMockC_Runner.c +1 -7
  879. data/vendor/cmock/test/gcc_64_valgrind.yml +41 -0
  880. data/vendor/cmock/test/iar/iar_v4/incIAR/AT91SAM7X-EK.h +1 -1
  881. data/vendor/cmock/test/iar/iar_v4/incIAR/AT91SAM7X256_inc.h +1 -1
  882. data/vendor/cmock/test/iar/iar_v4/incIAR/ioat91sam7x256.h +1 -1
  883. data/vendor/cmock/test/iar/iar_v4/srcIAR/Cstartup_SAM7.c +1 -1
  884. data/vendor/cmock/test/iar/iar_v5/incIAR/AT91SAM7X-EK.h +1 -1
  885. data/vendor/cmock/test/iar/iar_v5/incIAR/AT91SAM7X256_inc.h +1 -1
  886. data/vendor/cmock/test/iar/iar_v5/incIAR/project.h +1 -1
  887. data/vendor/cmock/test/iar/iar_v5/srcIAR/Cstartup_SAM7.c +1 -1
  888. data/vendor/cmock/test/project.yml +32 -0
  889. data/vendor/cmock/test/rakefile +74 -58
  890. data/vendor/cmock/test/rakefile_helper.rb +359 -152
  891. data/vendor/cmock/test/system/systest_generator.rb +2 -2
  892. data/vendor/cmock/test/system/test_compilation/callingconv.h +1 -7
  893. data/vendor/cmock/test/system/test_compilation/config.yml +10 -1
  894. data/vendor/cmock/test/system/test_compilation/const.h +7 -13
  895. data/vendor/cmock/test/system/test_compilation/inline.h +1 -2
  896. data/vendor/cmock/test/system/test_compilation/osek.h +1 -7
  897. data/vendor/cmock/test/system/test_compilation/parsing.h +37 -7
  898. data/vendor/cmock/test/system/test_interactions/all_plugins_but_other_limits.yml +5 -13
  899. data/vendor/cmock/test/system/test_interactions/all_plugins_coexist.yml +5 -5
  900. data/vendor/cmock/test/system/test_interactions/array_handling.yml +758 -0
  901. data/vendor/cmock/test/system/test_interactions/basic_expect_and_return.yml +2 -2
  902. data/vendor/cmock/test/system/test_interactions/char_string_array_plugin.yml +113 -0
  903. data/vendor/cmock/test/system/test_interactions/const_custom_type.yml +68 -0
  904. data/vendor/cmock/test/system/test_interactions/const_primitives_handling.yml +4 -3
  905. data/vendor/cmock/test/system/test_interactions/const_ptr_return_and_arg.yml +89 -0
  906. data/vendor/cmock/test/system/test_interactions/debug_output.yml +235 -0
  907. data/vendor/cmock/test/system/test_interactions/doesnt_leave_details_behind.yml +16 -16
  908. data/vendor/cmock/test/system/test_interactions/enforce_strict_ordering.yml +1 -1
  909. data/vendor/cmock/test/system/test_interactions/expect_and_return_custom_types.yml +1 -1
  910. data/vendor/cmock/test/system/test_interactions/expect_and_return_treat_as.yml +3 -3
  911. data/vendor/cmock/test/system/test_interactions/expect_and_throw.yml +1 -1
  912. data/vendor/cmock/test/system/test_interactions/expect_any_args.yml +1 -1
  913. data/vendor/cmock/test/system/test_interactions/fancy_pointer_handling.yml +3 -3
  914. data/vendor/cmock/test/system/test_interactions/function_pointer_handling.yml +1 -1
  915. data/vendor/cmock/test/system/test_interactions/ignore_and_return.yml +1 -1
  916. data/vendor/cmock/test/system/test_interactions/ignore_and_return_stateless.yml +1 -1
  917. data/vendor/cmock/test/system/test_interactions/ignore_strict_mock_calling.yml +1 -1
  918. data/vendor/cmock/test/system/test_interactions/newer_standards_stuff1.yml +1 -1
  919. data/vendor/cmock/test/system/test_interactions/nonstandard_parsed_stuff_1.yml +2 -2
  920. data/vendor/cmock/test/system/test_interactions/nonstandard_parsed_stuff_2.yml +7 -4
  921. data/vendor/cmock/test/system/test_interactions/out_of_memory.yml +65 -8
  922. data/vendor/cmock/test/system/test_interactions/parsing_challenges.yml +1 -1
  923. data/vendor/cmock/test/system/test_interactions/parsing_challenges_with_func_pointers.yml +88 -0
  924. data/vendor/cmock/test/system/test_interactions/pointer_handling.yml +465 -0
  925. data/vendor/cmock/test/system/test_interactions/return_thru_ptr_expect_any_args.yml +238 -0
  926. data/vendor/cmock/test/system/test_interactions/return_thru_ptr_ignore.yml +142 -0
  927. data/vendor/cmock/test/system/test_interactions/return_thru_ptr_ignore_arg.yml +13 -9
  928. data/vendor/cmock/test/system/test_interactions/skeleton.yml +1 -1
  929. data/vendor/cmock/test/system/test_interactions/skeleton_update.yml +1 -1
  930. data/vendor/cmock/test/system/test_interactions/struct_union_enum_expect_and_return.yml +1 -1
  931. data/vendor/cmock/test/system/test_interactions/struct_union_enum_expect_and_return_with_plugins.yml +1 -1
  932. data/vendor/cmock/test/system/test_interactions/stubs_with_callbacks.yml +14 -2
  933. data/vendor/cmock/test/system/test_interactions/teardown_mock_calls.yml +57 -0
  934. data/vendor/cmock/test/system/test_interactions/teardown_mock_expectations.yml +59 -0
  935. data/vendor/cmock/test/system/test_interactions/unity_64bit_support.yml +1 -1
  936. data/vendor/cmock/test/system/test_interactions/unity_ignores.yml +1 -1
  937. data/vendor/cmock/test/system/test_interactions/unity_void_pointer_compare.yml +9 -9
  938. data/vendor/cmock/test/system/test_interactions/void_pointer_no_array_plugin.yml +133 -0
  939. data/vendor/cmock/test/system/test_interactions/void_pointer_treat_as_void_array_plugin.yml +102 -0
  940. data/vendor/cmock/test/system/test_interactions/volatile_pointer_handling.yml +291 -0
  941. data/vendor/cmock/test/system/test_interactions/wrong_expect_and_return.yml +9 -1
  942. data/vendor/cmock/test/targets/iar_arm.yml +14 -0
  943. data/vendor/cmock/test/targets/tiny.yml +36 -0
  944. data/vendor/cmock/test/test_helper.rb +1 -2
  945. data/vendor/cmock/test/unit/cmock_config_test.rb +1 -2
  946. data/vendor/cmock/test/unit/cmock_config_test.yml +1 -1
  947. data/vendor/cmock/test/unit/cmock_file_writer_test.rb +1 -1
  948. data/vendor/cmock/test/unit/cmock_generator_main_test.rb +6 -0
  949. data/vendor/cmock/test/unit/cmock_generator_no_error_stubs_plugin_array_test.rb +90 -0
  950. data/vendor/cmock/test/unit/cmock_generator_no_error_stubs_plugin_expect_any_args_test.rb +38 -0
  951. data/vendor/cmock/test/unit/cmock_generator_no_error_stubs_plugin_expect_test.rb +55 -0
  952. data/vendor/cmock/test/unit/cmock_generator_no_error_stubs_plugin_ignore_stateless_test.rb +42 -0
  953. data/vendor/cmock/test/unit/cmock_generator_no_error_stubs_plugin_ignore_test.rb +42 -0
  954. data/vendor/cmock/test/unit/cmock_generator_plugin_array_test.rb +63 -2
  955. data/vendor/cmock/test/unit/cmock_generator_plugin_callback_test.rb +24 -6
  956. data/vendor/cmock/test/unit/cmock_generator_plugin_cexception_test.rb +1 -1
  957. data/vendor/cmock/test/unit/cmock_generator_plugin_expect_a_test.rb +118 -2
  958. data/vendor/cmock/test/unit/cmock_generator_plugin_expect_any_args_test.rb +2 -2
  959. data/vendor/cmock/test/unit/cmock_generator_plugin_expect_b_test.rb +4 -2
  960. data/vendor/cmock/test/unit/cmock_generator_plugin_ignore_arg_test.rb +2 -1
  961. data/vendor/cmock/test/unit/cmock_generator_plugin_ignore_stateless_test.rb +2 -2
  962. data/vendor/cmock/test/unit/cmock_generator_plugin_ignore_test.rb +2 -2
  963. data/vendor/cmock/test/unit/cmock_generator_plugin_return_thru_ptr_test.rb +135 -3
  964. data/vendor/cmock/test/unit/cmock_generator_utils_test.rb +177 -9
  965. data/vendor/cmock/test/unit/cmock_header_parser_test.rb +705 -109
  966. data/vendor/cmock/test/unit/cmock_plugin_manager_test.rb +4 -2
  967. data/vendor/cmock/test/unit/cmock_unityhelper_parser_test.rb +1 -1
  968. data/vendor/cmock/vendor/unity/CMakeLists.txt +10 -0
  969. data/vendor/cmock/vendor/unity/LICENSE.txt +1 -1
  970. data/vendor/cmock/vendor/unity/README.md +2 -2
  971. data/vendor/cmock/vendor/unity/auto/__init__.py +1 -1
  972. data/vendor/cmock/vendor/unity/auto/colour_prompt.rb +1 -1
  973. data/vendor/cmock/vendor/unity/auto/colour_reporter.rb +7 -1
  974. data/vendor/cmock/vendor/unity/auto/extract_version.py +1 -1
  975. data/vendor/cmock/vendor/unity/auto/generate_config.yml +1 -1
  976. data/vendor/cmock/vendor/unity/auto/generate_module.rb +6 -6
  977. data/vendor/cmock/vendor/unity/auto/generate_test_runner.rb +95 -14
  978. data/vendor/cmock/vendor/unity/auto/parse_output.rb +10 -7
  979. data/vendor/cmock/vendor/unity/auto/stylize_as_junit.py +4 -3
  980. data/vendor/cmock/vendor/unity/auto/stylize_as_junit.rb +4 -2
  981. data/vendor/cmock/vendor/unity/auto/test_file_filter.rb +1 -1
  982. data/vendor/cmock/vendor/unity/auto/type_sanitizer.rb +1 -1
  983. data/vendor/cmock/vendor/unity/auto/unity_test_summary.py +2 -2
  984. data/vendor/cmock/vendor/unity/auto/unity_test_summary.rb +5 -2
  985. data/vendor/cmock/vendor/unity/auto/yaml_helper.rb +1 -1
  986. data/vendor/cmock/vendor/unity/docs/ThrowTheSwitchCodingStandard.md +2 -2
  987. data/vendor/cmock/vendor/unity/docs/UnityAssertionsReference.md +66 -1
  988. data/vendor/cmock/vendor/unity/docs/UnityChangeLog.md +41 -0
  989. data/vendor/cmock/vendor/unity/docs/UnityConfigurationGuide.md +2 -2
  990. data/vendor/cmock/vendor/unity/docs/UnityHelperScriptsGuide.md +28 -12
  991. data/vendor/cmock/vendor/unity/examples/example_1/makefile +1 -1
  992. data/vendor/cmock/vendor/unity/examples/example_1/src/ProductionCode.c +1 -1
  993. data/vendor/cmock/vendor/unity/examples/example_1/src/ProductionCode.h +1 -1
  994. data/vendor/cmock/vendor/unity/examples/example_1/src/ProductionCode2.c +1 -1
  995. data/vendor/cmock/vendor/unity/examples/example_1/src/ProductionCode2.h +1 -1
  996. data/vendor/cmock/vendor/unity/examples/example_1/test/TestProductionCode.c +1 -1
  997. data/vendor/cmock/vendor/unity/examples/example_1/test/TestProductionCode2.c +1 -1
  998. data/vendor/cmock/vendor/unity/examples/example_2/makefile +1 -1
  999. data/vendor/cmock/vendor/unity/examples/example_2/src/ProductionCode.c +1 -1
  1000. data/vendor/cmock/vendor/unity/examples/example_2/src/ProductionCode.h +1 -1
  1001. data/vendor/cmock/vendor/unity/examples/example_2/src/ProductionCode2.c +1 -1
  1002. data/vendor/cmock/vendor/unity/examples/example_2/src/ProductionCode2.h +1 -1
  1003. data/vendor/cmock/vendor/unity/examples/example_2/test/TestProductionCode.c +1 -1
  1004. data/vendor/cmock/vendor/unity/examples/example_2/test/TestProductionCode2.c +1 -1
  1005. data/vendor/cmock/vendor/unity/examples/example_2/test/test_runners/TestProductionCode2_Runner.c +1 -1
  1006. data/vendor/cmock/vendor/unity/examples/example_2/test/test_runners/TestProductionCode_Runner.c +1 -1
  1007. data/vendor/cmock/vendor/unity/examples/example_2/test/test_runners/all_tests.c +1 -1
  1008. data/vendor/cmock/vendor/unity/examples/example_3/helper/UnityHelper.c +1 -1
  1009. data/vendor/cmock/vendor/unity/examples/example_3/helper/UnityHelper.h +1 -1
  1010. data/vendor/cmock/vendor/unity/examples/example_3/project.yml +24 -0
  1011. data/vendor/cmock/vendor/unity/examples/example_3/rakefile.rb +2 -3
  1012. data/vendor/cmock/vendor/unity/examples/example_3/rakefile_helper.rb +107 -153
  1013. data/vendor/cmock/vendor/unity/examples/example_3/src/ProductionCode.c +3 -3
  1014. data/vendor/cmock/vendor/unity/examples/example_3/src/ProductionCode.h +1 -1
  1015. data/vendor/cmock/vendor/unity/examples/example_3/src/ProductionCode2.c +1 -1
  1016. data/vendor/cmock/vendor/unity/examples/example_3/src/ProductionCode2.h +1 -1
  1017. data/vendor/cmock/vendor/unity/examples/example_3/test/TestProductionCode.c +1 -1
  1018. data/vendor/cmock/vendor/unity/examples/example_3/test/TestProductionCode2.c +1 -1
  1019. data/vendor/cmock/vendor/unity/examples/example_4/src/ProductionCode.c +1 -1
  1020. data/vendor/cmock/vendor/unity/examples/example_4/src/ProductionCode.h +1 -1
  1021. data/vendor/cmock/vendor/unity/examples/example_4/src/ProductionCode2.c +1 -1
  1022. data/vendor/cmock/vendor/unity/examples/example_4/src/ProductionCode2.h +1 -1
  1023. data/vendor/cmock/vendor/unity/examples/example_4/test/TestProductionCode.c +1 -1
  1024. data/vendor/cmock/vendor/unity/examples/example_4/test/TestProductionCode2.c +1 -1
  1025. data/vendor/cmock/vendor/unity/examples/example_5/makefile +63 -0
  1026. data/vendor/cmock/vendor/unity/examples/example_5/readme.txt +38 -0
  1027. data/vendor/cmock/vendor/unity/examples/example_5/src/ProductionCode.c +56 -0
  1028. data/vendor/cmock/vendor/unity/examples/example_5/src/ProductionCode.h +16 -0
  1029. data/vendor/cmock/vendor/unity/examples/example_5/subprojects/unity.wrap +3 -0
  1030. data/vendor/cmock/vendor/unity/examples/example_5/test/TestProductionCode.c +45 -0
  1031. data/vendor/cmock/vendor/unity/examples/example_5/test/test_runners/TestProductionCode_Runner.c +48 -0
  1032. data/vendor/cmock/vendor/unity/examples/example_5/test/unity_detail_config.h +25 -0
  1033. data/vendor/cmock/vendor/unity/examples/unity_config.h +5 -3
  1034. data/vendor/cmock/vendor/unity/extras/bdd/src/unity_bdd.h +1 -1
  1035. data/vendor/cmock/vendor/unity/extras/bdd/test/test_bdd.c +1 -1
  1036. data/vendor/cmock/vendor/unity/extras/fixture/src/unity_fixture.c +59 -15
  1037. data/vendor/cmock/vendor/unity/extras/fixture/src/unity_fixture.h +1 -1
  1038. data/vendor/cmock/vendor/unity/extras/fixture/src/unity_fixture_internals.h +4 -1
  1039. data/vendor/cmock/vendor/unity/extras/fixture/test/main/AllTests.c +1 -1
  1040. data/vendor/cmock/vendor/unity/extras/fixture/test/template_fixture_tests.c +1 -1
  1041. data/vendor/cmock/vendor/unity/extras/fixture/test/unity_fixture_Test.c +46 -1
  1042. data/vendor/cmock/vendor/unity/extras/fixture/test/unity_fixture_TestRunner.c +4 -1
  1043. data/vendor/cmock/vendor/unity/extras/memory/src/unity_memory.c +1 -1
  1044. data/vendor/cmock/vendor/unity/extras/memory/src/unity_memory.h +1 -1
  1045. data/vendor/cmock/vendor/unity/extras/memory/test/unity_memory_Test.c +1 -1
  1046. data/vendor/cmock/vendor/unity/extras/memory/test/unity_memory_TestRunner.c +1 -1
  1047. data/vendor/cmock/vendor/unity/extras/memory/test/unity_output_Spy.c +1 -1
  1048. data/vendor/cmock/vendor/unity/extras/memory/test/unity_output_Spy.h +1 -1
  1049. data/vendor/cmock/vendor/unity/library.json +0 -7
  1050. data/vendor/cmock/vendor/unity/meson.build +16 -8
  1051. data/vendor/cmock/vendor/unity/meson_options.txt +5 -3
  1052. data/vendor/cmock/vendor/unity/src/unity.c +480 -141
  1053. data/vendor/cmock/vendor/unity/src/unity.h +16 -4
  1054. data/vendor/cmock/vendor/unity/src/unity_internals.h +291 -148
  1055. data/vendor/cmock/vendor/unity/test/Makefile +4 -6
  1056. data/vendor/cmock/vendor/unity/test/rakefile +42 -21
  1057. data/vendor/cmock/vendor/unity/test/rakefile_helper.rb +154 -15
  1058. data/vendor/cmock/vendor/unity/test/spec/generate_module_existing_file_spec.rb +1 -1
  1059. data/vendor/cmock/vendor/unity/test/targets/clang.yml +157 -0
  1060. data/vendor/cmock/vendor/unity/test/targets/gcc.yml +139 -0
  1061. data/vendor/cmock/vendor/unity/test/targets/hitech_picc18.yml +9 -16
  1062. data/vendor/cmock/vendor/unity/test/targets/iar_arm.yml +88 -0
  1063. data/vendor/cmock/vendor/unity/test/targets/no_stdlib.yml +23 -0
  1064. data/vendor/cmock/vendor/unity/test/testdata/CException.h +1 -1
  1065. data/vendor/cmock/vendor/unity/test/testdata/Defs.h +1 -1
  1066. data/vendor/cmock/vendor/unity/test/testdata/cmock.h +1 -1
  1067. data/vendor/cmock/vendor/unity/test/testdata/mockMock.h +1 -1
  1068. data/vendor/cmock/vendor/unity/test/testdata/testRunnerGenerator.c +1 -1
  1069. data/vendor/cmock/vendor/unity/test/testdata/testRunnerGeneratorSmall.c +1 -1
  1070. data/vendor/cmock/vendor/unity/test/testdata/testRunnerGeneratorWithMocks.c +1 -1
  1071. data/vendor/cmock/vendor/unity/test/tests/self_assessment_utils.h +23 -7
  1072. data/vendor/cmock/vendor/unity/test/tests/test_generate_test_runner.rb +1 -4
  1073. data/vendor/cmock/vendor/unity/test/tests/test_unity_arrays.c +1 -1
  1074. data/vendor/cmock/vendor/unity/test/tests/test_unity_core.c +33 -38
  1075. data/vendor/cmock/vendor/unity/test/tests/test_unity_doubles.c +4 -4
  1076. data/vendor/cmock/vendor/unity/test/tests/test_unity_floats.c +15 -6
  1077. data/vendor/cmock/vendor/unity/test/tests/test_unity_integers.c +35 -1
  1078. data/vendor/cmock/vendor/unity/test/tests/test_unity_integers_64.c +1 -1
  1079. data/vendor/cmock/vendor/unity/test/tests/test_unity_memory.c +69 -1
  1080. data/vendor/cmock/vendor/unity/test/tests/test_unity_parameterized.c +5 -5
  1081. data/vendor/cmock/vendor/unity/test/tests/test_unity_parameterizedDemo.c +1 -1
  1082. data/vendor/cmock/vendor/unity/test/tests/test_unity_strings.c +65 -1
  1083. data/vendor/cmock/vendor/unity/test/tests/types_for_test.h +1 -1
  1084. data/vendor/unity/CMakeLists.txt +10 -0
  1085. data/vendor/unity/LICENSE.txt +1 -1
  1086. data/vendor/unity/README.md +2 -2
  1087. data/vendor/unity/auto/__init__.py +1 -1
  1088. data/vendor/unity/auto/colour_prompt.rb +1 -1
  1089. data/vendor/unity/auto/colour_reporter.rb +7 -1
  1090. data/vendor/unity/auto/extract_version.py +1 -1
  1091. data/vendor/unity/auto/generate_config.yml +1 -1
  1092. data/vendor/unity/auto/generate_module.rb +6 -6
  1093. data/vendor/unity/auto/generate_test_runner.rb +95 -14
  1094. data/vendor/unity/auto/parse_output.rb +10 -7
  1095. data/vendor/unity/auto/stylize_as_junit.py +4 -3
  1096. data/vendor/unity/auto/stylize_as_junit.rb +4 -2
  1097. data/vendor/unity/auto/test_file_filter.rb +1 -1
  1098. data/vendor/unity/auto/type_sanitizer.rb +1 -1
  1099. data/vendor/unity/auto/unity_test_summary.py +2 -2
  1100. data/vendor/unity/auto/unity_test_summary.rb +5 -2
  1101. data/vendor/unity/auto/yaml_helper.rb +1 -1
  1102. data/vendor/unity/docs/ThrowTheSwitchCodingStandard.md +2 -2
  1103. data/vendor/unity/docs/UnityAssertionsReference.md +66 -1
  1104. data/vendor/unity/docs/UnityChangeLog.md +41 -0
  1105. data/vendor/unity/docs/UnityConfigurationGuide.md +2 -2
  1106. data/vendor/unity/docs/UnityHelperScriptsGuide.md +28 -12
  1107. data/vendor/unity/examples/example_1/makefile +1 -1
  1108. data/vendor/unity/examples/example_1/src/ProductionCode.c +1 -1
  1109. data/vendor/unity/examples/example_1/src/ProductionCode.h +1 -1
  1110. data/vendor/unity/examples/example_1/src/ProductionCode2.c +1 -1
  1111. data/vendor/unity/examples/example_1/src/ProductionCode2.h +1 -1
  1112. data/vendor/unity/examples/example_1/test/TestProductionCode.c +1 -1
  1113. data/vendor/unity/examples/example_1/test/TestProductionCode2.c +1 -1
  1114. data/vendor/unity/examples/example_2/makefile +1 -1
  1115. data/vendor/unity/examples/example_2/src/ProductionCode.c +1 -1
  1116. data/vendor/unity/examples/example_2/src/ProductionCode.h +1 -1
  1117. data/vendor/unity/examples/example_2/src/ProductionCode2.c +1 -1
  1118. data/vendor/unity/examples/example_2/src/ProductionCode2.h +1 -1
  1119. data/vendor/unity/examples/example_2/test/TestProductionCode.c +1 -1
  1120. data/vendor/unity/examples/example_2/test/TestProductionCode2.c +1 -1
  1121. data/vendor/unity/examples/example_2/test/test_runners/TestProductionCode2_Runner.c +1 -1
  1122. data/vendor/unity/examples/example_2/test/test_runners/TestProductionCode_Runner.c +1 -1
  1123. data/vendor/unity/examples/example_2/test/test_runners/all_tests.c +1 -1
  1124. data/vendor/unity/examples/example_3/helper/UnityHelper.c +1 -1
  1125. data/vendor/unity/examples/example_3/helper/UnityHelper.h +1 -1
  1126. data/vendor/unity/examples/example_3/project.yml +24 -0
  1127. data/vendor/unity/examples/example_3/rakefile.rb +2 -3
  1128. data/vendor/unity/examples/example_3/rakefile_helper.rb +107 -153
  1129. data/vendor/unity/examples/example_3/src/ProductionCode.c +3 -3
  1130. data/vendor/unity/examples/example_3/src/ProductionCode.h +1 -1
  1131. data/vendor/unity/examples/example_3/src/ProductionCode2.c +1 -1
  1132. data/vendor/unity/examples/example_3/src/ProductionCode2.h +1 -1
  1133. data/vendor/unity/examples/example_3/test/TestProductionCode.c +1 -1
  1134. data/vendor/unity/examples/example_3/test/TestProductionCode2.c +1 -1
  1135. data/vendor/unity/examples/example_4/src/ProductionCode.c +1 -1
  1136. data/vendor/unity/examples/example_4/src/ProductionCode.h +1 -1
  1137. data/vendor/unity/examples/example_4/src/ProductionCode2.c +1 -1
  1138. data/vendor/unity/examples/example_4/src/ProductionCode2.h +1 -1
  1139. data/vendor/unity/examples/example_4/test/TestProductionCode.c +1 -1
  1140. data/vendor/unity/examples/example_4/test/TestProductionCode2.c +1 -1
  1141. data/vendor/unity/examples/example_5/makefile +63 -0
  1142. data/vendor/unity/examples/example_5/readme.txt +38 -0
  1143. data/vendor/unity/examples/example_5/src/ProductionCode.c +56 -0
  1144. data/vendor/unity/examples/example_5/src/ProductionCode.h +16 -0
  1145. data/vendor/unity/examples/example_5/subprojects/unity.wrap +3 -0
  1146. data/vendor/unity/examples/example_5/test/TestProductionCode.c +45 -0
  1147. data/vendor/unity/examples/example_5/test/test_runners/TestProductionCode_Runner.c +48 -0
  1148. data/vendor/unity/examples/example_5/test/unity_detail_config.h +25 -0
  1149. data/vendor/unity/examples/unity_config.h +5 -3
  1150. data/vendor/unity/extras/bdd/src/unity_bdd.h +1 -1
  1151. data/vendor/unity/extras/bdd/test/test_bdd.c +1 -1
  1152. data/vendor/unity/extras/fixture/src/unity_fixture.c +59 -15
  1153. data/vendor/unity/extras/fixture/src/unity_fixture.h +1 -1
  1154. data/vendor/unity/extras/fixture/src/unity_fixture_internals.h +4 -1
  1155. data/vendor/unity/extras/fixture/test/main/AllTests.c +1 -1
  1156. data/vendor/unity/extras/fixture/test/template_fixture_tests.c +1 -1
  1157. data/vendor/unity/extras/fixture/test/unity_fixture_Test.c +46 -1
  1158. data/vendor/unity/extras/fixture/test/unity_fixture_TestRunner.c +4 -1
  1159. data/vendor/unity/extras/memory/src/unity_memory.c +1 -1
  1160. data/vendor/unity/extras/memory/src/unity_memory.h +1 -1
  1161. data/vendor/unity/extras/memory/test/unity_memory_Test.c +1 -1
  1162. data/vendor/unity/extras/memory/test/unity_memory_TestRunner.c +1 -1
  1163. data/vendor/unity/extras/memory/test/unity_output_Spy.c +1 -1
  1164. data/vendor/unity/extras/memory/test/unity_output_Spy.h +1 -1
  1165. data/vendor/unity/library.json +0 -7
  1166. data/vendor/unity/meson.build +16 -8
  1167. data/vendor/unity/meson_options.txt +5 -3
  1168. data/vendor/unity/src/unity.c +480 -141
  1169. data/vendor/unity/src/unity.h +16 -4
  1170. data/vendor/unity/src/unity_internals.h +291 -148
  1171. data/vendor/unity/test/Makefile +4 -6
  1172. data/vendor/unity/test/rakefile +42 -21
  1173. data/vendor/unity/test/rakefile_helper.rb +154 -15
  1174. data/vendor/unity/test/spec/generate_module_existing_file_spec.rb +1 -1
  1175. data/vendor/unity/test/targets/clang.yml +157 -0
  1176. data/vendor/unity/test/targets/gcc.yml +139 -0
  1177. data/vendor/unity/test/targets/hitech_picc18.yml +9 -16
  1178. data/vendor/unity/test/targets/iar_arm.yml +88 -0
  1179. data/vendor/unity/test/targets/no_stdlib.yml +23 -0
  1180. data/vendor/unity/test/testdata/CException.h +1 -1
  1181. data/vendor/unity/test/testdata/Defs.h +1 -1
  1182. data/vendor/unity/test/testdata/cmock.h +1 -1
  1183. data/vendor/unity/test/testdata/mockMock.h +1 -1
  1184. data/vendor/unity/test/testdata/testRunnerGenerator.c +1 -1
  1185. data/vendor/unity/test/testdata/testRunnerGeneratorSmall.c +1 -1
  1186. data/vendor/unity/test/testdata/testRunnerGeneratorWithMocks.c +1 -1
  1187. data/vendor/unity/test/tests/self_assessment_utils.h +23 -7
  1188. data/vendor/unity/test/tests/test_generate_test_runner.rb +1 -4
  1189. data/vendor/unity/test/tests/test_unity_arrays.c +1 -1
  1190. data/vendor/unity/test/tests/test_unity_core.c +33 -38
  1191. data/vendor/unity/test/tests/test_unity_doubles.c +4 -4
  1192. data/vendor/unity/test/tests/test_unity_floats.c +15 -6
  1193. data/vendor/unity/test/tests/test_unity_integers.c +35 -1
  1194. data/vendor/unity/test/tests/test_unity_integers_64.c +1 -1
  1195. data/vendor/unity/test/tests/test_unity_memory.c +69 -1
  1196. data/vendor/unity/test/tests/test_unity_parameterized.c +5 -5
  1197. data/vendor/unity/test/tests/test_unity_parameterizedDemo.c +1 -1
  1198. data/vendor/unity/test/tests/test_unity_strings.c +65 -1
  1199. data/vendor/unity/test/tests/types_for_test.h +1 -1
  1200. metadata +709 -1223
  1201. data/assets/project_as_gem.yml +0 -411
  1202. data/assets/project_with_guts.yml +0 -412
  1203. data/assets/test_example_file_crash.c +0 -25
  1204. data/build/test/dependencies/AdcConductor.d +0 -2
  1205. data/build/test/dependencies/AdcHardware.d +0 -3
  1206. data/build/test/dependencies/AdcModel.d +0 -3
  1207. data/build/test/dependencies/Executor.d +0 -3
  1208. data/build/test/dependencies/Main.d +0 -10
  1209. data/build/test/dependencies/MockAdcConductor.d +0 -9
  1210. data/build/test/dependencies/MockAdcHardware.d +0 -9
  1211. data/build/test/dependencies/MockAdcHardwareConfigurator.d +0 -10
  1212. data/build/test/dependencies/MockAdcModel.d +0 -9
  1213. data/build/test/dependencies/MockAdcTemperatureSensor.d +0 -10
  1214. data/build/test/dependencies/MockExecutor.d +0 -9
  1215. data/build/test/dependencies/MockIntrinsicsWrapper.d +0 -9
  1216. data/build/test/dependencies/MockModel.d +0 -9
  1217. data/build/test/dependencies/MockTaskScheduler.d +0 -9
  1218. data/build/test/dependencies/MockTemperatureCalculator.d +0 -10
  1219. data/build/test/dependencies/MockTemperatureFilter.d +0 -10
  1220. data/build/test/dependencies/MockTimerConductor.d +0 -9
  1221. data/build/test/dependencies/MockTimerConfigurator.d +0 -10
  1222. data/build/test/dependencies/MockTimerHardware.d +0 -9
  1223. data/build/test/dependencies/MockTimerInterruptHandler.d +0 -10
  1224. data/build/test/dependencies/MockTimerModel.d +0 -9
  1225. data/build/test/dependencies/MockUsartBaudRateRegisterCalculator.d +0 -10
  1226. data/build/test/dependencies/MockUsartConductor.d +0 -9
  1227. data/build/test/dependencies/MockUsartConfigurator.d +0 -10
  1228. data/build/test/dependencies/MockUsartHardware.d +0 -9
  1229. data/build/test/dependencies/MockUsartModel.d +0 -9
  1230. data/build/test/dependencies/MockUsartPutChar.d +0 -9
  1231. data/build/test/dependencies/Model.d +0 -2
  1232. data/build/test/dependencies/TaskScheduler.d +0 -2
  1233. data/build/test/dependencies/TemperatureCalculator.d +0 -2
  1234. data/build/test/dependencies/TemperatureFilter.d +0 -2
  1235. data/build/test/dependencies/TestAdcConductor.d +0 -7
  1236. data/build/test/dependencies/TestAdcConductor_runner.d +0 -10
  1237. data/build/test/dependencies/TestAdcHardware.d +0 -8
  1238. data/build/test/dependencies/TestAdcHardware_runner.d +0 -11
  1239. data/build/test/dependencies/TestAdcModel.d +0 -10
  1240. data/build/test/dependencies/TestAdcModel_runner.d +0 -13
  1241. data/build/test/dependencies/TestExecutor.d +0 -14
  1242. data/build/test/dependencies/TestExecutor_runner.d +0 -17
  1243. data/build/test/dependencies/TestMain.d +0 -5
  1244. data/build/test/dependencies/TestMain_runner.d +0 -8
  1245. data/build/test/dependencies/TestModel.d +0 -7
  1246. data/build/test/dependencies/TestModel_runner.d +0 -10
  1247. data/build/test/dependencies/TestTaskScheduler.d +0 -4
  1248. data/build/test/dependencies/TestTaskScheduler_runner.d +0 -5
  1249. data/build/test/dependencies/TestTemperatureCalculator.d +0 -3
  1250. data/build/test/dependencies/TestTemperatureCalculator_runner.d +0 -4
  1251. data/build/test/dependencies/TestTemperatureFilter.d +0 -4
  1252. data/build/test/dependencies/TestTemperatureFilter_runner.d +0 -5
  1253. data/build/test/dependencies/TestTimerConductor.d +0 -10
  1254. data/build/test/dependencies/TestTimerConductor_runner.d +0 -13
  1255. data/build/test/dependencies/TestTimerHardware.d +0 -6
  1256. data/build/test/dependencies/TestTimerHardware_runner.d +0 -9
  1257. data/build/test/dependencies/TestTimerIntegrated.d +0 -10
  1258. data/build/test/dependencies/TestTimerIntegrated_runner.d +0 -13
  1259. data/build/test/dependencies/TestTimerModel.d +0 -6
  1260. data/build/test/dependencies/TestTimerModel_runner.d +0 -9
  1261. data/build/test/dependencies/TestUsartBaudRateRegisterCalculator.d +0 -5
  1262. data/build/test/dependencies/TestUsartBaudRateRegisterCalculator_runner.d +0 -5
  1263. data/build/test/dependencies/TestUsartConductor.d +0 -10
  1264. data/build/test/dependencies/TestUsartConductor_runner.d +0 -13
  1265. data/build/test/dependencies/TestUsartHardware.d +0 -8
  1266. data/build/test/dependencies/TestUsartHardware_runner.d +0 -11
  1267. data/build/test/dependencies/TestUsartIntegrated.d +0 -15
  1268. data/build/test/dependencies/TestUsartIntegrated_runner.d +0 -18
  1269. data/build/test/dependencies/TestUsartModel.d +0 -8
  1270. data/build/test/dependencies/TestUsartModel_runner.d +0 -11
  1271. data/build/test/dependencies/TimerConductor.d +0 -3
  1272. data/build/test/dependencies/TimerHardware.d +0 -3
  1273. data/build/test/dependencies/TimerModel.d +0 -2
  1274. data/build/test/dependencies/UnityHelper.d +0 -5
  1275. data/build/test/dependencies/UsartBaudRateRegisterCalculator.d +0 -3
  1276. data/build/test/dependencies/UsartConductor.d +0 -3
  1277. data/build/test/dependencies/UsartHardware.d +0 -3
  1278. data/build/test/dependencies/UsartModel.d +0 -3
  1279. data/build/test/dependencies/cmock.d +0 -6
  1280. data/build/test/dependencies/unity.d +0 -4
  1281. data/build/test/mocks/TestAdcConductor/MockAdcHardware.c +0 -445
  1282. data/build/test/mocks/TestAdcConductor/MockAdcHardware.h +0 -91
  1283. data/build/test/mocks/TestAdcConductor/MockAdcModel.c +0 -618
  1284. data/build/test/mocks/TestAdcConductor/MockAdcModel.h +0 -103
  1285. data/build/test/mocks/TestAdcHardware/MockAdcHardwareConfigurator.c +0 -317
  1286. data/build/test/mocks/TestAdcHardware/MockAdcHardwareConfigurator.h +0 -79
  1287. data/build/test/mocks/TestAdcHardware/MockAdcTemperatureSensor.c +0 -351
  1288. data/build/test/mocks/TestAdcHardware/MockAdcTemperatureSensor.h +0 -79
  1289. data/build/test/mocks/TestAdcModel/MockTaskScheduler.c +0 -458
  1290. data/build/test/mocks/TestAdcModel/MockTaskScheduler.h +0 -91
  1291. data/build/test/mocks/TestAdcModel/MockTemperatureCalculator.c +0 -159
  1292. data/build/test/mocks/TestAdcModel/MockTemperatureCalculator.h +0 -55
  1293. data/build/test/mocks/TestAdcModel/MockTemperatureFilter.c +0 -347
  1294. data/build/test/mocks/TestAdcModel/MockTemperatureFilter.h +0 -79
  1295. data/build/test/mocks/TestExecutor/MockAdcConductor.c +0 -556
  1296. data/build/test/mocks/TestExecutor/MockAdcConductor.h +0 -103
  1297. data/build/test/mocks/TestExecutor/MockIntrinsicsWrapper.c +0 -223
  1298. data/build/test/mocks/TestExecutor/MockIntrinsicsWrapper.h +0 -67
  1299. data/build/test/mocks/TestExecutor/MockModel.c +0 -129
  1300. data/build/test/mocks/TestExecutor/MockModel.h +0 -55
  1301. data/build/test/mocks/TestExecutor/MockTimerConductor.c +0 -223
  1302. data/build/test/mocks/TestExecutor/MockTimerConductor.h +0 -67
  1303. data/build/test/mocks/TestExecutor/MockUsartConductor.c +0 -223
  1304. data/build/test/mocks/TestExecutor/MockUsartConductor.h +0 -67
  1305. data/build/test/mocks/TestMain/MockExecutor.c +0 -240
  1306. data/build/test/mocks/TestMain/MockExecutor.h +0 -67
  1307. data/build/test/mocks/TestModel/MockTaskScheduler.c +0 -458
  1308. data/build/test/mocks/TestModel/MockTaskScheduler.h +0 -91
  1309. data/build/test/mocks/TestModel/MockTemperatureFilter.c +0 -347
  1310. data/build/test/mocks/TestModel/MockTemperatureFilter.h +0 -79
  1311. data/build/test/mocks/TestTimerConductor/MockTimerHardware.c +0 -129
  1312. data/build/test/mocks/TestTimerConductor/MockTimerHardware.h +0 -55
  1313. data/build/test/mocks/TestTimerConductor/MockTimerInterruptHandler.c +0 -347
  1314. data/build/test/mocks/TestTimerConductor/MockTimerInterruptHandler.h +0 -79
  1315. data/build/test/mocks/TestTimerConductor/MockTimerModel.c +0 -142
  1316. data/build/test/mocks/TestTimerConductor/MockTimerModel.h +0 -55
  1317. data/build/test/mocks/TestTimerHardware/MockTimerConfigurator.c +0 -787
  1318. data/build/test/mocks/TestTimerHardware/MockTimerConfigurator.h +0 -139
  1319. data/build/test/mocks/TestTimerIntegrated/MockTaskScheduler.c +0 -458
  1320. data/build/test/mocks/TestTimerIntegrated/MockTaskScheduler.h +0 -91
  1321. data/build/test/mocks/TestTimerIntegrated/MockTimerConfigurator.c +0 -787
  1322. data/build/test/mocks/TestTimerIntegrated/MockTimerConfigurator.h +0 -139
  1323. data/build/test/mocks/TestTimerIntegrated/MockTimerInterruptHandler.c +0 -347
  1324. data/build/test/mocks/TestTimerIntegrated/MockTimerInterruptHandler.h +0 -79
  1325. data/build/test/mocks/TestTimerModel/MockTaskScheduler.c +0 -458
  1326. data/build/test/mocks/TestTimerModel/MockTaskScheduler.h +0 -91
  1327. data/build/test/mocks/TestUsartConductor/MockTaskScheduler.c +0 -458
  1328. data/build/test/mocks/TestUsartConductor/MockTaskScheduler.h +0 -91
  1329. data/build/test/mocks/TestUsartConductor/MockUsartHardware.c +0 -249
  1330. data/build/test/mocks/TestUsartConductor/MockUsartHardware.h +0 -67
  1331. data/build/test/mocks/TestUsartConductor/MockUsartModel.c +0 -368
  1332. data/build/test/mocks/TestUsartConductor/MockUsartModel.h +0 -79
  1333. data/build/test/mocks/TestUsartHardware/MockUsartConfigurator.c +0 -612
  1334. data/build/test/mocks/TestUsartHardware/MockUsartConfigurator.h +0 -115
  1335. data/build/test/mocks/TestUsartHardware/MockUsartPutChar.c +0 -142
  1336. data/build/test/mocks/TestUsartHardware/MockUsartPutChar.h +0 -55
  1337. data/build/test/mocks/TestUsartIntegrated/MockTaskScheduler.c +0 -458
  1338. data/build/test/mocks/TestUsartIntegrated/MockTaskScheduler.h +0 -91
  1339. data/build/test/mocks/TestUsartIntegrated/MockTemperatureFilter.c +0 -347
  1340. data/build/test/mocks/TestUsartIntegrated/MockTemperatureFilter.h +0 -79
  1341. data/build/test/mocks/TestUsartIntegrated/MockUsartBaudRateRegisterCalculator.c +0 -166
  1342. data/build/test/mocks/TestUsartIntegrated/MockUsartBaudRateRegisterCalculator.h +0 -55
  1343. data/build/test/mocks/TestUsartIntegrated/MockUsartConfigurator.c +0 -612
  1344. data/build/test/mocks/TestUsartIntegrated/MockUsartConfigurator.h +0 -115
  1345. data/build/test/mocks/TestUsartIntegrated/MockUsartPutChar.c +0 -142
  1346. data/build/test/mocks/TestUsartIntegrated/MockUsartPutChar.h +0 -55
  1347. data/build/test/mocks/TestUsartModel/MockTemperatureFilter.c +0 -347
  1348. data/build/test/mocks/TestUsartModel/MockTemperatureFilter.h +0 -79
  1349. data/build/test/mocks/TestUsartModel/MockUsartBaudRateRegisterCalculator.c +0 -166
  1350. data/build/test/mocks/TestUsartModel/MockUsartBaudRateRegisterCalculator.h +0 -55
  1351. data/build/test/out/TestAdcConductor/AdcConductor.o +0 -0
  1352. data/build/test/out/TestAdcConductor/MockAdcHardware.o +0 -0
  1353. data/build/test/out/TestAdcConductor/MockAdcModel.o +0 -0
  1354. data/build/test/out/TestAdcConductor/TestAdcConductor.o +0 -0
  1355. data/build/test/out/TestAdcConductor/TestAdcConductor.out +0 -0
  1356. data/build/test/out/TestAdcConductor/TestAdcConductor_runner.o +0 -0
  1357. data/build/test/out/TestAdcConductor/UnityHelper.o +0 -0
  1358. data/build/test/out/TestAdcConductor/cmock.o +0 -0
  1359. data/build/test/out/TestAdcConductor/unity.o +0 -0
  1360. data/build/test/out/TestAdcHardware/AdcHardware.o +0 -0
  1361. data/build/test/out/TestAdcHardware/MockAdcHardwareConfigurator.o +0 -0
  1362. data/build/test/out/TestAdcHardware/MockAdcTemperatureSensor.o +0 -0
  1363. data/build/test/out/TestAdcHardware/TestAdcHardware.o +0 -0
  1364. data/build/test/out/TestAdcHardware/TestAdcHardware.out +0 -0
  1365. data/build/test/out/TestAdcHardware/TestAdcHardware_runner.o +0 -0
  1366. data/build/test/out/TestAdcHardware/UnityHelper.o +0 -0
  1367. data/build/test/out/TestAdcHardware/cmock.o +0 -0
  1368. data/build/test/out/TestAdcHardware/unity.o +0 -0
  1369. data/build/test/out/TestAdcModel/AdcModel.o +0 -0
  1370. data/build/test/out/TestAdcModel/MockTaskScheduler.o +0 -0
  1371. data/build/test/out/TestAdcModel/MockTemperatureCalculator.o +0 -0
  1372. data/build/test/out/TestAdcModel/MockTemperatureFilter.o +0 -0
  1373. data/build/test/out/TestAdcModel/TestAdcModel.o +0 -0
  1374. data/build/test/out/TestAdcModel/TestAdcModel.out +0 -0
  1375. data/build/test/out/TestAdcModel/TestAdcModel_runner.o +0 -0
  1376. data/build/test/out/TestAdcModel/UnityHelper.o +0 -0
  1377. data/build/test/out/TestAdcModel/cmock.o +0 -0
  1378. data/build/test/out/TestAdcModel/unity.o +0 -0
  1379. data/build/test/out/TestExecutor/Executor.o +0 -0
  1380. data/build/test/out/TestExecutor/MockAdcConductor.o +0 -0
  1381. data/build/test/out/TestExecutor/MockIntrinsicsWrapper.o +0 -0
  1382. data/build/test/out/TestExecutor/MockModel.o +0 -0
  1383. data/build/test/out/TestExecutor/MockTimerConductor.o +0 -0
  1384. data/build/test/out/TestExecutor/MockUsartConductor.o +0 -0
  1385. data/build/test/out/TestExecutor/TestExecutor.o +0 -0
  1386. data/build/test/out/TestExecutor/TestExecutor.out +0 -0
  1387. data/build/test/out/TestExecutor/TestExecutor_runner.o +0 -0
  1388. data/build/test/out/TestExecutor/UnityHelper.o +0 -0
  1389. data/build/test/out/TestExecutor/cmock.o +0 -0
  1390. data/build/test/out/TestExecutor/unity.o +0 -0
  1391. data/build/test/out/TestMain/Main.o +0 -0
  1392. data/build/test/out/TestMain/MockExecutor.o +0 -0
  1393. data/build/test/out/TestMain/TestMain.o +0 -0
  1394. data/build/test/out/TestMain/TestMain.out +0 -0
  1395. data/build/test/out/TestMain/TestMain_runner.o +0 -0
  1396. data/build/test/out/TestMain/UnityHelper.o +0 -0
  1397. data/build/test/out/TestMain/cmock.o +0 -0
  1398. data/build/test/out/TestMain/unity.o +0 -0
  1399. data/build/test/out/TestModel/MockTaskScheduler.o +0 -0
  1400. data/build/test/out/TestModel/MockTemperatureFilter.o +0 -0
  1401. data/build/test/out/TestModel/Model.o +0 -0
  1402. data/build/test/out/TestModel/TestModel.o +0 -0
  1403. data/build/test/out/TestModel/TestModel.out +0 -0
  1404. data/build/test/out/TestModel/TestModel_runner.o +0 -0
  1405. data/build/test/out/TestModel/UnityHelper.o +0 -0
  1406. data/build/test/out/TestModel/cmock.o +0 -0
  1407. data/build/test/out/TestModel/unity.o +0 -0
  1408. data/build/test/out/TestTaskScheduler/TaskScheduler.o +0 -0
  1409. data/build/test/out/TestTaskScheduler/TestTaskScheduler.o +0 -0
  1410. data/build/test/out/TestTaskScheduler/TestTaskScheduler.out +0 -0
  1411. data/build/test/out/TestTaskScheduler/TestTaskScheduler_runner.o +0 -0
  1412. data/build/test/out/TestTaskScheduler/UnityHelper.o +0 -0
  1413. data/build/test/out/TestTaskScheduler/unity.o +0 -0
  1414. data/build/test/out/TestTemperatureCalculator/TemperatureCalculator.o +0 -0
  1415. data/build/test/out/TestTemperatureCalculator/TestTemperatureCalculator.o +0 -0
  1416. data/build/test/out/TestTemperatureCalculator/TestTemperatureCalculator.out +0 -0
  1417. data/build/test/out/TestTemperatureCalculator/TestTemperatureCalculator_runner.o +0 -0
  1418. data/build/test/out/TestTemperatureCalculator/UnityHelper.o +0 -0
  1419. data/build/test/out/TestTemperatureCalculator/unity.o +0 -0
  1420. data/build/test/out/TestTemperatureFilter/TemperatureFilter.o +0 -0
  1421. data/build/test/out/TestTemperatureFilter/TestTemperatureFilter.o +0 -0
  1422. data/build/test/out/TestTemperatureFilter/TestTemperatureFilter.out +0 -0
  1423. data/build/test/out/TestTemperatureFilter/TestTemperatureFilter_runner.o +0 -0
  1424. data/build/test/out/TestTemperatureFilter/UnityHelper.o +0 -0
  1425. data/build/test/out/TestTemperatureFilter/unity.o +0 -0
  1426. data/build/test/out/TestTimerConductor/MockTimerHardware.o +0 -0
  1427. data/build/test/out/TestTimerConductor/MockTimerInterruptHandler.o +0 -0
  1428. data/build/test/out/TestTimerConductor/MockTimerModel.o +0 -0
  1429. data/build/test/out/TestTimerConductor/TestTimerConductor.o +0 -0
  1430. data/build/test/out/TestTimerConductor/TestTimerConductor.out +0 -0
  1431. data/build/test/out/TestTimerConductor/TestTimerConductor_runner.o +0 -0
  1432. data/build/test/out/TestTimerConductor/TimerConductor.o +0 -0
  1433. data/build/test/out/TestTimerConductor/UnityHelper.o +0 -0
  1434. data/build/test/out/TestTimerConductor/cmock.o +0 -0
  1435. data/build/test/out/TestTimerConductor/unity.o +0 -0
  1436. data/build/test/out/TestTimerHardware/MockTimerConfigurator.o +0 -0
  1437. data/build/test/out/TestTimerHardware/TestTimerHardware.o +0 -0
  1438. data/build/test/out/TestTimerHardware/TestTimerHardware.out +0 -0
  1439. data/build/test/out/TestTimerHardware/TestTimerHardware_runner.o +0 -0
  1440. data/build/test/out/TestTimerHardware/TimerHardware.o +0 -0
  1441. data/build/test/out/TestTimerHardware/UnityHelper.o +0 -0
  1442. data/build/test/out/TestTimerHardware/cmock.o +0 -0
  1443. data/build/test/out/TestTimerHardware/unity.o +0 -0
  1444. data/build/test/out/TestTimerIntegrated/MockTaskScheduler.o +0 -0
  1445. data/build/test/out/TestTimerIntegrated/MockTimerConfigurator.o +0 -0
  1446. data/build/test/out/TestTimerIntegrated/MockTimerInterruptHandler.o +0 -0
  1447. data/build/test/out/TestTimerIntegrated/TestTimerIntegrated.o +0 -0
  1448. data/build/test/out/TestTimerIntegrated/TestTimerIntegrated.out +0 -0
  1449. data/build/test/out/TestTimerIntegrated/TestTimerIntegrated_runner.o +0 -0
  1450. data/build/test/out/TestTimerIntegrated/TimerConductor.o +0 -0
  1451. data/build/test/out/TestTimerIntegrated/TimerHardware.o +0 -0
  1452. data/build/test/out/TestTimerIntegrated/TimerModel.o +0 -0
  1453. data/build/test/out/TestTimerIntegrated/UnityHelper.o +0 -0
  1454. data/build/test/out/TestTimerIntegrated/cmock.o +0 -0
  1455. data/build/test/out/TestTimerIntegrated/unity.o +0 -0
  1456. data/build/test/out/TestTimerModel/MockTaskScheduler.o +0 -0
  1457. data/build/test/out/TestTimerModel/TestTimerModel.o +0 -0
  1458. data/build/test/out/TestTimerModel/TestTimerModel.out +0 -0
  1459. data/build/test/out/TestTimerModel/TestTimerModel_runner.o +0 -0
  1460. data/build/test/out/TestTimerModel/TimerModel.o +0 -0
  1461. data/build/test/out/TestTimerModel/UnityHelper.o +0 -0
  1462. data/build/test/out/TestTimerModel/cmock.o +0 -0
  1463. data/build/test/out/TestTimerModel/unity.o +0 -0
  1464. data/build/test/out/TestUsartBaudRateRegisterCalculator/TestUsartBaudRateRegisterCalculator.o +0 -0
  1465. data/build/test/out/TestUsartBaudRateRegisterCalculator/TestUsartBaudRateRegisterCalculator.out +0 -0
  1466. data/build/test/out/TestUsartBaudRateRegisterCalculator/TestUsartBaudRateRegisterCalculator_runner.o +0 -0
  1467. data/build/test/out/TestUsartBaudRateRegisterCalculator/UnityHelper.o +0 -0
  1468. data/build/test/out/TestUsartBaudRateRegisterCalculator/UsartBaudRateRegisterCalculator.o +0 -0
  1469. data/build/test/out/TestUsartBaudRateRegisterCalculator/unity.o +0 -0
  1470. data/build/test/out/TestUsartConductor/MockTaskScheduler.o +0 -0
  1471. data/build/test/out/TestUsartConductor/MockUsartHardware.o +0 -0
  1472. data/build/test/out/TestUsartConductor/MockUsartModel.o +0 -0
  1473. data/build/test/out/TestUsartConductor/TestUsartConductor.o +0 -0
  1474. data/build/test/out/TestUsartConductor/TestUsartConductor.out +0 -0
  1475. data/build/test/out/TestUsartConductor/TestUsartConductor_runner.o +0 -0
  1476. data/build/test/out/TestUsartConductor/UnityHelper.o +0 -0
  1477. data/build/test/out/TestUsartConductor/UsartConductor.o +0 -0
  1478. data/build/test/out/TestUsartConductor/cmock.o +0 -0
  1479. data/build/test/out/TestUsartConductor/unity.o +0 -0
  1480. data/build/test/out/TestUsartHardware/MockUsartConfigurator.o +0 -0
  1481. data/build/test/out/TestUsartHardware/MockUsartPutChar.o +0 -0
  1482. data/build/test/out/TestUsartHardware/TestUsartHardware.o +0 -0
  1483. data/build/test/out/TestUsartHardware/TestUsartHardware.out +0 -0
  1484. data/build/test/out/TestUsartHardware/TestUsartHardware_runner.o +0 -0
  1485. data/build/test/out/TestUsartHardware/UnityHelper.o +0 -0
  1486. data/build/test/out/TestUsartHardware/UsartHardware.o +0 -0
  1487. data/build/test/out/TestUsartHardware/cmock.o +0 -0
  1488. data/build/test/out/TestUsartHardware/unity.o +0 -0
  1489. data/build/test/out/TestUsartIntegrated/MockTaskScheduler.o +0 -0
  1490. data/build/test/out/TestUsartIntegrated/MockTemperatureFilter.o +0 -0
  1491. data/build/test/out/TestUsartIntegrated/MockUsartBaudRateRegisterCalculator.o +0 -0
  1492. data/build/test/out/TestUsartIntegrated/MockUsartConfigurator.o +0 -0
  1493. data/build/test/out/TestUsartIntegrated/MockUsartPutChar.o +0 -0
  1494. data/build/test/out/TestUsartIntegrated/TestUsartIntegrated.o +0 -0
  1495. data/build/test/out/TestUsartIntegrated/TestUsartIntegrated.out +0 -0
  1496. data/build/test/out/TestUsartIntegrated/TestUsartIntegrated_runner.o +0 -0
  1497. data/build/test/out/TestUsartIntegrated/UnityHelper.o +0 -0
  1498. data/build/test/out/TestUsartIntegrated/UsartConductor.o +0 -0
  1499. data/build/test/out/TestUsartIntegrated/UsartHardware.o +0 -0
  1500. data/build/test/out/TestUsartIntegrated/UsartModel.o +0 -0
  1501. data/build/test/out/TestUsartIntegrated/cmock.o +0 -0
  1502. data/build/test/out/TestUsartIntegrated/unity.o +0 -0
  1503. data/build/test/out/TestUsartModel/MockTemperatureFilter.o +0 -0
  1504. data/build/test/out/TestUsartModel/MockUsartBaudRateRegisterCalculator.o +0 -0
  1505. data/build/test/out/TestUsartModel/TestUsartModel.o +0 -0
  1506. data/build/test/out/TestUsartModel/TestUsartModel.out +0 -0
  1507. data/build/test/out/TestUsartModel/TestUsartModel_runner.o +0 -0
  1508. data/build/test/out/TestUsartModel/UnityHelper.o +0 -0
  1509. data/build/test/out/TestUsartModel/UsartModel.o +0 -0
  1510. data/build/test/out/TestUsartModel/cmock.o +0 -0
  1511. data/build/test/out/TestUsartModel/unity.o +0 -0
  1512. data/build/test/preprocess/files/TestAdcConductor/AdcHardware.h +0 -16
  1513. data/build/test/preprocess/files/TestAdcConductor/AdcModel.h +0 -18
  1514. data/build/test/preprocess/files/TestAdcConductor/TestAdcConductor.c +0 -106
  1515. data/build/test/preprocess/files/TestAdcHardware/AdcHardwareConfigurator.h +0 -14
  1516. data/build/test/preprocess/files/TestAdcHardware/AdcTemperatureSensor.h +0 -14
  1517. data/build/test/preprocess/files/TestAdcHardware/TestAdcHardware.c +0 -59
  1518. data/build/test/preprocess/files/TestAdcModel/TaskScheduler.h +0 -16
  1519. data/build/test/preprocess/files/TestAdcModel/TemperatureCalculator.h +0 -10
  1520. data/build/test/preprocess/files/TestAdcModel/TemperatureFilter.h +0 -14
  1521. data/build/test/preprocess/files/TestAdcModel/TestAdcModel.c +0 -41
  1522. data/build/test/preprocess/files/TestExecutor/AdcConductor.h +0 -18
  1523. data/build/test/preprocess/files/TestExecutor/IntrinsicsWrapper.h +0 -10
  1524. data/build/test/preprocess/files/TestExecutor/Model.h +0 -10
  1525. data/build/test/preprocess/files/TestExecutor/TestExecutor.c +0 -45
  1526. data/build/test/preprocess/files/TestExecutor/TimerConductor.h +0 -12
  1527. data/build/test/preprocess/files/TestExecutor/UsartConductor.h +0 -10
  1528. data/build/test/preprocess/files/TestMain/Executor.h +0 -12
  1529. data/build/test/preprocess/files/TestMain/TestMain.c +0 -31
  1530. data/build/test/preprocess/files/TestModel/TaskScheduler.h +0 -16
  1531. data/build/test/preprocess/files/TestModel/TemperatureFilter.h +0 -14
  1532. data/build/test/preprocess/files/TestModel/TestModel.c +0 -24
  1533. data/build/test/preprocess/files/TestTaskScheduler/TestTaskScheduler.c +0 -168
  1534. data/build/test/preprocess/files/TestTemperatureCalculator/TestTemperatureCalculator.c +0 -52
  1535. data/build/test/preprocess/files/TestTemperatureFilter/TestTemperatureFilter.c +0 -163
  1536. data/build/test/preprocess/files/TestTimerConductor/TestTimerConductor.c +0 -38
  1537. data/build/test/preprocess/files/TestTimerConductor/TimerHardware.h +0 -10
  1538. data/build/test/preprocess/files/TestTimerConductor/TimerInterruptHandler.h +0 -14
  1539. data/build/test/preprocess/files/TestTimerConductor/TimerModel.h +0 -10
  1540. data/build/test/preprocess/files/TestTimerHardware/TestTimerHardware.c +0 -35
  1541. data/build/test/preprocess/files/TestTimerHardware/TimerConfigurator.h +0 -24
  1542. data/build/test/preprocess/files/TestTimerIntegrated/TaskScheduler.h +0 -16
  1543. data/build/test/preprocess/files/TestTimerIntegrated/TestTimerIntegrated.c +0 -54
  1544. data/build/test/preprocess/files/TestTimerIntegrated/TimerConfigurator.h +0 -24
  1545. data/build/test/preprocess/files/TestTimerIntegrated/TimerInterruptHandler.h +0 -14
  1546. data/build/test/preprocess/files/TestTimerModel/TaskScheduler.h +0 -16
  1547. data/build/test/preprocess/files/TestTimerModel/TestTimerModel.c +0 -21
  1548. data/build/test/preprocess/files/TestUsartBaudRateRegisterCalculator/TestUsartBaudRateRegisterCalculator.c +0 -46
  1549. data/build/test/preprocess/files/TestUsartConductor/TaskScheduler.h +0 -16
  1550. data/build/test/preprocess/files/TestUsartConductor/TestUsartConductor.c +0 -47
  1551. data/build/test/preprocess/files/TestUsartConductor/UsartHardware.h +0 -12
  1552. data/build/test/preprocess/files/TestUsartConductor/UsartModel.h +0 -14
  1553. data/build/test/preprocess/files/TestUsartHardware/TestUsartHardware.c +0 -47
  1554. data/build/test/preprocess/files/TestUsartHardware/UsartConfigurator.h +0 -20
  1555. data/build/test/preprocess/files/TestUsartHardware/UsartPutChar.h +0 -10
  1556. data/build/test/preprocess/files/TestUsartIntegrated/TaskScheduler.h +0 -16
  1557. data/build/test/preprocess/files/TestUsartIntegrated/TemperatureFilter.h +0 -14
  1558. data/build/test/preprocess/files/TestUsartIntegrated/TestUsartIntegrated.c +0 -57
  1559. data/build/test/preprocess/files/TestUsartIntegrated/UsartBaudRateRegisterCalculator.h +0 -10
  1560. data/build/test/preprocess/files/TestUsartIntegrated/UsartConfigurator.h +0 -20
  1561. data/build/test/preprocess/files/TestUsartIntegrated/UsartPutChar.h +0 -10
  1562. data/build/test/preprocess/files/TestUsartModel/TemperatureFilter.h +0 -14
  1563. data/build/test/preprocess/files/TestUsartModel/TestUsartModel.c +0 -64
  1564. data/build/test/preprocess/files/TestUsartModel/UsartBaudRateRegisterCalculator.h +0 -10
  1565. data/build/test/preprocess/includes/TestAdcConductor/AdcHardware.h.yml +0 -2
  1566. data/build/test/preprocess/includes/TestAdcConductor/AdcModel.h.yml +0 -2
  1567. data/build/test/preprocess/includes/TestAdcConductor/TestAdcConductor.c.yml +0 -7
  1568. data/build/test/preprocess/includes/TestAdcHardware/AdcHardwareConfigurator.h.yml +0 -2
  1569. data/build/test/preprocess/includes/TestAdcHardware/AdcTemperatureSensor.h.yml +0 -2
  1570. data/build/test/preprocess/includes/TestAdcHardware/TestAdcHardware.c.yml +0 -6
  1571. data/build/test/preprocess/includes/TestAdcModel/TaskScheduler.h.yml +0 -2
  1572. data/build/test/preprocess/includes/TestAdcModel/TemperatureCalculator.h.yml +0 -2
  1573. data/build/test/preprocess/includes/TestAdcModel/TemperatureFilter.h.yml +0 -2
  1574. data/build/test/preprocess/includes/TestAdcModel/TestAdcModel.c.yml +0 -7
  1575. data/build/test/preprocess/includes/TestExecutor/AdcConductor.h.yml +0 -2
  1576. data/build/test/preprocess/includes/TestExecutor/IntrinsicsWrapper.h.yml +0 -1
  1577. data/build/test/preprocess/includes/TestExecutor/Model.h.yml +0 -2
  1578. data/build/test/preprocess/includes/TestExecutor/TestExecutor.c.yml +0 -9
  1579. data/build/test/preprocess/includes/TestExecutor/TimerConductor.h.yml +0 -2
  1580. data/build/test/preprocess/includes/TestExecutor/UsartConductor.h.yml +0 -1
  1581. data/build/test/preprocess/includes/TestMain/Executor.h.yml +0 -2
  1582. data/build/test/preprocess/includes/TestMain/TestMain.c.yml +0 -5
  1583. data/build/test/preprocess/includes/TestModel/TaskScheduler.h.yml +0 -2
  1584. data/build/test/preprocess/includes/TestModel/TemperatureFilter.h.yml +0 -2
  1585. data/build/test/preprocess/includes/TestModel/TestModel.c.yml +0 -6
  1586. data/build/test/preprocess/includes/TestTaskScheduler/TestTaskScheduler.c.yml +0 -4
  1587. data/build/test/preprocess/includes/TestTemperatureCalculator/TestTemperatureCalculator.c.yml +0 -3
  1588. data/build/test/preprocess/includes/TestTemperatureFilter/TestTemperatureFilter.c.yml +0 -4
  1589. data/build/test/preprocess/includes/TestTimerConductor/TestTimerConductor.c.yml +0 -7
  1590. data/build/test/preprocess/includes/TestTimerConductor/TimerHardware.h.yml +0 -2
  1591. data/build/test/preprocess/includes/TestTimerConductor/TimerInterruptHandler.h.yml +0 -2
  1592. data/build/test/preprocess/includes/TestTimerConductor/TimerModel.h.yml +0 -2
  1593. data/build/test/preprocess/includes/TestTimerHardware/TestTimerHardware.c.yml +0 -5
  1594. data/build/test/preprocess/includes/TestTimerHardware/TimerConfigurator.h.yml +0 -2
  1595. data/build/test/preprocess/includes/TestTimerIntegrated/TaskScheduler.h.yml +0 -2
  1596. data/build/test/preprocess/includes/TestTimerIntegrated/TestTimerIntegrated.c.yml +0 -9
  1597. data/build/test/preprocess/includes/TestTimerIntegrated/TimerConfigurator.h.yml +0 -2
  1598. data/build/test/preprocess/includes/TestTimerIntegrated/TimerInterruptHandler.h.yml +0 -2
  1599. data/build/test/preprocess/includes/TestTimerModel/TaskScheduler.h.yml +0 -2
  1600. data/build/test/preprocess/includes/TestTimerModel/TestTimerModel.c.yml +0 -5
  1601. data/build/test/preprocess/includes/TestUsartBaudRateRegisterCalculator/TestUsartBaudRateRegisterCalculator.c.yml +0 -4
  1602. data/build/test/preprocess/includes/TestUsartConductor/TaskScheduler.h.yml +0 -2
  1603. data/build/test/preprocess/includes/TestUsartConductor/TestUsartConductor.c.yml +0 -7
  1604. data/build/test/preprocess/includes/TestUsartConductor/UsartHardware.h.yml +0 -2
  1605. data/build/test/preprocess/includes/TestUsartConductor/UsartModel.h.yml +0 -2
  1606. data/build/test/preprocess/includes/TestUsartHardware/TestUsartHardware.c.yml +0 -6
  1607. data/build/test/preprocess/includes/TestUsartHardware/UsartConfigurator.h.yml +0 -2
  1608. data/build/test/preprocess/includes/TestUsartHardware/UsartPutChar.h.yml +0 -2
  1609. data/build/test/preprocess/includes/TestUsartIntegrated/TaskScheduler.h.yml +0 -2
  1610. data/build/test/preprocess/includes/TestUsartIntegrated/TemperatureFilter.h.yml +0 -2
  1611. data/build/test/preprocess/includes/TestUsartIntegrated/TestUsartIntegrated.c.yml +0 -12
  1612. data/build/test/preprocess/includes/TestUsartIntegrated/UsartBaudRateRegisterCalculator.h.yml +0 -2
  1613. data/build/test/preprocess/includes/TestUsartIntegrated/UsartConfigurator.h.yml +0 -2
  1614. data/build/test/preprocess/includes/TestUsartIntegrated/UsartPutChar.h.yml +0 -2
  1615. data/build/test/preprocess/includes/TestUsartModel/TemperatureFilter.h.yml +0 -2
  1616. data/build/test/preprocess/includes/TestUsartModel/TestUsartModel.c.yml +0 -7
  1617. data/build/test/preprocess/includes/TestUsartModel/UsartBaudRateRegisterCalculator.h.yml +0 -2
  1618. data/build/test/results/TestAdcConductor.pass +0 -47
  1619. data/build/test/results/TestAdcHardware.pass +0 -31
  1620. data/build/test/results/TestAdcModel.pass +0 -27
  1621. data/build/test/results/TestExecutor.pass +0 -23
  1622. data/build/test/results/TestMain.pass +0 -19
  1623. data/build/test/results/TestModel.pass +0 -19
  1624. data/build/test/results/TestTaskScheduler.pass +0 -47
  1625. data/build/test/results/TestTemperatureCalculator.pass +0 -23
  1626. data/build/test/results/TestTemperatureFilter.pass +0 -31
  1627. data/build/test/results/TestTimerConductor.pass +0 -23
  1628. data/build/test/results/TestTimerHardware.pass +0 -19
  1629. data/build/test/results/TestTimerIntegrated.pass +0 -23
  1630. data/build/test/results/TestTimerModel.pass +0 -19
  1631. data/build/test/results/TestUsartBaudRateRegisterCalculator.pass +0 -19
  1632. data/build/test/results/TestUsartConductor.pass +0 -27
  1633. data/build/test/results/TestUsartHardware.pass +0 -23
  1634. data/build/test/results/TestUsartIntegrated.pass +0 -23
  1635. data/build/test/results/TestUsartModel.pass +0 -31
  1636. data/build/test/runners/TestAdcConductor_runner.c +0 -109
  1637. data/build/test/runners/TestAdcHardware_runner.c +0 -100
  1638. data/build/test/runners/TestAdcModel_runner.c +0 -102
  1639. data/build/test/runners/TestExecutor_runner.c +0 -108
  1640. data/build/test/runners/TestMain_runner.c +0 -90
  1641. data/build/test/runners/TestModel_runner.c +0 -94
  1642. data/build/test/runners/TestTaskScheduler_runner.c +0 -98
  1643. data/build/test/runners/TestTemperatureCalculator_runner.c +0 -85
  1644. data/build/test/runners/TestTemperatureFilter_runner.c +0 -90
  1645. data/build/test/runners/TestTimerConductor_runner.c +0 -100
  1646. data/build/test/runners/TestTimerHardware_runner.c +0 -90
  1647. data/build/test/runners/TestTimerIntegrated_runner.c +0 -102
  1648. data/build/test/runners/TestTimerModel_runner.c +0 -90
  1649. data/build/test/runners/TestUsartBaudRateRegisterCalculator_runner.c +0 -84
  1650. data/build/test/runners/TestUsartConductor_runner.c +0 -102
  1651. data/build/test/runners/TestUsartHardware_runner.c +0 -96
  1652. data/build/test/runners/TestUsartIntegrated_runner.c +0 -111
  1653. data/build/test/runners/TestUsartModel_runner.c +0 -101
  1654. data/build/vendor/cmock/src/cmock.c +0 -231
  1655. data/build/vendor/cmock/src/cmock.h +0 -47
  1656. data/build/vendor/cmock/src/cmock_internals.h +0 -91
  1657. data/build/vendor/cmock/src/meson.build +0 -12
  1658. data/build/vendor/unity/src/meson.build +0 -17
  1659. data/build/vendor/unity/src/unity.c +0 -2501
  1660. data/build/vendor/unity/src/unity.h +0 -698
  1661. data/build/vendor/unity/src/unity_internals.h +0 -1183
  1662. data/ceedling.sublime-project +0 -28
  1663. data/ceedling.sublime-workspace +0 -6146
  1664. data/docs/CeedlingPacket.md +0 -5654
  1665. data/docs/CeedlingUpgrade.md +0 -83
  1666. data/docs/PluginDevelopmentGuide.md +0 -764
  1667. data/examples/temp_sensor/build/test/dependencies/AdcConductor.d +0 -2
  1668. data/examples/temp_sensor/build/test/dependencies/AdcHardware.d +0 -3
  1669. data/examples/temp_sensor/build/test/dependencies/AdcModel.d +0 -3
  1670. data/examples/temp_sensor/build/test/dependencies/Executor.d +0 -3
  1671. data/examples/temp_sensor/build/test/dependencies/Main.d +0 -10
  1672. data/examples/temp_sensor/build/test/dependencies/MockAdcConductor.d +0 -7
  1673. data/examples/temp_sensor/build/test/dependencies/MockAdcHardware.d +0 -7
  1674. data/examples/temp_sensor/build/test/dependencies/MockAdcHardwareConfigurator.d +0 -8
  1675. data/examples/temp_sensor/build/test/dependencies/MockAdcModel.d +0 -7
  1676. data/examples/temp_sensor/build/test/dependencies/MockAdcTemperatureSensor.d +0 -8
  1677. data/examples/temp_sensor/build/test/dependencies/MockExecutor.d +0 -7
  1678. data/examples/temp_sensor/build/test/dependencies/MockIntrinsicsWrapper.d +0 -7
  1679. data/examples/temp_sensor/build/test/dependencies/MockModel.d +0 -7
  1680. data/examples/temp_sensor/build/test/dependencies/MockTaskScheduler.d +0 -7
  1681. data/examples/temp_sensor/build/test/dependencies/MockTemperatureCalculator.d +0 -8
  1682. data/examples/temp_sensor/build/test/dependencies/MockTemperatureFilter.d +0 -8
  1683. data/examples/temp_sensor/build/test/dependencies/MockTimerConductor.d +0 -7
  1684. data/examples/temp_sensor/build/test/dependencies/MockTimerConfigurator.d +0 -8
  1685. data/examples/temp_sensor/build/test/dependencies/MockTimerHardware.d +0 -7
  1686. data/examples/temp_sensor/build/test/dependencies/MockTimerInterruptHandler.d +0 -8
  1687. data/examples/temp_sensor/build/test/dependencies/MockTimerModel.d +0 -7
  1688. data/examples/temp_sensor/build/test/dependencies/MockUsartBaudRateRegisterCalculator.d +0 -8
  1689. data/examples/temp_sensor/build/test/dependencies/MockUsartConductor.d +0 -7
  1690. data/examples/temp_sensor/build/test/dependencies/MockUsartConfigurator.d +0 -8
  1691. data/examples/temp_sensor/build/test/dependencies/MockUsartHardware.d +0 -7
  1692. data/examples/temp_sensor/build/test/dependencies/MockUsartModel.d +0 -7
  1693. data/examples/temp_sensor/build/test/dependencies/MockUsartPutChar.d +0 -7
  1694. data/examples/temp_sensor/build/test/dependencies/Model.d +0 -2
  1695. data/examples/temp_sensor/build/test/dependencies/TaskScheduler.d +0 -2
  1696. data/examples/temp_sensor/build/test/dependencies/TemperatureCalculator.d +0 -2
  1697. data/examples/temp_sensor/build/test/dependencies/TemperatureFilter.d +0 -2
  1698. data/examples/temp_sensor/build/test/dependencies/TestAdcConductor.d +0 -6
  1699. data/examples/temp_sensor/build/test/dependencies/TestAdcConductor_runner.d +0 -7
  1700. data/examples/temp_sensor/build/test/dependencies/TestAdcHardware.d +0 -8
  1701. data/examples/temp_sensor/build/test/dependencies/TestAdcHardware_runner.d +0 -9
  1702. data/examples/temp_sensor/build/test/dependencies/TestAdcModel.d +0 -9
  1703. data/examples/temp_sensor/build/test/dependencies/TestAdcModel_runner.d +0 -10
  1704. data/examples/temp_sensor/build/test/dependencies/TestExecutor.d +0 -10
  1705. data/examples/temp_sensor/build/test/dependencies/TestExecutor_runner.d +0 -11
  1706. data/examples/temp_sensor/build/test/dependencies/TestMain.d +0 -4
  1707. data/examples/temp_sensor/build/test/dependencies/TestMain_runner.d +0 -6
  1708. data/examples/temp_sensor/build/test/dependencies/TestModel.d +0 -7
  1709. data/examples/temp_sensor/build/test/dependencies/TestModel_runner.d +0 -8
  1710. data/examples/temp_sensor/build/test/dependencies/TestTaskScheduler.d +0 -4
  1711. data/examples/temp_sensor/build/test/dependencies/TestTaskScheduler_runner.d +0 -4
  1712. data/examples/temp_sensor/build/test/dependencies/TestTemperatureCalculator.d +0 -3
  1713. data/examples/temp_sensor/build/test/dependencies/TestTemperatureCalculator_runner.d +0 -4
  1714. data/examples/temp_sensor/build/test/dependencies/TestTemperatureFilter.d +0 -4
  1715. data/examples/temp_sensor/build/test/dependencies/TestTemperatureFilter_runner.d +0 -4
  1716. data/examples/temp_sensor/build/test/dependencies/TestTimerConductor.d +0 -9
  1717. data/examples/temp_sensor/build/test/dependencies/TestTimerConductor_runner.d +0 -10
  1718. data/examples/temp_sensor/build/test/dependencies/TestTimerHardware.d +0 -5
  1719. data/examples/temp_sensor/build/test/dependencies/TestTimerHardware_runner.d +0 -7
  1720. data/examples/temp_sensor/build/test/dependencies/TestTimerIntegrated.d +0 -10
  1721. data/examples/temp_sensor/build/test/dependencies/TestTimerIntegrated_runner.d +0 -12
  1722. data/examples/temp_sensor/build/test/dependencies/TestTimerModel.d +0 -5
  1723. data/examples/temp_sensor/build/test/dependencies/TestTimerModel_runner.d +0 -7
  1724. data/examples/temp_sensor/build/test/dependencies/TestUsartBaudRateRegisterCalculator.d +0 -4
  1725. data/examples/temp_sensor/build/test/dependencies/TestUsartBaudRateRegisterCalculator_runner.d +0 -4
  1726. data/examples/temp_sensor/build/test/dependencies/TestUsartConductor.d +0 -10
  1727. data/examples/temp_sensor/build/test/dependencies/TestUsartConductor_runner.d +0 -11
  1728. data/examples/temp_sensor/build/test/dependencies/TestUsartHardware.d +0 -6
  1729. data/examples/temp_sensor/build/test/dependencies/TestUsartHardware_runner.d +0 -8
  1730. data/examples/temp_sensor/build/test/dependencies/TestUsartIntegrated.d +0 -15
  1731. data/examples/temp_sensor/build/test/dependencies/TestUsartIntegrated_runner.d +0 -16
  1732. data/examples/temp_sensor/build/test/dependencies/TestUsartModel.d +0 -7
  1733. data/examples/temp_sensor/build/test/dependencies/TestUsartModel_runner.d +0 -9
  1734. data/examples/temp_sensor/build/test/dependencies/TimerConductor.d +0 -3
  1735. data/examples/temp_sensor/build/test/dependencies/TimerHardware.d +0 -2
  1736. data/examples/temp_sensor/build/test/dependencies/TimerModel.d +0 -2
  1737. data/examples/temp_sensor/build/test/dependencies/UnityHelper.d +0 -4
  1738. data/examples/temp_sensor/build/test/dependencies/UsartBaudRateRegisterCalculator.d +0 -3
  1739. data/examples/temp_sensor/build/test/dependencies/UsartConductor.d +0 -3
  1740. data/examples/temp_sensor/build/test/dependencies/UsartHardware.d +0 -3
  1741. data/examples/temp_sensor/build/test/dependencies/UsartModel.d +0 -3
  1742. data/examples/temp_sensor/build/test/dependencies/cmock.d +0 -3
  1743. data/examples/temp_sensor/build/test/dependencies/unity.d +0 -2
  1744. data/examples/temp_sensor/build/test/mocks/TestAdcConductor/MockAdcHardware.c +0 -445
  1745. data/examples/temp_sensor/build/test/mocks/TestAdcConductor/MockAdcHardware.h +0 -91
  1746. data/examples/temp_sensor/build/test/mocks/TestAdcConductor/MockAdcModel.c +0 -618
  1747. data/examples/temp_sensor/build/test/mocks/TestAdcConductor/MockAdcModel.h +0 -103
  1748. data/examples/temp_sensor/build/test/mocks/TestAdcHardware/MockAdcHardwareConfigurator.c +0 -317
  1749. data/examples/temp_sensor/build/test/mocks/TestAdcHardware/MockAdcHardwareConfigurator.h +0 -79
  1750. data/examples/temp_sensor/build/test/mocks/TestAdcHardware/MockAdcTemperatureSensor.c +0 -351
  1751. data/examples/temp_sensor/build/test/mocks/TestAdcHardware/MockAdcTemperatureSensor.h +0 -79
  1752. data/examples/temp_sensor/build/test/mocks/TestAdcModel/MockTaskScheduler.c +0 -458
  1753. data/examples/temp_sensor/build/test/mocks/TestAdcModel/MockTaskScheduler.h +0 -91
  1754. data/examples/temp_sensor/build/test/mocks/TestAdcModel/MockTemperatureCalculator.c +0 -159
  1755. data/examples/temp_sensor/build/test/mocks/TestAdcModel/MockTemperatureCalculator.h +0 -55
  1756. data/examples/temp_sensor/build/test/mocks/TestAdcModel/MockTemperatureFilter.c +0 -347
  1757. data/examples/temp_sensor/build/test/mocks/TestAdcModel/MockTemperatureFilter.h +0 -79
  1758. data/examples/temp_sensor/build/test/mocks/TestExecutor/MockAdcConductor.c +0 -556
  1759. data/examples/temp_sensor/build/test/mocks/TestExecutor/MockAdcConductor.h +0 -103
  1760. data/examples/temp_sensor/build/test/mocks/TestExecutor/MockIntrinsicsWrapper.c +0 -223
  1761. data/examples/temp_sensor/build/test/mocks/TestExecutor/MockIntrinsicsWrapper.h +0 -67
  1762. data/examples/temp_sensor/build/test/mocks/TestExecutor/MockModel.c +0 -129
  1763. data/examples/temp_sensor/build/test/mocks/TestExecutor/MockModel.h +0 -55
  1764. data/examples/temp_sensor/build/test/mocks/TestExecutor/MockTimerConductor.c +0 -223
  1765. data/examples/temp_sensor/build/test/mocks/TestExecutor/MockTimerConductor.h +0 -67
  1766. data/examples/temp_sensor/build/test/mocks/TestExecutor/MockUsartConductor.c +0 -223
  1767. data/examples/temp_sensor/build/test/mocks/TestExecutor/MockUsartConductor.h +0 -67
  1768. data/examples/temp_sensor/build/test/mocks/TestMain/MockExecutor.c +0 -240
  1769. data/examples/temp_sensor/build/test/mocks/TestMain/MockExecutor.h +0 -67
  1770. data/examples/temp_sensor/build/test/mocks/TestModel/MockTaskScheduler.c +0 -458
  1771. data/examples/temp_sensor/build/test/mocks/TestModel/MockTaskScheduler.h +0 -91
  1772. data/examples/temp_sensor/build/test/mocks/TestModel/MockTemperatureFilter.c +0 -347
  1773. data/examples/temp_sensor/build/test/mocks/TestModel/MockTemperatureFilter.h +0 -79
  1774. data/examples/temp_sensor/build/test/mocks/TestTimerConductor/MockTimerHardware.c +0 -129
  1775. data/examples/temp_sensor/build/test/mocks/TestTimerConductor/MockTimerHardware.h +0 -55
  1776. data/examples/temp_sensor/build/test/mocks/TestTimerConductor/MockTimerInterruptHandler.c +0 -347
  1777. data/examples/temp_sensor/build/test/mocks/TestTimerConductor/MockTimerInterruptHandler.h +0 -79
  1778. data/examples/temp_sensor/build/test/mocks/TestTimerConductor/MockTimerModel.c +0 -142
  1779. data/examples/temp_sensor/build/test/mocks/TestTimerConductor/MockTimerModel.h +0 -55
  1780. data/examples/temp_sensor/build/test/mocks/TestTimerHardware/MockTimerConfigurator.c +0 -787
  1781. data/examples/temp_sensor/build/test/mocks/TestTimerHardware/MockTimerConfigurator.h +0 -139
  1782. data/examples/temp_sensor/build/test/mocks/TestTimerIntegrated/MockTaskScheduler.c +0 -458
  1783. data/examples/temp_sensor/build/test/mocks/TestTimerIntegrated/MockTaskScheduler.h +0 -91
  1784. data/examples/temp_sensor/build/test/mocks/TestTimerIntegrated/MockTimerConfigurator.c +0 -787
  1785. data/examples/temp_sensor/build/test/mocks/TestTimerIntegrated/MockTimerConfigurator.h +0 -139
  1786. data/examples/temp_sensor/build/test/mocks/TestTimerIntegrated/MockTimerInterruptHandler.c +0 -347
  1787. data/examples/temp_sensor/build/test/mocks/TestTimerIntegrated/MockTimerInterruptHandler.h +0 -79
  1788. data/examples/temp_sensor/build/test/mocks/TestTimerModel/MockTaskScheduler.c +0 -458
  1789. data/examples/temp_sensor/build/test/mocks/TestTimerModel/MockTaskScheduler.h +0 -91
  1790. data/examples/temp_sensor/build/test/mocks/TestUsartConductor/MockTaskScheduler.c +0 -458
  1791. data/examples/temp_sensor/build/test/mocks/TestUsartConductor/MockTaskScheduler.h +0 -91
  1792. data/examples/temp_sensor/build/test/mocks/TestUsartConductor/MockUsartHardware.c +0 -249
  1793. data/examples/temp_sensor/build/test/mocks/TestUsartConductor/MockUsartHardware.h +0 -67
  1794. data/examples/temp_sensor/build/test/mocks/TestUsartConductor/MockUsartModel.c +0 -368
  1795. data/examples/temp_sensor/build/test/mocks/TestUsartConductor/MockUsartModel.h +0 -79
  1796. data/examples/temp_sensor/build/test/mocks/TestUsartHardware/MockUsartConfigurator.c +0 -612
  1797. data/examples/temp_sensor/build/test/mocks/TestUsartHardware/MockUsartConfigurator.h +0 -115
  1798. data/examples/temp_sensor/build/test/mocks/TestUsartHardware/MockUsartPutChar.c +0 -142
  1799. data/examples/temp_sensor/build/test/mocks/TestUsartHardware/MockUsartPutChar.h +0 -55
  1800. data/examples/temp_sensor/build/test/mocks/TestUsartIntegrated/MockTaskScheduler.c +0 -458
  1801. data/examples/temp_sensor/build/test/mocks/TestUsartIntegrated/MockTaskScheduler.h +0 -91
  1802. data/examples/temp_sensor/build/test/mocks/TestUsartIntegrated/MockTemperatureFilter.c +0 -347
  1803. data/examples/temp_sensor/build/test/mocks/TestUsartIntegrated/MockTemperatureFilter.h +0 -79
  1804. data/examples/temp_sensor/build/test/mocks/TestUsartIntegrated/MockUsartBaudRateRegisterCalculator.c +0 -166
  1805. data/examples/temp_sensor/build/test/mocks/TestUsartIntegrated/MockUsartBaudRateRegisterCalculator.h +0 -55
  1806. data/examples/temp_sensor/build/test/mocks/TestUsartIntegrated/MockUsartConfigurator.c +0 -612
  1807. data/examples/temp_sensor/build/test/mocks/TestUsartIntegrated/MockUsartConfigurator.h +0 -115
  1808. data/examples/temp_sensor/build/test/mocks/TestUsartIntegrated/MockUsartPutChar.c +0 -142
  1809. data/examples/temp_sensor/build/test/mocks/TestUsartIntegrated/MockUsartPutChar.h +0 -55
  1810. data/examples/temp_sensor/build/test/mocks/TestUsartModel/MockTemperatureFilter.c +0 -347
  1811. data/examples/temp_sensor/build/test/mocks/TestUsartModel/MockTemperatureFilter.h +0 -79
  1812. data/examples/temp_sensor/build/test/mocks/TestUsartModel/MockUsartBaudRateRegisterCalculator.c +0 -166
  1813. data/examples/temp_sensor/build/test/mocks/TestUsartModel/MockUsartBaudRateRegisterCalculator.h +0 -55
  1814. data/examples/temp_sensor/build/test/out/TestAdcConductor/AdcConductor.o +0 -0
  1815. data/examples/temp_sensor/build/test/out/TestAdcConductor/MockAdcHardware.o +0 -0
  1816. data/examples/temp_sensor/build/test/out/TestAdcConductor/MockAdcModel.o +0 -0
  1817. data/examples/temp_sensor/build/test/out/TestAdcConductor/TestAdcConductor.o +0 -0
  1818. data/examples/temp_sensor/build/test/out/TestAdcConductor/TestAdcConductor.out +0 -0
  1819. data/examples/temp_sensor/build/test/out/TestAdcConductor/TestAdcConductor_runner.o +0 -0
  1820. data/examples/temp_sensor/build/test/out/TestAdcConductor/UnityHelper.o +0 -0
  1821. data/examples/temp_sensor/build/test/out/TestAdcConductor/cmock.o +0 -0
  1822. data/examples/temp_sensor/build/test/out/TestAdcConductor/unity.o +0 -0
  1823. data/examples/temp_sensor/build/test/out/TestAdcHardware/AdcHardware.o +0 -0
  1824. data/examples/temp_sensor/build/test/out/TestAdcHardware/MockAdcHardwareConfigurator.o +0 -0
  1825. data/examples/temp_sensor/build/test/out/TestAdcHardware/MockAdcTemperatureSensor.o +0 -0
  1826. data/examples/temp_sensor/build/test/out/TestAdcHardware/TestAdcHardware.o +0 -0
  1827. data/examples/temp_sensor/build/test/out/TestAdcHardware/TestAdcHardware.out +0 -0
  1828. data/examples/temp_sensor/build/test/out/TestAdcHardware/TestAdcHardware_runner.o +0 -0
  1829. data/examples/temp_sensor/build/test/out/TestAdcHardware/UnityHelper.o +0 -0
  1830. data/examples/temp_sensor/build/test/out/TestAdcHardware/cmock.o +0 -0
  1831. data/examples/temp_sensor/build/test/out/TestAdcHardware/unity.o +0 -0
  1832. data/examples/temp_sensor/build/test/out/TestAdcModel/AdcModel.o +0 -0
  1833. data/examples/temp_sensor/build/test/out/TestAdcModel/MockTaskScheduler.o +0 -0
  1834. data/examples/temp_sensor/build/test/out/TestAdcModel/MockTemperatureCalculator.o +0 -0
  1835. data/examples/temp_sensor/build/test/out/TestAdcModel/MockTemperatureFilter.o +0 -0
  1836. data/examples/temp_sensor/build/test/out/TestAdcModel/TestAdcModel.o +0 -0
  1837. data/examples/temp_sensor/build/test/out/TestAdcModel/TestAdcModel.out +0 -0
  1838. data/examples/temp_sensor/build/test/out/TestAdcModel/TestAdcModel_runner.o +0 -0
  1839. data/examples/temp_sensor/build/test/out/TestAdcModel/UnityHelper.o +0 -0
  1840. data/examples/temp_sensor/build/test/out/TestAdcModel/cmock.o +0 -0
  1841. data/examples/temp_sensor/build/test/out/TestAdcModel/unity.o +0 -0
  1842. data/examples/temp_sensor/build/test/out/TestExecutor/Executor.o +0 -0
  1843. data/examples/temp_sensor/build/test/out/TestExecutor/MockAdcConductor.o +0 -0
  1844. data/examples/temp_sensor/build/test/out/TestExecutor/MockIntrinsicsWrapper.o +0 -0
  1845. data/examples/temp_sensor/build/test/out/TestExecutor/MockModel.o +0 -0
  1846. data/examples/temp_sensor/build/test/out/TestExecutor/MockTimerConductor.o +0 -0
  1847. data/examples/temp_sensor/build/test/out/TestExecutor/MockUsartConductor.o +0 -0
  1848. data/examples/temp_sensor/build/test/out/TestExecutor/TestExecutor.o +0 -0
  1849. data/examples/temp_sensor/build/test/out/TestExecutor/TestExecutor.out +0 -0
  1850. data/examples/temp_sensor/build/test/out/TestExecutor/TestExecutor_runner.o +0 -0
  1851. data/examples/temp_sensor/build/test/out/TestExecutor/UnityHelper.o +0 -0
  1852. data/examples/temp_sensor/build/test/out/TestExecutor/cmock.o +0 -0
  1853. data/examples/temp_sensor/build/test/out/TestExecutor/unity.o +0 -0
  1854. data/examples/temp_sensor/build/test/out/TestMain/Main.o +0 -0
  1855. data/examples/temp_sensor/build/test/out/TestMain/MockExecutor.o +0 -0
  1856. data/examples/temp_sensor/build/test/out/TestMain/TestMain.o +0 -0
  1857. data/examples/temp_sensor/build/test/out/TestMain/TestMain.out +0 -0
  1858. data/examples/temp_sensor/build/test/out/TestMain/TestMain_runner.o +0 -0
  1859. data/examples/temp_sensor/build/test/out/TestMain/UnityHelper.o +0 -0
  1860. data/examples/temp_sensor/build/test/out/TestMain/cmock.o +0 -0
  1861. data/examples/temp_sensor/build/test/out/TestMain/unity.o +0 -0
  1862. data/examples/temp_sensor/build/test/out/TestModel/MockTaskScheduler.o +0 -0
  1863. data/examples/temp_sensor/build/test/out/TestModel/MockTemperatureFilter.o +0 -0
  1864. data/examples/temp_sensor/build/test/out/TestModel/Model.o +0 -0
  1865. data/examples/temp_sensor/build/test/out/TestModel/TestModel.o +0 -0
  1866. data/examples/temp_sensor/build/test/out/TestModel/TestModel.out +0 -0
  1867. data/examples/temp_sensor/build/test/out/TestModel/TestModel_runner.o +0 -0
  1868. data/examples/temp_sensor/build/test/out/TestModel/UnityHelper.o +0 -0
  1869. data/examples/temp_sensor/build/test/out/TestModel/cmock.o +0 -0
  1870. data/examples/temp_sensor/build/test/out/TestModel/unity.o +0 -0
  1871. data/examples/temp_sensor/build/test/out/TestTaskScheduler/TaskScheduler.o +0 -0
  1872. data/examples/temp_sensor/build/test/out/TestTaskScheduler/TestTaskScheduler.o +0 -0
  1873. data/examples/temp_sensor/build/test/out/TestTaskScheduler/TestTaskScheduler.out +0 -0
  1874. data/examples/temp_sensor/build/test/out/TestTaskScheduler/TestTaskScheduler_runner.o +0 -0
  1875. data/examples/temp_sensor/build/test/out/TestTaskScheduler/UnityHelper.o +0 -0
  1876. data/examples/temp_sensor/build/test/out/TestTaskScheduler/unity.o +0 -0
  1877. data/examples/temp_sensor/build/test/out/TestTemperatureCalculator/TemperatureCalculator.o +0 -0
  1878. data/examples/temp_sensor/build/test/out/TestTemperatureCalculator/TestTemperatureCalculator.o +0 -0
  1879. data/examples/temp_sensor/build/test/out/TestTemperatureCalculator/TestTemperatureCalculator.out +0 -0
  1880. data/examples/temp_sensor/build/test/out/TestTemperatureCalculator/TestTemperatureCalculator_runner.o +0 -0
  1881. data/examples/temp_sensor/build/test/out/TestTemperatureCalculator/UnityHelper.o +0 -0
  1882. data/examples/temp_sensor/build/test/out/TestTemperatureCalculator/unity.o +0 -0
  1883. data/examples/temp_sensor/build/test/out/TestTemperatureFilter/TemperatureFilter.o +0 -0
  1884. data/examples/temp_sensor/build/test/out/TestTemperatureFilter/TestTemperatureFilter.o +0 -0
  1885. data/examples/temp_sensor/build/test/out/TestTemperatureFilter/TestTemperatureFilter.out +0 -0
  1886. data/examples/temp_sensor/build/test/out/TestTemperatureFilter/TestTemperatureFilter_runner.o +0 -0
  1887. data/examples/temp_sensor/build/test/out/TestTemperatureFilter/UnityHelper.o +0 -0
  1888. data/examples/temp_sensor/build/test/out/TestTemperatureFilter/unity.o +0 -0
  1889. data/examples/temp_sensor/build/test/out/TestTimerConductor/MockTimerHardware.o +0 -0
  1890. data/examples/temp_sensor/build/test/out/TestTimerConductor/MockTimerInterruptHandler.o +0 -0
  1891. data/examples/temp_sensor/build/test/out/TestTimerConductor/MockTimerModel.o +0 -0
  1892. data/examples/temp_sensor/build/test/out/TestTimerConductor/TestTimerConductor.o +0 -0
  1893. data/examples/temp_sensor/build/test/out/TestTimerConductor/TestTimerConductor.out +0 -0
  1894. data/examples/temp_sensor/build/test/out/TestTimerConductor/TestTimerConductor_runner.o +0 -0
  1895. data/examples/temp_sensor/build/test/out/TestTimerConductor/TimerConductor.o +0 -0
  1896. data/examples/temp_sensor/build/test/out/TestTimerConductor/UnityHelper.o +0 -0
  1897. data/examples/temp_sensor/build/test/out/TestTimerConductor/cmock.o +0 -0
  1898. data/examples/temp_sensor/build/test/out/TestTimerConductor/unity.o +0 -0
  1899. data/examples/temp_sensor/build/test/out/TestTimerHardware/MockTimerConfigurator.o +0 -0
  1900. data/examples/temp_sensor/build/test/out/TestTimerHardware/TestTimerHardware.o +0 -0
  1901. data/examples/temp_sensor/build/test/out/TestTimerHardware/TestTimerHardware.out +0 -0
  1902. data/examples/temp_sensor/build/test/out/TestTimerHardware/TestTimerHardware_runner.o +0 -0
  1903. data/examples/temp_sensor/build/test/out/TestTimerHardware/TimerHardware.o +0 -0
  1904. data/examples/temp_sensor/build/test/out/TestTimerHardware/UnityHelper.o +0 -0
  1905. data/examples/temp_sensor/build/test/out/TestTimerHardware/cmock.o +0 -0
  1906. data/examples/temp_sensor/build/test/out/TestTimerHardware/unity.o +0 -0
  1907. data/examples/temp_sensor/build/test/out/TestTimerIntegrated/MockTaskScheduler.o +0 -0
  1908. data/examples/temp_sensor/build/test/out/TestTimerIntegrated/MockTimerConfigurator.o +0 -0
  1909. data/examples/temp_sensor/build/test/out/TestTimerIntegrated/MockTimerInterruptHandler.o +0 -0
  1910. data/examples/temp_sensor/build/test/out/TestTimerIntegrated/TestTimerIntegrated.o +0 -0
  1911. data/examples/temp_sensor/build/test/out/TestTimerIntegrated/TestTimerIntegrated.out +0 -0
  1912. data/examples/temp_sensor/build/test/out/TestTimerIntegrated/TestTimerIntegrated_runner.o +0 -0
  1913. data/examples/temp_sensor/build/test/out/TestTimerIntegrated/TimerConductor.o +0 -0
  1914. data/examples/temp_sensor/build/test/out/TestTimerIntegrated/TimerHardware.o +0 -0
  1915. data/examples/temp_sensor/build/test/out/TestTimerIntegrated/TimerModel.o +0 -0
  1916. data/examples/temp_sensor/build/test/out/TestTimerIntegrated/UnityHelper.o +0 -0
  1917. data/examples/temp_sensor/build/test/out/TestTimerIntegrated/cmock.o +0 -0
  1918. data/examples/temp_sensor/build/test/out/TestTimerIntegrated/unity.o +0 -0
  1919. data/examples/temp_sensor/build/test/out/TestTimerModel/MockTaskScheduler.o +0 -0
  1920. data/examples/temp_sensor/build/test/out/TestTimerModel/TestTimerModel.o +0 -0
  1921. data/examples/temp_sensor/build/test/out/TestTimerModel/TestTimerModel.out +0 -0
  1922. data/examples/temp_sensor/build/test/out/TestTimerModel/TestTimerModel_runner.o +0 -0
  1923. data/examples/temp_sensor/build/test/out/TestTimerModel/TimerModel.o +0 -0
  1924. data/examples/temp_sensor/build/test/out/TestTimerModel/UnityHelper.o +0 -0
  1925. data/examples/temp_sensor/build/test/out/TestTimerModel/cmock.o +0 -0
  1926. data/examples/temp_sensor/build/test/out/TestTimerModel/unity.o +0 -0
  1927. data/examples/temp_sensor/build/test/out/TestUsartBaudRateRegisterCalculator/TestUsartBaudRateRegisterCalculator.o +0 -0
  1928. data/examples/temp_sensor/build/test/out/TestUsartBaudRateRegisterCalculator/TestUsartBaudRateRegisterCalculator.out +0 -0
  1929. data/examples/temp_sensor/build/test/out/TestUsartBaudRateRegisterCalculator/TestUsartBaudRateRegisterCalculator_runner.o +0 -0
  1930. data/examples/temp_sensor/build/test/out/TestUsartBaudRateRegisterCalculator/UnityHelper.o +0 -0
  1931. data/examples/temp_sensor/build/test/out/TestUsartBaudRateRegisterCalculator/UsartBaudRateRegisterCalculator.o +0 -0
  1932. data/examples/temp_sensor/build/test/out/TestUsartBaudRateRegisterCalculator/unity.o +0 -0
  1933. data/examples/temp_sensor/build/test/out/TestUsartConductor/MockTaskScheduler.o +0 -0
  1934. data/examples/temp_sensor/build/test/out/TestUsartConductor/MockUsartHardware.o +0 -0
  1935. data/examples/temp_sensor/build/test/out/TestUsartConductor/MockUsartModel.o +0 -0
  1936. data/examples/temp_sensor/build/test/out/TestUsartConductor/TestUsartConductor.o +0 -0
  1937. data/examples/temp_sensor/build/test/out/TestUsartConductor/TestUsartConductor.out +0 -0
  1938. data/examples/temp_sensor/build/test/out/TestUsartConductor/TestUsartConductor_runner.o +0 -0
  1939. data/examples/temp_sensor/build/test/out/TestUsartConductor/UnityHelper.o +0 -0
  1940. data/examples/temp_sensor/build/test/out/TestUsartConductor/UsartConductor.o +0 -0
  1941. data/examples/temp_sensor/build/test/out/TestUsartConductor/cmock.o +0 -0
  1942. data/examples/temp_sensor/build/test/out/TestUsartConductor/unity.o +0 -0
  1943. data/examples/temp_sensor/build/test/out/TestUsartHardware/MockUsartConfigurator.o +0 -0
  1944. data/examples/temp_sensor/build/test/out/TestUsartHardware/MockUsartPutChar.o +0 -0
  1945. data/examples/temp_sensor/build/test/out/TestUsartHardware/TestUsartHardware.o +0 -0
  1946. data/examples/temp_sensor/build/test/out/TestUsartHardware/TestUsartHardware.out +0 -0
  1947. data/examples/temp_sensor/build/test/out/TestUsartHardware/TestUsartHardware_runner.o +0 -0
  1948. data/examples/temp_sensor/build/test/out/TestUsartHardware/UnityHelper.o +0 -0
  1949. data/examples/temp_sensor/build/test/out/TestUsartHardware/UsartHardware.o +0 -0
  1950. data/examples/temp_sensor/build/test/out/TestUsartHardware/cmock.o +0 -0
  1951. data/examples/temp_sensor/build/test/out/TestUsartHardware/unity.o +0 -0
  1952. data/examples/temp_sensor/build/test/out/TestUsartIntegrated/MockTaskScheduler.o +0 -0
  1953. data/examples/temp_sensor/build/test/out/TestUsartIntegrated/MockTemperatureFilter.o +0 -0
  1954. data/examples/temp_sensor/build/test/out/TestUsartIntegrated/MockUsartBaudRateRegisterCalculator.o +0 -0
  1955. data/examples/temp_sensor/build/test/out/TestUsartIntegrated/MockUsartConfigurator.o +0 -0
  1956. data/examples/temp_sensor/build/test/out/TestUsartIntegrated/MockUsartPutChar.o +0 -0
  1957. data/examples/temp_sensor/build/test/out/TestUsartIntegrated/TestUsartIntegrated.o +0 -0
  1958. data/examples/temp_sensor/build/test/out/TestUsartIntegrated/TestUsartIntegrated.out +0 -0
  1959. data/examples/temp_sensor/build/test/out/TestUsartIntegrated/TestUsartIntegrated_runner.o +0 -0
  1960. data/examples/temp_sensor/build/test/out/TestUsartIntegrated/UnityHelper.o +0 -0
  1961. data/examples/temp_sensor/build/test/out/TestUsartIntegrated/UsartConductor.o +0 -0
  1962. data/examples/temp_sensor/build/test/out/TestUsartIntegrated/UsartHardware.o +0 -0
  1963. data/examples/temp_sensor/build/test/out/TestUsartIntegrated/UsartModel.o +0 -0
  1964. data/examples/temp_sensor/build/test/out/TestUsartIntegrated/cmock.o +0 -0
  1965. data/examples/temp_sensor/build/test/out/TestUsartIntegrated/unity.o +0 -0
  1966. data/examples/temp_sensor/build/test/out/TestUsartModel/MockTemperatureFilter.o +0 -0
  1967. data/examples/temp_sensor/build/test/out/TestUsartModel/MockUsartBaudRateRegisterCalculator.o +0 -0
  1968. data/examples/temp_sensor/build/test/out/TestUsartModel/TestUsartModel.o +0 -0
  1969. data/examples/temp_sensor/build/test/out/TestUsartModel/TestUsartModel.out +0 -0
  1970. data/examples/temp_sensor/build/test/out/TestUsartModel/TestUsartModel_runner.o +0 -0
  1971. data/examples/temp_sensor/build/test/out/TestUsartModel/UnityHelper.o +0 -0
  1972. data/examples/temp_sensor/build/test/out/TestUsartModel/UsartModel.o +0 -0
  1973. data/examples/temp_sensor/build/test/out/TestUsartModel/cmock.o +0 -0
  1974. data/examples/temp_sensor/build/test/out/TestUsartModel/unity.o +0 -0
  1975. data/examples/temp_sensor/build/test/preprocess/files/TestAdcConductor/AdcHardware.h +0 -16
  1976. data/examples/temp_sensor/build/test/preprocess/files/TestAdcConductor/AdcModel.h +0 -18
  1977. data/examples/temp_sensor/build/test/preprocess/files/TestAdcConductor/TestAdcConductor.c +0 -106
  1978. data/examples/temp_sensor/build/test/preprocess/files/TestAdcHardware/AdcHardwareConfigurator.h +0 -14
  1979. data/examples/temp_sensor/build/test/preprocess/files/TestAdcHardware/AdcTemperatureSensor.h +0 -14
  1980. data/examples/temp_sensor/build/test/preprocess/files/TestAdcHardware/TestAdcHardware.c +0 -59
  1981. data/examples/temp_sensor/build/test/preprocess/files/TestAdcModel/TaskScheduler.h +0 -16
  1982. data/examples/temp_sensor/build/test/preprocess/files/TestAdcModel/TemperatureCalculator.h +0 -10
  1983. data/examples/temp_sensor/build/test/preprocess/files/TestAdcModel/TemperatureFilter.h +0 -14
  1984. data/examples/temp_sensor/build/test/preprocess/files/TestAdcModel/TestAdcModel.c +0 -41
  1985. data/examples/temp_sensor/build/test/preprocess/files/TestExecutor/AdcConductor.h +0 -18
  1986. data/examples/temp_sensor/build/test/preprocess/files/TestExecutor/IntrinsicsWrapper.h +0 -10
  1987. data/examples/temp_sensor/build/test/preprocess/files/TestExecutor/Model.h +0 -10
  1988. data/examples/temp_sensor/build/test/preprocess/files/TestExecutor/TestExecutor.c +0 -45
  1989. data/examples/temp_sensor/build/test/preprocess/files/TestExecutor/TimerConductor.h +0 -12
  1990. data/examples/temp_sensor/build/test/preprocess/files/TestExecutor/UsartConductor.h +0 -10
  1991. data/examples/temp_sensor/build/test/preprocess/files/TestMain/Executor.h +0 -12
  1992. data/examples/temp_sensor/build/test/preprocess/files/TestMain/TestMain.c +0 -31
  1993. data/examples/temp_sensor/build/test/preprocess/files/TestModel/TaskScheduler.h +0 -16
  1994. data/examples/temp_sensor/build/test/preprocess/files/TestModel/TemperatureFilter.h +0 -14
  1995. data/examples/temp_sensor/build/test/preprocess/files/TestModel/TestModel.c +0 -24
  1996. data/examples/temp_sensor/build/test/preprocess/files/TestTaskScheduler/TestTaskScheduler.c +0 -168
  1997. data/examples/temp_sensor/build/test/preprocess/files/TestTemperatureCalculator/TestTemperatureCalculator.c +0 -52
  1998. data/examples/temp_sensor/build/test/preprocess/files/TestTemperatureFilter/TestTemperatureFilter.c +0 -163
  1999. data/examples/temp_sensor/build/test/preprocess/files/TestTimerConductor/TestTimerConductor.c +0 -38
  2000. data/examples/temp_sensor/build/test/preprocess/files/TestTimerConductor/TimerHardware.h +0 -10
  2001. data/examples/temp_sensor/build/test/preprocess/files/TestTimerConductor/TimerInterruptHandler.h +0 -14
  2002. data/examples/temp_sensor/build/test/preprocess/files/TestTimerConductor/TimerModel.h +0 -10
  2003. data/examples/temp_sensor/build/test/preprocess/files/TestTimerHardware/TestTimerHardware.c +0 -35
  2004. data/examples/temp_sensor/build/test/preprocess/files/TestTimerHardware/TimerConfigurator.h +0 -24
  2005. data/examples/temp_sensor/build/test/preprocess/files/TestTimerIntegrated/TaskScheduler.h +0 -16
  2006. data/examples/temp_sensor/build/test/preprocess/files/TestTimerIntegrated/TestTimerIntegrated.c +0 -54
  2007. data/examples/temp_sensor/build/test/preprocess/files/TestTimerIntegrated/TimerConfigurator.h +0 -24
  2008. data/examples/temp_sensor/build/test/preprocess/files/TestTimerIntegrated/TimerInterruptHandler.h +0 -14
  2009. data/examples/temp_sensor/build/test/preprocess/files/TestTimerModel/TaskScheduler.h +0 -16
  2010. data/examples/temp_sensor/build/test/preprocess/files/TestTimerModel/TestTimerModel.c +0 -21
  2011. data/examples/temp_sensor/build/test/preprocess/files/TestUsartBaudRateRegisterCalculator/TestUsartBaudRateRegisterCalculator.c +0 -46
  2012. data/examples/temp_sensor/build/test/preprocess/files/TestUsartConductor/TaskScheduler.h +0 -16
  2013. data/examples/temp_sensor/build/test/preprocess/files/TestUsartConductor/TestUsartConductor.c +0 -47
  2014. data/examples/temp_sensor/build/test/preprocess/files/TestUsartConductor/UsartHardware.h +0 -12
  2015. data/examples/temp_sensor/build/test/preprocess/files/TestUsartConductor/UsartModel.h +0 -14
  2016. data/examples/temp_sensor/build/test/preprocess/files/TestUsartHardware/TestUsartHardware.c +0 -47
  2017. data/examples/temp_sensor/build/test/preprocess/files/TestUsartHardware/UsartConfigurator.h +0 -20
  2018. data/examples/temp_sensor/build/test/preprocess/files/TestUsartHardware/UsartPutChar.h +0 -10
  2019. data/examples/temp_sensor/build/test/preprocess/files/TestUsartIntegrated/TaskScheduler.h +0 -16
  2020. data/examples/temp_sensor/build/test/preprocess/files/TestUsartIntegrated/TemperatureFilter.h +0 -14
  2021. data/examples/temp_sensor/build/test/preprocess/files/TestUsartIntegrated/TestUsartIntegrated.c +0 -57
  2022. data/examples/temp_sensor/build/test/preprocess/files/TestUsartIntegrated/UsartBaudRateRegisterCalculator.h +0 -10
  2023. data/examples/temp_sensor/build/test/preprocess/files/TestUsartIntegrated/UsartConfigurator.h +0 -20
  2024. data/examples/temp_sensor/build/test/preprocess/files/TestUsartIntegrated/UsartPutChar.h +0 -10
  2025. data/examples/temp_sensor/build/test/preprocess/files/TestUsartModel/TemperatureFilter.h +0 -14
  2026. data/examples/temp_sensor/build/test/preprocess/files/TestUsartModel/TestUsartModel.c +0 -64
  2027. data/examples/temp_sensor/build/test/preprocess/files/TestUsartModel/UsartBaudRateRegisterCalculator.h +0 -10
  2028. data/examples/temp_sensor/build/test/preprocess/includes/TestAdcConductor/AdcHardware.h.yml +0 -2
  2029. data/examples/temp_sensor/build/test/preprocess/includes/TestAdcConductor/AdcModel.h.yml +0 -2
  2030. data/examples/temp_sensor/build/test/preprocess/includes/TestAdcConductor/TestAdcConductor.c.yml +0 -7
  2031. data/examples/temp_sensor/build/test/preprocess/includes/TestAdcHardware/AdcHardwareConfigurator.h.yml +0 -2
  2032. data/examples/temp_sensor/build/test/preprocess/includes/TestAdcHardware/AdcTemperatureSensor.h.yml +0 -2
  2033. data/examples/temp_sensor/build/test/preprocess/includes/TestAdcHardware/TestAdcHardware.c.yml +0 -6
  2034. data/examples/temp_sensor/build/test/preprocess/includes/TestAdcModel/TaskScheduler.h.yml +0 -2
  2035. data/examples/temp_sensor/build/test/preprocess/includes/TestAdcModel/TemperatureCalculator.h.yml +0 -2
  2036. data/examples/temp_sensor/build/test/preprocess/includes/TestAdcModel/TemperatureFilter.h.yml +0 -2
  2037. data/examples/temp_sensor/build/test/preprocess/includes/TestAdcModel/TestAdcModel.c.yml +0 -7
  2038. data/examples/temp_sensor/build/test/preprocess/includes/TestExecutor/AdcConductor.h.yml +0 -2
  2039. data/examples/temp_sensor/build/test/preprocess/includes/TestExecutor/IntrinsicsWrapper.h.yml +0 -1
  2040. data/examples/temp_sensor/build/test/preprocess/includes/TestExecutor/Model.h.yml +0 -2
  2041. data/examples/temp_sensor/build/test/preprocess/includes/TestExecutor/TestExecutor.c.yml +0 -9
  2042. data/examples/temp_sensor/build/test/preprocess/includes/TestExecutor/TimerConductor.h.yml +0 -2
  2043. data/examples/temp_sensor/build/test/preprocess/includes/TestExecutor/UsartConductor.h.yml +0 -1
  2044. data/examples/temp_sensor/build/test/preprocess/includes/TestMain/Executor.h.yml +0 -2
  2045. data/examples/temp_sensor/build/test/preprocess/includes/TestMain/TestMain.c.yml +0 -5
  2046. data/examples/temp_sensor/build/test/preprocess/includes/TestModel/TaskScheduler.h.yml +0 -2
  2047. data/examples/temp_sensor/build/test/preprocess/includes/TestModel/TemperatureFilter.h.yml +0 -2
  2048. data/examples/temp_sensor/build/test/preprocess/includes/TestModel/TestModel.c.yml +0 -6
  2049. data/examples/temp_sensor/build/test/preprocess/includes/TestTaskScheduler/TestTaskScheduler.c.yml +0 -4
  2050. data/examples/temp_sensor/build/test/preprocess/includes/TestTemperatureCalculator/TestTemperatureCalculator.c.yml +0 -3
  2051. data/examples/temp_sensor/build/test/preprocess/includes/TestTemperatureFilter/TestTemperatureFilter.c.yml +0 -4
  2052. data/examples/temp_sensor/build/test/preprocess/includes/TestTimerConductor/TestTimerConductor.c.yml +0 -7
  2053. data/examples/temp_sensor/build/test/preprocess/includes/TestTimerConductor/TimerHardware.h.yml +0 -2
  2054. data/examples/temp_sensor/build/test/preprocess/includes/TestTimerConductor/TimerInterruptHandler.h.yml +0 -2
  2055. data/examples/temp_sensor/build/test/preprocess/includes/TestTimerConductor/TimerModel.h.yml +0 -2
  2056. data/examples/temp_sensor/build/test/preprocess/includes/TestTimerHardware/TestTimerHardware.c.yml +0 -5
  2057. data/examples/temp_sensor/build/test/preprocess/includes/TestTimerHardware/TimerConfigurator.h.yml +0 -2
  2058. data/examples/temp_sensor/build/test/preprocess/includes/TestTimerIntegrated/TaskScheduler.h.yml +0 -2
  2059. data/examples/temp_sensor/build/test/preprocess/includes/TestTimerIntegrated/TestTimerIntegrated.c.yml +0 -9
  2060. data/examples/temp_sensor/build/test/preprocess/includes/TestTimerIntegrated/TimerConfigurator.h.yml +0 -2
  2061. data/examples/temp_sensor/build/test/preprocess/includes/TestTimerIntegrated/TimerInterruptHandler.h.yml +0 -2
  2062. data/examples/temp_sensor/build/test/preprocess/includes/TestTimerModel/TaskScheduler.h.yml +0 -2
  2063. data/examples/temp_sensor/build/test/preprocess/includes/TestTimerModel/TestTimerModel.c.yml +0 -5
  2064. data/examples/temp_sensor/build/test/preprocess/includes/TestUsartBaudRateRegisterCalculator/TestUsartBaudRateRegisterCalculator.c.yml +0 -4
  2065. data/examples/temp_sensor/build/test/preprocess/includes/TestUsartConductor/TaskScheduler.h.yml +0 -2
  2066. data/examples/temp_sensor/build/test/preprocess/includes/TestUsartConductor/TestUsartConductor.c.yml +0 -7
  2067. data/examples/temp_sensor/build/test/preprocess/includes/TestUsartConductor/UsartHardware.h.yml +0 -2
  2068. data/examples/temp_sensor/build/test/preprocess/includes/TestUsartConductor/UsartModel.h.yml +0 -2
  2069. data/examples/temp_sensor/build/test/preprocess/includes/TestUsartHardware/TestUsartHardware.c.yml +0 -6
  2070. data/examples/temp_sensor/build/test/preprocess/includes/TestUsartHardware/UsartConfigurator.h.yml +0 -2
  2071. data/examples/temp_sensor/build/test/preprocess/includes/TestUsartHardware/UsartPutChar.h.yml +0 -2
  2072. data/examples/temp_sensor/build/test/preprocess/includes/TestUsartIntegrated/TaskScheduler.h.yml +0 -2
  2073. data/examples/temp_sensor/build/test/preprocess/includes/TestUsartIntegrated/TemperatureFilter.h.yml +0 -2
  2074. data/examples/temp_sensor/build/test/preprocess/includes/TestUsartIntegrated/TestUsartIntegrated.c.yml +0 -12
  2075. data/examples/temp_sensor/build/test/preprocess/includes/TestUsartIntegrated/UsartBaudRateRegisterCalculator.h.yml +0 -2
  2076. data/examples/temp_sensor/build/test/preprocess/includes/TestUsartIntegrated/UsartConfigurator.h.yml +0 -2
  2077. data/examples/temp_sensor/build/test/preprocess/includes/TestUsartIntegrated/UsartPutChar.h.yml +0 -2
  2078. data/examples/temp_sensor/build/test/preprocess/includes/TestUsartModel/TemperatureFilter.h.yml +0 -2
  2079. data/examples/temp_sensor/build/test/preprocess/includes/TestUsartModel/TestUsartModel.c.yml +0 -7
  2080. data/examples/temp_sensor/build/test/preprocess/includes/TestUsartModel/UsartBaudRateRegisterCalculator.h.yml +0 -2
  2081. data/examples/temp_sensor/build/test/results/TestAdcConductor.pass +0 -47
  2082. data/examples/temp_sensor/build/test/results/TestAdcHardware.pass +0 -31
  2083. data/examples/temp_sensor/build/test/results/TestAdcModel.pass +0 -27
  2084. data/examples/temp_sensor/build/test/results/TestExecutor.pass +0 -23
  2085. data/examples/temp_sensor/build/test/results/TestMain.pass +0 -19
  2086. data/examples/temp_sensor/build/test/results/TestModel.pass +0 -19
  2087. data/examples/temp_sensor/build/test/results/TestTaskScheduler.pass +0 -47
  2088. data/examples/temp_sensor/build/test/results/TestTemperatureCalculator.pass +0 -23
  2089. data/examples/temp_sensor/build/test/results/TestTemperatureFilter.pass +0 -31
  2090. data/examples/temp_sensor/build/test/results/TestTimerConductor.pass +0 -23
  2091. data/examples/temp_sensor/build/test/results/TestTimerHardware.pass +0 -19
  2092. data/examples/temp_sensor/build/test/results/TestTimerIntegrated.pass +0 -23
  2093. data/examples/temp_sensor/build/test/results/TestTimerModel.pass +0 -19
  2094. data/examples/temp_sensor/build/test/results/TestUsartBaudRateRegisterCalculator.pass +0 -19
  2095. data/examples/temp_sensor/build/test/results/TestUsartConductor.pass +0 -27
  2096. data/examples/temp_sensor/build/test/results/TestUsartHardware.pass +0 -23
  2097. data/examples/temp_sensor/build/test/results/TestUsartIntegrated.pass +0 -23
  2098. data/examples/temp_sensor/build/test/results/TestUsartModel.pass +0 -31
  2099. data/examples/temp_sensor/build/test/runners/TestAdcConductor_runner.c +0 -109
  2100. data/examples/temp_sensor/build/test/runners/TestAdcHardware_runner.c +0 -100
  2101. data/examples/temp_sensor/build/test/runners/TestAdcModel_runner.c +0 -102
  2102. data/examples/temp_sensor/build/test/runners/TestExecutor_runner.c +0 -108
  2103. data/examples/temp_sensor/build/test/runners/TestMain_runner.c +0 -90
  2104. data/examples/temp_sensor/build/test/runners/TestModel_runner.c +0 -94
  2105. data/examples/temp_sensor/build/test/runners/TestTaskScheduler_runner.c +0 -98
  2106. data/examples/temp_sensor/build/test/runners/TestTemperatureCalculator_runner.c +0 -85
  2107. data/examples/temp_sensor/build/test/runners/TestTemperatureFilter_runner.c +0 -90
  2108. data/examples/temp_sensor/build/test/runners/TestTimerConductor_runner.c +0 -100
  2109. data/examples/temp_sensor/build/test/runners/TestTimerHardware_runner.c +0 -90
  2110. data/examples/temp_sensor/build/test/runners/TestTimerIntegrated_runner.c +0 -102
  2111. data/examples/temp_sensor/build/test/runners/TestTimerModel_runner.c +0 -90
  2112. data/examples/temp_sensor/build/test/runners/TestUsartBaudRateRegisterCalculator_runner.c +0 -84
  2113. data/examples/temp_sensor/build/test/runners/TestUsartConductor_runner.c +0 -102
  2114. data/examples/temp_sensor/build/test/runners/TestUsartHardware_runner.c +0 -96
  2115. data/examples/temp_sensor/build/test/runners/TestUsartIntegrated_runner.c +0 -111
  2116. data/examples/temp_sensor/build/test/runners/TestUsartModel_runner.c +0 -101
  2117. data/examples/temp_sensor/build/vendor/cmock/src/cmock.c +0 -231
  2118. data/examples/temp_sensor/build/vendor/cmock/src/cmock.h +0 -47
  2119. data/examples/temp_sensor/build/vendor/cmock/src/cmock_internals.h +0 -91
  2120. data/examples/temp_sensor/build/vendor/cmock/src/meson.build +0 -12
  2121. data/examples/temp_sensor/build/vendor/unity/src/meson.build +0 -17
  2122. data/examples/temp_sensor/build/vendor/unity/src/unity.c +0 -2501
  2123. data/examples/temp_sensor/build/vendor/unity/src/unity.h +0 -698
  2124. data/examples/temp_sensor/build/vendor/unity/src/unity_internals.h +0 -1183
  2125. data/examples/temp_sensor/src/TemperatureCalculator.c +0 -38
  2126. data/examples/temp_sensor/src/TemperatureCalculator.h +0 -15
  2127. data/examples/temp_sensor/src/UsartBaudRateRegisterCalculator.c +0 -25
  2128. data/examples/temp_sensor/src/UsartBaudRateRegisterCalculator.h +0 -15
  2129. data/lib/ceedling/build_batchinator.rb +0 -113
  2130. data/lib/ceedling/config_matchinator.rb +0 -192
  2131. data/lib/ceedling/config_walkinator.rb +0 -35
  2132. data/lib/ceedling/configurator.rb +0 -735
  2133. data/lib/ceedling/configurator_builder.rb +0 -558
  2134. data/lib/ceedling/configurator_plugins.rb +0 -165
  2135. data/lib/ceedling/configurator_setup.rb +0 -799
  2136. data/lib/ceedling/configurator_validator.rb +0 -203
  2137. data/lib/ceedling/generator.rb +0 -365
  2138. data/lib/ceedling/generator_helper.rb +0 -78
  2139. data/lib/ceedling/generator_mocks.rb +0 -41
  2140. data/lib/ceedling/generator_test_results.rb +0 -270
  2141. data/lib/ceedling/generator_test_results_backtrace.rb +0 -215
  2142. data/lib/ceedling/generator_test_results_sanity_checker.rb +0 -70
  2143. data/lib/ceedling/generator_test_runner.rb +0 -84
  2144. data/lib/ceedling/include_pathinator.rb +0 -83
  2145. data/lib/ceedling/plugin.rb +0 -30
  2146. data/lib/ceedling/plugin_manager.rb +0 -133
  2147. data/lib/ceedling/plugin_manager_helper.rb +0 -25
  2148. data/lib/ceedling/plugin_reportinator.rb +0 -139
  2149. data/lib/ceedling/plugin_reportinator_helper.rb +0 -84
  2150. data/lib/ceedling/preprocessinator.rb +0 -239
  2151. data/lib/ceedling/preprocessinator_extractor.rb +0 -241
  2152. data/lib/ceedling/preprocessinator_file_handler.rb +0 -229
  2153. data/lib/ceedling/preprocessinator_includes_handler.rb +0 -382
  2154. data/lib/ceedling/rake_utils.rb +0 -23
  2155. data/lib/ceedling/rake_wrapper.rb +0 -40
  2156. data/lib/ceedling/release_invoker_helper.rb +0 -12
  2157. data/lib/ceedling/task_invoker.rb +0 -70
  2158. data/lib/ceedling/test_invoker.rb +0 -505
  2159. data/lib/ceedling/test_invoker_helper.rb +0 -347
  2160. data/out.fail +0 -25
  2161. data/plugins/beep/README.md +0 -133
  2162. data/plugins/bullseye/README.md +0 -81
  2163. data/plugins/command_hooks/README.md +0 -241
  2164. data/plugins/compile_commands_json_db/README.md +0 -40
  2165. data/plugins/dependencies/README.md +0 -321
  2166. data/plugins/dependencies/example/boss/build/artifacts/release/DepTest +0 -0
  2167. data/plugins/dependencies/example/boss/build/artifacts/test/test_boss.log +0 -0
  2168. data/plugins/dependencies/example/boss/build/release/DepTest +0 -0
  2169. data/plugins/dependencies/example/boss/build/release/cache/input.yml +0 -371
  2170. data/plugins/dependencies/example/boss/build/release/dependencies/boss.d +0 -3
  2171. data/plugins/dependencies/example/boss/build/release/dependencies/main.d +0 -2
  2172. data/plugins/dependencies/example/boss/build/release/out/boss.o +0 -0
  2173. data/plugins/dependencies/example/boss/build/release/out/main.o +0 -0
  2174. data/plugins/dependencies/example/boss/build/test/cache/input.yml +0 -371
  2175. data/plugins/dependencies/example/boss/build/test/dependencies/boss.d +0 -3
  2176. data/plugins/dependencies/example/boss/build/test/dependencies/cmock.d +0 -5
  2177. data/plugins/dependencies/example/boss/build/test/dependencies/mock_libworker.d +0 -8
  2178. data/plugins/dependencies/example/boss/build/test/dependencies/mock_supervisor.d +0 -8
  2179. data/plugins/dependencies/example/boss/build/test/dependencies/test_boss.d +0 -7
  2180. data/plugins/dependencies/example/boss/build/test/dependencies/test_boss_runner.d +0 -9
  2181. data/plugins/dependencies/example/boss/build/test/dependencies/unity.d +0 -3
  2182. data/plugins/dependencies/example/boss/build/test/mocks/test_boss/mock_libworker.c +0 -386
  2183. data/plugins/dependencies/example/boss/build/test/mocks/test_boss/mock_libworker.h +0 -82
  2184. data/plugins/dependencies/example/boss/build/test/mocks/test_boss/mock_supervisor.c +0 -309
  2185. data/plugins/dependencies/example/boss/build/test/mocks/test_boss/mock_supervisor.h +0 -72
  2186. data/plugins/dependencies/example/boss/build/test/out/test_boss/boss.o +0 -0
  2187. data/plugins/dependencies/example/boss/build/test/out/test_boss/cmock.o +0 -0
  2188. data/plugins/dependencies/example/boss/build/test/out/test_boss/mock_libworker.o +0 -0
  2189. data/plugins/dependencies/example/boss/build/test/out/test_boss/mock_supervisor.o +0 -0
  2190. data/plugins/dependencies/example/boss/build/test/out/test_boss/test_boss.o +0 -0
  2191. data/plugins/dependencies/example/boss/build/test/out/test_boss/test_boss.out +0 -0
  2192. data/plugins/dependencies/example/boss/build/test/out/test_boss/test_boss_runner.o +0 -0
  2193. data/plugins/dependencies/example/boss/build/test/out/test_boss/unity.o +0 -0
  2194. data/plugins/dependencies/example/boss/build/test/preprocess/files/test_boss/libworker.h +0 -22
  2195. data/plugins/dependencies/example/boss/build/test/preprocess/files/test_boss/supervisor.h +0 -20
  2196. data/plugins/dependencies/example/boss/build/test/preprocess/files/test_boss/test_boss.c +0 -142
  2197. data/plugins/dependencies/example/boss/build/test/preprocess/includes/test_boss/libworker.h.yml +0 -9
  2198. data/plugins/dependencies/example/boss/build/test/preprocess/includes/test_boss/supervisor.h.yml +0 -9
  2199. data/plugins/dependencies/example/boss/build/test/preprocess/includes/test_boss/test_boss.c.yml +0 -15
  2200. data/plugins/dependencies/example/boss/build/test/results/test_boss.pass +0 -27
  2201. data/plugins/dependencies/example/boss/build/test/runners/test_boss_runner.c +0 -148
  2202. data/plugins/dependencies/example/boss/build/vendor/cmock/src/cmock.c +0 -234
  2203. data/plugins/dependencies/example/boss/build/vendor/cmock/src/cmock.h +0 -52
  2204. data/plugins/dependencies/example/boss/build/vendor/cmock/src/cmock_internals.h +0 -96
  2205. data/plugins/dependencies/example/boss/build/vendor/cmock/src/meson.build +0 -12
  2206. data/plugins/dependencies/example/boss/build/vendor/unity/src/meson.build +0 -17
  2207. data/plugins/dependencies/example/boss/build/vendor/unity/src/unity.c +0 -2471
  2208. data/plugins/dependencies/example/boss/build/vendor/unity/src/unity.h +0 -702
  2209. data/plugins/dependencies/example/boss/build/vendor/unity/src/unity_internals.h +0 -1153
  2210. data/plugins/fake_function_framework/README.md +0 -250
  2211. data/plugins/fake_function_framework/Rakefile +0 -19
  2212. data/plugins/fake_function_framework/examples/fff_example/project.yml +0 -71
  2213. data/plugins/fake_function_framework/examples/fff_example/rakefile.rb +0 -7
  2214. data/plugins/fake_function_framework/examples/fff_example/src/bar.c +0 -1
  2215. data/plugins/fake_function_framework/examples/fff_example/src/bar.h +0 -14
  2216. data/plugins/fake_function_framework/examples/fff_example/src/custom_types.h +0 -6
  2217. data/plugins/fake_function_framework/examples/fff_example/src/display.c +0 -7
  2218. data/plugins/fake_function_framework/examples/fff_example/src/display.h +0 -16
  2219. data/plugins/fake_function_framework/examples/fff_example/src/event_processor.c +0 -93
  2220. data/plugins/fake_function_framework/examples/fff_example/src/event_processor.h +0 -11
  2221. data/plugins/fake_function_framework/examples/fff_example/src/foo.c +0 -16
  2222. data/plugins/fake_function_framework/examples/fff_example/src/foo.h +0 -8
  2223. data/plugins/fake_function_framework/examples/fff_example/src/subfolder/zzz.c +0 -1
  2224. data/plugins/fake_function_framework/examples/fff_example/src/subfolder/zzz.h +0 -6
  2225. data/plugins/fake_function_framework/examples/fff_example/test/test_event_processor.c +0 -155
  2226. data/plugins/fake_function_framework/examples/fff_example/test/test_foo.c +0 -47
  2227. data/plugins/fake_function_framework/lib/fake_function_framework.rb +0 -87
  2228. data/plugins/fake_function_framework/lib/fff_mock_generator.rb +0 -163
  2229. data/plugins/fake_function_framework/spec/fff_mock_header_generator_spec.rb +0 -304
  2230. data/plugins/fake_function_framework/spec/fff_mock_source_generator_spec.rb +0 -149
  2231. data/plugins/fake_function_framework/spec/header_generator.rb +0 -51
  2232. data/plugins/fake_function_framework/spec/spec_helper.rb +0 -96
  2233. data/plugins/fake_function_framework/src/fff_unity_helper.h +0 -33
  2234. data/plugins/fff/README.md +0 -242
  2235. data/plugins/fff/examples/fff_example/build/test/cache/input.yml +0 -263
  2236. data/plugins/fff/examples/fff_example/build/test/dependencies/cmock.d +0 -5
  2237. data/plugins/fff/examples/fff_example/build/test/dependencies/event_processor.d +0 -2
  2238. data/plugins/fff/examples/fff_example/build/test/dependencies/foo.d +0 -2
  2239. data/plugins/fff/examples/fff_example/build/test/dependencies/mock_bar.d +0 -3
  2240. data/plugins/fff/examples/fff_example/build/test/dependencies/mock_display.d +0 -5
  2241. data/plugins/fff/examples/fff_example/build/test/dependencies/mock_zzz.d +0 -3
  2242. data/plugins/fff/examples/fff_example/build/test/dependencies/test_event_processor.d +0 -5
  2243. data/plugins/fff/examples/fff_example/build/test/dependencies/test_event_processor_runner.d +0 -8
  2244. data/plugins/fff/examples/fff_example/build/test/dependencies/test_foo.d +0 -6
  2245. data/plugins/fff/examples/fff_example/build/test/dependencies/test_foo_runner.d +0 -8
  2246. data/plugins/fff/examples/fff_example/build/test/dependencies/unity.d +0 -3
  2247. data/plugins/fff/examples/fff_example/build/test/mocks/test_event_processor/mock_display.c +0 -43
  2248. data/plugins/fff/examples/fff_example/build/test/mocks/test_event_processor/mock_display.h +0 -35
  2249. data/plugins/fff/examples/fff_example/build/test/mocks/test_foo/mock_bar.c +0 -37
  2250. data/plugins/fff/examples/fff_example/build/test/mocks/test_foo/mock_bar.h +0 -31
  2251. data/plugins/fff/examples/fff_example/build/test/mocks/test_foo/mock_zzz.c +0 -25
  2252. data/plugins/fff/examples/fff_example/build/test/mocks/test_foo/mock_zzz.h +0 -25
  2253. data/plugins/fff/examples/fff_example/build/test/out/test_event_processor/cmock.o +0 -0
  2254. data/plugins/fff/examples/fff_example/build/test/out/test_event_processor/event_processor.o +0 -0
  2255. data/plugins/fff/examples/fff_example/build/test/out/test_event_processor/mock_display.o +0 -0
  2256. data/plugins/fff/examples/fff_example/build/test/out/test_event_processor/test_event_processor.o +0 -0
  2257. data/plugins/fff/examples/fff_example/build/test/out/test_event_processor/test_event_processor.out +0 -0
  2258. data/plugins/fff/examples/fff_example/build/test/out/test_event_processor/test_event_processor_runner.o +0 -0
  2259. data/plugins/fff/examples/fff_example/build/test/out/test_event_processor/unity.o +0 -0
  2260. data/plugins/fff/examples/fff_example/build/test/out/test_foo/cmock.o +0 -0
  2261. data/plugins/fff/examples/fff_example/build/test/out/test_foo/foo.o +0 -0
  2262. data/plugins/fff/examples/fff_example/build/test/out/test_foo/mock_bar.o +0 -0
  2263. data/plugins/fff/examples/fff_example/build/test/out/test_foo/mock_zzz.o +0 -0
  2264. data/plugins/fff/examples/fff_example/build/test/out/test_foo/test_foo.o +0 -0
  2265. data/plugins/fff/examples/fff_example/build/test/out/test_foo/test_foo.out +0 -0
  2266. data/plugins/fff/examples/fff_example/build/test/out/test_foo/test_foo_runner.o +0 -0
  2267. data/plugins/fff/examples/fff_example/build/test/out/test_foo/unity.o +0 -0
  2268. data/plugins/fff/examples/fff_example/build/test/preprocess/files/test_event_processor/display.h +0 -38
  2269. data/plugins/fff/examples/fff_example/build/test/preprocess/files/test_event_processor/test_event_processor.c +0 -140
  2270. data/plugins/fff/examples/fff_example/build/test/preprocess/files/test_foo/bar.h +0 -32
  2271. data/plugins/fff/examples/fff_example/build/test/preprocess/files/test_foo/test_foo.c +0 -58
  2272. data/plugins/fff/examples/fff_example/build/test/preprocess/files/test_foo/zzz.h +0 -18
  2273. data/plugins/fff/examples/fff_example/build/test/preprocess/includes/test_event_processor/display.h.yml +0 -10
  2274. data/plugins/fff/examples/fff_example/build/test/preprocess/includes/test_event_processor/test_event_processor.c.yml +0 -12
  2275. data/plugins/fff/examples/fff_example/build/test/preprocess/includes/test_foo/bar.h.yml +0 -10
  2276. data/plugins/fff/examples/fff_example/build/test/preprocess/includes/test_foo/test_foo.c.yml +0 -13
  2277. data/plugins/fff/examples/fff_example/build/test/preprocess/includes/test_foo/zzz.h.yml +0 -9
  2278. data/plugins/fff/examples/fff_example/build/test/results/test_event_processor.pass +0 -43
  2279. data/plugins/fff/examples/fff_example/build/test/results/test_foo.pass +0 -31
  2280. data/plugins/fff/examples/fff_example/build/test/runners/test_event_processor_runner.c +0 -148
  2281. data/plugins/fff/examples/fff_example/build/test/runners/test_foo_runner.c +0 -146
  2282. data/plugins/fff/examples/fff_example/build/vendor/cmock/src/cmock.c +0 -234
  2283. data/plugins/fff/examples/fff_example/build/vendor/cmock/src/cmock.h +0 -52
  2284. data/plugins/fff/examples/fff_example/build/vendor/cmock/src/cmock_internals.h +0 -96
  2285. data/plugins/fff/examples/fff_example/build/vendor/cmock/src/meson.build +0 -12
  2286. data/plugins/fff/examples/fff_example/build/vendor/unity/src/meson.build +0 -17
  2287. data/plugins/fff/examples/fff_example/build/vendor/unity/src/unity.c +0 -2471
  2288. data/plugins/fff/examples/fff_example/build/vendor/unity/src/unity.h +0 -702
  2289. data/plugins/fff/examples/fff_example/build/vendor/unity/src/unity_internals.h +0 -1153
  2290. data/plugins/gcov/README.md +0 -893
  2291. data/plugins/gcov/lib/reportinator_helper.rb +0 -30
  2292. data/plugins/module_generator/README.md +0 -212
  2293. data/plugins/module_generator/example/build/test/cache/input.yml +0 -269
  2294. data/plugins/module_generator/example/build/vendor/cmock/src/meson.build +0 -12
  2295. data/plugins/module_generator/example/build/vendor/unity/src/meson.build +0 -17
  2296. data/plugins/report_build_warnings_log/README.md +0 -40
  2297. data/plugins/report_tests_gtestlike_stdout/README.md +0 -96
  2298. data/plugins/report_tests_ide_stdout/README.md +0 -62
  2299. data/plugins/report_tests_log_factory/README.md +0 -446
  2300. data/plugins/report_tests_log_factory/sample_html_report.png +0 -0
  2301. data/plugins/report_tests_pretty_stdout/README.md +0 -54
  2302. data/plugins/report_tests_raw_output_log/README.md +0 -50
  2303. data/plugins/report_tests_teamcity_stdout/README.md +0 -94
  2304. data/spec/config_walkinator_spec.rb +0 -62
  2305. data/spec/configurator_builder_spec.rb +0 -16
  2306. data/spec/configurator_helper_spec.rb +0 -12
  2307. data/spec/configurator_spec.rb +0 -18
  2308. data/spec/file_finder_helper_spec.rb +0 -73
  2309. data/spec/gcov/gcov_deployment_spec.rb +0 -135
  2310. data/spec/gcov/gcov_test_cases_spec.rb +0 -344
  2311. data/spec/generator_test_results_sanity_checker_spec.rb +0 -104
  2312. data/spec/generator_test_results_spec.rb +0 -131
  2313. data/spec/preprocessinator_extractor_spec.rb +0 -330
  2314. data/spec/preprocessinator_includes_handler_spec.rb +0 -289
  2315. data/spec/reportinator_spec.rb +0 -26
  2316. data/spec/spec_helper.rb +0 -31
  2317. data/spec/spec_system_helper.rb +0 -994
  2318. data/spec/system_utils_spec.rb +0 -65
  2319. data/spec/test_context_extractor_spec.rb +0 -358
  2320. data/spec/tool_executor_helper_spec.rb +0 -219
  2321. data/spec/uncategorized_specs_spec.rb +0 -15
  2322. data/vendor/cmock/examples/temp_sensor/targets/gcc.yml +0 -97
  2323. data/vendor/cmock/examples/temp_sensor/targets/iar_v4.yml +0 -143
  2324. data/vendor/cmock/examples/temp_sensor/targets/iar_v5.yml +0 -132
  2325. data/vendor/cmock/scripts/create_mock.rb +0 -15
  2326. data/vendor/cmock/scripts/create_runner.rb +0 -25
  2327. data/vendor/cmock/scripts/test_summary.rb +0 -25
  2328. data/vendor/cmock/test/system/test_interactions/array_and_pointer_handling.yml +0 -453
  2329. data/vendor/cmock/test/system/test_interactions/return_thru_ptr_and_expect_any_args.yml +0 -242
  2330. data/vendor/cmock/test/targets/clang_strict.yml +0 -97
  2331. data/vendor/cmock/test/targets/gcc.yml +0 -65
  2332. data/vendor/cmock/test/targets/gcc_64.yml +0 -65
  2333. data/vendor/cmock/test/targets/gcc_tiny.yml +0 -87
  2334. data/vendor/cmock/test/targets/iar_arm_v4.yml +0 -117
  2335. data/vendor/cmock/test/targets/iar_arm_v5.yml +0 -102
  2336. data/vendor/cmock/vendor/unity/examples/example_3/target_gcc_32.yml +0 -54
  2337. data/vendor/cmock/vendor/unity/test/targets/ansi.yml +0 -51
  2338. data/vendor/cmock/vendor/unity/test/targets/clang_file.yml +0 -79
  2339. data/vendor/cmock/vendor/unity/test/targets/clang_strict.yml +0 -79
  2340. data/vendor/cmock/vendor/unity/test/targets/gcc_32.yml +0 -52
  2341. data/vendor/cmock/vendor/unity/test/targets/gcc_64.yml +0 -53
  2342. data/vendor/cmock/vendor/unity/test/targets/gcc_auto_limits.yml +0 -50
  2343. data/vendor/cmock/vendor/unity/test/targets/gcc_auto_stdint.yml +0 -62
  2344. data/vendor/cmock/vendor/unity/test/targets/gcc_manual_math.yml +0 -50
  2345. data/vendor/cmock/vendor/unity/test/targets/iar_arm_v4.yml +0 -105
  2346. data/vendor/cmock/vendor/unity/test/targets/iar_arm_v5.yml +0 -99
  2347. data/vendor/cmock/vendor/unity/test/targets/iar_arm_v5_3.yml +0 -99
  2348. data/vendor/cmock/vendor/unity/test/targets/iar_armcortex_LM3S9B92_v5_4.yml +0 -97
  2349. data/vendor/cmock/vendor/unity/test/targets/iar_cortexm3_v5.yml +0 -101
  2350. data/vendor/cmock/vendor/unity/test/targets/iar_msp430.yml +0 -119
  2351. data/vendor/cmock/vendor/unity/test/targets/iar_sh2a_v6.yml +0 -106
  2352. data/vendor/unity/examples/example_3/target_gcc_32.yml +0 -54
  2353. data/vendor/unity/test/targets/ansi.yml +0 -51
  2354. data/vendor/unity/test/targets/clang_file.yml +0 -79
  2355. data/vendor/unity/test/targets/clang_strict.yml +0 -79
  2356. data/vendor/unity/test/targets/gcc_32.yml +0 -52
  2357. data/vendor/unity/test/targets/gcc_64.yml +0 -53
  2358. data/vendor/unity/test/targets/gcc_auto_limits.yml +0 -50
  2359. data/vendor/unity/test/targets/gcc_auto_stdint.yml +0 -62
  2360. data/vendor/unity/test/targets/gcc_manual_math.yml +0 -50
  2361. data/vendor/unity/test/targets/iar_arm_v4.yml +0 -105
  2362. data/vendor/unity/test/targets/iar_arm_v5.yml +0 -99
  2363. data/vendor/unity/test/targets/iar_arm_v5_3.yml +0 -99
  2364. data/vendor/unity/test/targets/iar_armcortex_LM3S9B92_v5_4.yml +0 -97
  2365. data/vendor/unity/test/targets/iar_cortexm3_v5.yml +0 -101
  2366. data/vendor/unity/test/targets/iar_msp430.yml +0 -119
  2367. data/vendor/unity/test/targets/iar_sh2a_v6.yml +0 -106
@@ -0,0 +1,1629 @@
1
+
2
+ # =========================================================================
3
+ # Ceedling - Test-Centered Build System for C
4
+ # ThrowTheSwitch.org
5
+ # Copyright (c) 2010-26 Mike Karlesky, Mark VanderVoord, & Greg Williams
6
+ # SPDX-License-Identifier: MIT
7
+ # =========================================================================
8
+
9
+ require 'spec_helper'
10
+ require 'ceedling/includes/includes'
11
+ require 'ceedling/partials/partializer'
12
+ require 'ceedling/partials/partials'
13
+ require 'ceedling/reportinator'
14
+ require 'ceedling/c_extractor/c_extractor_types'
15
+ require 'ostruct'
16
+
17
+ describe Partializer do
18
+ before(:each) do
19
+ @partializer_helper = double("PartializerHelper")
20
+ @file_finder = double("FileFinder")
21
+ @c_extractor = double("CExtractor")
22
+ @file_path_utils = double("FilePathUtils")
23
+ @reportinator = Reportinator.new
24
+ @loginator = double("Loginator").as_null_object
25
+
26
+ @partializer = described_class.new(
27
+ {
28
+ :partializer_helper => @partializer_helper,
29
+ :file_finder => @file_finder,
30
+ :c_extractor => @c_extractor,
31
+ :file_path_utils => @file_path_utils,
32
+ :reportinator => @reportinator,
33
+ :loginator => @loginator
34
+ }
35
+ )
36
+
37
+ # Logging happens in production use only and is not directly tested.
38
+ # Silence all private logging helpers so that test doubles for extracted
39
+ # functions and variable declarations do not need .signature / .text stubs.
40
+ allow(@partializer).to receive(:_log_module_contents)
41
+ allow(@partializer).to receive(:_log_impl_functions)
42
+ allow(@partializer).to receive(:_log_interface_functions)
43
+ end
44
+
45
+ ###
46
+ ### populate_filepaths()
47
+ ###
48
+
49
+ context "#populate_filepaths" do
50
+ def make_tests(present:)
51
+ OpenStruct.new(present?: present)
52
+ end
53
+
54
+ def make_mocks(present:, type: nil)
55
+ OpenStruct.new(present?: present, type: type)
56
+ end
57
+
58
+ def make_config(tests:, mocks:)
59
+ OpenStruct.new(
60
+ tests: tests,
61
+ mocks: mocks,
62
+ header: OpenStruct.new(filepath: nil),
63
+ source: OpenStruct.new(filepath: nil)
64
+ )
65
+ end
66
+
67
+ it "returns the configs hash unchanged when empty" do
68
+ result = @partializer.populate_filepaths({})
69
+ expect(result).to eq({})
70
+ end
71
+
72
+ it "populates header and source for a test config" do
73
+ configs = { 'mod' => make_config(tests: make_tests(present: true), mocks: make_mocks(present: false)) }
74
+
75
+ allow(@file_finder).to receive(:find_header_file).with('mod', :ignore).and_return('mod.h')
76
+ allow(@file_finder).to receive(:find_source_file).with('mod', :ignore).and_return('mod.c')
77
+
78
+ @partializer.populate_filepaths(configs)
79
+
80
+ expect(configs['mod'].header.filepath).to eq('mod.h')
81
+ expect(configs['mod'].source.filepath).to eq('mod.c')
82
+ end
83
+
84
+ it "populates header only for mock-public config" do
85
+ configs = { 'mod' => make_config(tests: make_tests(present: false), mocks: make_mocks(present: true, type: Partials::PUBLIC)) }
86
+
87
+ allow(@file_finder).to receive(:find_header_file).with('mod', :ignore).and_return('mod.h')
88
+ expect(@file_finder).not_to receive(:find_source_file)
89
+
90
+ @partializer.populate_filepaths(configs)
91
+
92
+ expect(configs['mod'].header.filepath).to eq('mod.h')
93
+ expect(configs['mod'].source.filepath).to be_nil
94
+ end
95
+
96
+ it "populates header and source for mock-private config" do
97
+ configs = { 'mod' => make_config(tests: make_tests(present: false), mocks: make_mocks(present: true, type: Partials::PRIVATE)) }
98
+
99
+ allow(@file_finder).to receive(:find_header_file).with('mod', :ignore).and_return('mod.h')
100
+ allow(@file_finder).to receive(:find_source_file).with('mod', :ignore).and_return('mod.c')
101
+
102
+ @partializer.populate_filepaths(configs)
103
+
104
+ expect(configs['mod'].header.filepath).to eq('mod.h')
105
+ expect(configs['mod'].source.filepath).to eq('mod.c')
106
+ end
107
+
108
+ it "populates header and source when mocks.type is nil" do
109
+ configs = { 'mod' => make_config(tests: make_tests(present: false), mocks: make_mocks(present: true, type: nil)) }
110
+
111
+ allow(@file_finder).to receive(:find_header_file).with('mod', :ignore).and_return('mod.h')
112
+ allow(@file_finder).to receive(:find_source_file).with('mod', :ignore).and_return('mod.c')
113
+
114
+ @partializer.populate_filepaths(configs)
115
+
116
+ expect(configs['mod'].header.filepath).to eq('mod.h')
117
+ expect(configs['mod'].source.filepath).to eq('mod.c')
118
+ end
119
+
120
+ it "handles multiple modules independently" do
121
+ configs = {
122
+ 'a' => make_config(tests: make_tests(present: true), mocks: make_mocks(present: false)),
123
+ 'b' => make_config(tests: make_tests(present: false), mocks: make_mocks(present: true, type: Partials::PUBLIC))
124
+ }
125
+
126
+ allow(@file_finder).to receive(:find_header_file).with('a', :ignore).and_return('a.h')
127
+ allow(@file_finder).to receive(:find_source_file).with('a', :ignore).and_return('a.c')
128
+ allow(@file_finder).to receive(:find_header_file).with('b', :ignore).and_return('b.h')
129
+ expect(@file_finder).not_to receive(:find_source_file).with('b', :ignore)
130
+
131
+ @partializer.populate_filepaths(configs)
132
+
133
+ expect(configs['a'].header.filepath).to eq('a.h')
134
+ expect(configs['a'].source.filepath).to eq('a.c')
135
+ expect(configs['b'].header.filepath).to eq('b.h')
136
+ expect(configs['b'].source.filepath).to be_nil
137
+ end
138
+ end
139
+
140
+ ###
141
+ ### validate_config()
142
+ ###
143
+
144
+ context "#validate_config" do
145
+ it "delegates to three validation helpers in order" do
146
+ c_module = double("CModule")
147
+ config = double("Config")
148
+ name = "test_foo"
149
+
150
+ expect(@partializer_helper).to receive(:validate_function_names_exist)
151
+ .with(c_module, config, name).ordered
152
+ expect(@partializer_helper).to receive(:validate_no_additions_subtractions_overlap)
153
+ .with(config, name).ordered
154
+ expect(@partializer_helper).to receive(:validate_additions_subtractions_visibility)
155
+ .with(c_module, config, name).ordered
156
+
157
+ @partializer.validate_config(c_module: c_module, config: config, name: name)
158
+ end
159
+ end
160
+
161
+ ###
162
+ ### sanitize()
163
+ ###
164
+
165
+ context "#sanitize" do
166
+ def make_macro(text)
167
+ CExtractorTypes::CStatement.new(text: text, line_num: 1)
168
+ end
169
+
170
+ def make_module(macros: [], sequence: nil)
171
+ m = CExtractorTypes::CModule.new
172
+ m.macro_definitions = macros.dup
173
+ m.element_sequence = sequence || macros.dup
174
+ m
175
+ end
176
+
177
+ it "leaves macro_definitions unchanged when no macros contain CEEDLING_GENERATED" do
178
+ macro = make_macro('#define MY_GUARD_H')
179
+ mod = make_module(macros: [macro])
180
+
181
+ @partializer.sanitize(mod)
182
+
183
+ expect(mod.macro_definitions).to eq([macro])
184
+ end
185
+
186
+ it "leaves element_sequence unchanged when no macros contain CEEDLING_GENERATED" do
187
+ macro = make_macro('#define MY_GUARD_H')
188
+ mod = make_module(macros: [macro])
189
+
190
+ @partializer.sanitize(mod)
191
+
192
+ expect(mod.element_sequence).to eq([macro])
193
+ end
194
+
195
+ it "removes macros whose text includes CEEDLING_GENERATED from macro_definitions" do
196
+ generated = make_macro('#ifndef CEEDLING_GENERATED_FOO_H')
197
+ kept = make_macro('#define MY_DEFINE 1')
198
+ mod = make_module(macros: [generated, kept])
199
+
200
+ @partializer.sanitize(mod)
201
+
202
+ expect(mod.macro_definitions).to eq([kept])
203
+ expect(mod.macro_definitions).not_to include(generated)
204
+ end
205
+
206
+ it "removes the same macro objects from element_sequence" do
207
+ generated = make_macro('#ifndef CEEDLING_GENERATED_BAR_H')
208
+ kept = make_macro('#define MY_DEFINE 2')
209
+ mod = make_module(macros: [generated, kept])
210
+
211
+ @partializer.sanitize(mod)
212
+
213
+ expect(mod.element_sequence).not_to include(generated)
214
+ expect(mod.element_sequence).to include(kept)
215
+ end
216
+
217
+ it "removes all macros when every macro contains CEEDLING_GENERATED" do
218
+ m1 = make_macro('#ifndef CEEDLING_GENERATED_A_H')
219
+ m2 = make_macro('#define CEEDLING_GENERATED_A_H')
220
+ mod = make_module(macros: [m1, m2])
221
+
222
+ @partializer.sanitize(mod)
223
+
224
+ expect(mod.macro_definitions).to be_empty
225
+ expect(mod.element_sequence).to be_empty
226
+ end
227
+
228
+ it "does not remove non-macro elements from element_sequence" do
229
+ generated = make_macro('#ifndef CEEDLING_GENERATED_C_H')
230
+ other_elem = double('CFunction', text: 'void foo(void){}')
231
+ mod = CExtractorTypes::CModule.new
232
+ mod.macro_definitions = [generated]
233
+ mod.element_sequence = [generated, other_elem]
234
+
235
+ @partializer.sanitize(mod)
236
+
237
+ expect(mod.element_sequence).to include(other_elem)
238
+ expect(mod.element_sequence).not_to include(generated)
239
+ end
240
+
241
+ it "handles empty macro_definitions without error" do
242
+ mod = make_module(macros: [])
243
+
244
+ expect { @partializer.sanitize(mod) }.not_to raise_error
245
+ expect(mod.macro_definitions).to be_empty
246
+ expect(mod.element_sequence).to be_empty
247
+ end
248
+ end
249
+
250
+ ###
251
+ ### validate_extracted_functions()
252
+ ###
253
+
254
+ context "#validate_extracted_functions" do
255
+ def make_impl(name)
256
+ Partials.manufacture_function_definition(
257
+ name: name, signature: "void #{name}(void)", code_block: "void #{name}(void) {}"
258
+ )
259
+ end
260
+
261
+ def make_iface(name)
262
+ Partials.manufacture_function_declaration(name: name, signature: "void #{name}(void)")
263
+ end
264
+
265
+ it "does not raise when impl is nil" do
266
+ expect {
267
+ @partializer.validate_extracted_functions(
268
+ name: 'test_mod', partial: 'mod', impl: nil, interface: [make_iface('foo')]
269
+ )
270
+ }.not_to raise_error
271
+ end
272
+
273
+ it "does not raise when interface is nil" do
274
+ expect {
275
+ @partializer.validate_extracted_functions(
276
+ name: 'test_mod', partial: 'mod', impl: [make_impl('foo')], interface: nil
277
+ )
278
+ }.not_to raise_error
279
+ end
280
+
281
+ it "does not raise when impl is empty" do
282
+ expect {
283
+ @partializer.validate_extracted_functions(
284
+ name: 'test_mod', partial: 'mod', impl: [], interface: [make_iface('foo')]
285
+ )
286
+ }.not_to raise_error
287
+ end
288
+
289
+ it "does not raise when interface is empty" do
290
+ expect {
291
+ @partializer.validate_extracted_functions(
292
+ name: 'test_mod', partial: 'mod', impl: [make_impl('foo')], interface: []
293
+ )
294
+ }.not_to raise_error
295
+ end
296
+
297
+ it "does not raise when impl and interface have no overlapping functions" do
298
+ impl = [make_impl('foo'), make_impl('bar')]
299
+ interface = [make_iface('baz'), make_iface('qux')]
300
+
301
+ expect {
302
+ @partializer.validate_extracted_functions(
303
+ name: 'test_mod', partial: 'mod', impl: impl, interface: interface
304
+ )
305
+ }.not_to raise_error
306
+ end
307
+
308
+ it "raises CeedlingException when one function appears in both impl and interface" do
309
+ impl = [make_impl('foo'), make_impl('shared')]
310
+ interface = [make_iface('shared'), make_iface('bar')]
311
+
312
+ expect {
313
+ @partializer.validate_extracted_functions(
314
+ name: 'test_mod', partial: 'mod', impl: impl, interface: interface
315
+ )
316
+ }.to raise_error(CeedlingException, /shared/)
317
+ end
318
+
319
+ it "raises for each overlapping function when multiple functions overlap" do
320
+ impl = [make_impl('alpha'), make_impl('beta')]
321
+ interface = [make_iface('alpha'), make_iface('beta')]
322
+
323
+ expect {
324
+ @partializer.validate_extracted_functions(
325
+ name: 'test_mod', partial: 'mod', impl: impl, interface: interface
326
+ )
327
+ }.to raise_error(CeedlingException)
328
+ end
329
+ end
330
+
331
+ ###
332
+ ### remap_implementation_header_includes()
333
+ ###
334
+
335
+ context "#remap_implementation_header_includes" do
336
+ it "returns empty array when input is empty and no partials" do
337
+ includes = []
338
+ partials = {}
339
+ result = @partializer.remap_implementation_header_includes(
340
+ name: 'module',
341
+ includes: includes,
342
+ partials: partials
343
+ )
344
+
345
+ expect(result).to eq([])
346
+ end
347
+
348
+ it "removes module's own header from includes" do
349
+ includes = [UserInclude.new('header1.h'), UserInclude.new('module.h'), UserInclude.new('header2.h')]
350
+ partials = {}
351
+ result = @partializer.remap_implementation_header_includes(
352
+ name: 'module',
353
+ includes: includes,
354
+ partials: partials
355
+ )
356
+
357
+ expect(result).to match_array([UserInclude.new('header1.h'), UserInclude.new('header2.h')])
358
+ expect(result).not_to include(UserInclude.new('module.h'))
359
+ end
360
+
361
+ it "removes partialized module headers from includes" do
362
+ includes = [UserInclude.new('header1.h'), UserInclude.new('partial_module.h'), UserInclude.new('header2.h')]
363
+ partials = {
364
+ 'partial_module' => { types: [:test_public] }
365
+ }
366
+ result = @partializer.remap_implementation_header_includes(
367
+ name: 'module',
368
+ includes: includes,
369
+ partials: partials
370
+ )
371
+
372
+ expect(result).to match_array([UserInclude.new('header1.h'), UserInclude.new('header2.h')])
373
+ expect(result).not_to include(UserInclude.new('partial_module.h'))
374
+ end
375
+
376
+ it "removes multiple partialized module headers" do
377
+ includes = [
378
+ UserInclude.new('header1.h'),
379
+ UserInclude.new('partial1.h'),
380
+ UserInclude.new('partial2.h'),
381
+ UserInclude.new('header2.h')
382
+ ]
383
+ partials = {
384
+ 'partial1' => nil,
385
+ 'partial2' => nil
386
+ }
387
+ result = @partializer.remap_implementation_header_includes(
388
+ name: 'module',
389
+ includes: includes,
390
+ partials: partials
391
+ )
392
+
393
+ expect(result).to match_array([UserInclude.new('header1.h'), UserInclude.new('header2.h')])
394
+ expect(result).not_to include(UserInclude.new('partial1.h'))
395
+ expect(result).not_to include(UserInclude.new('partial2.h'))
396
+ end
397
+
398
+ it "preserves includes that are not partialized" do
399
+ includes = [
400
+ UserInclude.new('header1.h'),
401
+ UserInclude.new('partial_module.h'),
402
+ UserInclude.new('header2.h'),
403
+ UserInclude.new('header3.h')
404
+ ]
405
+ partials = {
406
+ 'partial_module' => nil
407
+ }
408
+ result = @partializer.remap_implementation_header_includes(
409
+ name: 'module',
410
+ includes: includes,
411
+ partials: partials
412
+ )
413
+
414
+ expect(result).to match_array(
415
+ [
416
+ UserInclude.new('header1.h'),
417
+ UserInclude.new('header2.h'),
418
+ UserInclude.new('header3.h')
419
+ ]
420
+ )
421
+ end
422
+
423
+ it "removes duplicates after removing partialized headers" do
424
+ includes = [
425
+ UserInclude.new('header1.h'),
426
+ UserInclude.new('partial_module.h'),
427
+ UserInclude.new('header1.h'),
428
+ UserInclude.new('header2.h')
429
+ ]
430
+ partials = {
431
+ 'partial_module' => nil
432
+ }
433
+ result = @partializer.remap_implementation_header_includes(
434
+ name: 'module',
435
+ includes: includes,
436
+ partials: partials
437
+ )
438
+
439
+ expect(result).to match_array([UserInclude.new('header1.h'), UserInclude.new('header2.h')])
440
+ end
441
+
442
+ it "handles case-insensitive module header removal" do
443
+ includes = [
444
+ UserInclude.new('header1.h'),
445
+ UserInclude.new('module.h'),
446
+ UserInclude.new('MODULE.H'),
447
+ UserInclude.new('header2.h')
448
+ ]
449
+ partials = {}
450
+ result = @partializer.remap_implementation_header_includes(
451
+ name: 'module',
452
+ includes: includes,
453
+ partials: partials
454
+ )
455
+
456
+ expect(result).to match_array([UserInclude.new('header1.h'), UserInclude.new('header2.h')])
457
+ expect(result).not_to include(UserInclude.new('module.h'))
458
+ expect(result).not_to include(UserInclude.new('MODULE.H'))
459
+ end
460
+
461
+ it "handles partials with different configuration types" do
462
+ includes = [
463
+ UserInclude.new('header1.h'),
464
+ UserInclude.new('partial1.h'),
465
+ UserInclude.new('partial2.h'),
466
+ UserInclude.new('partial3.h')
467
+ ]
468
+ partials = {
469
+ 'partial1' => nil,
470
+ 'partial2' => nil,
471
+ 'partial3' => nil
472
+ }
473
+ result = @partializer.remap_implementation_header_includes(
474
+ name: 'module',
475
+ includes: includes,
476
+ partials: partials
477
+ )
478
+
479
+ expect(result).to match_array([UserInclude.new('header1.h')])
480
+ end
481
+
482
+ it "handles empty partials hash" do
483
+ includes = [UserInclude.new('header1.h'), UserInclude.new('header2.h'), UserInclude.new('module.h')]
484
+ partials = {}
485
+ result = @partializer.remap_implementation_header_includes(
486
+ name: 'module',
487
+ includes: includes,
488
+ partials: partials
489
+ )
490
+
491
+ expect(result).to match_array([UserInclude.new('header1.h'), UserInclude.new('header2.h')])
492
+ end
493
+
494
+ it "handles complex scenario with module header, partials, and duplicates" do
495
+ includes = [
496
+ UserInclude.new('header1.h'),
497
+ UserInclude.new('module.h'),
498
+ UserInclude.new('partial1.h'),
499
+ UserInclude.new('header2.h'),
500
+ UserInclude.new('partial2.h'),
501
+ UserInclude.new('header1.h'),
502
+ UserInclude.new('header3.h')
503
+ ]
504
+ partials = {
505
+ 'partial1' => nil,
506
+ 'partial2' => nil
507
+ }
508
+ result = @partializer.remap_implementation_header_includes(
509
+ name: 'module',
510
+ includes: includes,
511
+ partials: partials
512
+ )
513
+
514
+ expect(result).to match_array(
515
+ [
516
+ UserInclude.new('header1.h'),
517
+ UserInclude.new('header2.h'),
518
+ UserInclude.new('header3.h')
519
+ ]
520
+ )
521
+ expect(result).not_to include(UserInclude.new('module.h'))
522
+ expect(result).not_to include(UserInclude.new('partial1.h'))
523
+ expect(result).not_to include(UserInclude.new('partial2.h'))
524
+ end
525
+ end
526
+
527
+ ###
528
+ ### remap_interface_header_includes()
529
+ ###
530
+
531
+ context "#remap_interface_header_includes" do
532
+ it "returns empty array when input is empty and no partials" do
533
+ result = @partializer.remap_interface_header_includes(
534
+ name: 'module',
535
+ includes: [],
536
+ partials: {}
537
+ )
538
+ expect(result).to eq([])
539
+ end
540
+
541
+ it "removes module's own header from includes" do
542
+ includes = [UserInclude.new('header1.h'), UserInclude.new('module.h'), UserInclude.new('header2.h')]
543
+ result = @partializer.remap_interface_header_includes(
544
+ name: 'module',
545
+ includes: includes,
546
+ partials: {}
547
+ )
548
+ expect(result).to match_array([UserInclude.new('header1.h'), UserInclude.new('header2.h')])
549
+ expect(result).not_to include(UserInclude.new('module.h'))
550
+ end
551
+
552
+ it "removes partialized module headers from includes" do
553
+ includes = [UserInclude.new('header1.h'), UserInclude.new('partial_module.h'), UserInclude.new('header2.h')]
554
+ partials = { 'partial_module' => nil }
555
+ result = @partializer.remap_interface_header_includes(
556
+ name: 'module',
557
+ includes: includes,
558
+ partials: partials
559
+ )
560
+ expect(result).to match_array([UserInclude.new('header1.h'), UserInclude.new('header2.h')])
561
+ expect(result).not_to include(UserInclude.new('partial_module.h'))
562
+ end
563
+
564
+ it "removes multiple partialized module headers" do
565
+ includes = [
566
+ UserInclude.new('header1.h'),
567
+ UserInclude.new('partial1.h'),
568
+ UserInclude.new('partial2.h'),
569
+ UserInclude.new('header2.h')
570
+ ]
571
+ partials = { 'partial1' => nil, 'partial2' => nil }
572
+ result = @partializer.remap_interface_header_includes(
573
+ name: 'module',
574
+ includes: includes,
575
+ partials: partials
576
+ )
577
+ expect(result).to match_array([UserInclude.new('header1.h'), UserInclude.new('header2.h')])
578
+ expect(result).not_to include(UserInclude.new('partial1.h'))
579
+ expect(result).not_to include(UserInclude.new('partial2.h'))
580
+ end
581
+
582
+ it "preserves includes that are not partialized" do
583
+ includes = [
584
+ UserInclude.new('header1.h'),
585
+ UserInclude.new('partial_module.h'),
586
+ UserInclude.new('header2.h'),
587
+ UserInclude.new('header3.h')
588
+ ]
589
+ partials = { 'partial_module' => nil }
590
+ result = @partializer.remap_interface_header_includes(
591
+ name: 'module',
592
+ includes: includes,
593
+ partials: partials
594
+ )
595
+ expect(result).to match_array([
596
+ UserInclude.new('header1.h'),
597
+ UserInclude.new('header2.h'),
598
+ UserInclude.new('header3.h')
599
+ ])
600
+ end
601
+
602
+ it "removes duplicates after removing partialized headers" do
603
+ includes = [
604
+ UserInclude.new('header1.h'),
605
+ UserInclude.new('partial_module.h'),
606
+ UserInclude.new('header1.h'),
607
+ UserInclude.new('header2.h')
608
+ ]
609
+ partials = { 'partial_module' => nil }
610
+ result = @partializer.remap_interface_header_includes(
611
+ name: 'module',
612
+ includes: includes,
613
+ partials: partials
614
+ )
615
+ expect(result).to match_array([UserInclude.new('header1.h'), UserInclude.new('header2.h')])
616
+ end
617
+
618
+ it "handles case-insensitive module header removal" do
619
+ includes = [
620
+ UserInclude.new('header1.h'),
621
+ UserInclude.new('module.h'),
622
+ UserInclude.new('MODULE.H'),
623
+ UserInclude.new('header2.h')
624
+ ]
625
+ result = @partializer.remap_interface_header_includes(
626
+ name: 'module',
627
+ includes: includes,
628
+ partials: {}
629
+ )
630
+ expect(result).to match_array([UserInclude.new('header1.h'), UserInclude.new('header2.h')])
631
+ expect(result).not_to include(UserInclude.new('module.h'))
632
+ expect(result).not_to include(UserInclude.new('MODULE.H'))
633
+ end
634
+
635
+ it "handles partials with different configuration types" do
636
+ includes = [
637
+ UserInclude.new('header1.h'),
638
+ UserInclude.new('partial1.h'),
639
+ UserInclude.new('partial2.h'),
640
+ UserInclude.new('partial3.h')
641
+ ]
642
+ partials = { 'partial1' => nil, 'partial2' => nil, 'partial3' => nil }
643
+ result = @partializer.remap_interface_header_includes(
644
+ name: 'module',
645
+ includes: includes,
646
+ partials: partials
647
+ )
648
+ expect(result).to match_array([UserInclude.new('header1.h')])
649
+ end
650
+
651
+ it "handles empty partials hash" do
652
+ includes = [UserInclude.new('header1.h'), UserInclude.new('header2.h'), UserInclude.new('module.h')]
653
+ result = @partializer.remap_interface_header_includes(
654
+ name: 'module',
655
+ includes: includes,
656
+ partials: {}
657
+ )
658
+ expect(result).to match_array([UserInclude.new('header1.h'), UserInclude.new('header2.h')])
659
+ end
660
+
661
+ it "handles complex scenario with module header, partials, and duplicates" do
662
+ includes = [
663
+ UserInclude.new('header1.h'),
664
+ UserInclude.new('module.h'),
665
+ UserInclude.new('partial1.h'),
666
+ UserInclude.new('header2.h'),
667
+ UserInclude.new('partial2.h'),
668
+ UserInclude.new('header1.h'),
669
+ UserInclude.new('header3.h')
670
+ ]
671
+ partials = { 'partial1' => nil, 'partial2' => nil }
672
+ result = @partializer.remap_interface_header_includes(
673
+ name: 'module',
674
+ includes: includes,
675
+ partials: partials
676
+ )
677
+ expect(result).to match_array([
678
+ UserInclude.new('header1.h'),
679
+ UserInclude.new('header2.h'),
680
+ UserInclude.new('header3.h')
681
+ ])
682
+ expect(result).not_to include(UserInclude.new('module.h'))
683
+ expect(result).not_to include(UserInclude.new('partial1.h'))
684
+ expect(result).not_to include(UserInclude.new('partial2.h'))
685
+ end
686
+ end
687
+
688
+ ###
689
+ ### remap_implementation_source_includes()
690
+ ###
691
+
692
+ def make_partial_config(mocks_type: nil, tests_type: nil)
693
+ OpenStruct.new(
694
+ mocks: OpenStruct.new(type: mocks_type),
695
+ tests: OpenStruct.new(type: tests_type)
696
+ )
697
+ end
698
+
699
+ context "#remap_implementation_source_includes" do
700
+ it "returns implementation header when input is empty and no partials" do
701
+ includes = []
702
+ partials = {}
703
+ filename = 'module_impl.h'
704
+ impl_header = UserInclude.new(filename)
705
+
706
+ allow(@file_path_utils).to receive(:form_partial_implementation_header_filename)
707
+ .with('module')
708
+ .and_return(filename)
709
+
710
+ result = @partializer.remap_implementation_source_includes(
711
+ name: 'module',
712
+ includes: includes,
713
+ partials: partials
714
+ )
715
+
716
+ expect(result).to eq([impl_header])
717
+ end
718
+
719
+ it "adds implementation header to includes" do
720
+ includes = [UserInclude.new('header1.h'), UserInclude.new('header2.h')]
721
+ partials = {}
722
+ filename = 'module_impl.h'
723
+ impl_header = UserInclude.new(filename)
724
+
725
+ allow(@file_path_utils).to receive(:form_partial_implementation_header_filename)
726
+ .with('module')
727
+ .and_return(filename)
728
+
729
+ result = @partializer.remap_implementation_source_includes(
730
+ name: 'module',
731
+ includes: includes,
732
+ partials: partials
733
+ )
734
+
735
+ expect(result).to include(impl_header)
736
+ expect(result).to include(UserInclude.new('header1.h'))
737
+ expect(result).to include(UserInclude.new('header2.h'))
738
+ end
739
+
740
+ it "removes module's own header from includes" do
741
+ includes = [UserInclude.new('header1.h'), UserInclude.new('module.h'), UserInclude.new('header2.h')]
742
+ partials = {}
743
+ filename = 'module_impl.h'
744
+ impl_header = UserInclude.new(filename)
745
+
746
+ allow(@file_path_utils).to receive(:form_partial_implementation_header_filename)
747
+ .with('module')
748
+ .and_return(filename)
749
+
750
+ result = @partializer.remap_implementation_source_includes(
751
+ name: 'module',
752
+ includes: includes,
753
+ partials: partials
754
+ )
755
+
756
+ expect(result).to include(impl_header)
757
+ expect(result).to include(UserInclude.new('header1.h'))
758
+ expect(result).to include(UserInclude.new('header2.h'))
759
+ expect(result).not_to include(UserInclude.new('module.h'))
760
+ end
761
+
762
+ it "remaps mockable public partial to interface header" do
763
+ includes = [UserInclude.new('header1.h'), UserInclude.new('partial_module.h'), UserInclude.new('header2.h')]
764
+ partials = {
765
+ 'partial_module' => make_partial_config(mocks_type: Partials::PUBLIC)
766
+ }
767
+ impl_filename = 'module_impl.h'
768
+ interface_filename = 'partial_module_interface.h'
769
+ impl_header = UserInclude.new(impl_filename)
770
+ interface_header = UserInclude.new(interface_filename)
771
+
772
+ allow(@file_path_utils).to receive(:form_partial_implementation_header_filename)
773
+ .with('module')
774
+ .and_return(impl_filename)
775
+
776
+ allow(@file_path_utils).to receive(:form_partial_interface_header_filename)
777
+ .with('partial_module')
778
+ .and_return(interface_filename)
779
+
780
+ result = @partializer.remap_implementation_source_includes(
781
+ name: 'module',
782
+ includes: includes,
783
+ partials: partials
784
+ )
785
+
786
+ expect(result).to include(impl_header)
787
+ expect(result).to include(interface_header)
788
+ expect(result).to include(UserInclude.new('header1.h'))
789
+ expect(result).to include(UserInclude.new('header2.h'))
790
+ expect(result).not_to include(UserInclude.new('partial_module.h'))
791
+ end
792
+
793
+ it "remaps mockable private partial to interface header" do
794
+ includes = [UserInclude.new('header1.h'), UserInclude.new('partial_module.h'), UserInclude.new('header2.h')]
795
+ partials = {
796
+ 'partial_module' => make_partial_config(mocks_type: Partials::PRIVATE)
797
+ }
798
+ impl_filename = 'module_impl.h'
799
+ interface_filename = 'partial_module_interface.h'
800
+ impl_header = UserInclude.new(impl_filename)
801
+ interface_header = UserInclude.new(interface_filename)
802
+
803
+ allow(@file_path_utils).to receive(:form_partial_implementation_header_filename)
804
+ .with('module')
805
+ .and_return(impl_filename)
806
+
807
+ allow(@file_path_utils).to receive(:form_partial_interface_header_filename)
808
+ .with('partial_module')
809
+ .and_return(interface_filename)
810
+
811
+ result = @partializer.remap_implementation_source_includes(
812
+ name: 'module',
813
+ includes: includes,
814
+ partials: partials
815
+ )
816
+
817
+ expect(result).to include(impl_header)
818
+ expect(result).to include(interface_header)
819
+ expect(result).to include(UserInclude.new('header1.h'))
820
+ expect(result).to include(UserInclude.new('header2.h'))
821
+ expect(result).not_to include(UserInclude.new('partial_module.h'))
822
+ end
823
+
824
+ it "remaps multiple mockable partials to interface headers" do
825
+ includes = [
826
+ UserInclude.new('header1.h'),
827
+ UserInclude.new('partial1.h'),
828
+ UserInclude.new('partial2.h'),
829
+ UserInclude.new('header2.h')
830
+ ]
831
+ partials = {
832
+ 'partial1' => make_partial_config(mocks_type: Partials::PUBLIC),
833
+ 'partial2' => make_partial_config(mocks_type: Partials::PRIVATE)
834
+ }
835
+ impl_filename = 'module_impl.h'
836
+ interface_filename1 = 'partial1_module_interface.h'
837
+ interface_filename2 = 'partial2_module_interface.h'
838
+ impl_header = UserInclude.new(impl_filename)
839
+ interface_header1 = UserInclude.new(interface_filename1)
840
+ interface_header2 = UserInclude.new(interface_filename2)
841
+
842
+ allow(@file_path_utils).to receive(:form_partial_implementation_header_filename)
843
+ .with('module')
844
+ .and_return(impl_filename)
845
+
846
+ allow(@file_path_utils).to receive(:form_partial_interface_header_filename)
847
+ .with('partial1')
848
+ .and_return(interface_filename1)
849
+
850
+ allow(@file_path_utils).to receive(:form_partial_interface_header_filename)
851
+ .with('partial2')
852
+ .and_return(interface_filename2)
853
+
854
+ result = @partializer.remap_implementation_source_includes(
855
+ name: 'module',
856
+ includes: includes,
857
+ partials: partials
858
+ )
859
+
860
+ expect(result).to include(impl_header)
861
+ expect(result).to include(interface_header1)
862
+ expect(result).to include(interface_header2)
863
+ expect(result).to include(UserInclude.new('header1.h'))
864
+ expect(result).to include(UserInclude.new('header2.h'))
865
+ expect(result).not_to include(UserInclude.new('partial1.h'))
866
+ expect(result).not_to include(UserInclude.new('partial2.h'))
867
+ end
868
+
869
+ it "remaps testable partial to implementation header" do
870
+ includes = [UserInclude.new('header1.h'), UserInclude.new('partial_module.h'), UserInclude.new('header2.h')]
871
+ partials = {
872
+ 'partial_module' => make_partial_config(tests_type: Partials::PUBLIC)
873
+ }
874
+ filename = 'module_impl.h'
875
+ impl_header = UserInclude.new(filename)
876
+
877
+ allow(@file_path_utils).to receive(:form_partial_implementation_header_filename)
878
+ .with('module')
879
+ .and_return(filename)
880
+
881
+ result = @partializer.remap_implementation_source_includes(
882
+ name: 'module',
883
+ includes: includes,
884
+ partials: partials
885
+ )
886
+
887
+ expect(result).to include(impl_header)
888
+ expect(result).to include(UserInclude.new('header1.h'))
889
+ expect(result).to include(UserInclude.new('partial_module.h'))
890
+ expect(result).to include(UserInclude.new('header2.h'))
891
+ end
892
+
893
+ it "remaps mix of mockable and testable partials" do
894
+ includes = [
895
+ UserInclude.new('header1.h'),
896
+ UserInclude.new('partial1.h'),
897
+ UserInclude.new('partial2.h'),
898
+ UserInclude.new('header2.h')
899
+ ]
900
+ partials = {
901
+ 'partial1' => make_partial_config(mocks_type: Partials::PUBLIC),
902
+ 'partial2' => make_partial_config(tests_type: Partials::PRIVATE)
903
+ }
904
+ impl_filename = 'module_impl.h'
905
+ interface1_filename = 'partial1_module_interface.h'
906
+ impl_header = UserInclude.new(impl_filename)
907
+ interface_header1 = UserInclude.new(interface1_filename)
908
+
909
+ allow(@file_path_utils).to receive(:form_partial_implementation_header_filename)
910
+ .with('module')
911
+ .and_return(impl_filename)
912
+
913
+ allow(@file_path_utils).to receive(:form_partial_interface_header_filename)
914
+ .with('partial1')
915
+ .and_return(interface1_filename)
916
+
917
+ result = @partializer.remap_implementation_source_includes(
918
+ name: 'module',
919
+ includes: includes,
920
+ partials: partials
921
+ )
922
+
923
+ expect(result).to include(impl_header)
924
+ expect(result).to include(interface_header1)
925
+ expect(result).to include(UserInclude.new('partial2.h'))
926
+ expect(result).to include(UserInclude.new('header1.h'))
927
+ expect(result).to include(UserInclude.new('header2.h'))
928
+ expect(result).not_to include(UserInclude.new('partial1.h'))
929
+ end
930
+
931
+ it "removes duplicates after remapping" do
932
+ includes = [
933
+ UserInclude.new('header1.h'),
934
+ UserInclude.new('partial_module.h'),
935
+ UserInclude.new('header1.h'),
936
+ UserInclude.new('header2.h')
937
+ ]
938
+ partials = {
939
+ 'partial_module' => make_partial_config(mocks_type: Partials::PUBLIC)
940
+ }
941
+ impl_filename = 'module_impl.h'
942
+ interface_filename = 'partial_module_interface.h'
943
+ impl_header = UserInclude.new(impl_filename)
944
+ interface_header = UserInclude.new(interface_filename)
945
+
946
+ allow(@file_path_utils).to receive(:form_partial_implementation_header_filename)
947
+ .with('module')
948
+ .and_return(impl_filename)
949
+
950
+ allow(@file_path_utils).to receive(:form_partial_interface_header_filename)
951
+ .with('partial_module')
952
+ .and_return(interface_filename)
953
+
954
+ result = @partializer.remap_implementation_source_includes(
955
+ name: 'module',
956
+ includes: includes,
957
+ partials: partials
958
+ )
959
+
960
+ expect(result.count(UserInclude.new('header1.h'))).to eq(1)
961
+ expect(result).to include(impl_header)
962
+ expect(result).to include(interface_header)
963
+ expect(result).to include(UserInclude.new('header2.h'))
964
+ end
965
+
966
+ it "handles case-insensitive module header removal" do
967
+ includes = [
968
+ UserInclude.new('header1.h'),
969
+ UserInclude.new('module.h'),
970
+ UserInclude.new('MODULE.H'),
971
+ UserInclude.new('header2.h')
972
+ ]
973
+ partials = {}
974
+ filename ='module_impl.h'
975
+ impl_header = UserInclude.new(filename)
976
+
977
+ allow(@file_path_utils).to receive(:form_partial_implementation_header_filename)
978
+ .with('module')
979
+ .and_return(filename)
980
+
981
+ result = @partializer.remap_implementation_source_includes(
982
+ name: 'module',
983
+ includes: includes,
984
+ partials: partials
985
+ )
986
+
987
+ expect(result).to include(impl_header)
988
+ expect(result).to include(UserInclude.new('header1.h'))
989
+ expect(result).to include(UserInclude.new('header2.h'))
990
+ expect(result).not_to include(UserInclude.new('module.h'))
991
+ expect(result).not_to include(UserInclude.new('MODULE.H'))
992
+ end
993
+
994
+ it "handles case-insensitive partial module remapping" do
995
+ includes = [
996
+ UserInclude.new('header1.h'),
997
+ UserInclude.new('partial_module.h'),
998
+ UserInclude.new('PARTIAL_MODULE.H'),
999
+ UserInclude.new('header2.h')
1000
+ ]
1001
+ partials = {
1002
+ 'partial_module' => make_partial_config(mocks_type: Partials::PUBLIC)
1003
+ }
1004
+ impl_filename = 'module_impl.h'
1005
+ interface_filename = 'partial_module_interface.h'
1006
+ impl_header = UserInclude.new(impl_filename)
1007
+ interface_header = UserInclude.new(interface_filename)
1008
+
1009
+ allow(@file_path_utils).to receive(:form_partial_implementation_header_filename)
1010
+ .with('module')
1011
+ .and_return(impl_filename)
1012
+
1013
+ allow(@file_path_utils).to receive(:form_partial_interface_header_filename)
1014
+ .with('partial_module')
1015
+ .and_return(interface_filename)
1016
+
1017
+ result = @partializer.remap_implementation_source_includes(
1018
+ name: 'module',
1019
+ includes: includes,
1020
+ partials: partials
1021
+ )
1022
+
1023
+ expect(result).to include(impl_header)
1024
+ expect(result).to include(interface_header)
1025
+ expect(result).to include(UserInclude.new('header1.h'))
1026
+ expect(result).to include(UserInclude.new('header2.h'))
1027
+ expect(result).not_to include(UserInclude.new('partial_module.h'))
1028
+ expect(result).not_to include(UserInclude.new('PARTIAL_MODULE.H'))
1029
+ end
1030
+ end
1031
+
1032
+ ###
1033
+ ### extract_module_contents()
1034
+ ###
1035
+
1036
+ context "#extract_module_contents" do
1037
+ before(:each) do
1038
+ @name = 'TestModule'
1039
+
1040
+ # associate_function_line_numbers is called for every file processed; stub by default
1041
+ allow(@partializer_helper).to receive(:associate_function_line_numbers)
1042
+ # static var extraction/promotion called for every file processed; stub by default
1043
+ allow(@partializer_helper).to receive(:extract_function_scope_static_vars).and_return([])
1044
+ end
1045
+
1046
+ it "returns empty CModule when both directives_only_filepaths are nil" do
1047
+ config = Partials::Config.new(
1048
+ module: 'module1',
1049
+ header: Partials::ConfigFileInfo.new(filepath: '/path/to/header.h', directives_only_filepath: nil),
1050
+ source: Partials::ConfigFileInfo.new(filepath: '/path/to/source.c', directives_only_filepath: nil)
1051
+ )
1052
+
1053
+ expect(@c_extractor).not_to receive(:from_file)
1054
+ expect(@partializer_helper).not_to receive(:associate_function_line_numbers)
1055
+ expect(@partializer_helper).not_to receive(:extract_function_scope_static_vars)
1056
+
1057
+ result = @partializer.extract_module_contents(@name, config, false)
1058
+
1059
+ expect(result.function_definitions).to eq([])
1060
+ expect(result.variable_declarations).to eq([])
1061
+ end
1062
+
1063
+ it "extracts contents from header preprocessed file only" do
1064
+ header_funcs = [
1065
+ double('func1', name: 'func1', signature: 'void func1(void)'),
1066
+ double('func2', name: 'func2', signature: 'int func2(int x)')
1067
+ ]
1068
+ header_contents = CExtractorTypes::CModule.new(function_definitions: header_funcs, variable_declarations: [])
1069
+
1070
+ config = Partials::Config.new(
1071
+ module: 'module1',
1072
+ header: Partials::ConfigFileInfo.new(filepath: '/path/to/header.h', directives_only_filepath: '/build/preproc/header.i'),
1073
+ source: Partials::ConfigFileInfo.new(filepath: nil, directives_only_filepath: nil)
1074
+ )
1075
+
1076
+ expect(@c_extractor).to receive(:from_file).with('/build/preproc/header.i').and_return(header_contents)
1077
+ expect(@partializer_helper).to receive(:associate_function_line_numbers).with(
1078
+ name: @name, funcs: header_funcs, filepath: '/path/to/header.h', fallback: false
1079
+ )
1080
+
1081
+ result = @partializer.extract_module_contents(@name, config, false)
1082
+
1083
+ expect(result.function_definitions).to eq(header_funcs)
1084
+ expect(result.variable_declarations).to eq([])
1085
+ end
1086
+
1087
+ it "extracts contents from source preprocessed file only" do
1088
+ source_funcs = [
1089
+ double('func1', name: 'func1', signature: 'static void func1(void)'),
1090
+ double('func2', name: 'func2', signature: 'static int func2(int x)')
1091
+ ]
1092
+ source_contents = CExtractorTypes::CModule.new(function_definitions: source_funcs, variable_declarations: [])
1093
+
1094
+ config = Partials::Config.new(
1095
+ module: 'module1',
1096
+ header: Partials::ConfigFileInfo.new(filepath: nil, directives_only_filepath: nil),
1097
+ source: Partials::ConfigFileInfo.new(filepath: '/path/to/source.c', directives_only_filepath: '/build/preproc/source.i')
1098
+ )
1099
+
1100
+ expect(@c_extractor).to receive(:from_file).with('/build/preproc/source.i').and_return(source_contents)
1101
+ expect(@partializer_helper).to receive(:associate_function_line_numbers).with(
1102
+ name: @name, funcs: source_funcs, filepath: '/path/to/source.c', fallback: false
1103
+ )
1104
+
1105
+ result = @partializer.extract_module_contents(@name, config, false)
1106
+
1107
+ expect(result.function_definitions).to eq(source_funcs)
1108
+ expect(result.variable_declarations).to eq([])
1109
+ end
1110
+
1111
+ it "extracts and merges contents from both source and header preprocessed files" do
1112
+ source_funcs = [
1113
+ double('func1', name: 'func1', signature: 'static void func1(void)'),
1114
+ double('func2', name: 'func2', signature: 'static int func2(int x)')
1115
+ ]
1116
+ header_funcs = [
1117
+ double('func3', name: 'func3', signature: 'void func3(void)'),
1118
+ double('func4', name: 'func4', signature: 'int func4(int x)')
1119
+ ]
1120
+ source_contents = CExtractorTypes::CModule.new(function_definitions: source_funcs, variable_declarations: [double('var1')])
1121
+ header_contents = CExtractorTypes::CModule.new(function_definitions: header_funcs, variable_declarations: [double('var2')])
1122
+
1123
+ config = Partials::Config.new(
1124
+ module: 'module1',
1125
+ header: Partials::ConfigFileInfo.new(filepath: '/path/to/header.h', directives_only_filepath: '/build/preproc/header.i'),
1126
+ source: Partials::ConfigFileInfo.new(filepath: '/path/to/source.c', directives_only_filepath: '/build/preproc/source.i')
1127
+ )
1128
+
1129
+ allow(@c_extractor).to receive(:from_file).with('/build/preproc/source.i').and_return(source_contents)
1130
+ allow(@c_extractor).to receive(:from_file).with('/build/preproc/header.i').and_return(header_contents)
1131
+ expect(@partializer_helper).to receive(:associate_function_line_numbers).with(
1132
+ name: @name, funcs: source_funcs, filepath: '/path/to/source.c', fallback: false
1133
+ )
1134
+ expect(@partializer_helper).to receive(:associate_function_line_numbers).with(
1135
+ name: @name, funcs: header_funcs, filepath: '/path/to/header.h', fallback: false
1136
+ )
1137
+
1138
+ result = @partializer.extract_module_contents(@name, config, false)
1139
+
1140
+ expect(result.function_definitions).to eq(header_funcs + source_funcs)
1141
+ expect(result.variable_declarations).to eq(header_contents.variable_declarations + source_contents.variable_declarations)
1142
+ end
1143
+
1144
+ it "calls associate_function_line_numbers with the preprocessed expansion filepath, not the preprocessed filepath" do
1145
+ source_funcs = [double('func1', name: 'func1')]
1146
+ source_contents = CExtractorTypes::CModule.new(function_definitions: source_funcs, variable_declarations: [])
1147
+
1148
+ config = Partials::Config.new(
1149
+ module: 'module1',
1150
+ header: Partials::ConfigFileInfo.new(filepath: nil, directives_only_filepath: nil),
1151
+ source: Partials::ConfigFileInfo.new(filepath: '/src/module1.c', directives_only_filepath: '/build/preproc/module1.i')
1152
+ )
1153
+
1154
+ allow(@c_extractor).to receive(:from_file).and_return(source_contents)
1155
+
1156
+ # associate_function_line_numbers must receive the original filepath, not the preprocessed one
1157
+ expect(@partializer_helper).to receive(:associate_function_line_numbers).with(
1158
+ name: @name, funcs: source_funcs, filepath: '/src/module1.c', fallback: false
1159
+ )
1160
+
1161
+ @partializer.extract_module_contents(@name, config, false)
1162
+ end
1163
+
1164
+ it "passes extraction name through to associate_function_line_numbers" do
1165
+ source_funcs = [double('func1', name: 'func1')]
1166
+ source_contents = CExtractorTypes::CModule.new(function_definitions: source_funcs, variable_declarations: [])
1167
+
1168
+ config = Partials::Config.new(
1169
+ module: 'module1',
1170
+ header: Partials::ConfigFileInfo.new(filepath: nil, directives_only_filepath: nil),
1171
+ source: Partials::ConfigFileInfo.new(filepath: '/src/module1.c', directives_only_filepath: '/build/preproc/module1.i')
1172
+ )
1173
+
1174
+ allow(@c_extractor).to receive(:from_file).and_return(source_contents)
1175
+
1176
+ expect(@partializer_helper).to receive(:associate_function_line_numbers).with(
1177
+ name: 'SpecificTestName', funcs: source_funcs, filepath: '/src/module1.c', fallback: false
1178
+ )
1179
+
1180
+ @partializer.extract_module_contents('SpecificTestName', config, false)
1181
+ end
1182
+
1183
+ it "returns empty CModule when a preprocessed file has no contents" do
1184
+ empty_contents = CExtractorTypes::CModule.new(function_definitions: [], variable_declarations: [])
1185
+
1186
+ config = Partials::Config.new(
1187
+ module: 'module1',
1188
+ header: Partials::ConfigFileInfo.new(filepath: '/path/to/header.h', directives_only_filepath: '/build/preproc/header.i'),
1189
+ source: Partials::ConfigFileInfo.new(filepath: nil, directives_only_filepath: nil)
1190
+ )
1191
+
1192
+ expect(@c_extractor).to receive(:from_file).and_return(empty_contents)
1193
+ expect(@partializer_helper).to receive(:associate_function_line_numbers).with(
1194
+ name: @name, funcs: [], filepath: '/path/to/header.h', fallback: false
1195
+ )
1196
+
1197
+ result = @partializer.extract_module_contents(@name, config, false)
1198
+
1199
+ expect(result.function_definitions).to eq([])
1200
+ expect(result.variable_declarations).to eq([])
1201
+ end
1202
+
1203
+ it "appends promoted function-scope static variables to element_sequence" do
1204
+ promoted_var1 = CExtractorTypes::CVariableDeclaration.new(text: 'static int counter = 0;', type: 'int', name: 'counter')
1205
+ promoted_var2 = CExtractorTypes::CVariableDeclaration.new(text: 'static bool flag = false;', type: 'bool', name: 'flag')
1206
+
1207
+ source_contents = CExtractorTypes::CModule.new(function_definitions: [], variable_declarations: [])
1208
+
1209
+ config = Partials::Config.new(
1210
+ module: 'module1',
1211
+ header: Partials::ConfigFileInfo.new(filepath: nil, directives_only_filepath: nil),
1212
+ source: Partials::ConfigFileInfo.new(filepath: '/src/module1.c', directives_only_filepath: '/build/preproc/module1.i')
1213
+ )
1214
+
1215
+ allow(@c_extractor).to receive(:from_file).and_return(source_contents)
1216
+ allow(@partializer_helper).to receive(:extract_function_scope_static_vars).and_return([promoted_var1, promoted_var2])
1217
+
1218
+ result = @partializer.extract_module_contents(@name, config, false)
1219
+
1220
+ expect(result.element_sequence).to eq([promoted_var1, promoted_var2])
1221
+ expect(result.element_sequence[0]).to equal(promoted_var1)
1222
+ expect(result.element_sequence[1]).to equal(promoted_var2)
1223
+ end
1224
+
1225
+ it "calls update_signatures_from_full_expansion when full_expansion_filepath is set on source" do
1226
+ source_funcs = [double('func1', name: 'func1')]
1227
+ source_contents = CExtractorTypes::CModule.new(function_definitions: source_funcs, variable_declarations: [])
1228
+
1229
+ config = Partials::Config.new(
1230
+ module: 'module1',
1231
+ header: Partials::ConfigFileInfo.new(filepath: nil, directives_only_filepath: nil),
1232
+ source: Partials::ConfigFileInfo.new(
1233
+ filepath: '/src/module1.c',
1234
+ directives_only_filepath: '/build/preproc/module1.i',
1235
+ full_expansion_filepath: '/build/preproc/full_expansion/module1.c'
1236
+ )
1237
+ )
1238
+
1239
+ allow(@c_extractor).to receive(:from_file).with('/build/preproc/module1.i').and_return(source_contents)
1240
+ allow(@partializer_helper).to receive(:associate_function_line_numbers)
1241
+
1242
+ expect(@partializer_helper).to receive(:update_signatures_from_full_expansion).with(
1243
+ funcs: source_funcs,
1244
+ full_expansion_filepath: '/build/preproc/full_expansion/module1.c',
1245
+ name: @name,
1246
+ module_name: 'module1',
1247
+ file_type: 'source'
1248
+ )
1249
+
1250
+ @partializer.extract_module_contents(@name, config, false)
1251
+ end
1252
+
1253
+ it "calls update_signatures_from_full_expansion when full_expansion_filepath is set on header" do
1254
+ header_funcs = [double('func1', name: 'func1')]
1255
+ header_contents = CExtractorTypes::CModule.new(function_definitions: header_funcs, variable_declarations: [])
1256
+
1257
+ config = Partials::Config.new(
1258
+ module: 'module1',
1259
+ header: Partials::ConfigFileInfo.new(
1260
+ filepath: '/path/to/header.h',
1261
+ directives_only_filepath: '/build/preproc/header.h',
1262
+ full_expansion_filepath: '/build/preproc/full_expansion/header.h'
1263
+ ),
1264
+ source: Partials::ConfigFileInfo.new(filepath: nil, directives_only_filepath: nil)
1265
+ )
1266
+
1267
+ allow(@c_extractor).to receive(:from_file).with('/build/preproc/header.h').and_return(header_contents)
1268
+ allow(@partializer_helper).to receive(:associate_function_line_numbers)
1269
+
1270
+ expect(@partializer_helper).to receive(:update_signatures_from_full_expansion).with(
1271
+ funcs: header_funcs,
1272
+ full_expansion_filepath: '/build/preproc/full_expansion/header.h',
1273
+ name: @name,
1274
+ module_name: 'module1',
1275
+ file_type: 'header'
1276
+ )
1277
+
1278
+ @partializer.extract_module_contents(@name, config, false)
1279
+ end
1280
+
1281
+ it "does not call update_signatures_from_full_expansion when full_expansion_filepath is nil" do
1282
+ source_funcs = [double('func1', name: 'func1')]
1283
+ source_contents = CExtractorTypes::CModule.new(function_definitions: source_funcs, variable_declarations: [])
1284
+
1285
+ config = Partials::Config.new(
1286
+ module: 'module1',
1287
+ header: Partials::ConfigFileInfo.new(filepath: nil, directives_only_filepath: nil),
1288
+ source: Partials::ConfigFileInfo.new(
1289
+ filepath: '/src/module1.c',
1290
+ directives_only_filepath: '/build/preproc/module1.i',
1291
+ full_expansion_filepath: nil
1292
+ )
1293
+ )
1294
+
1295
+ allow(@c_extractor).to receive(:from_file).with('/build/preproc/module1.i').and_return(source_contents)
1296
+ allow(@partializer_helper).to receive(:associate_function_line_numbers)
1297
+
1298
+ expect(@partializer_helper).not_to receive(:update_signatures_from_full_expansion)
1299
+
1300
+ @partializer.extract_module_contents(@name, config, false)
1301
+ end
1302
+ end
1303
+
1304
+ ###
1305
+ ### extract_implementation_functions()
1306
+ ###
1307
+
1308
+ def make_pf(type: nil, additions: [], subtractions: [])
1309
+ OpenStruct.new(type: type, additions: additions, subtractions: subtractions)
1310
+ end
1311
+
1312
+ def make_config(tests: make_pf, mocks: make_pf)
1313
+ OpenStruct.new(tests: tests, mocks: mocks)
1314
+ end
1315
+
1316
+ context "#extract_implementation_functions" do
1317
+ it "returns nil when config tests type is nil" do
1318
+ defs = []
1319
+ pf = make_pf
1320
+
1321
+ expect(@partializer_helper).not_to receive(:find_and_transform_func)
1322
+
1323
+ allow(@partializer_helper).to receive(:filter_and_transform_funcs)
1324
+ .with(defs, nil, :impl).and_return([])
1325
+ allow(@partializer_helper).to receive(:subtract_funcs)
1326
+ .with(funcs: [], names: []).and_return([])
1327
+
1328
+ result = @partializer.extract_implementation_functions(
1329
+ test: 'test_mod', partial: 'mod', definitions: defs, config: make_config(tests: pf)
1330
+ )
1331
+ expect(result).to be_nil
1332
+ end
1333
+
1334
+ it "delegates initial list to filter_and_transform_funcs for PUBLIC type" do
1335
+ defs = [double('func1', name: 'pub')]
1336
+ filtered = [double('impl_func')]
1337
+ pf = make_pf(type: Partials::PUBLIC)
1338
+
1339
+ expect(@partializer_helper).to receive(:filter_and_transform_funcs)
1340
+ .with(defs, Partials::PUBLIC, :impl).and_return(filtered)
1341
+ allow(@partializer_helper).to receive(:subtract_funcs)
1342
+ .with(funcs: filtered, names: []).and_return(filtered)
1343
+
1344
+ result = @partializer.extract_implementation_functions(
1345
+ test: 'test_mod', partial: 'mod', definitions: defs, config: make_config(tests: pf)
1346
+ )
1347
+ expect(result).to eq(filtered)
1348
+ end
1349
+
1350
+ it "delegates initial list to filter_and_transform_funcs for PRIVATE type" do
1351
+ defs = [double('func1', name: 'priv')]
1352
+ filtered = [double('impl_func')]
1353
+ pf = make_pf(type: Partials::PRIVATE)
1354
+
1355
+ expect(@partializer_helper).to receive(:filter_and_transform_funcs)
1356
+ .with(defs, Partials::PRIVATE, :impl).and_return(filtered)
1357
+ allow(@partializer_helper).to receive(:subtract_funcs)
1358
+ .with(funcs: filtered, names: []).and_return(filtered)
1359
+
1360
+ result = @partializer.extract_implementation_functions(
1361
+ test: 'test_mod', partial: 'mod', definitions: defs, config: make_config(tests: pf)
1362
+ )
1363
+ expect(result).to eq(filtered)
1364
+ end
1365
+
1366
+ it "fills list from additions only for ACCUMULATE type" do
1367
+ defs = [double('func1', name: 'named')]
1368
+ found = double('impl_func', name: 'named')
1369
+ pf = make_pf(type: Partials::ACCUMULATE, additions: ['named'])
1370
+
1371
+ allow(@partializer_helper).to receive(:filter_and_transform_funcs)
1372
+ .with(defs, Partials::ACCUMULATE, :impl).and_return([])
1373
+ expect(@partializer_helper).to receive(:find_and_transform_func)
1374
+ .with(name: 'named', primary_funcs: defs, secondary_funcs: [], output_type: :impl)
1375
+ .and_return(found)
1376
+ allow(@partializer_helper).to receive(:subtract_funcs)
1377
+ .with(funcs: [found], names: []).and_return([found])
1378
+
1379
+ result = @partializer.extract_implementation_functions(
1380
+ test: 'test_mod', partial: 'mod', definitions: defs, config: make_config(tests: pf)
1381
+ )
1382
+ expect(result).to eq([found])
1383
+ end
1384
+
1385
+ it "adds cross-visibility function from additions to initial list" do
1386
+ pub_func = double('pub', name: 'pub')
1387
+ priv_func = double('priv', name: 'priv')
1388
+ defs = [pub_func, priv_func]
1389
+ filtered = [double('impl_pub', name: 'pub')]
1390
+ added = double('impl_priv', name: 'priv')
1391
+ pf = make_pf(type: Partials::PUBLIC, additions: ['priv'])
1392
+
1393
+ allow(@partializer_helper).to receive(:filter_and_transform_funcs)
1394
+ .with(defs, Partials::PUBLIC, :impl).and_return(filtered)
1395
+ expect(@partializer_helper).to receive(:find_and_transform_func)
1396
+ .with(name: 'priv', primary_funcs: defs, secondary_funcs: [], output_type: :impl)
1397
+ .and_return(added)
1398
+ allow(@partializer_helper).to receive(:subtract_funcs)
1399
+ .with(funcs: [filtered[0], added], names: []).and_return([filtered[0], added])
1400
+
1401
+ result = @partializer.extract_implementation_functions(
1402
+ test: 'test_mod', partial: 'mod', definitions: defs, config: make_config(tests: pf)
1403
+ )
1404
+ expect(result).to include(filtered[0], added)
1405
+ end
1406
+
1407
+ it "skips addition when function already in initial list (dedup)" do
1408
+ func = double('impl_pub', name: 'pub')
1409
+ defs = [double('def', name: 'pub')]
1410
+ filtered = [func]
1411
+ pf = make_pf(type: Partials::PUBLIC, additions: ['pub'])
1412
+
1413
+ allow(@partializer_helper).to receive(:filter_and_transform_funcs)
1414
+ .with(defs, Partials::PUBLIC, :impl).and_return(filtered)
1415
+ expect(@partializer_helper).not_to receive(:find_and_transform_func)
1416
+ allow(@partializer_helper).to receive(:subtract_funcs)
1417
+ .with(funcs: filtered, names: []).and_return(filtered)
1418
+
1419
+ result = @partializer.extract_implementation_functions(
1420
+ test: 'test_mod', partial: 'mod', definitions: defs, config: make_config(tests: pf)
1421
+ )
1422
+ expect(result).to eq(filtered)
1423
+ end
1424
+
1425
+ it "delegates subtractions to subtract_funcs" do
1426
+ defs = [double('func', name: 'pub')]
1427
+ filtered = [double('impl_pub', name: 'pub')]
1428
+ pf = make_pf(type: Partials::PUBLIC, subtractions: ['pub'])
1429
+
1430
+ allow(@partializer_helper).to receive(:filter_and_transform_funcs)
1431
+ .with(defs, Partials::PUBLIC, :impl).and_return(filtered)
1432
+ expect(@partializer_helper).to receive(:subtract_funcs)
1433
+ .with(funcs: filtered, names: ['pub']).and_return([])
1434
+ allow(@partializer_helper).to receive(:subtract_funcs)
1435
+ .with(funcs: [], names: []).and_return([])
1436
+
1437
+ result = @partializer.extract_implementation_functions(
1438
+ test: 'test_mod', partial: 'mod', definitions: defs, config: make_config(tests: pf)
1439
+ )
1440
+ expect(result).to eq([])
1441
+ end
1442
+
1443
+ it "subtracts mocks.additions from the impl result" do
1444
+ defs = [double('func', name: 'pub')]
1445
+ filtered = [double('impl_pub', name: 'pub')]
1446
+ test_pf = make_pf(type: Partials::PUBLIC)
1447
+ mock_pf = make_pf(additions: ['pub'])
1448
+
1449
+ allow(@partializer_helper).to receive(:filter_and_transform_funcs)
1450
+ .with(defs, Partials::PUBLIC, :impl).and_return(filtered)
1451
+ allow(@partializer_helper).to receive(:subtract_funcs)
1452
+ .with(funcs: filtered, names: []).and_return(filtered)
1453
+ expect(@partializer_helper).to receive(:subtract_funcs)
1454
+ .with(funcs: filtered, names: ['pub']).and_return([])
1455
+
1456
+ result = @partializer.extract_implementation_functions(
1457
+ test: 'test_mod', partial: 'mod', definitions: defs,
1458
+ config: make_config(tests: test_pf, mocks: mock_pf)
1459
+ )
1460
+ expect(result).to eq([])
1461
+ end
1462
+ end
1463
+
1464
+ ###
1465
+ ### extract_interface_functions()
1466
+ ###
1467
+
1468
+ context "#extract_interface_functions" do
1469
+ it "returns nil when config mocks type is nil" do
1470
+ defs = []
1471
+ decls = []
1472
+ pf = make_pf
1473
+
1474
+ expect(@partializer_helper).not_to receive(:find_and_transform_func)
1475
+
1476
+ allow(@partializer_helper).to receive(:filter_and_transform_funcs)
1477
+ .with(defs, nil, :interface).and_return([])
1478
+ allow(@partializer_helper).to receive(:subtract_funcs)
1479
+ .with(funcs: [], names: []).and_return([])
1480
+
1481
+ result = @partializer.extract_interface_functions(
1482
+ test: 'test_mod', partial: 'mod',
1483
+ definitions: defs, declarations: decls, config: make_config(mocks: pf)
1484
+ )
1485
+ expect(result).to be_nil
1486
+ end
1487
+
1488
+ it "delegates initial list to filter_and_transform_funcs for PUBLIC type" do
1489
+ defs = [double('func1', name: 'pub')]
1490
+ decls = []
1491
+ filtered = [double('iface_func')]
1492
+ pf = make_pf(type: Partials::PUBLIC)
1493
+
1494
+ expect(@partializer_helper).to receive(:filter_and_transform_funcs)
1495
+ .with(defs, Partials::PUBLIC, :interface).and_return(filtered)
1496
+ allow(@partializer_helper).to receive(:subtract_funcs)
1497
+ .with(funcs: filtered, names: []).and_return(filtered)
1498
+
1499
+ result = @partializer.extract_interface_functions(
1500
+ test: 'test_mod', partial: 'mod',
1501
+ definitions: defs, declarations: decls, config: make_config(mocks: pf)
1502
+ )
1503
+ expect(result).to eq(filtered)
1504
+ end
1505
+
1506
+ it "delegates initial list to filter_and_transform_funcs for PRIVATE type" do
1507
+ defs = [double('func1', name: 'priv')]
1508
+ decls = []
1509
+ filtered = [double('iface_func')]
1510
+ pf = make_pf(type: Partials::PRIVATE)
1511
+
1512
+ expect(@partializer_helper).to receive(:filter_and_transform_funcs)
1513
+ .with(defs, Partials::PRIVATE, :interface).and_return(filtered)
1514
+ allow(@partializer_helper).to receive(:subtract_funcs)
1515
+ .with(funcs: filtered, names: []).and_return(filtered)
1516
+
1517
+ result = @partializer.extract_interface_functions(
1518
+ test: 'test_mod', partial: 'mod',
1519
+ definitions: defs, declarations: decls, config: make_config(mocks: pf)
1520
+ )
1521
+ expect(result).to eq(filtered)
1522
+ end
1523
+
1524
+ it "fills list from additions only for ACCUMULATE type" do
1525
+ defs = [double('def', name: 'named')]
1526
+ decls = []
1527
+ found = double('iface_func', name: 'named')
1528
+ pf = make_pf(type: Partials::ACCUMULATE, additions: ['named'])
1529
+
1530
+ allow(@partializer_helper).to receive(:filter_and_transform_funcs)
1531
+ .with(defs, Partials::ACCUMULATE, :interface).and_return([])
1532
+ expect(@partializer_helper).to receive(:find_and_transform_func)
1533
+ .with(name: 'named', primary_funcs: defs, secondary_funcs: decls, output_type: :interface)
1534
+ .and_return(found)
1535
+ allow(@partializer_helper).to receive(:subtract_funcs)
1536
+ .with(funcs: [found], names: []).and_return([found])
1537
+
1538
+ result = @partializer.extract_interface_functions(
1539
+ test: 'test_mod', partial: 'mod',
1540
+ definitions: defs, declarations: decls, config: make_config(mocks: pf)
1541
+ )
1542
+ expect(result).to eq([found])
1543
+ end
1544
+
1545
+ it "searches definitions then declarations for additions" do
1546
+ defs = []
1547
+ decls = [double('decl', name: 'decl_only')]
1548
+ found = double('iface_func', name: 'decl_only')
1549
+ pf = make_pf(type: Partials::ACCUMULATE, additions: ['decl_only'])
1550
+
1551
+ allow(@partializer_helper).to receive(:filter_and_transform_funcs)
1552
+ .with(defs, Partials::ACCUMULATE, :interface).and_return([])
1553
+ expect(@partializer_helper).to receive(:find_and_transform_func)
1554
+ .with(name: 'decl_only', primary_funcs: defs, secondary_funcs: decls, output_type: :interface)
1555
+ .and_return(found)
1556
+ allow(@partializer_helper).to receive(:subtract_funcs)
1557
+ .with(funcs: [found], names: []).and_return([found])
1558
+
1559
+ result = @partializer.extract_interface_functions(
1560
+ test: 'test_mod', partial: 'mod',
1561
+ definitions: defs, declarations: decls, config: make_config(mocks: pf)
1562
+ )
1563
+ expect(result).to include(found)
1564
+ end
1565
+
1566
+ it "skips addition when function already in initial list (dedup)" do
1567
+ func = double('iface_pub', name: 'pub')
1568
+ defs = [double('def', name: 'pub')]
1569
+ decls = []
1570
+ filtered = [func]
1571
+ pf = make_pf(type: Partials::PUBLIC, additions: ['pub'])
1572
+
1573
+ allow(@partializer_helper).to receive(:filter_and_transform_funcs)
1574
+ .with(defs, Partials::PUBLIC, :interface).and_return(filtered)
1575
+ expect(@partializer_helper).not_to receive(:find_and_transform_func)
1576
+ allow(@partializer_helper).to receive(:subtract_funcs)
1577
+ .with(funcs: filtered, names: []).and_return(filtered)
1578
+
1579
+ result = @partializer.extract_interface_functions(
1580
+ test: 'test_mod', partial: 'mod',
1581
+ definitions: defs, declarations: decls, config: make_config(mocks: pf)
1582
+ )
1583
+ expect(result).to eq(filtered)
1584
+ end
1585
+
1586
+ it "delegates subtractions to subtract_funcs" do
1587
+ defs = [double('func', name: 'pub')]
1588
+ decls = []
1589
+ filtered = [double('iface_pub', name: 'pub')]
1590
+ pf = make_pf(type: Partials::PUBLIC, subtractions: ['pub'])
1591
+
1592
+ allow(@partializer_helper).to receive(:filter_and_transform_funcs)
1593
+ .with(defs, Partials::PUBLIC, :interface).and_return(filtered)
1594
+ expect(@partializer_helper).to receive(:subtract_funcs)
1595
+ .with(funcs: filtered, names: ['pub']).and_return([])
1596
+ allow(@partializer_helper).to receive(:subtract_funcs)
1597
+ .with(funcs: [], names: []).and_return([])
1598
+
1599
+ result = @partializer.extract_interface_functions(
1600
+ test: 'test_mod', partial: 'mod',
1601
+ definitions: defs, declarations: decls, config: make_config(mocks: pf)
1602
+ )
1603
+ expect(result).to eq([])
1604
+ end
1605
+
1606
+ it "subtracts tests.additions from the interface result" do
1607
+ defs = [double('func', name: 'pub')]
1608
+ decls = []
1609
+ filtered = [double('iface_pub', name: 'pub')]
1610
+ mock_pf = make_pf(type: Partials::PUBLIC)
1611
+ test_pf = make_pf(additions: ['pub'])
1612
+
1613
+ allow(@partializer_helper).to receive(:filter_and_transform_funcs)
1614
+ .with(defs, Partials::PUBLIC, :interface).and_return(filtered)
1615
+ allow(@partializer_helper).to receive(:subtract_funcs)
1616
+ .with(funcs: filtered, names: []).and_return(filtered)
1617
+ expect(@partializer_helper).to receive(:subtract_funcs)
1618
+ .with(funcs: filtered, names: ['pub']).and_return([])
1619
+
1620
+ result = @partializer.extract_interface_functions(
1621
+ test: 'test_mod', partial: 'mod',
1622
+ definitions: defs, declarations: decls,
1623
+ config: make_config(tests: test_pf, mocks: mock_pf)
1624
+ )
1625
+ expect(result).to eq([])
1626
+ end
1627
+ end
1628
+
1629
+ end