ceedling 0.28.2 → 0.31.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (873) hide show
  1. checksums.yaml +5 -5
  2. data/Gemfile +4 -4
  3. data/Gemfile.lock +20 -17
  4. data/README.md +78 -33
  5. data/assets/auto_link_deep_dependencies/src/a.c +7 -0
  6. data/assets/auto_link_deep_dependencies/src/b.c +7 -0
  7. data/assets/auto_link_deep_dependencies/src/c.c +8 -0
  8. data/assets/auto_link_deep_dependencies/src/internal_inc/a.h +6 -0
  9. data/assets/auto_link_deep_dependencies/src/internal_inc/b.h +6 -0
  10. data/assets/auto_link_deep_dependencies/src/internal_inc/c.h +6 -0
  11. data/assets/auto_link_deep_dependencies/src/internal_inc/never_compiled.h +6 -0
  12. data/assets/auto_link_deep_dependencies/src/never_compiled.c +6 -0
  13. data/assets/auto_link_deep_dependencies/test/test_a.c +11 -0
  14. data/assets/auto_link_deep_dependencies/test/test_b.c +11 -0
  15. data/assets/auto_link_deep_dependencies/test/test_c.c +11 -0
  16. data/assets/ceedling +3 -0
  17. data/assets/ceedling.cmd +1 -0
  18. data/assets/default_gitignore +5 -0
  19. data/assets/project_as_gem.yml +19 -8
  20. data/assets/project_with_guts.yml +20 -8
  21. data/assets/project_with_guts_gcov.yml +22 -8
  22. data/assets/test_example_file_unity_printf.c +12 -0
  23. data/assets/test_example_file_verbose.c +12 -0
  24. data/assets/test_example_with_parameterized_tests.c +19 -0
  25. data/assets/tests_with_defines/src/adc_hardware.c +11 -0
  26. data/assets/tests_with_defines/src/adc_hardware.h +6 -0
  27. data/assets/tests_with_defines/src/adc_hardware_configurator.c +11 -0
  28. data/assets/tests_with_defines/src/adc_hardware_configurator.h +10 -0
  29. data/assets/tests_with_defines/test/test_adc_hardware.c +21 -0
  30. data/assets/tests_with_defines/test/test_adc_hardware_special.c +21 -0
  31. data/assets/uncovered_example_file.c +5 -0
  32. data/bin/ceedling +111 -53
  33. data/ceedling.gemspec +25 -11
  34. data/ceedling.sublime-project +28 -0
  35. data/ceedling.sublime-workspace +452 -0
  36. data/config/test_environment.rb +0 -1
  37. data/docs/Ceedling Basic Porting.pdf +0 -0
  38. data/docs/Ceedling Managing Release Code.pdf +0 -0
  39. data/docs/Ceedling Powerful Plugins.pdf +0 -0
  40. data/docs/Ceedling Working with IDEs.pdf +0 -0
  41. data/docs/CeedlingPacket.md +417 -99
  42. data/docs/CeedlingUpgrade.md +83 -0
  43. data/examples/blinky/project.yml +5 -2
  44. data/examples/blinky/rakefile.rb +2 -2
  45. data/examples/temp_sensor/build/test/cache/AdcConductor.h +20 -0
  46. data/examples/temp_sensor/build/test/cache/AdcHardware.h +16 -0
  47. data/examples/temp_sensor/build/test/cache/AdcHardwareConfigurator.h +14 -0
  48. data/examples/temp_sensor/build/test/cache/AdcModel.h +20 -0
  49. data/examples/temp_sensor/build/test/cache/AdcTemperatureSensor.h +14 -0
  50. data/examples/temp_sensor/build/test/cache/Executor.h +12 -0
  51. data/examples/temp_sensor/build/test/cache/IntrinsicsWrapper.h +9 -0
  52. data/examples/temp_sensor/build/test/cache/Model.h +10 -0
  53. data/examples/temp_sensor/build/test/cache/TaskScheduler.h +16 -0
  54. data/examples/temp_sensor/build/test/cache/TemperatureCalculator.h +10 -0
  55. data/examples/temp_sensor/build/test/cache/TemperatureFilter.h +14 -0
  56. data/examples/temp_sensor/build/test/cache/TestAdcConductor.c +169 -0
  57. data/examples/temp_sensor/build/test/cache/TestAdcHardware.c +82 -0
  58. data/examples/temp_sensor/build/test/cache/TestAdcModel.c +59 -0
  59. data/examples/temp_sensor/build/test/cache/TestExecutor.c +63 -0
  60. data/examples/temp_sensor/build/test/cache/TestMain.c +43 -0
  61. data/examples/temp_sensor/build/test/cache/TestModel.c +34 -0
  62. data/examples/temp_sensor/build/test/cache/TestTaskScheduler.c +204 -0
  63. data/examples/temp_sensor/build/test/cache/TestTemperatureCalculator.c +70 -0
  64. data/examples/temp_sensor/build/test/cache/TestTemperatureFilter.c +154 -0
  65. data/examples/temp_sensor/build/test/cache/TestTimerConductor.c +57 -0
  66. data/examples/temp_sensor/build/test/cache/TestTimerHardware.c +47 -0
  67. data/examples/temp_sensor/build/test/cache/TestTimerModel.c +31 -0
  68. data/examples/temp_sensor/build/test/cache/TestUsartBaudRateRegisterCalculator.c +38 -0
  69. data/examples/temp_sensor/build/test/cache/TestUsartConductor.c +73 -0
  70. data/examples/temp_sensor/build/test/cache/TestUsartHardware.c +66 -0
  71. data/examples/temp_sensor/build/test/cache/TestUsartModel.c +73 -0
  72. data/examples/temp_sensor/build/test/cache/TimerConductor.h +12 -0
  73. data/examples/temp_sensor/build/test/cache/TimerConfigurator.h +24 -0
  74. data/examples/temp_sensor/build/test/cache/TimerHardware.h +10 -0
  75. data/examples/temp_sensor/build/test/cache/TimerInterruptHandler.h +14 -0
  76. data/examples/temp_sensor/build/test/cache/TimerModel.h +10 -0
  77. data/examples/temp_sensor/build/test/cache/UsartBaudRateRegisterCalculator.h +10 -0
  78. data/examples/temp_sensor/build/test/cache/UsartConductor.h +9 -0
  79. data/examples/temp_sensor/build/test/cache/UsartConfigurator.h +20 -0
  80. data/examples/temp_sensor/build/test/cache/UsartHardware.h +12 -0
  81. data/examples/temp_sensor/build/test/cache/UsartModel.h +14 -0
  82. data/examples/temp_sensor/build/test/cache/UsartPutChar.h +10 -0
  83. data/examples/temp_sensor/build/test/cache/defines_dependency.yml +77 -0
  84. data/examples/temp_sensor/build/test/cache/input.yml +310 -0
  85. data/examples/temp_sensor/build/test/dependencies/AdcConductor.d +2 -0
  86. data/examples/temp_sensor/build/test/dependencies/AdcHardware.d +3 -0
  87. data/examples/temp_sensor/build/test/dependencies/AdcModel.d +3 -0
  88. data/examples/temp_sensor/build/test/dependencies/Executor.d +3 -0
  89. data/examples/temp_sensor/build/test/dependencies/Main.d +11 -0
  90. data/examples/temp_sensor/build/test/dependencies/MockAdcConductor.d +6 -0
  91. data/examples/temp_sensor/build/test/dependencies/MockAdcHardware.d +6 -0
  92. data/examples/temp_sensor/build/test/dependencies/MockAdcHardwareConfigurator.d +8 -0
  93. data/examples/temp_sensor/build/test/dependencies/MockAdcModel.d +6 -0
  94. data/examples/temp_sensor/build/test/dependencies/MockAdcTemperatureSensor.d +8 -0
  95. data/examples/temp_sensor/build/test/dependencies/MockExecutor.d +6 -0
  96. data/examples/temp_sensor/build/test/dependencies/MockIntrinsicsWrapper.d +7 -0
  97. data/examples/temp_sensor/build/test/dependencies/MockModel.d +6 -0
  98. data/examples/temp_sensor/build/test/dependencies/MockTaskScheduler.d +7 -0
  99. data/examples/temp_sensor/build/test/dependencies/MockTemperatureCalculator.d +8 -0
  100. data/examples/temp_sensor/build/test/dependencies/MockTemperatureFilter.d +8 -0
  101. data/examples/temp_sensor/build/test/dependencies/MockTimerConductor.d +7 -0
  102. data/examples/temp_sensor/build/test/dependencies/MockTimerConfigurator.d +8 -0
  103. data/examples/temp_sensor/build/test/dependencies/MockTimerHardware.d +7 -0
  104. data/examples/temp_sensor/build/test/dependencies/MockTimerInterruptHandler.d +8 -0
  105. data/examples/temp_sensor/build/test/dependencies/MockTimerModel.d +6 -0
  106. data/examples/temp_sensor/build/test/dependencies/MockUsartBaudRateRegisterCalculator.d +8 -0
  107. data/examples/temp_sensor/build/test/dependencies/MockUsartConductor.d +7 -0
  108. data/examples/temp_sensor/build/test/dependencies/MockUsartConfigurator.d +8 -0
  109. data/examples/temp_sensor/build/test/dependencies/MockUsartHardware.d +7 -0
  110. data/examples/temp_sensor/build/test/dependencies/MockUsartModel.d +6 -0
  111. data/examples/temp_sensor/build/test/dependencies/MockUsartPutChar.d +6 -0
  112. data/examples/temp_sensor/build/test/dependencies/Model.d +2 -0
  113. data/examples/temp_sensor/build/test/dependencies/TaskScheduler.d +2 -0
  114. data/examples/temp_sensor/build/test/dependencies/TemperatureCalculator.d +2 -0
  115. data/examples/temp_sensor/build/test/dependencies/TemperatureFilter.d +2 -0
  116. data/examples/temp_sensor/build/test/dependencies/TestAdcConductor.d +6 -0
  117. data/examples/temp_sensor/build/test/dependencies/TestAdcConductor_runner.d +8 -0
  118. data/examples/temp_sensor/build/test/dependencies/TestAdcHardware.d +7 -0
  119. data/examples/temp_sensor/build/test/dependencies/TestAdcHardware_runner.d +9 -0
  120. data/examples/temp_sensor/build/test/dependencies/TestAdcModel.d +7 -0
  121. data/examples/temp_sensor/build/test/dependencies/TestAdcModel_runner.d +10 -0
  122. data/examples/temp_sensor/build/test/dependencies/TestExecutor.d +8 -0
  123. data/examples/temp_sensor/build/test/dependencies/TestExecutor_runner.d +11 -0
  124. data/examples/temp_sensor/build/test/dependencies/TestMain.d +4 -0
  125. data/examples/temp_sensor/build/test/dependencies/TestMain_runner.d +6 -0
  126. data/examples/temp_sensor/build/test/dependencies/TestModel.d +6 -0
  127. data/examples/temp_sensor/build/test/dependencies/TestModel_runner.d +8 -0
  128. data/examples/temp_sensor/build/test/dependencies/TestTaskScheduler.d +4 -0
  129. data/examples/temp_sensor/build/test/dependencies/TestTaskScheduler_runner.d +4 -0
  130. data/examples/temp_sensor/build/test/dependencies/TestTemperatureCalculator.d +5 -0
  131. data/examples/temp_sensor/build/test/dependencies/TestTemperatureCalculator_runner.d +4 -0
  132. data/examples/temp_sensor/build/test/dependencies/TestTemperatureFilter.d +4 -0
  133. data/examples/temp_sensor/build/test/dependencies/TestTemperatureFilter_runner.d +4 -0
  134. data/examples/temp_sensor/build/test/dependencies/TestTimerConductor.d +7 -0
  135. data/examples/temp_sensor/build/test/dependencies/TestTimerConductor_runner.d +10 -0
  136. data/examples/temp_sensor/build/test/dependencies/TestTimerHardware.d +5 -0
  137. data/examples/temp_sensor/build/test/dependencies/TestTimerHardware_runner.d +8 -0
  138. data/examples/temp_sensor/build/test/dependencies/TestTimerModel.d +5 -0
  139. data/examples/temp_sensor/build/test/dependencies/TestTimerModel_runner.d +7 -0
  140. data/examples/temp_sensor/build/test/dependencies/TestUsartBaudRateRegisterCalculator.d +5 -0
  141. data/examples/temp_sensor/build/test/dependencies/TestUsartBaudRateRegisterCalculator_runner.d +4 -0
  142. data/examples/temp_sensor/build/test/dependencies/TestUsartConductor.d +7 -0
  143. data/examples/temp_sensor/build/test/dependencies/TestUsartConductor_runner.d +9 -0
  144. data/examples/temp_sensor/build/test/dependencies/TestUsartHardware.d +6 -0
  145. data/examples/temp_sensor/build/test/dependencies/TestUsartHardware_runner.d +8 -0
  146. data/examples/temp_sensor/build/test/dependencies/TestUsartModel.d +7 -0
  147. data/examples/temp_sensor/build/test/dependencies/TestUsartModel_runner.d +9 -0
  148. data/examples/temp_sensor/build/test/dependencies/TimerConductor.d +3 -0
  149. data/examples/temp_sensor/build/test/dependencies/TimerHardware.d +2 -0
  150. data/examples/temp_sensor/build/test/dependencies/TimerModel.d +2 -0
  151. data/examples/temp_sensor/build/test/dependencies/UnityHelper.d +4 -0
  152. data/examples/temp_sensor/build/test/dependencies/UsartBaudRateRegisterCalculator.d +3 -0
  153. data/examples/temp_sensor/build/test/dependencies/UsartConductor.d +3 -0
  154. data/examples/temp_sensor/build/test/dependencies/UsartHardware.d +2 -0
  155. data/examples/temp_sensor/build/test/dependencies/UsartModel.d +3 -0
  156. data/examples/temp_sensor/build/test/dependencies/cmock.d +6 -0
  157. data/examples/temp_sensor/build/test/dependencies/unity.d +4 -0
  158. data/examples/temp_sensor/build/test/mocks/MockAdcConductor.c +391 -0
  159. data/examples/temp_sensor/build/test/mocks/MockAdcConductor.h +64 -0
  160. data/examples/temp_sensor/build/test/mocks/MockAdcHardware.c +313 -0
  161. data/examples/temp_sensor/build/test/mocks/MockAdcHardware.h +58 -0
  162. data/examples/temp_sensor/build/test/mocks/MockAdcHardwareConfigurator.c +218 -0
  163. data/examples/temp_sensor/build/test/mocks/MockAdcHardwareConfigurator.h +52 -0
  164. data/examples/temp_sensor/build/test/mocks/MockAdcModel.c +453 -0
  165. data/examples/temp_sensor/build/test/mocks/MockAdcModel.h +64 -0
  166. data/examples/temp_sensor/build/test/mocks/MockAdcTemperatureSensor.c +252 -0
  167. data/examples/temp_sensor/build/test/mocks/MockAdcTemperatureSensor.h +52 -0
  168. data/examples/temp_sensor/build/test/mocks/MockExecutor.c +174 -0
  169. data/examples/temp_sensor/build/test/mocks/MockExecutor.h +46 -0
  170. data/examples/temp_sensor/build/test/mocks/MockIntrinsicsWrapper.c +157 -0
  171. data/examples/temp_sensor/build/test/mocks/MockIntrinsicsWrapper.h +46 -0
  172. data/examples/temp_sensor/build/test/mocks/MockModel.c +96 -0
  173. data/examples/temp_sensor/build/test/mocks/MockModel.h +40 -0
  174. data/examples/temp_sensor/build/test/mocks/MockTaskScheduler.c +326 -0
  175. data/examples/temp_sensor/build/test/mocks/MockTaskScheduler.h +58 -0
  176. data/examples/temp_sensor/build/test/mocks/MockTemperatureCalculator.c +126 -0
  177. data/examples/temp_sensor/build/test/mocks/MockTemperatureCalculator.h +40 -0
  178. data/examples/temp_sensor/build/test/mocks/MockTemperatureFilter.c +248 -0
  179. data/examples/temp_sensor/build/test/mocks/MockTemperatureFilter.h +52 -0
  180. data/examples/temp_sensor/build/test/mocks/MockTimerConductor.c +157 -0
  181. data/examples/temp_sensor/build/test/mocks/MockTimerConductor.h +46 -0
  182. data/examples/temp_sensor/build/test/mocks/MockTimerConfigurator.c +523 -0
  183. data/examples/temp_sensor/build/test/mocks/MockTimerConfigurator.h +82 -0
  184. data/examples/temp_sensor/build/test/mocks/MockTimerHardware.c +96 -0
  185. data/examples/temp_sensor/build/test/mocks/MockTimerHardware.h +40 -0
  186. data/examples/temp_sensor/build/test/mocks/MockTimerInterruptHandler.c +248 -0
  187. data/examples/temp_sensor/build/test/mocks/MockTimerInterruptHandler.h +52 -0
  188. data/examples/temp_sensor/build/test/mocks/MockTimerModel.c +109 -0
  189. data/examples/temp_sensor/build/test/mocks/MockTimerModel.h +40 -0
  190. data/examples/temp_sensor/build/test/mocks/MockUsartBaudRateRegisterCalculator.c +133 -0
  191. data/examples/temp_sensor/build/test/mocks/MockUsartBaudRateRegisterCalculator.h +40 -0
  192. data/examples/temp_sensor/build/test/mocks/MockUsartConductor.c +157 -0
  193. data/examples/temp_sensor/build/test/mocks/MockUsartConductor.h +46 -0
  194. data/examples/temp_sensor/build/test/mocks/MockUsartConfigurator.c +414 -0
  195. data/examples/temp_sensor/build/test/mocks/MockUsartConfigurator.h +70 -0
  196. data/examples/temp_sensor/build/test/mocks/MockUsartHardware.c +183 -0
  197. data/examples/temp_sensor/build/test/mocks/MockUsartHardware.h +46 -0
  198. data/examples/temp_sensor/build/test/mocks/MockUsartModel.c +269 -0
  199. data/examples/temp_sensor/build/test/mocks/MockUsartModel.h +52 -0
  200. data/examples/temp_sensor/build/test/mocks/MockUsartPutChar.c +109 -0
  201. data/examples/temp_sensor/build/test/mocks/MockUsartPutChar.h +40 -0
  202. data/examples/temp_sensor/build/test/out/TestAdcConductor.out +0 -0
  203. data/examples/temp_sensor/build/test/out/TestAdcHardware.out +0 -0
  204. data/examples/temp_sensor/build/test/out/TestAdcModel.out +0 -0
  205. data/examples/temp_sensor/build/test/out/TestExecutor.out +0 -0
  206. data/examples/temp_sensor/build/test/out/TestMain.out +0 -0
  207. data/examples/temp_sensor/build/test/out/TestModel.out +0 -0
  208. data/examples/temp_sensor/build/test/out/TestTaskScheduler.out +0 -0
  209. data/examples/temp_sensor/build/test/out/TestTemperatureCalculator.out +0 -0
  210. data/examples/temp_sensor/build/test/out/TestTemperatureFilter.out +0 -0
  211. data/examples/temp_sensor/build/test/out/TestTimerConductor.out +0 -0
  212. data/examples/temp_sensor/build/test/out/TestTimerHardware.out +0 -0
  213. data/examples/temp_sensor/build/test/out/TestTimerModel.out +0 -0
  214. data/examples/temp_sensor/build/test/out/TestUsartBaudRateRegisterCalculator.out +0 -0
  215. data/examples/temp_sensor/build/test/out/TestUsartConductor.out +0 -0
  216. data/examples/temp_sensor/build/test/out/TestUsartHardware.out +0 -0
  217. data/examples/temp_sensor/build/test/out/TestUsartModel.out +0 -0
  218. data/examples/temp_sensor/build/test/out/c/AdcConductor.o +0 -0
  219. data/examples/temp_sensor/build/test/out/c/AdcHardware.o +0 -0
  220. data/examples/temp_sensor/build/test/out/c/AdcModel.o +0 -0
  221. data/examples/temp_sensor/build/test/out/c/Executor.o +0 -0
  222. data/examples/temp_sensor/build/test/out/c/Main.o +0 -0
  223. data/examples/temp_sensor/build/test/out/c/MockAdcConductor.o +0 -0
  224. data/examples/temp_sensor/build/test/out/c/MockAdcHardware.o +0 -0
  225. data/examples/temp_sensor/build/test/out/c/MockAdcHardwareConfigurator.o +0 -0
  226. data/examples/temp_sensor/build/test/out/c/MockAdcModel.o +0 -0
  227. data/examples/temp_sensor/build/test/out/c/MockAdcTemperatureSensor.o +0 -0
  228. data/examples/temp_sensor/build/test/out/c/MockExecutor.o +0 -0
  229. data/examples/temp_sensor/build/test/out/c/MockIntrinsicsWrapper.o +0 -0
  230. data/examples/temp_sensor/build/test/out/c/MockModel.o +0 -0
  231. data/examples/temp_sensor/build/test/out/c/MockTaskScheduler.o +0 -0
  232. data/examples/temp_sensor/build/test/out/c/MockTemperatureCalculator.o +0 -0
  233. data/examples/temp_sensor/build/test/out/c/MockTemperatureFilter.o +0 -0
  234. data/examples/temp_sensor/build/test/out/c/MockTimerConductor.o +0 -0
  235. data/examples/temp_sensor/build/test/out/c/MockTimerConfigurator.o +0 -0
  236. data/examples/temp_sensor/build/test/out/c/MockTimerHardware.o +0 -0
  237. data/examples/temp_sensor/build/test/out/c/MockTimerInterruptHandler.o +0 -0
  238. data/examples/temp_sensor/build/test/out/c/MockTimerModel.o +0 -0
  239. data/examples/temp_sensor/build/test/out/c/MockUsartBaudRateRegisterCalculator.o +0 -0
  240. data/examples/temp_sensor/build/test/out/c/MockUsartConductor.o +0 -0
  241. data/examples/temp_sensor/build/test/out/c/MockUsartConfigurator.o +0 -0
  242. data/examples/temp_sensor/build/test/out/c/MockUsartHardware.o +0 -0
  243. data/examples/temp_sensor/build/test/out/c/MockUsartModel.o +0 -0
  244. data/examples/temp_sensor/build/test/out/c/MockUsartPutChar.o +0 -0
  245. data/examples/temp_sensor/build/test/out/c/Model.o +0 -0
  246. data/examples/temp_sensor/build/test/out/c/TaskScheduler.o +0 -0
  247. data/examples/temp_sensor/build/test/out/c/TemperatureCalculator.o +0 -0
  248. data/examples/temp_sensor/build/test/out/c/TemperatureFilter.o +0 -0
  249. data/examples/temp_sensor/build/test/out/c/TestAdcConductor.o +0 -0
  250. data/examples/temp_sensor/build/test/out/c/TestAdcConductor_runner.o +0 -0
  251. data/examples/temp_sensor/build/test/out/c/TestAdcHardware.o +0 -0
  252. data/examples/temp_sensor/build/test/out/c/TestAdcHardware_runner.o +0 -0
  253. data/examples/temp_sensor/build/test/out/c/TestAdcModel.o +0 -0
  254. data/examples/temp_sensor/build/test/out/c/TestAdcModel_runner.o +0 -0
  255. data/examples/temp_sensor/build/test/out/c/TestExecutor.o +0 -0
  256. data/examples/temp_sensor/build/test/out/c/TestExecutor_runner.o +0 -0
  257. data/examples/temp_sensor/build/test/out/c/TestMain.o +0 -0
  258. data/examples/temp_sensor/build/test/out/c/TestMain_runner.o +0 -0
  259. data/examples/temp_sensor/build/test/out/c/TestModel.o +0 -0
  260. data/examples/temp_sensor/build/test/out/c/TestModel_runner.o +0 -0
  261. data/examples/temp_sensor/build/test/out/c/TestTaskScheduler.o +0 -0
  262. data/examples/temp_sensor/build/test/out/c/TestTaskScheduler_runner.o +0 -0
  263. data/examples/temp_sensor/build/test/out/c/TestTemperatureCalculator.o +0 -0
  264. data/examples/temp_sensor/build/test/out/c/TestTemperatureCalculator_runner.o +0 -0
  265. data/examples/temp_sensor/build/test/out/c/TestTemperatureFilter.o +0 -0
  266. data/examples/temp_sensor/build/test/out/c/TestTemperatureFilter_runner.o +0 -0
  267. data/examples/temp_sensor/build/test/out/c/TestTimerConductor.o +0 -0
  268. data/examples/temp_sensor/build/test/out/c/TestTimerConductor_runner.o +0 -0
  269. data/examples/temp_sensor/build/test/out/c/TestTimerHardware.o +0 -0
  270. data/examples/temp_sensor/build/test/out/c/TestTimerHardware_runner.o +0 -0
  271. data/examples/temp_sensor/build/test/out/c/TestTimerModel.o +0 -0
  272. data/examples/temp_sensor/build/test/out/c/TestTimerModel_runner.o +0 -0
  273. data/examples/temp_sensor/build/test/out/c/TestUsartBaudRateRegisterCalculator.o +0 -0
  274. data/examples/temp_sensor/build/test/out/c/TestUsartBaudRateRegisterCalculator_runner.o +0 -0
  275. data/examples/temp_sensor/build/test/out/c/TestUsartConductor.o +0 -0
  276. data/examples/temp_sensor/build/test/out/c/TestUsartConductor_runner.o +0 -0
  277. data/examples/temp_sensor/build/test/out/c/TestUsartHardware.o +0 -0
  278. data/examples/temp_sensor/build/test/out/c/TestUsartHardware_runner.o +0 -0
  279. data/examples/temp_sensor/build/test/out/c/TestUsartModel.o +0 -0
  280. data/examples/temp_sensor/build/test/out/c/TestUsartModel_runner.o +0 -0
  281. data/examples/temp_sensor/build/test/out/c/TimerConductor.o +0 -0
  282. data/examples/temp_sensor/build/test/out/c/TimerHardware.o +0 -0
  283. data/examples/temp_sensor/build/test/out/c/TimerModel.o +0 -0
  284. data/examples/temp_sensor/build/test/out/c/UnityHelper.o +0 -0
  285. data/examples/temp_sensor/build/test/out/c/UsartBaudRateRegisterCalculator.o +0 -0
  286. data/examples/temp_sensor/build/test/out/c/UsartConductor.o +0 -0
  287. data/examples/temp_sensor/build/test/out/c/UsartHardware.o +0 -0
  288. data/examples/temp_sensor/build/test/out/c/UsartModel.o +0 -0
  289. data/examples/temp_sensor/build/test/out/c/cmock.o +0 -0
  290. data/examples/temp_sensor/build/test/out/c/unity.o +0 -0
  291. data/examples/temp_sensor/build/test/preprocess/files/AdcConductor.h +20 -0
  292. data/examples/temp_sensor/build/test/preprocess/files/AdcHardware.h +16 -0
  293. data/examples/temp_sensor/build/test/preprocess/files/AdcHardwareConfigurator.h +14 -0
  294. data/examples/temp_sensor/build/test/preprocess/files/AdcModel.h +20 -0
  295. data/examples/temp_sensor/build/test/preprocess/files/AdcTemperatureSensor.h +14 -0
  296. data/examples/temp_sensor/build/test/preprocess/files/Executor.h +12 -0
  297. data/examples/temp_sensor/build/test/preprocess/files/IntrinsicsWrapper.h +9 -0
  298. data/examples/temp_sensor/build/test/preprocess/files/Model.h +10 -0
  299. data/examples/temp_sensor/build/test/preprocess/files/TaskScheduler.h +16 -0
  300. data/examples/temp_sensor/build/test/preprocess/files/TemperatureCalculator.h +10 -0
  301. data/examples/temp_sensor/build/test/preprocess/files/TemperatureFilter.h +14 -0
  302. data/examples/temp_sensor/build/test/preprocess/files/TestAdcConductor.c +169 -0
  303. data/examples/temp_sensor/build/test/preprocess/files/TestAdcHardware.c +82 -0
  304. data/examples/temp_sensor/build/test/preprocess/files/TestAdcModel.c +59 -0
  305. data/examples/temp_sensor/build/test/preprocess/files/TestExecutor.c +63 -0
  306. data/examples/temp_sensor/build/test/preprocess/files/TestMain.c +43 -0
  307. data/examples/temp_sensor/build/test/preprocess/files/TestModel.c +34 -0
  308. data/examples/temp_sensor/build/test/preprocess/files/TestTaskScheduler.c +204 -0
  309. data/examples/temp_sensor/build/test/preprocess/files/TestTemperatureCalculator.c +70 -0
  310. data/examples/temp_sensor/build/test/preprocess/files/TestTemperatureFilter.c +154 -0
  311. data/examples/temp_sensor/build/test/preprocess/files/TestTimerConductor.c +57 -0
  312. data/examples/temp_sensor/build/test/preprocess/files/TestTimerHardware.c +47 -0
  313. data/examples/temp_sensor/build/test/preprocess/files/TestTimerModel.c +31 -0
  314. data/examples/temp_sensor/build/test/preprocess/files/TestUsartBaudRateRegisterCalculator.c +38 -0
  315. data/examples/temp_sensor/build/test/preprocess/files/TestUsartConductor.c +73 -0
  316. data/examples/temp_sensor/build/test/preprocess/files/TestUsartHardware.c +66 -0
  317. data/examples/temp_sensor/build/test/preprocess/files/TestUsartModel.c +73 -0
  318. data/examples/temp_sensor/build/test/preprocess/files/TimerConductor.h +12 -0
  319. data/examples/temp_sensor/build/test/preprocess/files/TimerConfigurator.h +24 -0
  320. data/examples/temp_sensor/build/test/preprocess/files/TimerHardware.h +10 -0
  321. data/examples/temp_sensor/build/test/preprocess/files/TimerInterruptHandler.h +14 -0
  322. data/examples/temp_sensor/build/test/preprocess/files/TimerModel.h +10 -0
  323. data/examples/temp_sensor/build/test/preprocess/files/UsartBaudRateRegisterCalculator.h +10 -0
  324. data/examples/temp_sensor/build/test/preprocess/files/UsartConductor.h +9 -0
  325. data/examples/temp_sensor/build/test/preprocess/files/UsartConfigurator.h +20 -0
  326. data/examples/temp_sensor/build/test/preprocess/files/UsartHardware.h +12 -0
  327. data/examples/temp_sensor/build/test/preprocess/files/UsartModel.h +14 -0
  328. data/examples/temp_sensor/build/test/preprocess/files/UsartPutChar.h +10 -0
  329. data/examples/temp_sensor/build/test/preprocess/includes/AdcConductor.h +2 -0
  330. data/examples/temp_sensor/build/test/preprocess/includes/AdcHardware.h +2 -0
  331. data/examples/temp_sensor/build/test/preprocess/includes/AdcHardwareConfigurator.h +2 -0
  332. data/examples/temp_sensor/build/test/preprocess/includes/AdcModel.h +2 -0
  333. data/examples/temp_sensor/build/test/preprocess/includes/AdcTemperatureSensor.h +2 -0
  334. data/examples/temp_sensor/build/test/preprocess/includes/Executor.h +2 -0
  335. data/examples/temp_sensor/build/test/preprocess/includes/IntrinsicsWrapper.h +1 -0
  336. data/examples/temp_sensor/build/test/preprocess/includes/Model.h +2 -0
  337. data/examples/temp_sensor/build/test/preprocess/includes/TaskScheduler.h +2 -0
  338. data/examples/temp_sensor/build/test/preprocess/includes/TemperatureCalculator.h +2 -0
  339. data/examples/temp_sensor/build/test/preprocess/includes/TemperatureFilter.h +2 -0
  340. data/examples/temp_sensor/build/test/preprocess/includes/TestAdcConductor.c +7 -0
  341. data/examples/temp_sensor/build/test/preprocess/includes/TestAdcHardware.c +6 -0
  342. data/examples/temp_sensor/build/test/preprocess/includes/TestAdcModel.c +7 -0
  343. data/examples/temp_sensor/build/test/preprocess/includes/TestExecutor.c +9 -0
  344. data/examples/temp_sensor/build/test/preprocess/includes/TestMain.c +5 -0
  345. data/examples/temp_sensor/build/test/preprocess/includes/TestModel.c +6 -0
  346. data/examples/temp_sensor/build/test/preprocess/includes/TestTaskScheduler.c +4 -0
  347. data/examples/temp_sensor/build/test/preprocess/includes/TestTemperatureCalculator.c +4 -0
  348. data/examples/temp_sensor/build/test/preprocess/includes/TestTemperatureFilter.c +4 -0
  349. data/examples/temp_sensor/build/test/preprocess/includes/TestTimerConductor.c +7 -0
  350. data/examples/temp_sensor/build/test/preprocess/includes/TestTimerHardware.c +5 -0
  351. data/examples/temp_sensor/build/test/preprocess/includes/TestTimerModel.c +5 -0
  352. data/examples/temp_sensor/build/test/preprocess/includes/TestUsartBaudRateRegisterCalculator.c +4 -0
  353. data/examples/temp_sensor/build/test/preprocess/includes/TestUsartConductor.c +7 -0
  354. data/examples/temp_sensor/build/test/preprocess/includes/TestUsartHardware.c +6 -0
  355. data/examples/temp_sensor/build/test/preprocess/includes/TestUsartModel.c +7 -0
  356. data/examples/temp_sensor/build/test/preprocess/includes/TimerConductor.h +2 -0
  357. data/examples/temp_sensor/build/test/preprocess/includes/TimerConfigurator.h +2 -0
  358. data/examples/temp_sensor/build/test/preprocess/includes/TimerHardware.h +2 -0
  359. data/examples/temp_sensor/build/test/preprocess/includes/TimerInterruptHandler.h +2 -0
  360. data/examples/temp_sensor/build/test/preprocess/includes/TimerModel.h +2 -0
  361. data/examples/temp_sensor/build/test/preprocess/includes/UsartBaudRateRegisterCalculator.h +2 -0
  362. data/examples/temp_sensor/build/test/preprocess/includes/UsartConductor.h +1 -0
  363. data/examples/temp_sensor/build/test/preprocess/includes/UsartConfigurator.h +2 -0
  364. data/examples/temp_sensor/build/test/preprocess/includes/UsartHardware.h +2 -0
  365. data/examples/temp_sensor/build/test/preprocess/includes/UsartModel.h +2 -0
  366. data/examples/temp_sensor/build/test/preprocess/includes/UsartPutChar.h +2 -0
  367. data/examples/temp_sensor/build/test/results/TestAdcConductor.pass +46 -0
  368. data/examples/temp_sensor/build/test/results/TestAdcHardware.pass +30 -0
  369. data/examples/temp_sensor/build/test/results/TestAdcModel.pass +26 -0
  370. data/examples/temp_sensor/build/test/results/TestExecutor.pass +22 -0
  371. data/examples/temp_sensor/build/test/results/TestMain.pass +18 -0
  372. data/examples/temp_sensor/build/test/results/TestModel.pass +18 -0
  373. data/examples/temp_sensor/build/test/results/TestTaskScheduler.pass +46 -0
  374. data/examples/temp_sensor/build/test/results/TestTemperatureCalculator.pass +22 -0
  375. data/examples/temp_sensor/build/test/results/TestTemperatureFilter.pass +30 -0
  376. data/examples/temp_sensor/build/test/results/TestTimerConductor.pass +22 -0
  377. data/examples/temp_sensor/build/test/results/TestTimerHardware.pass +18 -0
  378. data/examples/temp_sensor/build/test/results/TestTimerModel.pass +18 -0
  379. data/examples/temp_sensor/build/test/results/TestUsartBaudRateRegisterCalculator.pass +18 -0
  380. data/examples/temp_sensor/build/test/results/TestUsartConductor.pass +26 -0
  381. data/examples/temp_sensor/build/test/results/TestUsartHardware.pass +22 -0
  382. data/examples/temp_sensor/build/test/results/TestUsartModel.pass +30 -0
  383. data/examples/temp_sensor/build/test/runners/TestAdcConductor_runner.c +105 -0
  384. data/examples/temp_sensor/build/test/runners/TestAdcHardware_runner.c +97 -0
  385. data/examples/temp_sensor/build/test/runners/TestAdcModel_runner.c +99 -0
  386. data/examples/temp_sensor/build/test/runners/TestExecutor_runner.c +105 -0
  387. data/examples/temp_sensor/build/test/runners/TestMain_runner.c +87 -0
  388. data/examples/temp_sensor/build/test/runners/TestModel_runner.c +91 -0
  389. data/examples/temp_sensor/build/test/runners/TestTaskScheduler_runner.c +95 -0
  390. data/examples/temp_sensor/build/test/runners/TestTemperatureCalculator_runner.c +83 -0
  391. data/examples/temp_sensor/build/test/runners/TestTemperatureFilter_runner.c +87 -0
  392. data/examples/temp_sensor/build/test/runners/TestTimerConductor_runner.c +97 -0
  393. data/examples/temp_sensor/build/test/runners/TestTimerHardware_runner.c +87 -0
  394. data/examples/temp_sensor/build/test/runners/TestTimerModel_runner.c +87 -0
  395. data/examples/temp_sensor/build/test/runners/TestUsartBaudRateRegisterCalculator_runner.c +81 -0
  396. data/examples/temp_sensor/build/test/runners/TestUsartConductor_runner.c +99 -0
  397. data/examples/temp_sensor/build/test/runners/TestUsartHardware_runner.c +93 -0
  398. data/examples/temp_sensor/build/test/runners/TestUsartModel_runner.c +97 -0
  399. data/examples/temp_sensor/project.yml +6 -14
  400. data/lib/ceedling/build_invoker_utils.rb +1 -1
  401. data/lib/ceedling/cacheinator.rb +8 -3
  402. data/lib/ceedling/cacheinator_helper.rb +26 -3
  403. data/lib/ceedling/configurator.rb +34 -11
  404. data/lib/ceedling/configurator_builder.rb +48 -21
  405. data/lib/ceedling/configurator_plugins.rb +29 -24
  406. data/lib/ceedling/configurator_setup.rb +1 -1
  407. data/lib/ceedling/constants.rb +3 -1
  408. data/lib/ceedling/defaults.rb +71 -14
  409. data/lib/ceedling/dependinator.rb +25 -11
  410. data/lib/ceedling/file_finder.rb +57 -49
  411. data/lib/ceedling/file_finder_helper.rb +6 -4
  412. data/lib/ceedling/file_path_utils.rb +17 -7
  413. data/lib/ceedling/file_wrapper.rb +8 -4
  414. data/lib/ceedling/generator.rb +18 -7
  415. data/lib/ceedling/generator_test_results.rb +37 -24
  416. data/lib/ceedling/generator_test_runner.rb +10 -4
  417. data/lib/ceedling/objects.yml +29 -23
  418. data/lib/ceedling/plugin_manager.rb +18 -18
  419. data/lib/ceedling/plugin_reportinator.rb +3 -2
  420. data/lib/ceedling/plugin_reportinator_helper.rb +2 -3
  421. data/lib/ceedling/preprocessinator.rb +23 -10
  422. data/lib/ceedling/preprocessinator_extractor.rb +25 -2
  423. data/lib/ceedling/preprocessinator_file_handler.rb +13 -0
  424. data/lib/ceedling/preprocessinator_helper.rb +4 -0
  425. data/lib/ceedling/preprocessinator_includes_handler.rb +125 -27
  426. data/lib/ceedling/project_config_manager.rb +19 -4
  427. data/lib/ceedling/rakefile.rb +1 -1
  428. data/lib/ceedling/release_invoker.rb +27 -2
  429. data/lib/ceedling/release_invoker_helper.rb +5 -2
  430. data/lib/ceedling/rules_release.rake +19 -5
  431. data/lib/ceedling/rules_tests.rake +23 -15
  432. data/lib/ceedling/rules_tests_deep_dependencies.rake +2 -2
  433. data/lib/ceedling/setupinator.rb +1 -1
  434. data/lib/ceedling/stream_wrapper.rb +9 -1
  435. data/lib/ceedling/task_invoker.rb +41 -8
  436. data/lib/ceedling/tasks_base.rake +29 -25
  437. data/lib/ceedling/tasks_filesystem.rake +26 -13
  438. data/lib/ceedling/tasks_tests.rake +13 -6
  439. data/lib/ceedling/tasks_vendor.rake +3 -3
  440. data/lib/ceedling/test_includes_extractor.rb +26 -0
  441. data/lib/ceedling/test_invoker.rb +76 -48
  442. data/lib/ceedling/test_invoker_helper.rb +6 -2
  443. data/lib/ceedling/tool_executor.rb +16 -6
  444. data/lib/ceedling/version.rb +44 -9
  445. data/license.txt +1 -1
  446. data/out.fail +24 -0
  447. data/plugins/beep/README.md +22 -0
  448. data/plugins/beep/lib/beep.rb +40 -0
  449. data/plugins/bullseye/README.md +76 -0
  450. data/plugins/bullseye/bullseye.rake +57 -46
  451. data/plugins/bullseye/config/defaults.yml +4 -0
  452. data/plugins/bullseye/lib/bullseye.rb +27 -5
  453. data/plugins/colour_report/README.md +20 -0
  454. data/plugins/colour_report/lib/colour_report.rb +16 -0
  455. data/plugins/command_hooks/README.md +6 -5
  456. data/plugins/command_hooks/lib/command_hooks.rb +24 -4
  457. data/plugins/compile_commands_json/README.md +29 -0
  458. data/plugins/compile_commands_json/lib/compile_commands_json.rb +35 -0
  459. data/plugins/dependencies/README.md +254 -0
  460. data/plugins/dependencies/config/defaults.yml +5 -0
  461. data/plugins/dependencies/dependencies.rake +147 -0
  462. data/plugins/dependencies/lib/dependencies.rb +237 -0
  463. data/plugins/gcov/README.md +427 -3
  464. data/plugins/gcov/config/defaults.yml +15 -26
  465. data/plugins/gcov/gcov.rake +55 -24
  466. data/plugins/gcov/lib/gcov.rb +38 -6
  467. data/plugins/gcov/lib/gcov_constants.rb +42 -10
  468. data/plugins/gcov/lib/gcovr_reportinator.rb +331 -0
  469. data/plugins/gcov/lib/reportgenerator_reportinator.rb +195 -0
  470. data/plugins/gcov/lib/reportinator_helper.rb +15 -0
  471. data/plugins/json_tests_report/README.md +36 -0
  472. data/plugins/json_tests_report/lib/json_tests_report.rb +83 -0
  473. data/plugins/junit_tests_report/README.md +36 -0
  474. data/plugins/junit_tests_report/lib/junit_tests_report.rb +32 -13
  475. data/plugins/module_generator/README.md +105 -0
  476. data/plugins/module_generator/lib/module_generator.rb +42 -1
  477. data/plugins/module_generator/module_generator.rake +40 -4
  478. data/plugins/raw_output_report/README.md +19 -0
  479. data/plugins/raw_output_report/lib/raw_output_report.rb +41 -0
  480. data/plugins/stdout_gtestlike_tests_report/README.md +19 -0
  481. data/plugins/stdout_ide_tests_report/README.md +18 -0
  482. data/plugins/stdout_pretty_tests_report/README.md +20 -0
  483. data/plugins/subprojects/lib/subprojects.rb +2 -2
  484. data/plugins/teamcity_tests_report/README.md +18 -0
  485. data/plugins/warnings_report/README.md +19 -0
  486. data/plugins/xml_tests_report/README.md +36 -0
  487. data/plugins/xml_tests_report/lib/xml_tests_report.rb +3 -1
  488. data/spec/gcov/gcov_deployment_spec.rb +7 -4
  489. data/spec/gcov/gcov_test_cases_spec.rb +110 -4
  490. data/spec/generator_test_results_spec.rb +5 -0
  491. data/spec/preprocessinator_extractor_spec.rb +36 -0
  492. data/spec/preprocessinator_includes_handler_spec.rb +121 -53
  493. data/spec/spec_helper.rb +0 -1
  494. data/spec/spec_system_helper.rb +357 -8
  495. data/spec/support/test_example.fail +3 -0
  496. data/spec/support/test_example.pass +3 -0
  497. data/spec/support/test_example_empty.pass +1 -0
  498. data/spec/support/test_example_ignore.pass +3 -0
  499. data/spec/support/test_example_mangled.pass +2 -0
  500. data/spec/support/test_example_with_time.pass +24 -0
  501. data/spec/system/deployment_spec.rb +95 -4
  502. data/vendor/c_exception/Gemfile.lock +1 -1
  503. data/vendor/c_exception/README.md +155 -70
  504. data/vendor/c_exception/docs/CException.md +43 -3
  505. data/vendor/c_exception/lib/CException.h +5 -0
  506. data/vendor/c_exception/lib/meson.build +11 -0
  507. data/vendor/c_exception/meson.build +14 -0
  508. data/vendor/c_exception/project.yml +37 -0
  509. data/vendor/c_exception/test/{CExceptionConfig.h → support/CExceptionConfig.h} +0 -0
  510. data/vendor/cmock/Gemfile +2 -3
  511. data/vendor/cmock/{docs/license.txt → LICENSE.txt} +0 -0
  512. data/vendor/cmock/README.md +12 -6
  513. data/vendor/cmock/config/production_environment.rb +5 -7
  514. data/vendor/cmock/config/test_environment.rb +1 -1
  515. data/vendor/cmock/docs/CMock_Summary.md +252 -24
  516. data/vendor/cmock/examples/make_example/Makefile +4 -4
  517. data/vendor/cmock/examples/temp_sensor/rakefile.rb +11 -11
  518. data/vendor/cmock/examples/temp_sensor/rakefile_helper.rb +95 -99
  519. data/vendor/cmock/lib/cmock.rb +53 -28
  520. data/vendor/cmock/lib/cmock_config.rb +86 -53
  521. data/vendor/cmock/lib/cmock_file_writer.rb +16 -12
  522. data/vendor/cmock/lib/cmock_generator.rb +147 -57
  523. data/vendor/cmock/lib/cmock_generator_plugin_array.rb +19 -19
  524. data/vendor/cmock/lib/cmock_generator_plugin_callback.rb +44 -56
  525. data/vendor/cmock/lib/cmock_generator_plugin_cexception.rb +16 -18
  526. data/vendor/cmock/lib/cmock_generator_plugin_expect.rb +35 -39
  527. data/vendor/cmock/lib/cmock_generator_plugin_expect_any_args.rb +21 -25
  528. data/vendor/cmock/lib/cmock_generator_plugin_ignore.rb +40 -28
  529. data/vendor/cmock/lib/cmock_generator_plugin_ignore_arg.rb +8 -10
  530. data/vendor/cmock/lib/cmock_generator_plugin_ignore_stateless.rb +85 -0
  531. data/vendor/cmock/lib/cmock_generator_plugin_return_thru_ptr.rb +42 -38
  532. data/vendor/cmock/lib/cmock_generator_utils.rb +144 -121
  533. data/vendor/cmock/lib/cmock_header_parser.rb +449 -140
  534. data/vendor/cmock/lib/cmock_plugin_manager.rb +20 -25
  535. data/vendor/cmock/lib/cmock_unityhelper_parser.rb +40 -38
  536. data/vendor/cmock/meson.build +17 -0
  537. data/vendor/cmock/scripts/create_makefile.rb +71 -55
  538. data/vendor/cmock/scripts/create_mock.rb +2 -2
  539. data/vendor/cmock/scripts/create_runner.rb +7 -9
  540. data/vendor/cmock/scripts/test_summary.rb +1 -2
  541. data/vendor/cmock/src/cmock.c +61 -49
  542. data/vendor/cmock/src/cmock.h +23 -14
  543. data/vendor/cmock/src/cmock_internals.h +10 -8
  544. data/vendor/cmock/src/meson.build +12 -0
  545. data/vendor/cmock/test/c/TestCMockC.c +15 -5
  546. data/vendor/cmock/test/c/TestCMockC.yml +1 -0
  547. data/vendor/cmock/test/c/TestCMockC_Runner.c +9 -7
  548. data/vendor/cmock/test/rakefile +45 -4
  549. data/vendor/cmock/test/rakefile_helper.rb +22 -0
  550. data/vendor/cmock/test/system/systest_generator.rb +14 -3
  551. data/vendor/cmock/test/system/test_compilation/config.yml +1 -0
  552. data/vendor/cmock/test/system/test_compilation/inline.h +23 -0
  553. data/vendor/cmock/test/system/test_compilation/osek.h +0 -0
  554. data/vendor/cmock/test/system/test_compilation/parsing.h +37 -0
  555. data/vendor/cmock/test/system/test_interactions/all_plugins_coexist.yml +1 -0
  556. data/vendor/cmock/test/system/test_interactions/enforce_strict_ordering.yml +1 -1
  557. data/vendor/cmock/test/system/test_interactions/expect_and_return_custom_types.yml +1 -1
  558. data/vendor/cmock/test/system/test_interactions/expect_any_args.yml +1 -1
  559. data/vendor/cmock/test/system/test_interactions/function_pointer_handling.yml +4 -3
  560. data/vendor/cmock/test/system/test_interactions/ignore_and_return_stateless.yml +325 -0
  561. data/vendor/cmock/test/system/test_interactions/skeleton.yml +55 -0
  562. data/vendor/cmock/test/system/test_interactions/skeleton_update.yml +76 -0
  563. data/vendor/cmock/test/system/test_interactions/unity_ignores.yml +1 -1
  564. data/vendor/cmock/test/system/test_interactions/unity_void_pointer_compare.yml +91 -0
  565. data/vendor/cmock/test/test_helper.rb +11 -10
  566. data/vendor/cmock/test/unit/cmock_config_test.rb +18 -10
  567. data/vendor/cmock/test/unit/cmock_config_test.yml +3 -1
  568. data/vendor/cmock/test/unit/cmock_generator_main_test.rb +161 -8
  569. data/vendor/cmock/test/unit/cmock_generator_plugin_array_test.rb +20 -12
  570. data/vendor/cmock/test/unit/cmock_generator_plugin_callback_test.rb +56 -34
  571. data/vendor/cmock/test/unit/cmock_generator_plugin_cexception_test.rb +12 -0
  572. data/vendor/cmock/test/unit/cmock_generator_plugin_expect_a_test.rb +7 -8
  573. data/vendor/cmock/test/unit/cmock_generator_plugin_expect_any_args_test.rb +11 -4
  574. data/vendor/cmock/test/unit/cmock_generator_plugin_expect_b_test.rb +9 -11
  575. data/vendor/cmock/test/unit/cmock_generator_plugin_ignore_arg_test.rb +6 -6
  576. data/vendor/cmock/test/unit/cmock_generator_plugin_ignore_stateless_test.rb +116 -0
  577. data/vendor/cmock/test/unit/cmock_generator_plugin_ignore_test.rb +19 -5
  578. data/vendor/cmock/test/unit/cmock_generator_plugin_return_thru_ptr_test.rb +14 -12
  579. data/vendor/cmock/test/unit/cmock_generator_utils_test.rb +50 -24
  580. data/vendor/cmock/test/unit/cmock_header_parser_test.rb +1260 -28
  581. data/vendor/cmock/test/unit/cmock_plugin_manager_test.rb +12 -2
  582. data/vendor/cmock/vendor/c_exception/Gemfile +4 -0
  583. data/vendor/cmock/vendor/c_exception/Gemfile.lock +12 -0
  584. data/vendor/cmock/vendor/c_exception/README.md +247 -0
  585. data/vendor/cmock/vendor/c_exception/docs/CException.md +332 -0
  586. data/vendor/cmock/vendor/c_exception/docs/ThrowTheSwitchCodingStandard.md +207 -0
  587. data/vendor/cmock/vendor/c_exception/lib/CException.c +46 -0
  588. data/vendor/cmock/vendor/c_exception/lib/CException.h +115 -0
  589. data/vendor/cmock/vendor/c_exception/lib/meson.build +11 -0
  590. data/vendor/cmock/vendor/c_exception/meson.build +14 -0
  591. data/vendor/cmock/vendor/c_exception/project.yml +37 -0
  592. data/vendor/cmock/vendor/c_exception/test/TestException.c +391 -0
  593. data/vendor/cmock/vendor/c_exception/test/support/CExceptionConfig.h +46 -0
  594. data/vendor/cmock/vendor/unity/CMakeLists.txt +159 -0
  595. data/vendor/{unity/docs/license.txt → cmock/vendor/unity/LICENSE.txt} +1 -1
  596. data/vendor/cmock/vendor/unity/README.md +200 -0
  597. data/vendor/cmock/vendor/unity/auto/colour_prompt.rb +119 -0
  598. data/vendor/cmock/vendor/unity/auto/colour_reporter.rb +39 -0
  599. data/vendor/cmock/vendor/unity/auto/generate_config.yml +36 -0
  600. data/vendor/cmock/vendor/unity/auto/generate_module.rb +313 -0
  601. data/vendor/cmock/vendor/unity/auto/generate_test_runner.rb +511 -0
  602. data/vendor/cmock/vendor/unity/auto/parse_output.rb +322 -0
  603. data/vendor/cmock/vendor/unity/auto/run_test.erb +37 -0
  604. data/vendor/cmock/vendor/unity/auto/stylize_as_junit.rb +251 -0
  605. data/vendor/cmock/vendor/unity/auto/test_file_filter.rb +25 -0
  606. data/vendor/cmock/vendor/unity/auto/type_sanitizer.rb +6 -0
  607. data/vendor/cmock/vendor/unity/auto/unity_test_summary.py +139 -0
  608. data/vendor/cmock/vendor/unity/auto/unity_test_summary.rb +135 -0
  609. data/vendor/cmock/vendor/unity/auto/unity_to_junit.py +146 -0
  610. data/vendor/cmock/vendor/unity/docs/ThrowTheSwitchCodingStandard.md +206 -0
  611. data/vendor/cmock/vendor/unity/docs/UnityAssertionsCheatSheetSuitableforPrintingandPossiblyFraming.pdf +0 -0
  612. data/vendor/cmock/vendor/unity/docs/UnityAssertionsReference.md +831 -0
  613. data/vendor/cmock/vendor/unity/docs/UnityConfigurationGuide.md +563 -0
  614. data/vendor/cmock/vendor/unity/docs/UnityGettingStartedGuide.md +251 -0
  615. data/vendor/cmock/vendor/unity/docs/UnityHelperScriptsGuide.md +278 -0
  616. data/vendor/cmock/vendor/unity/examples/example_1/makefile +72 -0
  617. data/vendor/cmock/vendor/unity/examples/example_1/readme.txt +5 -0
  618. data/vendor/cmock/vendor/unity/examples/example_1/src/ProductionCode.c +24 -0
  619. data/vendor/cmock/vendor/unity/examples/example_1/src/ProductionCode.h +3 -0
  620. data/vendor/cmock/vendor/unity/examples/example_1/src/ProductionCode2.c +11 -0
  621. data/vendor/cmock/vendor/unity/examples/example_1/src/ProductionCode2.h +2 -0
  622. data/vendor/cmock/vendor/unity/examples/example_1/test/TestProductionCode.c +62 -0
  623. data/vendor/cmock/vendor/unity/examples/example_1/test/TestProductionCode2.c +31 -0
  624. data/vendor/cmock/vendor/unity/examples/example_1/test/test_runners/TestProductionCode2_Runner.c +53 -0
  625. data/vendor/cmock/vendor/unity/examples/example_1/test/test_runners/TestProductionCode_Runner.c +57 -0
  626. data/vendor/cmock/vendor/unity/examples/example_2/makefile +71 -0
  627. data/vendor/cmock/vendor/unity/examples/example_2/readme.txt +5 -0
  628. data/vendor/cmock/vendor/unity/examples/example_2/src/ProductionCode.c +24 -0
  629. data/vendor/cmock/vendor/unity/examples/example_2/src/ProductionCode.h +3 -0
  630. data/vendor/cmock/vendor/unity/examples/example_2/src/ProductionCode2.c +11 -0
  631. data/vendor/cmock/vendor/unity/examples/example_2/src/ProductionCode2.h +2 -0
  632. data/vendor/cmock/vendor/unity/examples/example_2/test/TestProductionCode.c +64 -0
  633. data/vendor/cmock/vendor/unity/examples/example_2/test/TestProductionCode2.c +33 -0
  634. data/vendor/cmock/vendor/unity/examples/example_2/test/test_runners/TestProductionCode2_Runner.c +9 -0
  635. data/vendor/cmock/vendor/unity/examples/example_2/test/test_runners/TestProductionCode_Runner.c +11 -0
  636. data/vendor/cmock/vendor/unity/examples/example_2/test/test_runners/all_tests.c +12 -0
  637. data/vendor/cmock/vendor/unity/examples/example_3/helper/UnityHelper.c +10 -0
  638. data/vendor/cmock/vendor/unity/examples/example_3/helper/UnityHelper.h +12 -0
  639. data/vendor/cmock/vendor/unity/examples/example_3/rakefile.rb +38 -0
  640. data/vendor/cmock/vendor/unity/examples/example_3/rakefile_helper.rb +250 -0
  641. data/vendor/cmock/vendor/unity/examples/example_3/readme.txt +13 -0
  642. data/vendor/cmock/vendor/unity/examples/example_3/src/ProductionCode.c +24 -0
  643. data/vendor/cmock/vendor/unity/examples/example_3/src/ProductionCode.h +3 -0
  644. data/vendor/cmock/vendor/unity/examples/example_3/src/ProductionCode2.c +11 -0
  645. data/vendor/cmock/vendor/unity/examples/example_3/src/ProductionCode2.h +2 -0
  646. data/vendor/cmock/vendor/unity/examples/example_3/target_gcc_32.yml +47 -0
  647. data/vendor/cmock/vendor/unity/examples/example_3/test/TestProductionCode.c +62 -0
  648. data/vendor/cmock/vendor/unity/examples/example_3/test/TestProductionCode2.c +31 -0
  649. data/vendor/cmock/vendor/unity/examples/example_4/meson.build +12 -0
  650. data/vendor/cmock/vendor/unity/examples/example_4/readme.txt +15 -0
  651. data/vendor/cmock/vendor/unity/examples/example_4/src/ProductionCode.c +24 -0
  652. data/vendor/cmock/vendor/unity/examples/example_4/src/ProductionCode.h +3 -0
  653. data/vendor/cmock/vendor/unity/examples/example_4/src/ProductionCode2.c +11 -0
  654. data/vendor/cmock/vendor/unity/examples/example_4/src/ProductionCode2.h +2 -0
  655. data/vendor/cmock/vendor/unity/examples/example_4/src/meson.build +16 -0
  656. data/vendor/cmock/vendor/unity/examples/example_4/subprojects/unity.wrap +4 -0
  657. data/vendor/cmock/vendor/unity/examples/example_4/test/TestProductionCode.c +63 -0
  658. data/vendor/cmock/vendor/unity/examples/example_4/test/TestProductionCode2.c +35 -0
  659. data/vendor/cmock/vendor/unity/examples/example_4/test/meson.build +7 -0
  660. data/vendor/cmock/vendor/unity/examples/example_4/test/test_runners/TestProductionCode2_Runner.c +53 -0
  661. data/vendor/cmock/vendor/unity/examples/example_4/test/test_runners/TestProductionCode_Runner.c +57 -0
  662. data/vendor/cmock/vendor/unity/examples/example_4/test/test_runners/meson.build +13 -0
  663. data/vendor/cmock/vendor/unity/examples/unity_config.h +244 -0
  664. data/vendor/cmock/vendor/unity/extras/eclipse/error_parsers.txt +26 -0
  665. data/vendor/cmock/vendor/unity/extras/fixture/readme.md +29 -0
  666. data/vendor/cmock/vendor/unity/extras/fixture/src/unity_fixture.c +310 -0
  667. data/vendor/cmock/vendor/unity/extras/fixture/src/unity_fixture.h +83 -0
  668. data/vendor/cmock/vendor/unity/extras/fixture/src/unity_fixture_internals.h +50 -0
  669. data/vendor/cmock/vendor/unity/extras/fixture/test/Makefile +72 -0
  670. data/vendor/cmock/vendor/unity/extras/fixture/test/main/AllTests.c +20 -0
  671. data/vendor/cmock/vendor/unity/extras/fixture/test/template_fixture_tests.c +39 -0
  672. data/vendor/cmock/vendor/unity/extras/fixture/test/unity_fixture_Test.c +245 -0
  673. data/vendor/cmock/vendor/unity/extras/fixture/test/unity_fixture_TestRunner.c +32 -0
  674. data/vendor/cmock/vendor/unity/extras/memory/readme.md +49 -0
  675. data/vendor/cmock/vendor/unity/extras/memory/src/unity_memory.c +202 -0
  676. data/vendor/{unity/extras/fixture/src/unity_fixture_malloc_overrides.h → cmock/vendor/unity/extras/memory/src/unity_memory.h} +26 -13
  677. data/vendor/cmock/vendor/unity/extras/memory/test/Makefile +78 -0
  678. data/vendor/cmock/vendor/unity/extras/memory/test/unity_memory_Test.c +325 -0
  679. data/vendor/cmock/vendor/unity/extras/memory/test/unity_memory_TestRunner.c +49 -0
  680. data/vendor/{unity/extras/fixture → cmock/vendor/unity/extras/memory}/test/unity_output_Spy.c +3 -4
  681. data/vendor/{unity/extras/fixture → cmock/vendor/unity/extras/memory}/test/unity_output_Spy.h +3 -4
  682. data/vendor/cmock/vendor/unity/meson.build +14 -0
  683. data/vendor/cmock/vendor/unity/src/meson.build +11 -0
  684. data/vendor/cmock/vendor/unity/src/unity.c +2110 -0
  685. data/vendor/cmock/vendor/unity/src/unity.h +661 -0
  686. data/vendor/cmock/vendor/unity/src/unity_internals.h +1039 -0
  687. data/vendor/cmock/vendor/unity/test/Makefile +160 -0
  688. data/vendor/cmock/vendor/unity/test/expectdata/testsample_cmd.c +61 -0
  689. data/vendor/cmock/vendor/unity/test/expectdata/testsample_def.c +57 -0
  690. data/vendor/cmock/vendor/unity/test/expectdata/testsample_head1.c +55 -0
  691. data/vendor/cmock/vendor/unity/test/expectdata/testsample_head1.h +15 -0
  692. data/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_cmd.c +80 -0
  693. data/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_def.c +76 -0
  694. data/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_head1.c +75 -0
  695. data/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_head1.h +13 -0
  696. data/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_new1.c +89 -0
  697. data/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_new2.c +89 -0
  698. data/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_param.c +77 -0
  699. data/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_run1.c +89 -0
  700. data/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_run2.c +89 -0
  701. data/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_yaml.c +90 -0
  702. data/vendor/cmock/vendor/unity/test/expectdata/testsample_new1.c +67 -0
  703. data/vendor/cmock/vendor/unity/test/expectdata/testsample_new2.c +70 -0
  704. data/vendor/cmock/vendor/unity/test/expectdata/testsample_param.c +58 -0
  705. data/vendor/cmock/vendor/unity/test/expectdata/testsample_run1.c +67 -0
  706. data/vendor/cmock/vendor/unity/test/expectdata/testsample_run2.c +70 -0
  707. data/vendor/cmock/vendor/unity/test/expectdata/testsample_yaml.c +71 -0
  708. data/vendor/cmock/vendor/unity/test/rakefile +163 -0
  709. data/vendor/cmock/vendor/unity/test/rakefile_helper.rb +315 -0
  710. data/vendor/cmock/vendor/unity/test/spec/generate_module_existing_file_spec.rb +158 -0
  711. data/vendor/cmock/vendor/unity/test/targets/ansi.yml +44 -0
  712. data/vendor/cmock/vendor/unity/test/targets/clang_file.yml +72 -0
  713. data/vendor/cmock/vendor/unity/test/targets/clang_strict.yml +71 -0
  714. data/vendor/cmock/vendor/unity/test/targets/gcc_32.yml +45 -0
  715. data/vendor/cmock/vendor/unity/test/targets/gcc_64.yml +46 -0
  716. data/vendor/cmock/vendor/unity/test/targets/gcc_auto_limits.yml +43 -0
  717. data/vendor/cmock/vendor/unity/test/targets/gcc_auto_stdint.yml +55 -0
  718. data/vendor/cmock/vendor/unity/test/targets/gcc_manual_math.yml +43 -0
  719. data/vendor/cmock/vendor/unity/test/targets/hitech_picc18.yml +91 -0
  720. data/vendor/cmock/vendor/unity/test/targets/iar_arm_v4.yml +98 -0
  721. data/vendor/cmock/vendor/unity/test/targets/iar_arm_v5.yml +92 -0
  722. data/vendor/cmock/vendor/unity/test/targets/iar_arm_v5_3.yml +92 -0
  723. data/vendor/cmock/vendor/unity/test/targets/iar_armcortex_LM3S9B92_v5_4.yml +90 -0
  724. data/vendor/cmock/vendor/unity/test/targets/iar_cortexm3_v5.yml +94 -0
  725. data/vendor/cmock/vendor/unity/test/targets/iar_msp430.yml +112 -0
  726. data/vendor/cmock/vendor/unity/test/targets/iar_sh2a_v6.yml +99 -0
  727. data/vendor/cmock/vendor/unity/test/testdata/CException.h +11 -0
  728. data/vendor/cmock/vendor/unity/test/testdata/Defs.h +8 -0
  729. data/vendor/cmock/vendor/unity/test/testdata/cmock.h +14 -0
  730. data/vendor/cmock/vendor/unity/test/testdata/mockMock.h +13 -0
  731. data/vendor/cmock/vendor/unity/test/testdata/testRunnerGenerator.c +189 -0
  732. data/vendor/cmock/vendor/unity/test/testdata/testRunnerGeneratorSmall.c +70 -0
  733. data/vendor/cmock/vendor/unity/test/testdata/testRunnerGeneratorWithMocks.c +197 -0
  734. data/vendor/cmock/vendor/unity/test/tests/self_assessment_utils.h +144 -0
  735. data/vendor/cmock/vendor/unity/test/tests/test_generate_test_runner.rb +1260 -0
  736. data/vendor/cmock/vendor/unity/test/tests/test_unity_arrays.c +2874 -0
  737. data/vendor/cmock/vendor/unity/test/tests/test_unity_core.c +371 -0
  738. data/vendor/cmock/vendor/unity/test/tests/test_unity_doubles.c +773 -0
  739. data/vendor/cmock/vendor/unity/test/tests/test_unity_floats.c +884 -0
  740. data/vendor/cmock/vendor/unity/test/tests/test_unity_integers.c +2847 -0
  741. data/vendor/cmock/vendor/unity/test/tests/test_unity_integers_64.c +773 -0
  742. data/vendor/cmock/vendor/unity/test/tests/test_unity_memory.c +81 -0
  743. data/vendor/{unity/test/tests/testparameterized.c → cmock/vendor/unity/test/tests/test_unity_parameterized.c} +65 -4
  744. data/vendor/cmock/vendor/unity/test/tests/test_unity_strings.c +329 -0
  745. data/vendor/cmock/vendor/unity/unityConfig.cmake +1 -0
  746. data/vendor/unity/CMakeLists.txt +159 -0
  747. data/vendor/unity/LICENSE.txt +21 -0
  748. data/vendor/unity/README.md +26 -57
  749. data/vendor/unity/auto/colour_prompt.rb +3 -2
  750. data/vendor/unity/auto/colour_reporter.rb +1 -1
  751. data/vendor/unity/auto/generate_module.rb +32 -27
  752. data/vendor/unity/auto/generate_test_runner.rb +181 -107
  753. data/vendor/unity/auto/parse_output.rb +215 -113
  754. data/vendor/unity/auto/run_test.erb +37 -0
  755. data/vendor/unity/auto/stylize_as_junit.rb +7 -8
  756. data/vendor/unity/auto/test_file_filter.rb +2 -2
  757. data/vendor/unity/auto/unity_test_summary.py +1 -1
  758. data/vendor/unity/auto/unity_test_summary.rb +3 -4
  759. data/vendor/unity/docs/ThrowTheSwitchCodingStandard.md +9 -10
  760. data/vendor/unity/docs/UnityAssertionsReference.md +138 -77
  761. data/vendor/unity/docs/UnityConfigurationGuide.md +255 -90
  762. data/vendor/unity/docs/UnityGettingStartedGuide.md +71 -11
  763. data/vendor/unity/docs/UnityHelperScriptsGuide.md +42 -6
  764. data/vendor/unity/examples/example_1/makefile +2 -1
  765. data/vendor/unity/examples/example_1/src/ProductionCode.c +4 -4
  766. data/vendor/unity/examples/example_1/test/TestProductionCode.c +6 -6
  767. data/vendor/unity/examples/example_2/makefile +2 -1
  768. data/vendor/unity/examples/example_2/src/ProductionCode.c +1 -1
  769. data/vendor/unity/examples/example_2/test/TestProductionCode.c +1 -1
  770. data/vendor/unity/examples/example_3/rakefile.rb +4 -9
  771. data/vendor/unity/examples/example_3/rakefile_helper.rb +211 -210
  772. data/vendor/unity/examples/example_3/src/ProductionCode.c +1 -1
  773. data/vendor/unity/examples/example_3/target_gcc_32.yml +4 -3
  774. data/vendor/unity/examples/example_4/meson.build +12 -0
  775. data/vendor/unity/examples/example_4/readme.txt +15 -0
  776. data/vendor/unity/examples/example_4/src/ProductionCode.c +24 -0
  777. data/vendor/unity/examples/example_4/src/ProductionCode.h +3 -0
  778. data/vendor/unity/examples/example_4/src/ProductionCode2.c +11 -0
  779. data/vendor/unity/examples/example_4/src/ProductionCode2.h +2 -0
  780. data/vendor/unity/examples/example_4/src/meson.build +16 -0
  781. data/vendor/unity/examples/example_4/subprojects/unity.wrap +4 -0
  782. data/vendor/unity/examples/example_4/test/TestProductionCode.c +63 -0
  783. data/vendor/unity/examples/example_4/test/TestProductionCode2.c +35 -0
  784. data/vendor/unity/examples/example_4/test/meson.build +7 -0
  785. data/vendor/unity/examples/example_4/test/test_runners/TestProductionCode2_Runner.c +53 -0
  786. data/vendor/unity/examples/example_4/test/test_runners/TestProductionCode_Runner.c +57 -0
  787. data/vendor/unity/examples/example_4/test/test_runners/meson.build +13 -0
  788. data/vendor/unity/examples/unity_config.h +24 -19
  789. data/vendor/unity/extras/fixture/readme.md +29 -0
  790. data/vendor/unity/extras/fixture/src/unity_fixture.c +66 -188
  791. data/vendor/unity/extras/fixture/src/unity_fixture.h +4 -4
  792. data/vendor/unity/extras/fixture/src/unity_fixture_internals.h +3 -4
  793. data/vendor/unity/extras/fixture/test/Makefile +1 -4
  794. data/vendor/unity/extras/fixture/test/main/AllTests.c +0 -2
  795. data/vendor/unity/extras/fixture/test/unity_fixture_Test.c +0 -298
  796. data/vendor/unity/extras/fixture/test/unity_fixture_TestRunner.c +0 -25
  797. data/vendor/unity/extras/memory/readme.md +49 -0
  798. data/vendor/unity/extras/memory/src/unity_memory.c +202 -0
  799. data/vendor/unity/extras/memory/src/unity_memory.h +60 -0
  800. data/vendor/unity/extras/memory/test/Makefile +78 -0
  801. data/vendor/unity/extras/memory/test/unity_memory_Test.c +325 -0
  802. data/vendor/unity/extras/memory/test/unity_memory_TestRunner.c +49 -0
  803. data/vendor/unity/extras/memory/test/unity_output_Spy.c +56 -0
  804. data/vendor/unity/extras/memory/test/unity_output_Spy.h +16 -0
  805. data/vendor/unity/meson.build +14 -0
  806. data/vendor/unity/src/meson.build +11 -0
  807. data/vendor/unity/src/unity.c +709 -164
  808. data/vendor/unity/src/unity.h +278 -16
  809. data/vendor/unity/src/unity_internals.h +341 -126
  810. data/vendor/unity/test/Makefile +107 -11
  811. data/vendor/unity/test/rakefile +64 -26
  812. data/vendor/unity/test/rakefile_helper.rb +157 -102
  813. data/vendor/unity/test/targets/ansi.yml +44 -0
  814. data/vendor/unity/test/targets/clang_file.yml +68 -74
  815. data/vendor/unity/test/targets/clang_strict.yml +67 -74
  816. data/vendor/unity/test/targets/gcc_32.yml +42 -46
  817. data/vendor/unity/test/targets/gcc_64.yml +43 -47
  818. data/vendor/unity/test/targets/gcc_auto_limits.yml +40 -44
  819. data/vendor/unity/test/targets/gcc_auto_stdint.yml +52 -56
  820. data/vendor/unity/test/targets/gcc_manual_math.yml +40 -44
  821. data/vendor/unity/test/targets/hitech_picc18.yml +81 -91
  822. data/vendor/unity/test/targets/iar_arm_v4.yml +95 -87
  823. data/vendor/unity/test/targets/iar_arm_v5.yml +89 -77
  824. data/vendor/unity/test/targets/iar_arm_v5_3.yml +89 -77
  825. data/vendor/unity/test/targets/iar_armcortex_LM3S9B92_v5_4.yml +87 -91
  826. data/vendor/unity/test/targets/iar_cortexm3_v5.yml +91 -81
  827. data/vendor/unity/test/targets/iar_msp430.yml +109 -92
  828. data/vendor/unity/test/targets/iar_sh2a_v6.yml +96 -83
  829. data/vendor/unity/test/testdata/CException.h +1 -1
  830. data/vendor/unity/test/testdata/Defs.h +1 -1
  831. data/vendor/unity/test/testdata/cmock.h +1 -1
  832. data/vendor/unity/test/testdata/mockMock.h +1 -1
  833. data/vendor/unity/test/testdata/testRunnerGenerator.c +9 -3
  834. data/vendor/unity/test/testdata/testRunnerGeneratorSmall.c +4 -1
  835. data/vendor/unity/test/testdata/testRunnerGeneratorWithMocks.c +6 -1
  836. data/vendor/unity/test/tests/self_assessment_utils.h +144 -0
  837. data/vendor/unity/test/tests/test_generate_test_runner.rb +27 -19
  838. data/vendor/unity/test/tests/test_unity_arrays.c +2874 -0
  839. data/vendor/unity/test/tests/test_unity_core.c +371 -0
  840. data/vendor/unity/test/tests/test_unity_doubles.c +773 -0
  841. data/vendor/unity/test/tests/test_unity_floats.c +884 -0
  842. data/vendor/unity/test/tests/test_unity_integers.c +2847 -0
  843. data/vendor/unity/test/tests/test_unity_integers_64.c +773 -0
  844. data/vendor/unity/test/tests/test_unity_memory.c +81 -0
  845. data/vendor/unity/test/tests/test_unity_parameterized.c +171 -0
  846. data/vendor/unity/test/tests/test_unity_strings.c +329 -0
  847. data/vendor/unity/unityConfig.cmake +1 -0
  848. metadata +701 -77
  849. data/docs/CeedlingPacket.odt +0 -0
  850. data/docs/CeedlingPacket.pdf +0 -0
  851. data/examples/temp_sensor/rakefile.rb +0 -6
  852. data/lib/ceedling/version.rb.erb +0 -15
  853. data/plugins/bullseye/readme.txt +0 -0
  854. data/vendor/c_exception/LICENSE.txt +0 -30
  855. data/vendor/c_exception/Rakefile +0 -42
  856. data/vendor/c_exception/makefile +0 -24
  857. data/vendor/c_exception/release/build.info +0 -2
  858. data/vendor/c_exception/release/version.info +0 -2
  859. data/vendor/c_exception/test/TestException_Runner.c +0 -67
  860. data/vendor/cmock/release/build.info +0 -2
  861. data/vendor/cmock/release/version.info +0 -2
  862. data/vendor/deep_merge/MIT-LICENSE +0 -20
  863. data/vendor/deep_merge/README +0 -94
  864. data/vendor/deep_merge/Rakefile +0 -28
  865. data/vendor/deep_merge/lib/deep_merge.rb +0 -211
  866. data/vendor/deep_merge/pkg/deep_merge-0.1.0.gem +0 -0
  867. data/vendor/deep_merge/test/test_deep_merge.rb +0 -553
  868. data/vendor/unity/extras/fixture/rakefile.rb +0 -48
  869. data/vendor/unity/extras/fixture/rakefile_helper.rb +0 -178
  870. data/vendor/unity/extras/fixture/readme.txt +0 -9
  871. data/vendor/unity/release/build.info +0 -2
  872. data/vendor/unity/release/version.info +0 -2
  873. data/vendor/unity/test/tests/testunity.c +0 -5337
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 5ab20a20fd53b1935cb3c11cffa2f890c18f4f10
4
- data.tar.gz: 8d728ca829262063f0422614c248d0eb77ca77a7
2
+ SHA256:
3
+ metadata.gz: b31288bb9de3d69e188046013dcbb67be81d806c92c0a5b929a2e371805dc6ef
4
+ data.tar.gz: 2d9258e4429ff1a98567efa2635d833c89866f1300462951b2f38f4058174ec2
5
5
  SHA512:
6
- metadata.gz: 6aac3b5f1c9bf0179912b4bb8f1ea0889765643d9414afad5706bc45b20110045766b5ea8035809406df5247f8b6ec32ae7ebcc299ad1e2dce37365a50b3525c
7
- data.tar.gz: e40627df9e67de61b8f7e0e6e5360bcc4d69f727c1cff93a13fdbaea06f1333184b1fbf56664eeefab381926f68ae66e142f1194660442a619e12a699bf577f0
6
+ metadata.gz: 00ba79ff0844313de7ffee17a1fa5dbe1f64638be98ee3e4a7f722c7eafd26af641ee1f7f99366fd22ff29e8afe8df763b286d30dd7caafd7535465b19ea8a9e
7
+ data.tar.gz: beff63833ed09a8c94bf306163d2395433bb1341642bc0ce407fe3d5c034313f8cdba6b134e07a913eae3ca00f97dc87bf55741262142f6d0baba2b22bd9fdb5
data/Gemfile CHANGED
@@ -1,14 +1,14 @@
1
1
  source "http://rubygems.org/"
2
2
 
3
- gem "bundler", ">= 1.3.5"
4
- gem "rake", ">= 0.9.2.2"
5
-
6
- gem "rspec", "~> 3.0"
3
+ gem "bundler"
4
+ gem "rake"
5
+ gem "rspec", "~> 3.8"
7
6
  gem "require_all"
8
7
  gem "constructor"
9
8
  gem "diy"
10
9
  gem "rr"
11
10
  gem "thor"
11
+ gem "deep_merge"
12
12
 
13
13
  #these will be used if present, but ignored otherwise
14
14
  #gem "curses"
@@ -2,39 +2,42 @@ GEM
2
2
  remote: http://rubygems.org/
3
3
  specs:
4
4
  constructor (2.0.0)
5
- diff-lcs (1.2.5)
5
+ deep_merge (1.2.1)
6
+ diff-lcs (1.3)
6
7
  diy (1.1.2)
7
8
  constructor (>= 1.0.0)
8
- rake (10.5.0)
9
+ rake (12.3.3)
9
10
  require_all (1.3.3)
10
11
  rr (1.1.2)
11
- rspec (3.4.0)
12
- rspec-core (~> 3.4.0)
13
- rspec-expectations (~> 3.4.0)
14
- rspec-mocks (~> 3.4.0)
15
- rspec-core (3.4.2)
16
- rspec-support (~> 3.4.0)
17
- rspec-expectations (3.4.0)
12
+ rspec (3.8.0)
13
+ rspec-core (~> 3.8.0)
14
+ rspec-expectations (~> 3.8.0)
15
+ rspec-mocks (~> 3.8.0)
16
+ rspec-core (3.8.0)
17
+ rspec-support (~> 3.8.0)
18
+ rspec-expectations (3.8.2)
18
19
  diff-lcs (>= 1.2.0, < 2.0)
19
- rspec-support (~> 3.4.0)
20
- rspec-mocks (3.4.1)
20
+ rspec-support (~> 3.8.0)
21
+ rspec-mocks (3.8.0)
21
22
  diff-lcs (>= 1.2.0, < 2.0)
22
- rspec-support (~> 3.4.0)
23
- rspec-support (3.4.1)
23
+ rspec-support (~> 3.8.0)
24
+ rspec-support (3.8.0)
24
25
  thor (0.19.1)
25
26
 
26
27
  PLATFORMS
27
28
  ruby
29
+ x64-mingw32
28
30
 
29
31
  DEPENDENCIES
30
- bundler (>= 1.3.5)
32
+ bundler
31
33
  constructor
34
+ deep_merge
32
35
  diy
33
- rake (>= 0.9.2.2)
36
+ rake
34
37
  require_all
35
38
  rr
36
- rspec (~> 3.0)
39
+ rspec (~> 3.8)
37
40
  thor
38
41
 
39
42
  BUNDLED WITH
40
- 1.11.2
43
+ 2.0.2
data/README.md CHANGED
@@ -1,17 +1,20 @@
1
- Ceedling - Build/test system for C based on Ruby/Rake
2
- =====================================================
3
-
4
- [![Ceedling Build Status](https://api.travis-ci.org/ThrowTheSwitch/Ceedling.png?branch=master)](https://travis-ci.org/ThrowTheSwitch/Ceedling)
5
-
6
- Ceedling is a build system for C projects that is something of an extension around Ruby’s Rake (make-ish) build system. Ceedling also makes TDD (Test-Driven Development) in C a breeze by integrating [CMock](https://github.com/throwtheswitch/cmock), [Unity](https://github.com/throwtheswitch/unity), and [CException](https://github.com/throwtheswitch/cexception) -- three other awesome open-source projects you can’t live without if you're creating awesomeness in the C language. Ceedling is also extensible with a handy plugin mechanism.
1
+ Ceedling ![CI](https://github.com/ThrowTheSwitch/Ceedling/workflows/CI/badge.svg)
2
+ ========
3
+ Ceedling is a build system for C projects that is something of an extension
4
+ around Ruby’s Rake (make-ish) build system. Ceedling also makes TDD (Test-Driven Development)
5
+ in C a breeze by integrating [CMock](https://github.com/throwtheswitch/cmock),
6
+ [Unity](https://github.com/throwtheswitch/unity), and
7
+ [CException](https://github.com/throwtheswitch/cexception) --
8
+ three other awesome open-source projects you can’t live without if you're creating awesomeness
9
+ in the C language. Ceedling is also extensible with a handy plugin mechanism.
7
10
 
8
11
  Usage Documentation
9
12
  ===================
10
13
 
11
14
  Documentation and license info exists [in the repo in docs/](docs/CeedlingPacket.md)
12
15
 
13
- Getting Started (Developers)
14
- ============================
16
+ Getting Started
17
+ ===============
15
18
 
16
19
  First make sure Ruby is installed on your system (if it's not already). Then, from a command prompt:
17
20
 
@@ -23,44 +26,86 @@ First make sure Ruby is installed on your system (if it's not already). Then, fr
23
26
  > git clone --recursive https://github.com/throwtheswitch/ceedling.git
24
27
  > cd ceedling
25
28
  > bundle install # Ensures you have all RubyGems needed
26
- > bundle exec rake # Run all CMock library tests
29
+ > git submodule update --init --recursive # Updates all submodules
30
+ > bundle exec rake # Run all Ceedling library tests
27
31
 
28
32
  If bundler isn't installed on your system or you run into problems, you might have to install it:
29
33
 
30
34
  > sudo gem install bundler
31
35
 
32
- Pulling Ceedling inside a Project
33
- =================================
36
+ If you run into trouble running bundler and get messages like this `can't find gem
37
+ bundler (>= 0.a) with executable bundle (Gem::GemNotFoundException)`, you may
38
+ need to install a different version of bundler. For this please reference the
39
+ version in the Gemfile.lock. An example based on the current Gemfile.lock is as
40
+ followed:
34
41
 
35
- Ceedling can deploy all of its guts into a folder. This allows it
36
- to be used without having to worry about external dependencies.
37
- You don't have to worry about Ceedling changing for this particular
38
- project just because you updated your gems.
42
+ > sudo gem install bundler -v 1.16.2
43
+
44
+ Creating A Project
45
+ ==================
46
+
47
+ Creating a project with Ceedling is easy. Simply tell ceedling the
48
+ name of the project, and it will create a subdirectory called that
49
+ name and fill it with a default directory structure and configuration.
39
50
 
40
51
  ceedling new YourNewProjectName
41
52
 
42
- This will install all of Unity, CMock, and Ceedling into a new folder
43
- named YourNewProjectName. It will also create a simple directory structure
44
- for you with src and test folders. SCORE! It's also creates a simple
45
- rakefile and project.yml file that you can tweak to your own needs.
53
+ You can add files to your src and test directories and they will
54
+ instantly become part of your test build. Need a different structure?
55
+ You can start to tweak the `project.yml` file immediately with your new
56
+ path or tool requirements.
57
+
58
+ You can upgrade to the latest version of Ceedling at any time,
59
+ automatically gaining access to the packaged Unity and CMock that
60
+ come with it.
61
+
62
+ gem update ceedling
63
+
64
+ Documentation
65
+ =============
66
+
67
+ Are you just getting started with Ceedling? Maybe you'd like your
68
+ project to be installed with some of its handy documentation? No problem!
69
+ You can do this when you create a new project.
46
70
 
47
- It'll also include documentation for all of these tools, unless you
48
- specify --nodocs at when you issue the command above... then it skips
49
- that step for you.
71
+ ceedling new --docs MyAwesomeProject
50
72
 
51
- Using Ceedling From A Ruby Gem
73
+ Bonding Your Tools And Project
52
74
  ==============================
53
75
 
54
- Ceedling can also be used as a gem. By installing it this way, you
55
- can automatically update to the latest version of Ceedling, Unity,
56
- and CMock just by running an update on your gems. Use this if you
57
- are only running one project OR if you feel you want to keep all
58
- your projects up to date.
76
+ Ceedling can deploy all of its guts into the project as well. This
77
+ allows it to be used without having to worry about external dependencies.
78
+ You don't have to worry about Ceedling changing for this particular
79
+ project just because you updated your gems... no need to worry about
80
+ changes in Unity or CMock breaking your build in the future. If you'd like
81
+ to use Ceedling this way, tell it you want a local copy when you create
82
+ your project:
83
+
84
+ ceedling new --local YourNewProjectName
85
+
86
+ This will install all of Unity, CMock, and Ceedling into a new folder
87
+ named `vendor` inside your project `YourNewProjectName`. It will still create
88
+ the simple directory structure for you with `src` and `test` folders.
89
+
90
+ SCORE!
91
+
92
+ If you want to force a locally installed version of Ceedling to upgrade
93
+ to match your latest gem later, it's easy! Just issue the following command:
94
+
95
+ ceedling upgrade --local YourNewProjectName
96
+
97
+ Just like the `new` command, it's called from the parent directory of your
98
+ project.
99
+
100
+ Are you afraid of losing all your local changes when this happens? You can keep
101
+ Ceedling from updating your project file by issuing `no_configs`.
102
+
103
+ ceedling upgrade --local --no_configs TheProject
59
104
 
60
- ceedling new YourNewProjectName --as_gem
105
+ Git Integration
106
+ ===============
61
107
 
62
- This creates a new folder named YourNewProjectName. Inside it will be your
63
- shiny new project file, rakefile, and a couple of src and test directories
64
- to get you started. You can then tweak all of those things to your heart's
65
- content.
108
+ Are you using Git? You might want to automatically have Ceedling create a
109
+ `gitignore` file for you by adding `--gitignore` to your `new` call.
66
110
 
111
+ *HAPPY TESTING!*
@@ -0,0 +1,7 @@
1
+ #include "a.h"
2
+ #include "b.h"
3
+
4
+ int function_from_a(int a)
5
+ {
6
+ return 2 * function_from_b(a);
7
+ }
@@ -0,0 +1,7 @@
1
+ #include "b.h"
2
+ #include "c.h"
3
+
4
+ int function_from_b(int b)
5
+ {
6
+ return 2 * function_from_c(b);
7
+ }
@@ -0,0 +1,8 @@
1
+ #include "c.h"
2
+ #include "never_compiled.h"
3
+
4
+ int function_from_c(int c)
5
+ {
6
+ function_never_compiled(2);
7
+ return 2 * c;
8
+ }
@@ -0,0 +1,6 @@
1
+ #ifndef A_H
2
+ #define A_H
3
+
4
+ int function_from_a(int a);
5
+
6
+ #endif /* A_H */
@@ -0,0 +1,6 @@
1
+ #ifndef B_H
2
+ #define B_H
3
+
4
+ int function_from_b(int b);
5
+
6
+ #endif /* B_H */
@@ -0,0 +1,6 @@
1
+ #ifndef C_H
2
+ #define C_H
3
+
4
+ int function_from_c(int c);
5
+
6
+ #endif /* C_H */
@@ -0,0 +1,6 @@
1
+ #ifndef NEVER_COMPILED_H
2
+ #define NEVER_COMPILED_H
3
+
4
+ int function_never_compiled(int x);
5
+
6
+ #endif /* NEVER_COMPILED_H */
@@ -0,0 +1,6 @@
1
+ #include "never_compiled.h"
2
+
3
+ int function_never_compiled(int x)
4
+ {
5
+ never runed function
6
+ }
@@ -0,0 +1,11 @@
1
+ #include "unity.h"
2
+ #include "a.h"
3
+ #include "mock_never_compiled.h"
4
+
5
+ void setUp(void) {}
6
+ void tearDown(void) {}
7
+
8
+ void test_function_from_a_should_return_16(void) {
9
+ function_never_compiled_ExpectAndReturn(2, 2);
10
+ TEST_ASSERT_EQUAL(16, function_from_a(2));
11
+ }
@@ -0,0 +1,11 @@
1
+ #include "unity.h"
2
+ #include "b.h"
3
+ #include "mock_never_compiled.h"
4
+
5
+ void setUp(void) {}
6
+ void tearDown(void) {}
7
+
8
+ void test_function_from_b_should_return_8(void) {
9
+ function_never_compiled_ExpectAndReturn(2, 2);
10
+ TEST_ASSERT_EQUAL(8, function_from_b(2));
11
+ }
@@ -0,0 +1,11 @@
1
+ #include "unity.h"
2
+ #include "c.h"
3
+ #include "mock_never_compiled.h"
4
+
5
+ void setUp(void) {}
6
+ void tearDown(void) {}
7
+
8
+ void test_function_from_c_should_return_4(void) {
9
+ function_never_compiled_ExpectAndReturn(2, 2);
10
+ TEST_ASSERT_EQUAL(4, function_from_c(2));
11
+ }
@@ -0,0 +1,3 @@
1
+ #!/bin/bash
2
+
3
+ ruby vendor/ceedling/bin/ceedling $*
@@ -0,0 +1 @@
1
+ ruby vendor\ceedling\bin\ceedling %*
@@ -0,0 +1,5 @@
1
+ build/artifacts
2
+ build/gcov
3
+ build/logs
4
+ build/temp
5
+ build/test
@@ -13,9 +13,13 @@
13
13
  # :release_build: TRUE
14
14
  :test_file_prefix: test_
15
15
  :which_ceedling: gem
16
+ :ceedling_version: '?'
16
17
  :default_tasks:
17
18
  - test:all
18
19
 
20
+ #:test_build:
21
+ # :use_assembly: TRUE
22
+
19
23
  #:release_build:
20
24
  # :output: MyApp.out
21
25
  # :use_assembly: FALSE
@@ -33,12 +37,13 @@
33
37
  - src/**
34
38
  :support:
35
39
  - test/support
40
+ :libraries: []
36
41
 
37
42
  :defines:
38
43
  # in order to add common defines:
39
44
  # 1) remove the trailing [] from the :common: section
40
45
  # 2) add entries to the :common: section (e.g. :test: has TEST defined)
41
- :commmon: &common_defines []
46
+ :common: &common_defines []
42
47
  :test:
43
48
  - *common_defines
44
49
  - TEST
@@ -60,8 +65,15 @@
60
65
  int8: INT8
61
66
  bool: UINT8
62
67
 
68
+ # Add -gcov to the plugins list to make sure of the gcov plugin
69
+ # You will need to have gcov and gcovr both installed to make it work.
70
+ # For more information on these options, see docs in plugins/gcov
63
71
  :gcov:
64
- :html_report_type: basic
72
+ :reports:
73
+ - HtmlDetailed
74
+ :gcovr:
75
+ :html_medium_threshold: 75
76
+ :html_high_threshold: 90
65
77
 
66
78
  #:tools:
67
79
  # Ceedling defaults to using gcc for compiling, linking, etc.
@@ -74,12 +86,11 @@
74
86
  # tests or releases. These options are MERGED with the options in supplemental yaml files.
75
87
  :libraries:
76
88
  :placement: :end
77
- :flag: "${1}" # or "-L ${1}" for example
78
- :common: &common_libraries []
79
- :test:
80
- - *common_libraries
81
- :release:
82
- - *common_libraries
89
+ :flag: "-l${1}"
90
+ :path_flag: "-L ${1}"
91
+ :system: [] # for example, you might list 'm' to grab the math library
92
+ :test: []
93
+ :release: []
83
94
 
84
95
  :plugins:
85
96
  :load_paths:
@@ -13,9 +13,13 @@
13
13
  # :release_build: TRUE
14
14
  :test_file_prefix: test_
15
15
  :which_ceedling: vendor/ceedling
16
+ :ceedling_version: '?'
16
17
  :default_tasks:
17
18
  - test:all
18
19
 
20
+ #:test_build:
21
+ # :use_assembly: TRUE
22
+
19
23
  #:release_build:
20
24
  # :output: MyApp.out
21
25
  # :use_assembly: FALSE
@@ -33,12 +37,13 @@
33
37
  - src/**
34
38
  :support:
35
39
  - test/support
40
+ :libraries: []
36
41
 
37
42
  :defines:
38
43
  # in order to add common defines:
39
44
  # 1) remove the trailing [] from the :common: section
40
45
  # 2) add entries to the :common: section (e.g. :test: has TEST defined)
41
- :commmon: &common_defines []
46
+ :common: &common_defines []
42
47
  :test:
43
48
  - *common_defines
44
49
  - TEST
@@ -60,8 +65,15 @@
60
65
  int8: INT8
61
66
  bool: UINT8
62
67
 
68
+ # Add -gcov to the plugins list to make sure of the gcov plugin
69
+ # You will need to have gcov and gcovr both installed to make it work.
70
+ # For more information on these options, see docs in plugins/gcov
63
71
  :gcov:
64
- :html_report_type: basic
72
+ :reports:
73
+ - HtmlDetailed
74
+ :gcovr:
75
+ :html_medium_threshold: 75
76
+ :html_high_threshold: 90
65
77
 
66
78
  #:tools:
67
79
  # Ceedling defaults to using gcc for compiling, linking, etc.
@@ -74,12 +86,11 @@
74
86
  # tests or releases. These options are MERGED with the options in supplemental yaml files.
75
87
  :libraries:
76
88
  :placement: :end
77
- :flag: "${1}" # or "-L ${1}" for example
78
- :common: &common_libraries []
79
- :test:
80
- - *common_libraries
81
- :release:
82
- - *common_libraries
89
+ :flag: "-l${1}"
90
+ :path_flag: "-L ${1}"
91
+ :system: [] # for example, you might list 'm' to grab the math library
92
+ :test: []
93
+ :release: []
83
94
 
84
95
  :plugins:
85
96
  :load_paths:
@@ -87,4 +98,5 @@
87
98
  :enabled:
88
99
  - stdout_pretty_tests_report
89
100
  - module_generator
101
+ - raw_output_report
90
102
  ...