ceedling 0.20.3 → 0.21.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 (407) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +3 -0
  3. data/Gemfile.lock +1 -0
  4. data/Rakefile +1 -0
  5. data/bin/ceedling +79 -26
  6. data/lib/ceedling/configurator_plugins.rb +0 -18
  7. data/lib/ceedling/rules_cmock.rake +1 -1
  8. data/lib/ceedling/tasks_base.rake +5 -1
  9. data/lib/ceedling/tasks_tests.rake +12 -9
  10. data/lib/ceedling/version.rb +1 -1
  11. data/lib/ceedling/version.rb.erb +1 -1
  12. data/plugins/fake_function_framework/README.md +250 -0
  13. data/plugins/fake_function_framework/Rakefile +19 -0
  14. data/plugins/fake_function_framework/examples/fff_example/project.yml +71 -0
  15. data/plugins/fake_function_framework/examples/fff_example/rakefile.rb +7 -0
  16. data/plugins/fake_function_framework/examples/fff_example/src/bar.c +1 -0
  17. data/plugins/fake_function_framework/examples/fff_example/src/bar.h +13 -0
  18. data/plugins/fake_function_framework/examples/fff_example/src/custom_types.h +6 -0
  19. data/plugins/fake_function_framework/examples/fff_example/src/display.c +7 -0
  20. data/plugins/fake_function_framework/examples/fff_example/src/display.h +16 -0
  21. data/plugins/fake_function_framework/examples/fff_example/src/event_processor.c +92 -0
  22. data/plugins/fake_function_framework/examples/fff_example/src/event_processor.h +11 -0
  23. data/plugins/fake_function_framework/examples/fff_example/src/foo.c +16 -0
  24. data/plugins/fake_function_framework/examples/fff_example/src/foo.h +8 -0
  25. data/plugins/fake_function_framework/examples/fff_example/src/subfolder/zzz.c +1 -0
  26. data/plugins/fake_function_framework/examples/fff_example/src/subfolder/zzz.h +6 -0
  27. data/plugins/fake_function_framework/examples/fff_example/test/test_event_processor.c +155 -0
  28. data/plugins/fake_function_framework/examples/fff_example/test/test_foo.c +47 -0
  29. data/plugins/fake_function_framework/lib/fake_function_framework.rb +87 -0
  30. data/plugins/fake_function_framework/lib/fff_mock_generator.rb +159 -0
  31. data/plugins/fake_function_framework/spec/fff_mock_generator_spec.rb +464 -0
  32. data/plugins/fake_function_framework/spec/spec_helper.rb +96 -0
  33. data/plugins/fake_function_framework/src/fff_unity_helper.h +33 -0
  34. data/plugins/fake_function_framework/vendor/fff/LICENSE +25 -0
  35. data/plugins/fake_function_framework/vendor/fff/Makefile +10 -0
  36. data/plugins/fake_function_framework/vendor/fff/README.md +454 -0
  37. data/plugins/fake_function_framework/vendor/fff/buildandtest +15 -0
  38. data/plugins/fake_function_framework/vendor/fff/examples/Makefile +7 -0
  39. data/plugins/fake_function_framework/vendor/fff/examples/driver_testing/Makefile +64 -0
  40. data/plugins/fake_function_framework/vendor/fff/examples/driver_testing/driver.c +24 -0
  41. data/plugins/fake_function_framework/vendor/fff/examples/driver_testing/driver.h +11 -0
  42. data/plugins/fake_function_framework/vendor/fff/examples/driver_testing/driver.test.cpp +50 -0
  43. data/plugins/fake_function_framework/vendor/fff/examples/driver_testing/driver.test.fff.cpp +62 -0
  44. data/plugins/fake_function_framework/vendor/fff/examples/driver_testing/hardware_abstraction.h +15 -0
  45. data/plugins/fake_function_framework/vendor/fff/examples/driver_testing/registers.h +13 -0
  46. data/plugins/fake_function_framework/vendor/fff/examples/embedded_ui/DISPLAY.h +17 -0
  47. data/plugins/fake_function_framework/vendor/fff/examples/embedded_ui/Kata.txt +25 -0
  48. data/plugins/fake_function_framework/vendor/fff/examples/embedded_ui/Makefile +67 -0
  49. data/plugins/fake_function_framework/vendor/fff/examples/embedded_ui/SYSTEM.h +21 -0
  50. data/plugins/fake_function_framework/vendor/fff/examples/embedded_ui/UI.c +48 -0
  51. data/plugins/fake_function_framework/vendor/fff/examples/embedded_ui/UI.h +12 -0
  52. data/plugins/fake_function_framework/vendor/fff/examples/embedded_ui/UI_test_ansic.c +183 -0
  53. data/plugins/fake_function_framework/vendor/fff/examples/embedded_ui/UI_test_cpp.cpp +136 -0
  54. data/plugins/fake_function_framework/vendor/fff/examples/embedded_ui/test_suite_template.c +34 -0
  55. data/plugins/fake_function_framework/vendor/fff/fakegen.rb +420 -0
  56. data/plugins/fake_function_framework/vendor/fff/fff.h +5112 -0
  57. data/plugins/fake_function_framework/vendor/fff/gtest/Makefile +22 -0
  58. data/plugins/fake_function_framework/vendor/fff/gtest/gtest-all.cc +9118 -0
  59. data/plugins/fake_function_framework/vendor/fff/gtest/gtest-main.cc +6 -0
  60. data/plugins/fake_function_framework/vendor/fff/gtest/gtest.h +19537 -0
  61. data/plugins/fake_function_framework/vendor/fff/test/Makefile +81 -0
  62. data/plugins/fake_function_framework/vendor/fff/test/c_test_framework.h +15 -0
  63. data/plugins/fake_function_framework/vendor/fff/test/fff_test_c.c +108 -0
  64. data/plugins/fake_function_framework/vendor/fff/test/fff_test_cpp.cpp +45 -0
  65. data/plugins/fake_function_framework/vendor/fff/test/fff_test_global_c.c +76 -0
  66. data/plugins/fake_function_framework/vendor/fff/test/fff_test_global_cpp.cpp +23 -0
  67. data/plugins/fake_function_framework/vendor/fff/test/global_fakes.c +13 -0
  68. data/plugins/fake_function_framework/vendor/fff/test/global_fakes.h +37 -0
  69. data/plugins/fake_function_framework/vendor/fff/test/test_cases.include +276 -0
  70. data/plugins/gcov/README.md +9 -0
  71. data/plugins/gcov/{template.erb → assets/template.erb} +1 -1
  72. data/plugins/gcov/{defaults.yml → config/defaults.yml} +10 -1
  73. data/plugins/gcov/gcov.rake +20 -8
  74. data/plugins/gcov/{gcov.rb → lib/gcov.rb} +13 -24
  75. data/plugins/module_generator/module_generator.rake +3 -3
  76. data/plugins/warnings_report/lib/warnings_report.rb +69 -0
  77. data/plugins/xml_tests_report/lib/xml_tests_report.rb +108 -0
  78. data/spec/spec_system_helper.rb +1 -1
  79. data/vendor/c_exception/lib/CException.h +1 -1
  80. data/vendor/c_exception/vendor/unity/auto/generate_module.rb +16 -16
  81. data/vendor/c_exception/vendor/unity/auto/generate_test_runner.rb +61 -21
  82. data/vendor/c_exception/vendor/unity/auto/stylize_as_junit.rb +5 -1
  83. data/vendor/c_exception/vendor/unity/auto/unity_to_junit.py +146 -0
  84. data/vendor/c_exception/vendor/unity/docs/UnityAssertionsCheatSheetSuitableforPrintingandPossiblyFraming.pdf +0 -0
  85. data/vendor/c_exception/vendor/unity/docs/UnityAssertionsReference.pdf +0 -0
  86. data/vendor/c_exception/vendor/unity/docs/UnityConfigurationGuide.pdf +0 -0
  87. data/vendor/c_exception/vendor/unity/docs/UnityGettingStartedGuide.pdf +0 -0
  88. data/vendor/c_exception/vendor/unity/docs/UnityHelperScriptsGuide.pdf +0 -0
  89. data/vendor/c_exception/vendor/unity/examples/example_1/makefile +1 -1
  90. data/vendor/c_exception/vendor/unity/examples/example_1/src/ProductionCode.c +7 -7
  91. data/vendor/c_exception/vendor/unity/examples/example_1/src/ProductionCode2.c +2 -2
  92. data/vendor/c_exception/vendor/unity/examples/example_1/test/TestProductionCode.c +14 -14
  93. data/vendor/c_exception/vendor/unity/examples/example_1/test/TestProductionCode2.c +2 -2
  94. data/vendor/c_exception/vendor/unity/examples/example_1/test/test_runners/TestProductionCode2_Runner.c +5 -5
  95. data/vendor/c_exception/vendor/unity/examples/example_1/test/test_runners/TestProductionCode_Runner.c +5 -5
  96. data/vendor/c_exception/vendor/unity/examples/unity_config.h +257 -0
  97. data/vendor/c_exception/vendor/unity/extras/fixture/src/unity_fixture.c +9 -8
  98. data/vendor/c_exception/vendor/unity/extras/fixture/src/unity_fixture_internals.h +1 -0
  99. data/vendor/c_exception/vendor/unity/extras/fixture/test/Makefile +28 -8
  100. data/vendor/c_exception/vendor/unity/extras/fixture/test/unity_fixture_Test.c +57 -17
  101. data/vendor/c_exception/vendor/unity/extras/fixture/test/unity_fixture_TestRunner.c +3 -0
  102. data/vendor/c_exception/vendor/unity/extras/fixture/test/unity_output_Spy.c +2 -3
  103. data/vendor/c_exception/vendor/unity/extras/fixture/test/unity_output_Spy.h +1 -1
  104. data/vendor/c_exception/vendor/unity/release/version.info +1 -1
  105. data/vendor/c_exception/vendor/unity/src/unity.c +336 -191
  106. data/vendor/c_exception/vendor/unity/src/unity.h +73 -69
  107. data/vendor/c_exception/vendor/unity/src/unity_internals.h +119 -90
  108. data/vendor/c_exception/vendor/unity/test/Makefile +51 -0
  109. data/vendor/c_exception/vendor/unity/test/expectdata/testsample_cmd.c +5 -5
  110. data/vendor/c_exception/vendor/unity/test/expectdata/testsample_def.c +5 -5
  111. data/vendor/c_exception/vendor/unity/test/expectdata/testsample_head1.c +5 -5
  112. data/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_cmd.c +6 -6
  113. data/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_def.c +6 -6
  114. data/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_head1.c +6 -6
  115. data/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_new1.c +6 -6
  116. data/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_new2.c +8 -8
  117. data/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_param.c +6 -6
  118. data/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_run1.c +6 -6
  119. data/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_run2.c +8 -8
  120. data/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_yaml.c +7 -7
  121. data/vendor/c_exception/vendor/unity/test/expectdata/testsample_new1.c +5 -5
  122. data/vendor/c_exception/vendor/unity/test/expectdata/testsample_new2.c +7 -7
  123. data/vendor/c_exception/vendor/unity/test/expectdata/testsample_param.c +5 -5
  124. data/vendor/c_exception/vendor/unity/test/expectdata/testsample_run1.c +5 -5
  125. data/vendor/c_exception/vendor/unity/test/expectdata/testsample_run2.c +7 -7
  126. data/vendor/c_exception/vendor/unity/test/expectdata/testsample_yaml.c +6 -6
  127. data/vendor/c_exception/vendor/unity/test/rakefile +5 -0
  128. data/vendor/c_exception/vendor/unity/test/rakefile_helper.rb +9 -7
  129. data/vendor/c_exception/vendor/unity/test/targets/clang_file.yml +1 -0
  130. data/vendor/c_exception/vendor/unity/test/targets/clang_strict.yml +3 -0
  131. data/vendor/c_exception/vendor/unity/test/targets/gcc_32.yml +1 -0
  132. data/vendor/c_exception/vendor/unity/test/targets/gcc_64.yml +1 -0
  133. data/vendor/c_exception/vendor/unity/test/targets/gcc_auto_limits.yml +1 -0
  134. data/vendor/c_exception/vendor/unity/test/targets/gcc_auto_sizeof.yml +1 -0
  135. data/vendor/c_exception/vendor/unity/test/targets/gcc_auto_stdint.yml +1 -0
  136. data/vendor/c_exception/vendor/unity/test/targets/gcc_manual_math.yml +1 -0
  137. data/vendor/c_exception/vendor/unity/test/targets/iar_arm_v4.yml +1 -0
  138. data/vendor/c_exception/vendor/unity/test/targets/iar_arm_v5.yml +1 -0
  139. data/vendor/c_exception/vendor/unity/test/targets/iar_arm_v5_3.yml +1 -0
  140. data/vendor/c_exception/vendor/unity/test/targets/iar_armcortex_LM3S9B92_v5_4.yml +1 -0
  141. data/vendor/c_exception/vendor/unity/test/targets/iar_cortexm3_v5.yml +1 -0
  142. data/vendor/c_exception/vendor/unity/test/targets/iar_msp430.yml +1 -0
  143. data/vendor/c_exception/vendor/unity/test/targets/iar_sh2a_v6.yml +1 -0
  144. data/vendor/c_exception/vendor/unity/test/testdata/CException.h +11 -0
  145. data/vendor/c_exception/vendor/unity/test/testdata/Defs.h +8 -0
  146. data/vendor/c_exception/vendor/unity/test/testdata/cmock.h +14 -0
  147. data/vendor/c_exception/vendor/unity/test/testdata/mockMock.h +13 -0
  148. data/vendor/c_exception/vendor/unity/test/testdata/testRunnerGenerator.c +183 -0
  149. data/vendor/c_exception/vendor/unity/test/testdata/testRunnerGeneratorSmall.c +65 -0
  150. data/vendor/c_exception/vendor/unity/test/testdata/testRunnerGeneratorWithMocks.c +192 -0
  151. data/vendor/c_exception/vendor/unity/test/tests/test_generate_test_runner.rb +1221 -71
  152. data/vendor/c_exception/vendor/unity/test/tests/testparameterized.c +1 -1
  153. data/vendor/c_exception/vendor/unity/test/tests/testunity.c +127 -5
  154. data/vendor/cmock/docs/CMock_Summary.md +1 -1
  155. data/vendor/cmock/lib/cmock_generator.rb +7 -2
  156. data/vendor/cmock/lib/cmock_header_parser.rb +29 -9
  157. data/vendor/cmock/scripts/create_mock.rb +1 -1
  158. data/vendor/cmock/test/system/test_compilation/const.h +15 -0
  159. data/vendor/cmock/test/unit/cmock_generator_main_test.rb +4 -4
  160. data/vendor/cmock/test/unit/cmock_header_parser_test.rb +136 -73
  161. data/vendor/cmock/vendor/c_exception/lib/CException.h +1 -1
  162. data/vendor/cmock/vendor/c_exception/vendor/unity/auto/generate_module.rb +16 -16
  163. data/vendor/cmock/vendor/c_exception/vendor/unity/auto/generate_test_runner.rb +61 -21
  164. data/vendor/cmock/vendor/c_exception/vendor/unity/auto/stylize_as_junit.rb +5 -1
  165. data/vendor/cmock/vendor/c_exception/vendor/unity/auto/unity_to_junit.py +146 -0
  166. data/vendor/cmock/vendor/c_exception/vendor/unity/docs/UnityAssertionsCheatSheetSuitableforPrintingandPossiblyFraming.pdf +0 -0
  167. data/vendor/cmock/vendor/c_exception/vendor/unity/docs/UnityAssertionsReference.pdf +0 -0
  168. data/vendor/cmock/vendor/c_exception/vendor/unity/docs/UnityConfigurationGuide.pdf +0 -0
  169. data/vendor/cmock/vendor/c_exception/vendor/unity/docs/UnityGettingStartedGuide.pdf +0 -0
  170. data/vendor/cmock/vendor/c_exception/vendor/unity/docs/UnityHelperScriptsGuide.pdf +0 -0
  171. data/vendor/cmock/vendor/c_exception/vendor/unity/examples/example_1/makefile +1 -1
  172. data/vendor/cmock/vendor/c_exception/vendor/unity/examples/example_1/src/ProductionCode.c +7 -7
  173. data/vendor/cmock/vendor/c_exception/vendor/unity/examples/example_1/src/ProductionCode2.c +2 -2
  174. data/vendor/cmock/vendor/c_exception/vendor/unity/examples/example_1/test/TestProductionCode.c +14 -14
  175. data/vendor/cmock/vendor/c_exception/vendor/unity/examples/example_1/test/TestProductionCode2.c +2 -2
  176. data/vendor/cmock/vendor/c_exception/vendor/unity/examples/example_1/test/test_runners/TestProductionCode2_Runner.c +5 -5
  177. data/vendor/cmock/vendor/c_exception/vendor/unity/examples/example_1/test/test_runners/TestProductionCode_Runner.c +5 -5
  178. data/vendor/cmock/vendor/c_exception/vendor/unity/examples/unity_config.h +257 -0
  179. data/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/src/unity_fixture.c +9 -8
  180. data/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/src/unity_fixture_internals.h +1 -0
  181. data/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/test/Makefile +28 -8
  182. data/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/test/unity_fixture_Test.c +57 -17
  183. data/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/test/unity_fixture_TestRunner.c +3 -0
  184. data/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/test/unity_output_Spy.c +2 -3
  185. data/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/test/unity_output_Spy.h +1 -1
  186. data/vendor/cmock/vendor/c_exception/vendor/unity/release/version.info +1 -1
  187. data/vendor/cmock/vendor/c_exception/vendor/unity/src/unity.c +336 -191
  188. data/vendor/cmock/vendor/c_exception/vendor/unity/src/unity.h +73 -69
  189. data/vendor/cmock/vendor/c_exception/vendor/unity/src/unity_internals.h +119 -90
  190. data/vendor/cmock/vendor/c_exception/vendor/unity/test/Makefile +51 -0
  191. data/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_cmd.c +5 -5
  192. data/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_def.c +5 -5
  193. data/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_head1.c +5 -5
  194. data/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_cmd.c +6 -6
  195. data/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_def.c +6 -6
  196. data/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_head1.c +6 -6
  197. data/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_new1.c +6 -6
  198. data/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_new2.c +8 -8
  199. data/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_param.c +6 -6
  200. data/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_run1.c +6 -6
  201. data/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_run2.c +8 -8
  202. data/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_yaml.c +7 -7
  203. data/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_new1.c +5 -5
  204. data/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_new2.c +7 -7
  205. data/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_param.c +5 -5
  206. data/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_run1.c +5 -5
  207. data/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_run2.c +7 -7
  208. data/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_yaml.c +6 -6
  209. data/vendor/cmock/vendor/c_exception/vendor/unity/test/rakefile +5 -0
  210. data/vendor/cmock/vendor/c_exception/vendor/unity/test/rakefile_helper.rb +9 -7
  211. data/vendor/cmock/vendor/c_exception/vendor/unity/test/targets/clang_file.yml +1 -0
  212. data/vendor/cmock/vendor/c_exception/vendor/unity/test/targets/clang_strict.yml +3 -0
  213. data/vendor/cmock/vendor/c_exception/vendor/unity/test/targets/gcc_32.yml +1 -0
  214. data/vendor/cmock/vendor/c_exception/vendor/unity/test/targets/gcc_64.yml +1 -0
  215. data/vendor/cmock/vendor/c_exception/vendor/unity/test/targets/gcc_auto_limits.yml +1 -0
  216. data/vendor/cmock/vendor/c_exception/vendor/unity/test/targets/gcc_auto_sizeof.yml +1 -0
  217. data/vendor/cmock/vendor/c_exception/vendor/unity/test/targets/gcc_auto_stdint.yml +1 -0
  218. data/vendor/cmock/vendor/c_exception/vendor/unity/test/targets/gcc_manual_math.yml +1 -0
  219. data/vendor/cmock/vendor/c_exception/vendor/unity/test/targets/iar_arm_v4.yml +1 -0
  220. data/vendor/cmock/vendor/c_exception/vendor/unity/test/targets/iar_arm_v5.yml +1 -0
  221. data/vendor/cmock/vendor/c_exception/vendor/unity/test/targets/iar_arm_v5_3.yml +1 -0
  222. data/vendor/cmock/vendor/c_exception/vendor/unity/test/targets/iar_armcortex_LM3S9B92_v5_4.yml +1 -0
  223. data/vendor/cmock/vendor/c_exception/vendor/unity/test/targets/iar_cortexm3_v5.yml +1 -0
  224. data/vendor/cmock/vendor/c_exception/vendor/unity/test/targets/iar_msp430.yml +1 -0
  225. data/vendor/cmock/vendor/c_exception/vendor/unity/test/targets/iar_sh2a_v6.yml +1 -0
  226. data/vendor/cmock/vendor/c_exception/vendor/unity/test/testdata/CException.h +11 -0
  227. data/vendor/cmock/vendor/c_exception/vendor/unity/test/testdata/Defs.h +8 -0
  228. data/vendor/cmock/vendor/c_exception/vendor/unity/test/testdata/cmock.h +14 -0
  229. data/vendor/cmock/vendor/c_exception/vendor/unity/test/testdata/mockMock.h +13 -0
  230. data/vendor/cmock/vendor/c_exception/vendor/unity/test/testdata/testRunnerGenerator.c +183 -0
  231. data/vendor/cmock/vendor/c_exception/vendor/unity/test/testdata/testRunnerGeneratorSmall.c +65 -0
  232. data/vendor/cmock/vendor/c_exception/vendor/unity/test/testdata/testRunnerGeneratorWithMocks.c +192 -0
  233. data/vendor/cmock/vendor/c_exception/vendor/unity/test/tests/test_generate_test_runner.rb +1221 -71
  234. data/vendor/cmock/vendor/c_exception/vendor/unity/test/tests/testparameterized.c +1 -1
  235. data/vendor/cmock/vendor/c_exception/vendor/unity/test/tests/testunity.c +127 -5
  236. data/vendor/cmock/vendor/unity/auto/generate_module.rb +16 -16
  237. data/vendor/cmock/vendor/unity/auto/generate_test_runner.rb +61 -21
  238. data/vendor/cmock/vendor/unity/auto/stylize_as_junit.rb +5 -1
  239. data/vendor/cmock/vendor/unity/auto/unity_to_junit.py +146 -0
  240. data/vendor/cmock/vendor/unity/docs/UnityAssertionsCheatSheetSuitableforPrintingandPossiblyFraming.pdf +0 -0
  241. data/vendor/cmock/vendor/unity/docs/UnityAssertionsReference.pdf +0 -0
  242. data/vendor/cmock/vendor/unity/docs/UnityConfigurationGuide.pdf +0 -0
  243. data/vendor/cmock/vendor/unity/docs/UnityGettingStartedGuide.pdf +0 -0
  244. data/vendor/cmock/vendor/unity/docs/UnityHelperScriptsGuide.pdf +0 -0
  245. data/vendor/cmock/vendor/unity/examples/example_1/makefile +1 -1
  246. data/vendor/cmock/vendor/unity/examples/example_1/src/ProductionCode.c +7 -7
  247. data/vendor/cmock/vendor/unity/examples/example_1/src/ProductionCode2.c +2 -2
  248. data/vendor/cmock/vendor/unity/examples/example_1/test/TestProductionCode.c +14 -14
  249. data/vendor/cmock/vendor/unity/examples/example_1/test/TestProductionCode2.c +2 -2
  250. data/vendor/cmock/vendor/unity/examples/example_1/test/test_runners/TestProductionCode2_Runner.c +5 -5
  251. data/vendor/cmock/vendor/unity/examples/example_1/test/test_runners/TestProductionCode_Runner.c +5 -5
  252. data/vendor/cmock/vendor/unity/examples/unity_config.h +257 -0
  253. data/vendor/cmock/vendor/unity/extras/fixture/src/unity_fixture.c +3 -0
  254. data/vendor/cmock/vendor/unity/extras/fixture/test/unity_fixture_Test.c +5 -2
  255. data/vendor/cmock/vendor/unity/extras/fixture/test/unity_output_Spy.c +1 -2
  256. data/vendor/cmock/vendor/unity/extras/fixture/test/unity_output_Spy.h +1 -1
  257. data/vendor/cmock/vendor/unity/src/unity.c +329 -186
  258. data/vendor/cmock/vendor/unity/src/unity.h +73 -69
  259. data/vendor/cmock/vendor/unity/src/unity_internals.h +119 -94
  260. data/vendor/cmock/vendor/unity/test/Makefile +4 -5
  261. data/vendor/cmock/vendor/unity/test/expectdata/testsample_cmd.c +5 -5
  262. data/vendor/cmock/vendor/unity/test/expectdata/testsample_def.c +5 -5
  263. data/vendor/cmock/vendor/unity/test/expectdata/testsample_head1.c +5 -5
  264. data/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_cmd.c +6 -6
  265. data/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_def.c +6 -6
  266. data/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_head1.c +6 -6
  267. data/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_new1.c +6 -6
  268. data/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_new2.c +8 -8
  269. data/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_param.c +6 -6
  270. data/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_run1.c +6 -6
  271. data/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_run2.c +8 -8
  272. data/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_yaml.c +7 -7
  273. data/vendor/cmock/vendor/unity/test/expectdata/testsample_new1.c +5 -5
  274. data/vendor/cmock/vendor/unity/test/expectdata/testsample_new2.c +7 -7
  275. data/vendor/cmock/vendor/unity/test/expectdata/testsample_param.c +5 -5
  276. data/vendor/cmock/vendor/unity/test/expectdata/testsample_run1.c +5 -5
  277. data/vendor/cmock/vendor/unity/test/expectdata/testsample_run2.c +7 -7
  278. data/vendor/cmock/vendor/unity/test/expectdata/testsample_yaml.c +6 -6
  279. data/vendor/cmock/vendor/unity/test/rakefile +5 -0
  280. data/vendor/cmock/vendor/unity/test/rakefile_helper.rb +9 -7
  281. data/vendor/cmock/vendor/unity/test/targets/clang_file.yml +1 -0
  282. data/vendor/cmock/vendor/unity/test/targets/clang_strict.yml +3 -0
  283. data/vendor/cmock/vendor/unity/test/targets/gcc_32.yml +1 -0
  284. data/vendor/cmock/vendor/unity/test/targets/gcc_64.yml +1 -0
  285. data/vendor/cmock/vendor/unity/test/targets/gcc_auto_limits.yml +1 -0
  286. data/vendor/cmock/vendor/unity/test/targets/gcc_auto_sizeof.yml +1 -0
  287. data/vendor/cmock/vendor/unity/test/targets/gcc_auto_stdint.yml +1 -0
  288. data/vendor/cmock/vendor/unity/test/targets/gcc_manual_math.yml +1 -0
  289. data/vendor/cmock/vendor/unity/test/targets/iar_arm_v4.yml +1 -0
  290. data/vendor/cmock/vendor/unity/test/targets/iar_arm_v5.yml +1 -0
  291. data/vendor/cmock/vendor/unity/test/targets/iar_arm_v5_3.yml +1 -0
  292. data/vendor/cmock/vendor/unity/test/targets/iar_armcortex_LM3S9B92_v5_4.yml +1 -0
  293. data/vendor/cmock/vendor/unity/test/targets/iar_cortexm3_v5.yml +1 -0
  294. data/vendor/cmock/vendor/unity/test/targets/iar_msp430.yml +1 -0
  295. data/vendor/cmock/vendor/unity/test/targets/iar_sh2a_v6.yml +1 -0
  296. data/vendor/cmock/vendor/unity/test/testdata/CException.h +11 -0
  297. data/vendor/cmock/vendor/unity/test/testdata/Defs.h +8 -0
  298. data/vendor/cmock/vendor/unity/test/testdata/cmock.h +14 -0
  299. data/vendor/cmock/vendor/unity/test/testdata/mockMock.h +13 -0
  300. data/vendor/cmock/vendor/unity/test/testdata/testRunnerGenerator.c +183 -0
  301. data/vendor/cmock/vendor/unity/test/testdata/testRunnerGeneratorSmall.c +65 -0
  302. data/vendor/cmock/vendor/unity/test/testdata/testRunnerGeneratorWithMocks.c +192 -0
  303. data/vendor/cmock/vendor/unity/test/tests/test_generate_test_runner.rb +1221 -71
  304. data/vendor/cmock/vendor/unity/test/tests/testparameterized.c +1 -1
  305. data/vendor/cmock/vendor/unity/test/tests/testunity.c +104 -7
  306. data/vendor/deep_merge/README +94 -94
  307. data/vendor/deep_merge/Rakefile +28 -28
  308. data/vendor/deep_merge/lib/deep_merge.rb +211 -211
  309. data/vendor/deep_merge/test/test_deep_merge.rb +553 -553
  310. data/vendor/unity/auto/generate_module.rb +16 -16
  311. data/vendor/unity/auto/generate_test_runner.rb +61 -21
  312. data/vendor/unity/auto/stylize_as_junit.rb +5 -1
  313. data/vendor/unity/auto/unity_to_junit.py +146 -0
  314. data/vendor/unity/docs/UnityAssertionsCheatSheetSuitableforPrintingandPossiblyFraming.pdf +0 -0
  315. data/vendor/unity/docs/UnityAssertionsReference.pdf +0 -0
  316. data/vendor/unity/docs/UnityConfigurationGuide.pdf +0 -0
  317. data/vendor/unity/docs/UnityGettingStartedGuide.pdf +0 -0
  318. data/vendor/unity/docs/UnityHelperScriptsGuide.pdf +0 -0
  319. data/vendor/unity/examples/example_1/makefile +1 -1
  320. data/vendor/unity/examples/example_1/src/ProductionCode.c +7 -7
  321. data/vendor/unity/examples/example_1/src/ProductionCode2.c +2 -2
  322. data/vendor/unity/examples/example_1/test/TestProductionCode.c +14 -14
  323. data/vendor/unity/examples/example_1/test/TestProductionCode2.c +2 -2
  324. data/vendor/unity/examples/example_1/test/test_runners/TestProductionCode2_Runner.c +5 -5
  325. data/vendor/unity/examples/example_1/test/test_runners/TestProductionCode_Runner.c +5 -5
  326. data/vendor/unity/examples/unity_config.h +257 -0
  327. data/vendor/unity/extras/fixture/src/unity_fixture.c +3 -0
  328. data/vendor/unity/extras/fixture/test/unity_fixture_Test.c +5 -2
  329. data/vendor/unity/extras/fixture/test/unity_output_Spy.c +1 -2
  330. data/vendor/unity/extras/fixture/test/unity_output_Spy.h +1 -1
  331. data/vendor/unity/src/unity.c +329 -186
  332. data/vendor/unity/src/unity.h +73 -69
  333. data/vendor/unity/src/unity_internals.h +119 -94
  334. data/vendor/unity/test/Makefile +4 -5
  335. data/vendor/unity/test/expectdata/testsample_cmd.c +5 -5
  336. data/vendor/unity/test/expectdata/testsample_def.c +5 -5
  337. data/vendor/unity/test/expectdata/testsample_head1.c +5 -5
  338. data/vendor/unity/test/expectdata/testsample_mock_cmd.c +6 -6
  339. data/vendor/unity/test/expectdata/testsample_mock_def.c +6 -6
  340. data/vendor/unity/test/expectdata/testsample_mock_head1.c +6 -6
  341. data/vendor/unity/test/expectdata/testsample_mock_new1.c +6 -6
  342. data/vendor/unity/test/expectdata/testsample_mock_new2.c +8 -8
  343. data/vendor/unity/test/expectdata/testsample_mock_param.c +6 -6
  344. data/vendor/unity/test/expectdata/testsample_mock_run1.c +6 -6
  345. data/vendor/unity/test/expectdata/testsample_mock_run2.c +8 -8
  346. data/vendor/unity/test/expectdata/testsample_mock_yaml.c +7 -7
  347. data/vendor/unity/test/expectdata/testsample_new1.c +5 -5
  348. data/vendor/unity/test/expectdata/testsample_new2.c +7 -7
  349. data/vendor/unity/test/expectdata/testsample_param.c +5 -5
  350. data/vendor/unity/test/expectdata/testsample_run1.c +5 -5
  351. data/vendor/unity/test/expectdata/testsample_run2.c +7 -7
  352. data/vendor/unity/test/expectdata/testsample_yaml.c +6 -6
  353. data/vendor/unity/test/rakefile +5 -0
  354. data/vendor/unity/test/rakefile_helper.rb +9 -7
  355. data/vendor/unity/test/targets/clang_file.yml +1 -0
  356. data/vendor/unity/test/targets/clang_strict.yml +3 -0
  357. data/vendor/unity/test/targets/gcc_32.yml +1 -0
  358. data/vendor/unity/test/targets/gcc_64.yml +1 -0
  359. data/vendor/unity/test/targets/gcc_auto_limits.yml +1 -0
  360. data/vendor/unity/test/targets/gcc_auto_sizeof.yml +1 -0
  361. data/vendor/unity/test/targets/gcc_auto_stdint.yml +1 -0
  362. data/vendor/unity/test/targets/gcc_manual_math.yml +1 -0
  363. data/vendor/unity/test/targets/iar_arm_v4.yml +1 -0
  364. data/vendor/unity/test/targets/iar_arm_v5.yml +1 -0
  365. data/vendor/unity/test/targets/iar_arm_v5_3.yml +1 -0
  366. data/vendor/unity/test/targets/iar_armcortex_LM3S9B92_v5_4.yml +1 -0
  367. data/vendor/unity/test/targets/iar_cortexm3_v5.yml +1 -0
  368. data/vendor/unity/test/targets/iar_msp430.yml +1 -0
  369. data/vendor/unity/test/targets/iar_sh2a_v6.yml +1 -0
  370. data/vendor/unity/test/testdata/CException.h +11 -0
  371. data/vendor/unity/test/testdata/Defs.h +8 -0
  372. data/vendor/unity/test/testdata/cmock.h +14 -0
  373. data/vendor/unity/test/testdata/mockMock.h +13 -0
  374. data/vendor/unity/test/testdata/testRunnerGenerator.c +183 -0
  375. data/vendor/unity/test/testdata/testRunnerGeneratorSmall.c +65 -0
  376. data/vendor/unity/test/testdata/testRunnerGeneratorWithMocks.c +192 -0
  377. data/vendor/unity/test/tests/test_generate_test_runner.rb +1221 -71
  378. data/vendor/unity/test/tests/testparameterized.c +1 -1
  379. data/vendor/unity/test/tests/testunity.c +104 -7
  380. metadata +124 -32
  381. data/plugins/gcov/readme.txt +0 -0
  382. data/plugins/warnings_report/warnings_report.rb +0 -71
  383. data/plugins/xml_tests_report/xml_tests_report.rb +0 -110
  384. data/vendor/c_exception/vendor/unity/docs/Unity Summary.odt +0 -0
  385. data/vendor/c_exception/vendor/unity/docs/Unity Summary.pdf +0 -0
  386. data/vendor/c_exception/vendor/unity/docs/Unity Summary.txt +0 -224
  387. data/vendor/c_exception/vendor/unity/test/testdata/mocksample.c +0 -51
  388. data/vendor/c_exception/vendor/unity/test/testdata/sample.yml +0 -9
  389. data/vendor/c_exception/vendor/unity/test/testdata/testsample.c +0 -68
  390. data/vendor/cmock/vendor/c_exception/vendor/unity/docs/Unity Summary.odt +0 -0
  391. data/vendor/cmock/vendor/c_exception/vendor/unity/docs/Unity Summary.pdf +0 -0
  392. data/vendor/cmock/vendor/c_exception/vendor/unity/docs/Unity Summary.txt +0 -224
  393. data/vendor/cmock/vendor/c_exception/vendor/unity/test/testdata/mocksample.c +0 -51
  394. data/vendor/cmock/vendor/c_exception/vendor/unity/test/testdata/sample.yml +0 -9
  395. data/vendor/cmock/vendor/c_exception/vendor/unity/test/testdata/testsample.c +0 -68
  396. data/vendor/cmock/vendor/unity/docs/Unity Summary.odt +0 -0
  397. data/vendor/cmock/vendor/unity/docs/Unity Summary.pdf +0 -0
  398. data/vendor/cmock/vendor/unity/docs/Unity Summary.txt +0 -224
  399. data/vendor/cmock/vendor/unity/test/testdata/mocksample.c +0 -51
  400. data/vendor/cmock/vendor/unity/test/testdata/sample.yml +0 -9
  401. data/vendor/cmock/vendor/unity/test/testdata/testsample.c +0 -68
  402. data/vendor/unity/docs/Unity Summary.odt +0 -0
  403. data/vendor/unity/docs/Unity Summary.pdf +0 -0
  404. data/vendor/unity/docs/Unity Summary.txt +0 -224
  405. data/vendor/unity/test/testdata/mocksample.c +0 -51
  406. data/vendor/unity/test/testdata/sample.yml +0 -9
  407. data/vendor/unity/test/testdata/testsample.c +0 -68
@@ -0,0 +1,51 @@
1
+ CC ?= gcc
2
+ ifeq ($(shell uname -s), Darwin)
3
+ CC ?= clang
4
+ endif
5
+ #DEBUG = -O0 -g
6
+ CFLAGS += -std=c99 -pedantic -Wall -Wextra -Werror -Wredundant-decls
7
+ CFLAGS += $(DEBUG)
8
+ DEFINES = -D UNITY_OUTPUT_CHAR=putcharSpy
9
+ DEFINES += -D UNITY_SUPPORT_64 -D UNITY_INCLUDE_DOUBLE -D UNITY_NO_WEAK
10
+ SRC = ../src/unity.c tests/testunity.c build/testunityRunner.c
11
+ INC_DIR = -I ../src
12
+ COV_FLAGS = -fprofile-arcs -ftest-coverage -I ../../src
13
+ BUILD_DIR = build
14
+ TARGET = build/testunity-cov.exe
15
+
16
+ # To generate coverage, call 'make -s', the default target runs.
17
+ # To see missing coverage, follow up with 'make uncovered'.
18
+ # For verbose output of all the tests, run 'make test'.
19
+ default: coverage
20
+ .PHONY: default coverage uncovered test clean
21
+ coverage: $(BUILD_DIR)/testunityRunner.c
22
+ cd $(BUILD_DIR) && \
23
+ $(CC) $(CFLAGS) $(DEFINES) $(foreach i,$(SRC), ../$i) $(COV_FLAGS) -o ../$(TARGET)
24
+ rm -f $(BUILD_DIR)/*.gcda
25
+ ./$(TARGET) | grep Tests -A1
26
+ cd $(BUILD_DIR) && \
27
+ gcov unity.c | head -3
28
+ grep '###' $(BUILD_DIR)/unity.c.gcov -C2 || true
29
+
30
+ test: CFLAGS += -Wbad-function-cast -Wcast-qual -Wconversion -Wformat=2 -Wold-style-definition \
31
+ -Wpointer-arith -Wshadow -Wstrict-overflow=5 -Wstrict-prototypes -Wswitch-default -Wundef \
32
+ -Wunreachable-code -Wunused -fstrict-aliasing
33
+ test: $(BUILD_DIR)/testunityRunner.c
34
+ $(CC) $(CFLAGS) $(DEFINES) $(INC_DIR) $(SRC) -o $(TARGET)
35
+ ./$(TARGET)
36
+
37
+ $(BUILD_DIR)/testunityRunner.c: tests/testunity.c | $(BUILD_DIR)
38
+ awk $(AWK_SCRIPT) tests/testunity.c > $@
39
+
40
+ AWK_SCRIPT='/^void test/{ declarations[d++]=$$0; gsub(/\(?void\)? ?/,""); tests[t++]=$$0 } \
41
+ END{ print "\#include \"unity.h\" //Autogenerated by awk in Makefile" ; \
42
+ for (i=0; i<d; i++) { print declarations[i] ";" } \
43
+ printf "int main()\n{\n UNITY_BEGIN();\n" ; \
44
+ for (i=0; i<t; i++) { print " RUN_TEST(" tests[i] ");" } \
45
+ printf " return UNITY_END();\n}\n" }'
46
+
47
+ $(BUILD_DIR):
48
+ mkdir -p $(BUILD_DIR)
49
+
50
+ clean:
51
+ rm -f $(BUILD_DIR)/$(TARGET) $(BUILD_DIR)/*.gc* $(BUILD_DIR)/testunityRunner.c
@@ -1,6 +1,6 @@
1
1
  /* AUTOGENERATED FILE. DO NOT EDIT. */
2
2
 
3
- //=======Test Runner Used To Run Each Test Below=====
3
+ /*=======Test Runner Used To Run Each Test Below=====*/
4
4
  #define RUN_TEST(TestFunc, TestLineNum) \
5
5
  { \
6
6
  Unity.CurrentTestName = #TestFunc; \
@@ -21,7 +21,7 @@
21
21
  UnityConcludeTest(); \
22
22
  }
23
23
 
24
- //=======Automagically Detected Files To Include=====
24
+ /*=======Automagically Detected Files To Include=====*/
25
25
  #include "unity.h"
26
26
  #include <setjmp.h>
27
27
  #include <stdio.h>
@@ -30,7 +30,7 @@
30
30
  #include "stanky.h"
31
31
  #include <setjmp.h>
32
32
 
33
- //=======External Functions This Runner Calls=====
33
+ /*=======External Functions This Runner Calls=====*/
34
34
  extern void setUp(void);
35
35
  extern void tearDown(void);
36
36
  extern void test_TheFirstThingToTest(void);
@@ -39,7 +39,7 @@ extern void test_TheThirdThingToTest(void);
39
39
  extern void test_TheFourthThingToTest(void);
40
40
 
41
41
 
42
- //=======Test Reset Option=====
42
+ /*=======Test Reset Option=====*/
43
43
  void resetTest(void);
44
44
  void resetTest(void)
45
45
  {
@@ -48,7 +48,7 @@ void resetTest(void)
48
48
  }
49
49
 
50
50
 
51
- //=======MAIN=====
51
+ /*=======MAIN=====*/
52
52
  int main(void)
53
53
  {
54
54
  UnityBegin("testdata/testsample.c");
@@ -1,6 +1,6 @@
1
1
  /* AUTOGENERATED FILE. DO NOT EDIT. */
2
2
 
3
- //=======Test Runner Used To Run Each Test Below=====
3
+ /*=======Test Runner Used To Run Each Test Below=====*/
4
4
  #define RUN_TEST(TestFunc, TestLineNum) \
5
5
  { \
6
6
  Unity.CurrentTestName = #TestFunc; \
@@ -18,7 +18,7 @@
18
18
  UnityConcludeTest(); \
19
19
  }
20
20
 
21
- //=======Automagically Detected Files To Include=====
21
+ /*=======Automagically Detected Files To Include=====*/
22
22
  #include "unity.h"
23
23
  #include <setjmp.h>
24
24
  #include <stdio.h>
@@ -26,7 +26,7 @@
26
26
  #include "stanky.h"
27
27
  #include <setjmp.h>
28
28
 
29
- //=======External Functions This Runner Calls=====
29
+ /*=======External Functions This Runner Calls=====*/
30
30
  extern void setUp(void);
31
31
  extern void tearDown(void);
32
32
  extern void test_TheFirstThingToTest(void);
@@ -35,7 +35,7 @@ extern void test_TheThirdThingToTest(void);
35
35
  extern void test_TheFourthThingToTest(void);
36
36
 
37
37
 
38
- //=======Test Reset Option=====
38
+ /*=======Test Reset Option=====*/
39
39
  void resetTest(void);
40
40
  void resetTest(void)
41
41
  {
@@ -44,7 +44,7 @@ void resetTest(void)
44
44
  }
45
45
 
46
46
 
47
- //=======MAIN=====
47
+ /*=======MAIN=====*/
48
48
  int main(void)
49
49
  {
50
50
  UnityBegin("testdata/testsample.c");
@@ -1,6 +1,6 @@
1
1
  /* AUTOGENERATED FILE. DO NOT EDIT. */
2
2
 
3
- //=======Test Runner Used To Run Each Test Below=====
3
+ /*=======Test Runner Used To Run Each Test Below=====*/
4
4
  #define RUN_TEST(TestFunc, TestLineNum) \
5
5
  { \
6
6
  Unity.CurrentTestName = #TestFunc; \
@@ -18,13 +18,13 @@
18
18
  UnityConcludeTest(); \
19
19
  }
20
20
 
21
- //=======Automagically Detected Files To Include=====
21
+ /*=======Automagically Detected Files To Include=====*/
22
22
  #include "unity.h"
23
23
  #include <setjmp.h>
24
24
  #include <stdio.h>
25
25
  #include "testsample_head1.h"
26
26
 
27
- //=======External Functions This Runner Calls=====
27
+ /*=======External Functions This Runner Calls=====*/
28
28
  extern void setUp(void);
29
29
  extern void tearDown(void);
30
30
  extern void test_TheFirstThingToTest(void);
@@ -33,7 +33,7 @@ extern void test_TheThirdThingToTest(void);
33
33
  extern void test_TheFourthThingToTest(void);
34
34
 
35
35
 
36
- //=======Test Reset Option=====
36
+ /*=======Test Reset Option=====*/
37
37
  void resetTest(void);
38
38
  void resetTest(void)
39
39
  {
@@ -42,7 +42,7 @@ void resetTest(void)
42
42
  }
43
43
 
44
44
 
45
- //=======MAIN=====
45
+ /*=======MAIN=====*/
46
46
  int main(void)
47
47
  {
48
48
  UnityBegin("testdata/testsample.c");
@@ -1,6 +1,6 @@
1
1
  /* AUTOGENERATED FILE. DO NOT EDIT. */
2
2
 
3
- //=======Test Runner Used To Run Each Test Below=====
3
+ /*=======Test Runner Used To Run Each Test Below=====*/
4
4
  #define RUN_TEST(TestFunc, TestLineNum) \
5
5
  { \
6
6
  Unity.CurrentTestName = #TestFunc; \
@@ -25,7 +25,7 @@
25
25
  UnityConcludeTest(); \
26
26
  }
27
27
 
28
- //=======Automagically Detected Files To Include=====
28
+ /*=======Automagically Detected Files To Include=====*/
29
29
  #include "unity.h"
30
30
  #include "cmock.h"
31
31
  #include <setjmp.h>
@@ -35,14 +35,14 @@
35
35
  #include <setjmp.h>
36
36
  #include "Mockstanky.h"
37
37
 
38
- //=======External Functions This Runner Calls=====
38
+ /*=======External Functions This Runner Calls=====*/
39
39
  extern void setUp(void);
40
40
  extern void tearDown(void);
41
41
  extern void test_TheFirstThingToTest(void);
42
42
  extern void test_TheSecondThingToTest(void);
43
43
 
44
44
 
45
- //=======Mock Management=====
45
+ /*=======Mock Management=====*/
46
46
  static void CMock_Init(void)
47
47
  {
48
48
  Mockstanky_Init();
@@ -56,7 +56,7 @@ static void CMock_Destroy(void)
56
56
  Mockstanky_Destroy();
57
57
  }
58
58
 
59
- //=======Test Reset Option=====
59
+ /*=======Test Reset Option=====*/
60
60
  void resetTest(void);
61
61
  void resetTest(void)
62
62
  {
@@ -68,7 +68,7 @@ void resetTest(void)
68
68
  }
69
69
 
70
70
 
71
- //=======MAIN=====
71
+ /*=======MAIN=====*/
72
72
  int main(void)
73
73
  {
74
74
  UnityBegin("testdata/mocksample.c");
@@ -1,6 +1,6 @@
1
1
  /* AUTOGENERATED FILE. DO NOT EDIT. */
2
2
 
3
- //=======Test Runner Used To Run Each Test Below=====
3
+ /*=======Test Runner Used To Run Each Test Below=====*/
4
4
  #define RUN_TEST(TestFunc, TestLineNum) \
5
5
  { \
6
6
  Unity.CurrentTestName = #TestFunc; \
@@ -22,7 +22,7 @@
22
22
  UnityConcludeTest(); \
23
23
  }
24
24
 
25
- //=======Automagically Detected Files To Include=====
25
+ /*=======Automagically Detected Files To Include=====*/
26
26
  #include "unity.h"
27
27
  #include "cmock.h"
28
28
  #include <setjmp.h>
@@ -31,14 +31,14 @@
31
31
  #include <setjmp.h>
32
32
  #include "Mockstanky.h"
33
33
 
34
- //=======External Functions This Runner Calls=====
34
+ /*=======External Functions This Runner Calls=====*/
35
35
  extern void setUp(void);
36
36
  extern void tearDown(void);
37
37
  extern void test_TheFirstThingToTest(void);
38
38
  extern void test_TheSecondThingToTest(void);
39
39
 
40
40
 
41
- //=======Mock Management=====
41
+ /*=======Mock Management=====*/
42
42
  static void CMock_Init(void)
43
43
  {
44
44
  Mockstanky_Init();
@@ -52,7 +52,7 @@ static void CMock_Destroy(void)
52
52
  Mockstanky_Destroy();
53
53
  }
54
54
 
55
- //=======Test Reset Option=====
55
+ /*=======Test Reset Option=====*/
56
56
  void resetTest(void);
57
57
  void resetTest(void)
58
58
  {
@@ -64,7 +64,7 @@ void resetTest(void)
64
64
  }
65
65
 
66
66
 
67
- //=======MAIN=====
67
+ /*=======MAIN=====*/
68
68
  int main(void)
69
69
  {
70
70
  UnityBegin("testdata/mocksample.c");
@@ -1,6 +1,6 @@
1
1
  /* AUTOGENERATED FILE. DO NOT EDIT. */
2
2
 
3
- //=======Test Runner Used To Run Each Test Below=====
3
+ /*=======Test Runner Used To Run Each Test Below=====*/
4
4
  #define RUN_TEST(TestFunc, TestLineNum) \
5
5
  { \
6
6
  Unity.CurrentTestName = #TestFunc; \
@@ -22,7 +22,7 @@
22
22
  UnityConcludeTest(); \
23
23
  }
24
24
 
25
- //=======Automagically Detected Files To Include=====
25
+ /*=======Automagically Detected Files To Include=====*/
26
26
  #include "unity.h"
27
27
  #include "cmock.h"
28
28
  #include <setjmp.h>
@@ -30,14 +30,14 @@
30
30
  #include "testsample_mock_head1.h"
31
31
  #include "Mockstanky.h"
32
32
 
33
- //=======External Functions This Runner Calls=====
33
+ /*=======External Functions This Runner Calls=====*/
34
34
  extern void setUp(void);
35
35
  extern void tearDown(void);
36
36
  extern void test_TheFirstThingToTest(void);
37
37
  extern void test_TheSecondThingToTest(void);
38
38
 
39
39
 
40
- //=======Mock Management=====
40
+ /*=======Mock Management=====*/
41
41
  static void CMock_Init(void)
42
42
  {
43
43
  Mockstanky_Init();
@@ -51,7 +51,7 @@ static void CMock_Destroy(void)
51
51
  Mockstanky_Destroy();
52
52
  }
53
53
 
54
- //=======Test Reset Option=====
54
+ /*=======Test Reset Option=====*/
55
55
  void resetTest(void);
56
56
  void resetTest(void)
57
57
  {
@@ -63,7 +63,7 @@ void resetTest(void)
63
63
  }
64
64
 
65
65
 
66
- //=======MAIN=====
66
+ /*=======MAIN=====*/
67
67
  int main(void)
68
68
  {
69
69
  UnityBegin("testdata/mocksample.c");
@@ -1,6 +1,6 @@
1
1
  /* AUTOGENERATED FILE. DO NOT EDIT. */
2
2
 
3
- //=======Test Runner Used To Run Each Test Below=====
3
+ /*=======Test Runner Used To Run Each Test Below=====*/
4
4
  #define RUN_TEST(TestFunc, TestLineNum) \
5
5
  { \
6
6
  Unity.CurrentTestName = #TestFunc; \
@@ -25,7 +25,7 @@
25
25
  UnityConcludeTest(); \
26
26
  }
27
27
 
28
- //=======Automagically Detected Files To Include=====
28
+ /*=======Automagically Detected Files To Include=====*/
29
29
  #include "unity.h"
30
30
  #include "cmock.h"
31
31
  #include <setjmp.h>
@@ -41,14 +41,14 @@ int GlobalExpectCount;
41
41
  int GlobalVerifyOrder;
42
42
  char* GlobalOrderError;
43
43
 
44
- //=======External Functions This Runner Calls=====
44
+ /*=======External Functions This Runner Calls=====*/
45
45
  extern void setUp(void);
46
46
  extern void tearDown(void);
47
47
  extern void test_TheFirstThingToTest(void);
48
48
  extern void test_TheSecondThingToTest(void);
49
49
 
50
50
 
51
- //=======Mock Management=====
51
+ /*=======Mock Management=====*/
52
52
  static void CMock_Init(void)
53
53
  {
54
54
  GlobalExpectCount = 0;
@@ -65,7 +65,7 @@ static void CMock_Destroy(void)
65
65
  Mockstanky_Destroy();
66
66
  }
67
67
 
68
- //=======Test Reset Option=====
68
+ /*=======Test Reset Option=====*/
69
69
  void resetTest(void);
70
70
  void resetTest(void)
71
71
  {
@@ -77,7 +77,7 @@ void resetTest(void)
77
77
  }
78
78
 
79
79
 
80
- //=======MAIN=====
80
+ /*=======MAIN=====*/
81
81
  int main(void)
82
82
  {
83
83
  UnityBegin("testdata/mocksample.c");
@@ -1,6 +1,6 @@
1
1
  /* AUTOGENERATED FILE. DO NOT EDIT. */
2
2
 
3
- //=======Test Runner Used To Run Each Test Below=====
3
+ /*=======Test Runner Used To Run Each Test Below=====*/
4
4
  #define RUN_TEST(TestFunc, TestLineNum) \
5
5
  { \
6
6
  Unity.CurrentTestName = #TestFunc; \
@@ -22,7 +22,7 @@
22
22
  UnityConcludeTest(); \
23
23
  }
24
24
 
25
- //=======Automagically Detected Files To Include=====
25
+ /*=======Automagically Detected Files To Include=====*/
26
26
  #include "unity.h"
27
27
  #include "cmock.h"
28
28
  #include <setjmp.h>
@@ -31,14 +31,14 @@
31
31
  #include <setjmp.h>
32
32
  #include "Mockstanky.h"
33
33
 
34
- //=======External Functions This Runner Calls=====
34
+ /*=======External Functions This Runner Calls=====*/
35
35
  extern void setUp(void);
36
36
  extern void tearDown(void);
37
37
  extern void test_TheFirstThingToTest(void);
38
38
  extern void test_TheSecondThingToTest(void);
39
39
 
40
40
 
41
- //=======Mock Management=====
41
+ /*=======Mock Management=====*/
42
42
  static void CMock_Init(void)
43
43
  {
44
44
  Mockstanky_Init();
@@ -52,19 +52,19 @@ static void CMock_Destroy(void)
52
52
  Mockstanky_Destroy();
53
53
  }
54
54
 
55
- //=======Suite Setup=====
55
+ /*=======Suite Setup=====*/
56
56
  static int suite_setup(void)
57
57
  {
58
58
  a_custom_setup();
59
59
  }
60
60
 
61
- //=======Suite Teardown=====
61
+ /*=======Suite Teardown=====*/
62
62
  static int suite_teardown(int num_failures)
63
63
  {
64
64
  a_custom_teardown();
65
65
  }
66
66
 
67
- //=======Test Reset Option=====
67
+ /*=======Test Reset Option=====*/
68
68
  void resetTest(void);
69
69
  void resetTest(void)
70
70
  {
@@ -76,7 +76,7 @@ void resetTest(void)
76
76
  }
77
77
 
78
78
 
79
- //=======MAIN=====
79
+ /*=======MAIN=====*/
80
80
  int main(void)
81
81
  {
82
82
  suite_setup();