ceedling 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (991) hide show
  1. data/.gitignore +4 -0
  2. data/.vim +1 -0
  3. data/Gemfile +3 -0
  4. data/LICENSE +19 -0
  5. data/Rakefile +18 -0
  6. data/bin/ceedling +39 -0
  7. data/ceedling.gemspec +23 -0
  8. data/lib/ceedling/version.rb +10 -0
  9. data/lib/ceedling/version.rb.erb +10 -0
  10. data/lib/ceedling.rb +5 -0
  11. data/new_project_template/build/.gitkeep +0 -0
  12. data/new_project_template/project.yml +65 -0
  13. data/new_project_template/rakefile.rb +4 -0
  14. data/new_project_template/src/.gitkeep +0 -0
  15. data/new_project_template/test/.gitkeep +0 -0
  16. data/new_project_template/test/support/.gitkeep +0 -0
  17. data/new_project_template/vendor/ceedling/config/test_environment.rb +12 -0
  18. data/new_project_template/vendor/ceedling/docs/Ceedling Packet.odt +0 -0
  19. data/new_project_template/vendor/ceedling/docs/Ceedling Packet.pdf +0 -0
  20. data/new_project_template/vendor/ceedling/docs/CeedlingLogo.png +0 -0
  21. data/new_project_template/vendor/ceedling/examples/temp_sensor/gcc.yml +42 -0
  22. data/new_project_template/vendor/ceedling/examples/temp_sensor/iar_v4.yml +91 -0
  23. data/new_project_template/vendor/ceedling/examples/temp_sensor/iar_v5.yml +80 -0
  24. data/new_project_template/vendor/ceedling/examples/temp_sensor/project.yml +65 -0
  25. data/new_project_template/vendor/ceedling/examples/temp_sensor/rakefile.rb +5 -0
  26. data/new_project_template/vendor/ceedling/examples/temp_sensor/src/AdcConductor.c +42 -0
  27. data/new_project_template/vendor/ceedling/examples/temp_sensor/src/AdcConductor.h +13 -0
  28. data/new_project_template/vendor/ceedling/examples/temp_sensor/src/AdcHardware.c +27 -0
  29. data/new_project_template/vendor/ceedling/examples/temp_sensor/src/AdcHardware.h +11 -0
  30. data/new_project_template/vendor/ceedling/examples/temp_sensor/src/AdcHardwareConfigurator.c +18 -0
  31. data/new_project_template/vendor/ceedling/examples/temp_sensor/src/AdcHardwareConfigurator.h +10 -0
  32. data/new_project_template/vendor/ceedling/examples/temp_sensor/src/AdcModel.c +33 -0
  33. data/new_project_template/vendor/ceedling/examples/temp_sensor/src/AdcModel.h +13 -0
  34. data/new_project_template/vendor/ceedling/examples/temp_sensor/src/AdcTemperatureSensor.c +51 -0
  35. data/new_project_template/vendor/ceedling/examples/temp_sensor/src/AdcTemperatureSensor.h +10 -0
  36. data/new_project_template/vendor/ceedling/examples/temp_sensor/src/Executor.c +25 -0
  37. data/new_project_template/vendor/ceedling/examples/temp_sensor/src/Executor.h +9 -0
  38. data/new_project_template/vendor/ceedling/examples/temp_sensor/src/IntrinsicsWrapper.c +18 -0
  39. data/new_project_template/vendor/ceedling/examples/temp_sensor/src/IntrinsicsWrapper.h +7 -0
  40. data/new_project_template/vendor/ceedling/examples/temp_sensor/src/Main.c +46 -0
  41. data/new_project_template/vendor/ceedling/examples/temp_sensor/src/Main.h +7 -0
  42. data/new_project_template/vendor/ceedling/examples/temp_sensor/src/Model.c +10 -0
  43. data/new_project_template/vendor/ceedling/examples/temp_sensor/src/Model.h +8 -0
  44. data/new_project_template/vendor/ceedling/examples/temp_sensor/src/ModelConfig.h +7 -0
  45. data/new_project_template/vendor/ceedling/examples/temp_sensor/src/TaskScheduler.c +72 -0
  46. data/new_project_template/vendor/ceedling/examples/temp_sensor/src/TaskScheduler.h +11 -0
  47. data/new_project_template/vendor/ceedling/examples/temp_sensor/src/TemperatureCalculator.c +27 -0
  48. data/new_project_template/vendor/ceedling/examples/temp_sensor/src/TemperatureCalculator.h +8 -0
  49. data/new_project_template/vendor/ceedling/examples/temp_sensor/src/TemperatureFilter.c +39 -0
  50. data/new_project_template/vendor/ceedling/examples/temp_sensor/src/TemperatureFilter.h +10 -0
  51. data/new_project_template/vendor/ceedling/examples/temp_sensor/src/TimerConductor.c +15 -0
  52. data/new_project_template/vendor/ceedling/examples/temp_sensor/src/TimerConductor.h +9 -0
  53. data/new_project_template/vendor/ceedling/examples/temp_sensor/src/TimerConfigurator.c +51 -0
  54. data/new_project_template/vendor/ceedling/examples/temp_sensor/src/TimerConfigurator.h +15 -0
  55. data/new_project_template/vendor/ceedling/examples/temp_sensor/src/TimerHardware.c +15 -0
  56. data/new_project_template/vendor/ceedling/examples/temp_sensor/src/TimerHardware.h +8 -0
  57. data/new_project_template/vendor/ceedling/examples/temp_sensor/src/TimerInterruptConfigurator.c +55 -0
  58. data/new_project_template/vendor/ceedling/examples/temp_sensor/src/TimerInterruptConfigurator.h +13 -0
  59. data/new_project_template/vendor/ceedling/examples/temp_sensor/src/TimerInterruptHandler.c +25 -0
  60. data/new_project_template/vendor/ceedling/examples/temp_sensor/src/TimerInterruptHandler.h +10 -0
  61. data/new_project_template/vendor/ceedling/examples/temp_sensor/src/TimerModel.c +9 -0
  62. data/new_project_template/vendor/ceedling/examples/temp_sensor/src/TimerModel.h +8 -0
  63. data/new_project_template/vendor/ceedling/examples/temp_sensor/src/Types.h +90 -0
  64. data/new_project_template/vendor/ceedling/examples/temp_sensor/src/UsartBaudRateRegisterCalculator.c +18 -0
  65. data/new_project_template/vendor/ceedling/examples/temp_sensor/src/UsartBaudRateRegisterCalculator.h +8 -0
  66. data/new_project_template/vendor/ceedling/examples/temp_sensor/src/UsartConductor.c +21 -0
  67. data/new_project_template/vendor/ceedling/examples/temp_sensor/src/UsartConductor.h +7 -0
  68. data/new_project_template/vendor/ceedling/examples/temp_sensor/src/UsartConfigurator.c +39 -0
  69. data/new_project_template/vendor/ceedling/examples/temp_sensor/src/UsartConfigurator.h +13 -0
  70. data/new_project_template/vendor/ceedling/examples/temp_sensor/src/UsartHardware.c +22 -0
  71. data/new_project_template/vendor/ceedling/examples/temp_sensor/src/UsartHardware.h +9 -0
  72. data/new_project_template/vendor/ceedling/examples/temp_sensor/src/UsartModel.c +34 -0
  73. data/new_project_template/vendor/ceedling/examples/temp_sensor/src/UsartModel.h +10 -0
  74. data/new_project_template/vendor/ceedling/examples/temp_sensor/src/UsartPutChar.c +16 -0
  75. data/new_project_template/vendor/ceedling/examples/temp_sensor/src/UsartPutChar.h +8 -0
  76. data/new_project_template/vendor/ceedling/examples/temp_sensor/src/UsartTransmitBufferStatus.c +7 -0
  77. data/new_project_template/vendor/ceedling/examples/temp_sensor/src/UsartTransmitBufferStatus.h +8 -0
  78. data/new_project_template/vendor/ceedling/examples/temp_sensor/test/TestAdcConductor.c +121 -0
  79. data/new_project_template/vendor/ceedling/examples/temp_sensor/test/TestAdcHardware.c +44 -0
  80. data/new_project_template/vendor/ceedling/examples/temp_sensor/test/TestAdcModel.c +33 -0
  81. data/new_project_template/vendor/ceedling/examples/temp_sensor/test/TestExecutor.c +36 -0
  82. data/new_project_template/vendor/ceedling/examples/temp_sensor/test/TestMain.c +24 -0
  83. data/new_project_template/vendor/ceedling/examples/temp_sensor/test/TestModel.c +20 -0
  84. data/new_project_template/vendor/ceedling/examples/temp_sensor/test/TestTaskScheduler.c +104 -0
  85. data/new_project_template/vendor/ceedling/examples/temp_sensor/test/TestTemperatureCalculator.c +33 -0
  86. data/new_project_template/vendor/ceedling/examples/temp_sensor/test/TestTemperatureFilter.c +69 -0
  87. data/new_project_template/vendor/ceedling/examples/temp_sensor/test/TestTimerConductor.c +32 -0
  88. data/new_project_template/vendor/ceedling/examples/temp_sensor/test/TestTimerHardware.c +26 -0
  89. data/new_project_template/vendor/ceedling/examples/temp_sensor/test/TestTimerModel.c +18 -0
  90. data/new_project_template/vendor/ceedling/examples/temp_sensor/test/TestUsartBaudRateRegisterCalculator.c +21 -0
  91. data/new_project_template/vendor/ceedling/examples/temp_sensor/test/TestUsartConductor.c +40 -0
  92. data/new_project_template/vendor/ceedling/examples/temp_sensor/test/TestUsartHardware.c +36 -0
  93. data/new_project_template/vendor/ceedling/examples/temp_sensor/test/TestUsartModel.c +40 -0
  94. data/new_project_template/vendor/ceedling/examples/temp_sensor/test/support/UnityHelper.c +12 -0
  95. data/new_project_template/vendor/ceedling/examples/temp_sensor/test/support/UnityHelper.h +8 -0
  96. data/new_project_template/vendor/ceedling/lib/cacheinator.rb +42 -0
  97. data/new_project_template/vendor/ceedling/lib/cacheinator_helper.rb +12 -0
  98. data/new_project_template/vendor/ceedling/lib/cmock_builder.rb +15 -0
  99. data/new_project_template/vendor/ceedling/lib/configurator.rb +254 -0
  100. data/new_project_template/vendor/ceedling/lib/configurator_builder.rb +408 -0
  101. data/new_project_template/vendor/ceedling/lib/configurator_plugins.rb +96 -0
  102. data/new_project_template/vendor/ceedling/lib/configurator_setup.rb +114 -0
  103. data/new_project_template/vendor/ceedling/lib/configurator_validator.rb +154 -0
  104. data/new_project_template/vendor/ceedling/lib/constants.rb +66 -0
  105. data/new_project_template/vendor/ceedling/lib/defaults.rb +349 -0
  106. data/new_project_template/vendor/ceedling/lib/dependinator.rb +92 -0
  107. data/new_project_template/vendor/ceedling/lib/file_finder.rb +132 -0
  108. data/new_project_template/vendor/ceedling/lib/file_finder_helper.rb +54 -0
  109. data/new_project_template/vendor/ceedling/lib/file_path_utils.rb +177 -0
  110. data/new_project_template/vendor/ceedling/lib/file_system_utils.rb +59 -0
  111. data/new_project_template/vendor/ceedling/lib/file_wrapper.rb +74 -0
  112. data/new_project_template/vendor/ceedling/lib/generator.rb +131 -0
  113. data/new_project_template/vendor/ceedling/lib/generator_test_results.rb +90 -0
  114. data/new_project_template/vendor/ceedling/lib/generator_test_results_sanity_checker.rb +62 -0
  115. data/new_project_template/vendor/ceedling/lib/generator_test_runner.rb +206 -0
  116. data/new_project_template/vendor/ceedling/lib/loginator.rb +31 -0
  117. data/new_project_template/vendor/ceedling/lib/makefile.rb +46 -0
  118. data/new_project_template/vendor/ceedling/lib/objects.yml +278 -0
  119. data/new_project_template/vendor/ceedling/lib/plugin.rb +63 -0
  120. data/new_project_template/vendor/ceedling/lib/plugin_manager.rb +85 -0
  121. data/new_project_template/vendor/ceedling/lib/plugin_manager_helper.rb +19 -0
  122. data/new_project_template/vendor/ceedling/lib/plugin_reportinator.rb +75 -0
  123. data/new_project_template/vendor/ceedling/lib/plugin_reportinator_helper.rb +52 -0
  124. data/new_project_template/vendor/ceedling/lib/preprocessinator.rb +43 -0
  125. data/new_project_template/vendor/ceedling/lib/preprocessinator_extractor.rb +27 -0
  126. data/new_project_template/vendor/ceedling/lib/preprocessinator_file_handler.rb +21 -0
  127. data/new_project_template/vendor/ceedling/lib/preprocessinator_helper.rb +46 -0
  128. data/new_project_template/vendor/ceedling/lib/preprocessinator_includes_handler.rb +55 -0
  129. data/new_project_template/vendor/ceedling/lib/project_config_manager.rb +38 -0
  130. data/new_project_template/vendor/ceedling/lib/project_file_loader.rb +64 -0
  131. data/new_project_template/vendor/ceedling/lib/rake_utils.rb +17 -0
  132. data/new_project_template/vendor/ceedling/lib/rake_wrapper.rb +31 -0
  133. data/new_project_template/vendor/ceedling/lib/rakefile.rb +60 -0
  134. data/new_project_template/vendor/ceedling/lib/release_invoker.rb +29 -0
  135. data/new_project_template/vendor/ceedling/lib/release_invoker_helper.rb +16 -0
  136. data/new_project_template/vendor/ceedling/lib/reportinator.rb +9 -0
  137. data/new_project_template/vendor/ceedling/lib/rules_cmock.rake +9 -0
  138. data/new_project_template/vendor/ceedling/lib/rules_preprocess.rake +26 -0
  139. data/new_project_template/vendor/ceedling/lib/rules_release.rake +63 -0
  140. data/new_project_template/vendor/ceedling/lib/rules_release_aux_dependencies.rake +15 -0
  141. data/new_project_template/vendor/ceedling/lib/rules_tests.rake +49 -0
  142. data/new_project_template/vendor/ceedling/lib/rules_tests_aux_dependencies.rake +15 -0
  143. data/new_project_template/vendor/ceedling/lib/setupinator.rb +45 -0
  144. data/new_project_template/vendor/ceedling/lib/stream_wrapper.rb +20 -0
  145. data/new_project_template/vendor/ceedling/lib/streaminator.rb +41 -0
  146. data/new_project_template/vendor/ceedling/lib/streaminator_helper.rb +15 -0
  147. data/new_project_template/vendor/ceedling/lib/system_wrapper.rb +67 -0
  148. data/new_project_template/vendor/ceedling/lib/task_invoker.rb +85 -0
  149. data/new_project_template/vendor/ceedling/lib/tasks_base.rake +104 -0
  150. data/new_project_template/vendor/ceedling/lib/tasks_filesystem.rake +89 -0
  151. data/new_project_template/vendor/ceedling/lib/tasks_release.rake +22 -0
  152. data/new_project_template/vendor/ceedling/lib/tasks_tests.rake +49 -0
  153. data/new_project_template/vendor/ceedling/lib/tasks_vendor.rake +36 -0
  154. data/new_project_template/vendor/ceedling/lib/test_includes_extractor.rb +81 -0
  155. data/new_project_template/vendor/ceedling/lib/test_invoker.rb +72 -0
  156. data/new_project_template/vendor/ceedling/lib/test_invoker_helper.rb +41 -0
  157. data/new_project_template/vendor/ceedling/lib/tool_executor.rb +178 -0
  158. data/new_project_template/vendor/ceedling/lib/tool_executor_helper.rb +57 -0
  159. data/new_project_template/vendor/ceedling/lib/verbosinator.rb +10 -0
  160. data/new_project_template/vendor/ceedling/lib/yaml_wrapper.rb +16 -0
  161. data/new_project_template/vendor/ceedling/plugins/stdout_ide_tests_report/stdout_ide_tests_report.rb +44 -0
  162. data/new_project_template/vendor/ceedling/plugins/stdout_ide_tests_report/stdout_ide_tests_report.yml +4 -0
  163. data/new_project_template/vendor/ceedling/plugins/stdout_pretty_tests_report/stdout_pretty_tests_report.rb +108 -0
  164. data/new_project_template/vendor/ceedling/plugins/stdout_pretty_tests_report/stdout_pretty_tests_report.yml +4 -0
  165. data/new_project_template/vendor/ceedling/plugins/xml_tests_report/xml_tests_report.rb +106 -0
  166. data/new_project_template/vendor/ceedling/rakefile.rb +59 -0
  167. data/new_project_template/vendor/ceedling/rakefile_helper.rb +23 -0
  168. data/new_project_template/vendor/ceedling/release/build.info +1 -0
  169. data/new_project_template/vendor/ceedling/release/version.info +1 -0
  170. data/new_project_template/vendor/ceedling/test/integration/paths.yml +17 -0
  171. data/new_project_template/vendor/ceedling/test/integration/paths_test.rb +80 -0
  172. data/new_project_template/vendor/ceedling/test/integration/rake_rules_aux_dependencies_test.rb +75 -0
  173. data/new_project_template/vendor/ceedling/test/integration/rake_rules_cmock_test.rb +74 -0
  174. data/new_project_template/vendor/ceedling/test/integration/rake_rules_preprocess_test.rb +178 -0
  175. data/new_project_template/vendor/ceedling/test/integration/rake_rules_test.rb +268 -0
  176. data/new_project_template/vendor/ceedling/test/integration/rake_tasks_test.rb +103 -0
  177. data/new_project_template/vendor/ceedling/test/integration_test_helper.rb +34 -0
  178. data/new_project_template/vendor/ceedling/test/rakefile_rules.rb +10 -0
  179. data/new_project_template/vendor/ceedling/test/rakefile_rules_aux_dependencies.rb +10 -0
  180. data/new_project_template/vendor/ceedling/test/rakefile_rules_cmock.rb +10 -0
  181. data/new_project_template/vendor/ceedling/test/rakefile_rules_preprocess.rb +10 -0
  182. data/new_project_template/vendor/ceedling/test/rakefile_tasks.rb +10 -0
  183. data/new_project_template/vendor/ceedling/test/system/file_system_dependencies.yml +20 -0
  184. data/new_project_template/vendor/ceedling/test/system/file_system_kitchen_sink.yml +20 -0
  185. data/new_project_template/vendor/ceedling/test/system/file_system_mocks.yml +20 -0
  186. data/new_project_template/vendor/ceedling/test/system/file_system_preprocess.yml +20 -0
  187. data/new_project_template/vendor/ceedling/test/system/file_system_simple.yml +20 -0
  188. data/new_project_template/vendor/ceedling/test/system/file_system_test.rb +78 -0
  189. data/new_project_template/vendor/ceedling/test/system/mocks/include/a_file.h +2 -0
  190. data/new_project_template/vendor/ceedling/test/system/mocks/include/other_stuff.h +2 -0
  191. data/new_project_template/vendor/ceedling/test/system/mocks/include/stuff.h +3 -0
  192. data/new_project_template/vendor/ceedling/test/system/mocks/source/a_file.c +9 -0
  193. data/new_project_template/vendor/ceedling/test/system/mocks/test/test_a_file.c +41 -0
  194. data/new_project_template/vendor/ceedling/test/system/mocks/test/test_no_file.c +14 -0
  195. data/new_project_template/vendor/ceedling/test/system/project_mocks.yml +43 -0
  196. data/new_project_template/vendor/ceedling/test/system/project_mocks_test.rb +38 -0
  197. data/new_project_template/vendor/ceedling/test/system/project_simple.yml +36 -0
  198. data/new_project_template/vendor/ceedling/test/system/project_simple_test.rb +39 -0
  199. data/new_project_template/vendor/ceedling/test/system/rule_mocks_test.rb +44 -0
  200. data/new_project_template/vendor/ceedling/test/system/rule_runners_test.rb +44 -0
  201. data/new_project_template/vendor/ceedling/test/system/simple/include/other_stuff.h +2 -0
  202. data/new_project_template/vendor/ceedling/test/system/simple/include/stuff.h +3 -0
  203. data/new_project_template/vendor/ceedling/test/system/simple/source/other_stuff.c +6 -0
  204. data/new_project_template/vendor/ceedling/test/system/simple/source/stuff.c +7 -0
  205. data/new_project_template/vendor/ceedling/test/system/simple/test/test_other_stuff.c +30 -0
  206. data/new_project_template/vendor/ceedling/test/system/simple/test/test_stuff.c +51 -0
  207. data/new_project_template/vendor/ceedling/test/system_test_helper.rb +73 -0
  208. data/new_project_template/vendor/ceedling/test/test_helper.rb +93 -0
  209. data/new_project_template/vendor/ceedling/test/unit/busted/configurator_builder_test.rb +571 -0
  210. data/new_project_template/vendor/ceedling/test/unit/busted/configurator_helper_test.rb +234 -0
  211. data/new_project_template/vendor/ceedling/test/unit/busted/configurator_test.rb +232 -0
  212. data/new_project_template/vendor/ceedling/test/unit/busted/configurator_validator_test.rb +169 -0
  213. data/new_project_template/vendor/ceedling/test/unit/busted/deep_merge_fix_test.rb +55 -0
  214. data/new_project_template/vendor/ceedling/test/unit/busted/dependinator_test.rb +129 -0
  215. data/new_project_template/vendor/ceedling/test/unit/busted/file_finder_helper_test.rb +45 -0
  216. data/new_project_template/vendor/ceedling/test/unit/busted/file_finder_test.rb +114 -0
  217. data/new_project_template/vendor/ceedling/test/unit/busted/file_path_utils_test.rb +97 -0
  218. data/new_project_template/vendor/ceedling/test/unit/busted/file_system_utils_test.rb +21 -0
  219. data/new_project_template/vendor/ceedling/test/unit/busted/generator_test.rb +187 -0
  220. data/new_project_template/vendor/ceedling/test/unit/busted/generator_test_results_test.rb +129 -0
  221. data/new_project_template/vendor/ceedling/test/unit/busted/generator_test_runner_test.rb +478 -0
  222. data/new_project_template/vendor/ceedling/test/unit/busted/preprocessinator_extractor_test.rb +729 -0
  223. data/new_project_template/vendor/ceedling/test/unit/busted/preprocessinator_file_handler_test.rb +38 -0
  224. data/new_project_template/vendor/ceedling/test/unit/busted/preprocessinator_helper_test.rb +156 -0
  225. data/new_project_template/vendor/ceedling/test/unit/busted/preprocessinator_includes_handler_test.rb +93 -0
  226. data/new_project_template/vendor/ceedling/test/unit/busted/preprocessinator_test.rb +57 -0
  227. data/new_project_template/vendor/ceedling/test/unit/busted/project_file_loader_test.rb +142 -0
  228. data/new_project_template/vendor/ceedling/test/unit/busted/setupinator_test.rb +45 -0
  229. data/new_project_template/vendor/ceedling/test/unit/busted/streaminator_test.rb +49 -0
  230. data/new_project_template/vendor/ceedling/test/unit/busted/task_invoker_test.rb +69 -0
  231. data/new_project_template/vendor/ceedling/test/unit/busted/test_includes_extractor_test.rb +111 -0
  232. data/new_project_template/vendor/ceedling/test/unit/busted/test_invoker_helper_test.rb +62 -0
  233. data/new_project_template/vendor/ceedling/test/unit/busted/test_invoker_test.rb +47 -0
  234. data/new_project_template/vendor/ceedling/test/unit/busted/tool_executor_helper_test.rb +100 -0
  235. data/new_project_template/vendor/ceedling/test/unit/busted/tool_executor_test.rb +351 -0
  236. data/new_project_template/vendor/ceedling/test/unit/busted/verbosinator_test.rb +65 -0
  237. data/new_project_template/vendor/ceedling/test/unit_test_helper.rb +16 -0
  238. data/new_project_template/vendor/ceedling/vendor/behaviors/Manifest.txt +9 -0
  239. data/new_project_template/vendor/ceedling/vendor/behaviors/Rakefile +19 -0
  240. data/new_project_template/vendor/ceedling/vendor/behaviors/lib/behaviors/reporttask.rb +158 -0
  241. data/new_project_template/vendor/ceedling/vendor/behaviors/lib/behaviors.rb +76 -0
  242. data/new_project_template/vendor/ceedling/vendor/behaviors/test/behaviors_tasks_test.rb +73 -0
  243. data/new_project_template/vendor/ceedling/vendor/behaviors/test/behaviors_test.rb +50 -0
  244. data/new_project_template/vendor/ceedling/vendor/behaviors/test/tasks_test/Rakefile +19 -0
  245. data/new_project_template/vendor/ceedling/vendor/behaviors/test/tasks_test/lib/user.rb +2 -0
  246. data/new_project_template/vendor/ceedling/vendor/behaviors/test/tasks_test/test/user_test.rb +17 -0
  247. data/new_project_template/vendor/ceedling/vendor/c_exception/docs/CExceptionSummary.odt +0 -0
  248. data/new_project_template/vendor/ceedling/vendor/c_exception/docs/CExceptionSummary.pdf +0 -0
  249. data/new_project_template/vendor/ceedling/vendor/c_exception/docs/license.txt +30 -0
  250. data/new_project_template/vendor/ceedling/vendor/c_exception/docs/readme.txt +236 -0
  251. data/new_project_template/vendor/ceedling/vendor/c_exception/lib/CException.c +39 -0
  252. data/new_project_template/vendor/ceedling/vendor/c_exception/lib/CException.h +70 -0
  253. data/new_project_template/vendor/ceedling/vendor/c_exception/makefile +24 -0
  254. data/new_project_template/vendor/ceedling/vendor/c_exception/rakefile.rb +41 -0
  255. data/new_project_template/vendor/ceedling/vendor/c_exception/release/build.info +2 -0
  256. data/new_project_template/vendor/ceedling/vendor/c_exception/release/version.info +2 -0
  257. data/new_project_template/vendor/ceedling/vendor/c_exception/test/CExceptionConfig.h +27 -0
  258. data/new_project_template/vendor/ceedling/vendor/c_exception/test/TestException.c +291 -0
  259. data/new_project_template/vendor/ceedling/vendor/c_exception/test/TestException_Runner.c +62 -0
  260. data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/auto/colour_prompt.rb +94 -0
  261. data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/auto/colour_reporter.rb +39 -0
  262. data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/auto/generate_config.yml +36 -0
  263. data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/auto/generate_module.rb +202 -0
  264. data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/auto/generate_test_runner.rb +303 -0
  265. data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/auto/test_file_filter.rb +23 -0
  266. data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/auto/unity_test_summary.rb +126 -0
  267. data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/docs/Unity Summary.odt +0 -0
  268. data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/docs/Unity Summary.pdf +0 -0
  269. data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/docs/Unity Summary.txt +217 -0
  270. data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/docs/license.txt +31 -0
  271. data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/examples/helper/UnityHelper.c +10 -0
  272. data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/examples/helper/UnityHelper.h +12 -0
  273. data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/examples/makefile +40 -0
  274. data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/examples/rakefile.rb +32 -0
  275. data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/examples/rakefile_helper.rb +260 -0
  276. data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/examples/readme.txt +18 -0
  277. data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/examples/src/ProductionCode.c +24 -0
  278. data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/examples/src/ProductionCode.h +3 -0
  279. data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/examples/src/ProductionCode2.c +9 -0
  280. data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/examples/src/ProductionCode2.h +2 -0
  281. data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/examples/test/TestProductionCode.c +62 -0
  282. data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/examples/test/TestProductionCode2.c +26 -0
  283. data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/examples/test/no_ruby/TestProductionCode2_Runner.c +46 -0
  284. data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/examples/test/no_ruby/TestProductionCode_Runner.c +50 -0
  285. data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/extras/fixture/build/MakefileWorker.mk +331 -0
  286. data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/extras/fixture/build/filterGcov.sh +61 -0
  287. data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/extras/fixture/rakefile.rb +37 -0
  288. data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/extras/fixture/rakefile_helper.rb +178 -0
  289. data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/extras/fixture/readme.txt +9 -0
  290. data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/extras/fixture/src/unity_fixture.c +381 -0
  291. data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/extras/fixture/src/unity_fixture.h +81 -0
  292. data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/extras/fixture/src/unity_fixture_internals.h +44 -0
  293. data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/extras/fixture/src/unity_fixture_malloc_overrides.h +16 -0
  294. data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/extras/fixture/test/main/AllTests.c +21 -0
  295. data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/extras/fixture/test/testunity_fixture.c +39 -0
  296. data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/extras/fixture/test/unity_fixture_Test.c +321 -0
  297. data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/extras/fixture/test/unity_fixture_TestRunner.c +40 -0
  298. data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/extras/fixture/test/unity_output_Spy.c +56 -0
  299. data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/extras/fixture/test/unity_output_Spy.h +17 -0
  300. data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/makefile +35 -0
  301. data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/rakefile.rb +48 -0
  302. data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/rakefile_helper.rb +243 -0
  303. data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/release/build.info +2 -0
  304. data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/release/version.info +2 -0
  305. data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/src/unity.c +856 -0
  306. data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/src/unity.h +213 -0
  307. data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/src/unity_internals.h +355 -0
  308. data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/targets/gcc.yml +42 -0
  309. data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/targets/gcc_64.yml +43 -0
  310. data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/targets/hitech_picc18.yml +101 -0
  311. data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/targets/iar_arm_v4.yml +89 -0
  312. data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/targets/iar_arm_v5.yml +79 -0
  313. data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/targets/iar_arm_v5_3.yml +79 -0
  314. data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/targets/iar_armcortex_LM3S9B92_v5_4.yml +93 -0
  315. data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/targets/iar_cortexm3_v5.yml +83 -0
  316. data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/targets/iar_msp430.yml +94 -0
  317. data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/targets/iar_sh2a_v6.yml +85 -0
  318. data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/expectdata/testsample_cmd.c +54 -0
  319. data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/expectdata/testsample_def.c +50 -0
  320. data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_cmd.c +76 -0
  321. data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_def.c +72 -0
  322. data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_new1.c +85 -0
  323. data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_new2.c +85 -0
  324. data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_param.c +73 -0
  325. data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_run1.c +85 -0
  326. data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_run2.c +85 -0
  327. data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_yaml.c +86 -0
  328. data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/expectdata/testsample_new1.c +60 -0
  329. data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/expectdata/testsample_new2.c +63 -0
  330. data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/expectdata/testsample_param.c +51 -0
  331. data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/expectdata/testsample_run1.c +60 -0
  332. data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/expectdata/testsample_run2.c +63 -0
  333. data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/expectdata/testsample_yaml.c +64 -0
  334. data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/test_generate_test_runner.rb +94 -0
  335. data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/testdata/mocksample.c +51 -0
  336. data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/testdata/sample.yml +9 -0
  337. data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/testdata/testsample.c +51 -0
  338. data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/testparameterized.c +101 -0
  339. data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/testunity.c +1510 -0
  340. data/new_project_template/vendor/ceedling/vendor/cmock/config/production_environment.rb +14 -0
  341. data/new_project_template/vendor/ceedling/vendor/cmock/config/test_environment.rb +16 -0
  342. data/new_project_template/vendor/ceedling/vendor/cmock/docs/CMock Summary.odt +0 -0
  343. data/new_project_template/vendor/ceedling/vendor/cmock/docs/CMock Summary.pdf +0 -0
  344. data/new_project_template/vendor/ceedling/vendor/cmock/docs/license.txt +31 -0
  345. data/new_project_template/vendor/ceedling/vendor/cmock/examples/gcc.yml +43 -0
  346. data/new_project_template/vendor/ceedling/vendor/cmock/examples/iar_v4.yml +91 -0
  347. data/new_project_template/vendor/ceedling/vendor/cmock/examples/iar_v5.yml +80 -0
  348. data/new_project_template/vendor/ceedling/vendor/cmock/examples/rakefile.rb +32 -0
  349. data/new_project_template/vendor/ceedling/vendor/cmock/examples/rakefile_helper.rb +274 -0
  350. data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/AT91SAM7X256.h +2556 -0
  351. data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/AdcConductor.c +42 -0
  352. data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/AdcConductor.h +11 -0
  353. data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/AdcHardware.c +27 -0
  354. data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/AdcHardware.h +9 -0
  355. data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/AdcHardwareConfigurator.c +18 -0
  356. data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/AdcHardwareConfigurator.h +10 -0
  357. data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/AdcModel.c +33 -0
  358. data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/AdcModel.h +13 -0
  359. data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/AdcTemperatureSensor.c +51 -0
  360. data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/AdcTemperatureSensor.h +10 -0
  361. data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/Executor.c +25 -0
  362. data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/Executor.h +9 -0
  363. data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/IntrinsicsWrapper.c +18 -0
  364. data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/IntrinsicsWrapper.h +7 -0
  365. data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/Main.c +46 -0
  366. data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/Main.h +7 -0
  367. data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/Model.c +10 -0
  368. data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/Model.h +8 -0
  369. data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/ModelConfig.h +7 -0
  370. data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TaskScheduler.c +72 -0
  371. data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TaskScheduler.h +11 -0
  372. data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TemperatureCalculator.c +27 -0
  373. data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TemperatureCalculator.h +6 -0
  374. data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TemperatureFilter.c +39 -0
  375. data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TemperatureFilter.h +10 -0
  376. data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TimerConductor.c +15 -0
  377. data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TimerConductor.h +9 -0
  378. data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TimerConfigurator.c +51 -0
  379. data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TimerConfigurator.h +15 -0
  380. data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TimerHardware.c +15 -0
  381. data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TimerHardware.h +8 -0
  382. data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TimerInterruptConfigurator.c +55 -0
  383. data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TimerInterruptConfigurator.h +13 -0
  384. data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TimerInterruptHandler.c +25 -0
  385. data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TimerInterruptHandler.h +10 -0
  386. data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TimerModel.c +9 -0
  387. data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TimerModel.h +8 -0
  388. data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/Types.h +103 -0
  389. data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/UsartBaudRateRegisterCalculator.c +18 -0
  390. data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/UsartBaudRateRegisterCalculator.h +6 -0
  391. data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/UsartConductor.c +21 -0
  392. data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/UsartConductor.h +7 -0
  393. data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/UsartConfigurator.c +39 -0
  394. data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/UsartConfigurator.h +13 -0
  395. data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/UsartHardware.c +22 -0
  396. data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/UsartHardware.h +9 -0
  397. data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/UsartModel.c +34 -0
  398. data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/UsartModel.h +10 -0
  399. data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/UsartPutChar.c +16 -0
  400. data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/UsartPutChar.h +8 -0
  401. data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/UsartTransmitBufferStatus.c +7 -0
  402. data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/UsartTransmitBufferStatus.h +8 -0
  403. data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestAdcConductor.c +121 -0
  404. data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestAdcHardware.c +44 -0
  405. data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestAdcHardwareConfigurator.c +43 -0
  406. data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestAdcModel.c +33 -0
  407. data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestAdcTemperatureSensor.c +47 -0
  408. data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestExecutor.c +36 -0
  409. data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestMain.c +24 -0
  410. data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestModel.c +20 -0
  411. data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestTaskScheduler.c +104 -0
  412. data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestTemperatureCalculator.c +33 -0
  413. data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestTemperatureFilter.c +69 -0
  414. data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestTimerConductor.c +32 -0
  415. data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestTimerConfigurator.c +112 -0
  416. data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestTimerHardware.c +26 -0
  417. data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestTimerInterruptConfigurator.c +78 -0
  418. data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestTimerInterruptHandler.c +66 -0
  419. data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestTimerModel.c +18 -0
  420. data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestUsartBaudRateRegisterCalculator.c +21 -0
  421. data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestUsartConductor.c +40 -0
  422. data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestUsartConfigurator.c +77 -0
  423. data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestUsartHardware.c +37 -0
  424. data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestUsartModel.c +40 -0
  425. data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestUsartPutChar.c +43 -0
  426. data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestUsartTransmitBufferStatus.c +22 -0
  427. data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/Resource/SAM7_FLASH.mac +71 -0
  428. data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/Resource/SAM7_RAM.mac +94 -0
  429. data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/Resource/SAM7_SIM.mac +67 -0
  430. data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/Resource/at91SAM7X256_FLASH.xcl +185 -0
  431. data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/Resource/at91SAM7X256_RAM.xcl +185 -0
  432. data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/Resource/ioat91sam7x256.ddf +2259 -0
  433. data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/cmock_demo.dep +3691 -0
  434. data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/cmock_demo.ewd +1696 -0
  435. data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/cmock_demo.ewp +2581 -0
  436. data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/cmock_demo.eww +10 -0
  437. data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/incIAR/AT91SAM7X-EK.h +61 -0
  438. data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/incIAR/AT91SAM7X256.inc +2314 -0
  439. data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/incIAR/AT91SAM7X256.rdf +4704 -0
  440. data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/incIAR/AT91SAM7X256.tcl +3407 -0
  441. data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/incIAR/AT91SAM7X256_inc.h +2268 -0
  442. data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/incIAR/ioat91sam7x256.h +4380 -0
  443. data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/incIAR/lib_AT91SAM7X256.h +4211 -0
  444. data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/settings/cmock_demo.cspy.bat +32 -0
  445. data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/settings/cmock_demo.dbgdt +86 -0
  446. data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/settings/cmock_demo.dni +42 -0
  447. data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/settings/cmock_demo.wsdt +76 -0
  448. data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/srcIAR/Cstartup.s79 +266 -0
  449. data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/srcIAR/Cstartup_SAM7.c +98 -0
  450. data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/Resource/SAM7_FLASH.mac +71 -0
  451. data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/Resource/SAM7_RAM.mac +94 -0
  452. data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/Resource/SAM7_SIM.mac +67 -0
  453. data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/Resource/at91SAM7X256_FLASH.icf +43 -0
  454. data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/Resource/at91SAM7X256_RAM.icf +42 -0
  455. data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/cmock_demo.dep +4204 -0
  456. data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/cmock_demo.ewd +1906 -0
  457. data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/cmock_demo.ewp +2426 -0
  458. data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/cmock_demo.eww +26 -0
  459. data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/incIAR/AT91SAM7X-EK.h +61 -0
  460. data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/incIAR/AT91SAM7X256_inc.h +2268 -0
  461. data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/incIAR/lib_AT91SAM7X256.h +4211 -0
  462. data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/incIAR/project.h +30 -0
  463. data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/settings/BasicInterrupt_SAM7X.cspy.bat +33 -0
  464. data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/settings/BasicInterrupt_SAM7X.dbgdt +5 -0
  465. data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/settings/BasicInterrupt_SAM7X.dni +18 -0
  466. data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/settings/BasicInterrupt_SAM7X.wsdt +74 -0
  467. data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/settings/BasicInterrupt_SAM7X_FLASH_Debug.jlink +12 -0
  468. data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/settings/cmock_demo.cspy.bat +33 -0
  469. data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/settings/cmock_demo.dbgdt +85 -0
  470. data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/settings/cmock_demo.dni +44 -0
  471. data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/settings/cmock_demo.wsdt +73 -0
  472. data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/settings/cmock_demo_Binary.jlink +12 -0
  473. data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/settings/cmock_demo_FLASH_Debug.jlink +12 -0
  474. data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/settings/cmock_demo_RAM_Debug.jlink +12 -0
  475. data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/srcIAR/Cstartup.s +299 -0
  476. data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/srcIAR/Cstartup_SAM7.c +98 -0
  477. data/new_project_template/vendor/ceedling/vendor/cmock/lib/cmock.rb +65 -0
  478. data/new_project_template/vendor/ceedling/vendor/cmock/lib/cmock_config.rb +123 -0
  479. data/new_project_template/vendor/ceedling/vendor/cmock/lib/cmock_file_writer.rb +33 -0
  480. data/new_project_template/vendor/ceedling/vendor/cmock/lib/cmock_generator.rb +196 -0
  481. data/new_project_template/vendor/ceedling/vendor/cmock/lib/cmock_generator_plugin_array.rb +57 -0
  482. data/new_project_template/vendor/ceedling/vendor/cmock/lib/cmock_generator_plugin_callback.rb +78 -0
  483. data/new_project_template/vendor/ceedling/vendor/cmock/lib/cmock_generator_plugin_cexception.rb +51 -0
  484. data/new_project_template/vendor/ceedling/vendor/cmock/lib/cmock_generator_plugin_expect.rb +86 -0
  485. data/new_project_template/vendor/ceedling/vendor/cmock/lib/cmock_generator_plugin_ignore.rb +85 -0
  486. data/new_project_template/vendor/ceedling/vendor/cmock/lib/cmock_generator_utils.rb +177 -0
  487. data/new_project_template/vendor/ceedling/vendor/cmock/lib/cmock_header_parser.rb +270 -0
  488. data/new_project_template/vendor/ceedling/vendor/cmock/lib/cmock_plugin_manager.rb +40 -0
  489. data/new_project_template/vendor/ceedling/vendor/cmock/lib/cmock_unityhelper_parser.rb +74 -0
  490. data/new_project_template/vendor/ceedling/vendor/cmock/rakefile.rb +89 -0
  491. data/new_project_template/vendor/ceedling/vendor/cmock/rakefile_helper.rb +383 -0
  492. data/new_project_template/vendor/ceedling/vendor/cmock/release/build.info +2 -0
  493. data/new_project_template/vendor/ceedling/vendor/cmock/release/version.info +2 -0
  494. data/new_project_template/vendor/ceedling/vendor/cmock/src/cmock.c +186 -0
  495. data/new_project_template/vendor/ceedling/vendor/cmock/src/cmock.h +30 -0
  496. data/new_project_template/vendor/ceedling/vendor/cmock/targets/gcc.yml +50 -0
  497. data/new_project_template/vendor/ceedling/vendor/cmock/targets/gcc_32_with_64_support.yml +52 -0
  498. data/new_project_template/vendor/ceedling/vendor/cmock/targets/gcc_64.yml +53 -0
  499. data/new_project_template/vendor/ceedling/vendor/cmock/targets/iar_arm_v4.yml +107 -0
  500. data/new_project_template/vendor/ceedling/vendor/cmock/targets/iar_arm_v5.yml +92 -0
  501. data/new_project_template/vendor/ceedling/vendor/cmock/test/c/TestCMockC.c +280 -0
  502. data/new_project_template/vendor/ceedling/vendor/cmock/test/c/TestCMockC.yml +12 -0
  503. data/new_project_template/vendor/ceedling/vendor/cmock/test/c/TestCMockCDynamic.c +186 -0
  504. data/new_project_template/vendor/ceedling/vendor/cmock/test/c/TestCMockCDynamic.yml +12 -0
  505. data/new_project_template/vendor/ceedling/vendor/cmock/test/c/TestCMockCDynamic_Runner.c +35 -0
  506. data/new_project_template/vendor/ceedling/vendor/cmock/test/c/TestCMockC_Runner.c +37 -0
  507. data/new_project_template/vendor/ceedling/vendor/cmock/test/system/systest_generator.rb +178 -0
  508. data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_compilation/config.yml +9 -0
  509. data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_compilation/const.h +15 -0
  510. data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_compilation/osek.h +275 -0
  511. data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_compilation/parsing.h +47 -0
  512. data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/all_plugins_but_other_limits.yml +340 -0
  513. data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/all_plugins_coexist.yml +381 -0
  514. data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/array_and_pointer_handling.yml +382 -0
  515. data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/basic_expect_and_return.yml +123 -0
  516. data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/const_primitives_handling.yml +87 -0
  517. data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/enforce_strict_ordering.yml +247 -0
  518. data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/expect_and_return_custom_types.yml +108 -0
  519. data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/expect_and_return_treat_as.yml +173 -0
  520. data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/expect_and_throw.yml +170 -0
  521. data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/fancy_pointer_handling.yml +208 -0
  522. data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/function_pointer_handling.yml +82 -0
  523. data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/ignore_and_return.yml +153 -0
  524. data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/newer_standards_stuff1.yml +52 -0
  525. data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/nonstandard_parsed_stuff_1.yml +91 -0
  526. data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/nonstandard_parsed_stuff_2.yml +59 -0
  527. data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/parsing_challenges.yml +222 -0
  528. data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/struct_union_enum_expect_and_return.yml +277 -0
  529. data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/stubs_with_callbacks.yml +221 -0
  530. data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/unity_64bit_support.yml +82 -0
  531. data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/unity_ignores.yml +139 -0
  532. data/new_project_template/vendor/ceedling/vendor/cmock/test/test_helper.rb +44 -0
  533. data/new_project_template/vendor/ceedling/vendor/cmock/test/unit/cmock_config_test.rb +45 -0
  534. data/new_project_template/vendor/ceedling/vendor/cmock/test/unit/cmock_config_test.yml +5 -0
  535. data/new_project_template/vendor/ceedling/vendor/cmock/test/unit/cmock_file_writer_test.rb +30 -0
  536. data/new_project_template/vendor/ceedling/vendor/cmock/test/unit/cmock_generator_main_test.rb +412 -0
  537. data/new_project_template/vendor/ceedling/vendor/cmock/test/unit/cmock_generator_plugin_array_test.rb +114 -0
  538. data/new_project_template/vendor/ceedling/vendor/cmock/test/unit/cmock_generator_plugin_callback_test.rb +190 -0
  539. data/new_project_template/vendor/ceedling/vendor/cmock/test/unit/cmock_generator_plugin_cexception_test.rb +94 -0
  540. data/new_project_template/vendor/ceedling/vendor/cmock/test/unit/cmock_generator_plugin_expect_test.rb +206 -0
  541. data/new_project_template/vendor/ceedling/vendor/cmock/test/unit/cmock_generator_plugin_ignore_test.rb +159 -0
  542. data/new_project_template/vendor/ceedling/vendor/cmock/test/unit/cmock_generator_utils_test.rb +291 -0
  543. data/new_project_template/vendor/ceedling/vendor/cmock/test/unit/cmock_header_parser_test.rb +1170 -0
  544. data/new_project_template/vendor/ceedling/vendor/cmock/test/unit/cmock_plugin_manager_test.rb +85 -0
  545. data/new_project_template/vendor/ceedling/vendor/cmock/test/unit/cmock_unityhelper_parser_test.rb +223 -0
  546. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/behaviors/Manifest.txt +9 -0
  547. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/behaviors/Rakefile +19 -0
  548. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/behaviors/lib/behaviors/reporttask.rb +158 -0
  549. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/behaviors/lib/behaviors.rb +76 -0
  550. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/behaviors/test/behaviors_tasks_test.rb +73 -0
  551. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/behaviors/test/behaviors_test.rb +50 -0
  552. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/behaviors/test/tasks_test/Rakefile +19 -0
  553. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/behaviors/test/tasks_test/lib/user.rb +2 -0
  554. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/behaviors/test/tasks_test/test/user_test.rb +17 -0
  555. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/docs/CExceptionSummary.odt +0 -0
  556. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/docs/CExceptionSummary.pdf +0 -0
  557. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/docs/license.txt +30 -0
  558. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/docs/readme.txt +236 -0
  559. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/lib/CException.c +39 -0
  560. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/lib/CException.h +70 -0
  561. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/makefile +24 -0
  562. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/rakefile.rb +41 -0
  563. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/release/build.info +2 -0
  564. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/release/version.info +2 -0
  565. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/test/CExceptionConfig.h +27 -0
  566. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/test/TestException.c +291 -0
  567. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/test/TestException_Runner.c +62 -0
  568. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/auto/colour_prompt.rb +94 -0
  569. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/auto/colour_reporter.rb +39 -0
  570. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/auto/generate_config.yml +36 -0
  571. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/auto/generate_module.rb +202 -0
  572. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/auto/generate_test_runner.rb +303 -0
  573. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/auto/test_file_filter.rb +23 -0
  574. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/auto/unity_test_summary.rb +126 -0
  575. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/docs/Unity Summary.odt +0 -0
  576. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/docs/Unity Summary.pdf +0 -0
  577. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/docs/Unity Summary.txt +217 -0
  578. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/docs/license.txt +31 -0
  579. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/examples/helper/UnityHelper.c +10 -0
  580. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/examples/helper/UnityHelper.h +12 -0
  581. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/examples/makefile +40 -0
  582. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/examples/rakefile.rb +32 -0
  583. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/examples/rakefile_helper.rb +260 -0
  584. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/examples/readme.txt +18 -0
  585. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/examples/src/ProductionCode.c +24 -0
  586. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/examples/src/ProductionCode.h +3 -0
  587. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/examples/src/ProductionCode2.c +9 -0
  588. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/examples/src/ProductionCode2.h +2 -0
  589. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/examples/test/TestProductionCode.c +62 -0
  590. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/examples/test/TestProductionCode2.c +26 -0
  591. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/examples/test/no_ruby/TestProductionCode2_Runner.c +46 -0
  592. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/examples/test/no_ruby/TestProductionCode_Runner.c +50 -0
  593. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/build/MakefileWorker.mk +331 -0
  594. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/build/filterGcov.sh +61 -0
  595. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/rakefile.rb +37 -0
  596. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/rakefile_helper.rb +178 -0
  597. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/readme.txt +9 -0
  598. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/src/unity_fixture.c +381 -0
  599. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/src/unity_fixture.h +81 -0
  600. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/src/unity_fixture_internals.h +44 -0
  601. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/src/unity_fixture_malloc_overrides.h +16 -0
  602. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/test/main/AllTests.c +21 -0
  603. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/test/testunity_fixture.c +39 -0
  604. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/test/unity_fixture_Test.c +321 -0
  605. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/test/unity_fixture_TestRunner.c +40 -0
  606. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/test/unity_output_Spy.c +56 -0
  607. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/test/unity_output_Spy.h +17 -0
  608. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/makefile +35 -0
  609. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/rakefile.rb +48 -0
  610. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/rakefile_helper.rb +243 -0
  611. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/release/build.info +2 -0
  612. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/release/version.info +2 -0
  613. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/src/unity.c +856 -0
  614. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/src/unity.h +213 -0
  615. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/src/unity_internals.h +355 -0
  616. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/targets/gcc.yml +42 -0
  617. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/targets/gcc_64.yml +43 -0
  618. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/targets/hitech_picc18.yml +101 -0
  619. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/targets/iar_arm_v4.yml +89 -0
  620. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/targets/iar_arm_v5.yml +79 -0
  621. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/targets/iar_arm_v5_3.yml +79 -0
  622. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/targets/iar_armcortex_LM3S9B92_v5_4.yml +93 -0
  623. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/targets/iar_cortexm3_v5.yml +83 -0
  624. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/targets/iar_msp430.yml +94 -0
  625. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/targets/iar_sh2a_v6.yml +85 -0
  626. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_cmd.c +54 -0
  627. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_def.c +50 -0
  628. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_cmd.c +76 -0
  629. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_def.c +72 -0
  630. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_new1.c +85 -0
  631. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_new2.c +85 -0
  632. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_param.c +73 -0
  633. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_run1.c +85 -0
  634. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_run2.c +85 -0
  635. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_yaml.c +86 -0
  636. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_new1.c +60 -0
  637. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_new2.c +63 -0
  638. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_param.c +51 -0
  639. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_run1.c +60 -0
  640. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_run2.c +63 -0
  641. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_yaml.c +64 -0
  642. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/test_generate_test_runner.rb +94 -0
  643. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/testdata/mocksample.c +51 -0
  644. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/testdata/sample.yml +9 -0
  645. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/testdata/testsample.c +51 -0
  646. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/testparameterized.c +101 -0
  647. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/testunity.c +1510 -0
  648. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/CHANGES +78 -0
  649. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/LICENSE +7 -0
  650. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/README +70 -0
  651. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/Rakefile +8 -0
  652. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/config/environment.rb +12 -0
  653. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/lib/assert_error.rb +23 -0
  654. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/lib/extend_test_unit.rb +14 -0
  655. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/lib/hardmock/errors.rb +22 -0
  656. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/lib/hardmock/expectation.rb +229 -0
  657. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/lib/hardmock/expectation_builder.rb +9 -0
  658. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/lib/hardmock/expector.rb +26 -0
  659. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/lib/hardmock/method_cleanout.rb +33 -0
  660. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/lib/hardmock/mock.rb +180 -0
  661. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/lib/hardmock/mock_control.rb +53 -0
  662. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/lib/hardmock/stubbing.rb +210 -0
  663. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/lib/hardmock/trapper.rb +31 -0
  664. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/lib/hardmock/utils.rb +9 -0
  665. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/lib/hardmock.rb +86 -0
  666. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/lib/test_unit_before_after.rb +169 -0
  667. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/rake_tasks/rdoc.rake +19 -0
  668. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/rake_tasks/rdoc_options.rb +4 -0
  669. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/rake_tasks/test.rake +22 -0
  670. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/test/functional/assert_error_test.rb +52 -0
  671. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/test/functional/auto_verify_test.rb +178 -0
  672. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/test/functional/direct_mock_usage_test.rb +396 -0
  673. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/test/functional/hardmock_test.rb +434 -0
  674. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/test/functional/stubbing_test.rb +479 -0
  675. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/test/test_helper.rb +43 -0
  676. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/test/unit/expectation_builder_test.rb +19 -0
  677. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/test/unit/expectation_test.rb +372 -0
  678. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/test/unit/expector_test.rb +57 -0
  679. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/test/unit/method_cleanout_test.rb +36 -0
  680. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/test/unit/mock_control_test.rb +175 -0
  681. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/test/unit/mock_test.rb +279 -0
  682. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/test/unit/test_unit_before_after_test.rb +452 -0
  683. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/test/unit/trapper_test.rb +62 -0
  684. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/test/unit/verify_error_test.rb +40 -0
  685. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/auto/colour_prompt.rb +94 -0
  686. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/auto/colour_reporter.rb +39 -0
  687. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/auto/generate_config.yml +36 -0
  688. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/auto/generate_module.rb +202 -0
  689. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/auto/generate_test_runner.rb +303 -0
  690. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/auto/test_file_filter.rb +23 -0
  691. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/auto/unity_test_summary.rb +126 -0
  692. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/docs/Unity Summary.odt +0 -0
  693. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/docs/Unity Summary.pdf +0 -0
  694. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/docs/Unity Summary.txt +217 -0
  695. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/docs/license.txt +31 -0
  696. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/examples/helper/UnityHelper.c +10 -0
  697. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/examples/helper/UnityHelper.h +12 -0
  698. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/examples/makefile +40 -0
  699. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/examples/rakefile.rb +32 -0
  700. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/examples/rakefile_helper.rb +260 -0
  701. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/examples/readme.txt +18 -0
  702. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/examples/src/ProductionCode.c +24 -0
  703. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/examples/src/ProductionCode.h +3 -0
  704. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/examples/src/ProductionCode2.c +9 -0
  705. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/examples/src/ProductionCode2.h +2 -0
  706. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/examples/test/TestProductionCode.c +62 -0
  707. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/examples/test/TestProductionCode2.c +26 -0
  708. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/examples/test/no_ruby/TestProductionCode2_Runner.c +46 -0
  709. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/examples/test/no_ruby/TestProductionCode_Runner.c +50 -0
  710. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/extras/fixture/build/MakefileWorker.mk +331 -0
  711. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/extras/fixture/build/filterGcov.sh +61 -0
  712. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/extras/fixture/rakefile.rb +37 -0
  713. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/extras/fixture/rakefile_helper.rb +178 -0
  714. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/extras/fixture/readme.txt +9 -0
  715. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/extras/fixture/src/unity_fixture.c +381 -0
  716. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/extras/fixture/src/unity_fixture.h +81 -0
  717. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/extras/fixture/src/unity_fixture_internals.h +44 -0
  718. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/extras/fixture/src/unity_fixture_malloc_overrides.h +16 -0
  719. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/extras/fixture/test/main/AllTests.c +21 -0
  720. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/extras/fixture/test/testunity_fixture.c +39 -0
  721. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/extras/fixture/test/unity_fixture_Test.c +321 -0
  722. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/extras/fixture/test/unity_fixture_TestRunner.c +40 -0
  723. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/extras/fixture/test/unity_output_Spy.c +56 -0
  724. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/extras/fixture/test/unity_output_Spy.h +17 -0
  725. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/makefile +35 -0
  726. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/rakefile.rb +48 -0
  727. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/rakefile_helper.rb +243 -0
  728. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/release/build.info +2 -0
  729. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/release/version.info +2 -0
  730. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/src/unity.c +856 -0
  731. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/src/unity.h +213 -0
  732. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/src/unity_internals.h +355 -0
  733. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/targets/gcc.yml +42 -0
  734. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/targets/gcc_64.yml +43 -0
  735. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/targets/hitech_picc18.yml +101 -0
  736. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/targets/iar_arm_v4.yml +89 -0
  737. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/targets/iar_arm_v5.yml +79 -0
  738. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/targets/iar_arm_v5_3.yml +79 -0
  739. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/targets/iar_armcortex_LM3S9B92_v5_4.yml +93 -0
  740. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/targets/iar_cortexm3_v5.yml +83 -0
  741. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/targets/iar_msp430.yml +94 -0
  742. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/targets/iar_sh2a_v6.yml +85 -0
  743. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/expectdata/testsample_cmd.c +54 -0
  744. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/expectdata/testsample_def.c +50 -0
  745. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_cmd.c +76 -0
  746. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_def.c +72 -0
  747. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_new1.c +85 -0
  748. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_new2.c +85 -0
  749. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_param.c +73 -0
  750. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_run1.c +85 -0
  751. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_run2.c +85 -0
  752. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_yaml.c +86 -0
  753. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/expectdata/testsample_new1.c +60 -0
  754. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/expectdata/testsample_new2.c +63 -0
  755. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/expectdata/testsample_param.c +51 -0
  756. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/expectdata/testsample_run1.c +60 -0
  757. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/expectdata/testsample_run2.c +63 -0
  758. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/expectdata/testsample_yaml.c +64 -0
  759. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/test_generate_test_runner.rb +94 -0
  760. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/testdata/mocksample.c +51 -0
  761. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/testdata/sample.yml +9 -0
  762. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/testdata/testsample.c +51 -0
  763. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/testparameterized.c +101 -0
  764. data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/testunity.c +1510 -0
  765. data/new_project_template/vendor/ceedling/vendor/constructor/History.rdoc +19 -0
  766. data/new_project_template/vendor/ceedling/vendor/constructor/README.rdoc +72 -0
  767. data/new_project_template/vendor/ceedling/vendor/constructor/Rakefile +33 -0
  768. data/new_project_template/vendor/ceedling/vendor/constructor/homepage/Notes.txt +27 -0
  769. data/new_project_template/vendor/ceedling/vendor/constructor/homepage/Rakefile +15 -0
  770. data/new_project_template/vendor/ceedling/vendor/constructor/homepage/index.erb +27 -0
  771. data/new_project_template/vendor/ceedling/vendor/constructor/homepage/index.html +36 -0
  772. data/new_project_template/vendor/ceedling/vendor/constructor/homepage/page_header.graffle +0 -0
  773. data/new_project_template/vendor/ceedling/vendor/constructor/homepage/page_header.html +9 -0
  774. data/new_project_template/vendor/ceedling/vendor/constructor/homepage/page_header.png +0 -0
  775. data/new_project_template/vendor/ceedling/vendor/constructor/homepage/sample_code.png +0 -0
  776. data/new_project_template/vendor/ceedling/vendor/constructor/homepage/sample_code.rb +12 -0
  777. data/new_project_template/vendor/ceedling/vendor/constructor/lib/constructor.rb +127 -0
  778. data/new_project_template/vendor/ceedling/vendor/constructor/lib/constructor_struct.rb +33 -0
  779. data/new_project_template/vendor/ceedling/vendor/constructor/specs/constructor_spec.rb +407 -0
  780. data/new_project_template/vendor/ceedling/vendor/constructor/specs/constructor_struct_spec.rb +84 -0
  781. data/new_project_template/vendor/ceedling/vendor/deep_merge/MIT-LICENSE +20 -0
  782. data/new_project_template/vendor/ceedling/vendor/deep_merge/README +94 -0
  783. data/new_project_template/vendor/ceedling/vendor/deep_merge/Rakefile +28 -0
  784. data/new_project_template/vendor/ceedling/vendor/deep_merge/lib/deep_merge.rb +211 -0
  785. data/new_project_template/vendor/ceedling/vendor/deep_merge/test/test_deep_merge.rb +553 -0
  786. data/new_project_template/vendor/ceedling/vendor/diy/History.txt +28 -0
  787. data/new_project_template/vendor/ceedling/vendor/diy/README.rdoc +233 -0
  788. data/new_project_template/vendor/ceedling/vendor/diy/Rakefile +33 -0
  789. data/new_project_template/vendor/ceedling/vendor/diy/TODO.txt +9 -0
  790. data/new_project_template/vendor/ceedling/vendor/diy/diy.gemspec +131 -0
  791. data/new_project_template/vendor/ceedling/vendor/diy/lib/diy/factory.rb +36 -0
  792. data/new_project_template/vendor/ceedling/vendor/diy/lib/diy.rb +403 -0
  793. data/new_project_template/vendor/ceedling/vendor/diy/sample_code/car.rb +7 -0
  794. data/new_project_template/vendor/ceedling/vendor/diy/sample_code/chassis.rb +5 -0
  795. data/new_project_template/vendor/ceedling/vendor/diy/sample_code/diy_example.rb +26 -0
  796. data/new_project_template/vendor/ceedling/vendor/diy/sample_code/engine.rb +5 -0
  797. data/new_project_template/vendor/ceedling/vendor/diy/sample_code/objects.yml +10 -0
  798. data/new_project_template/vendor/ceedling/vendor/diy/test/constructor.rb +119 -0
  799. data/new_project_template/vendor/ceedling/vendor/diy/test/diy_test.rb +608 -0
  800. data/new_project_template/vendor/ceedling/vendor/diy/test/factory_test.rb +79 -0
  801. data/new_project_template/vendor/ceedling/vendor/diy/test/files/broken_construction.yml +7 -0
  802. data/new_project_template/vendor/ceedling/vendor/diy/test/files/cat/cat.rb +3 -0
  803. data/new_project_template/vendor/ceedling/vendor/diy/test/files/cat/extra_conflict.yml +5 -0
  804. data/new_project_template/vendor/ceedling/vendor/diy/test/files/cat/heritage.rb +2 -0
  805. data/new_project_template/vendor/ceedling/vendor/diy/test/files/cat/needs_input.yml +3 -0
  806. data/new_project_template/vendor/ceedling/vendor/diy/test/files/cat/the_cat_lineage.rb +1 -0
  807. data/new_project_template/vendor/ceedling/vendor/diy/test/files/dog/dog_model.rb +3 -0
  808. data/new_project_template/vendor/ceedling/vendor/diy/test/files/dog/dog_presenter.rb +3 -0
  809. data/new_project_template/vendor/ceedling/vendor/diy/test/files/dog/dog_view.rb +2 -0
  810. data/new_project_template/vendor/ceedling/vendor/diy/test/files/dog/file_resolver.rb +2 -0
  811. data/new_project_template/vendor/ceedling/vendor/diy/test/files/dog/other_thing.rb +2 -0
  812. data/new_project_template/vendor/ceedling/vendor/diy/test/files/dog/simple.yml +11 -0
  813. data/new_project_template/vendor/ceedling/vendor/diy/test/files/donkey/foo/bar/qux.rb +7 -0
  814. data/new_project_template/vendor/ceedling/vendor/diy/test/files/donkey/foo.rb +8 -0
  815. data/new_project_template/vendor/ceedling/vendor/diy/test/files/factory/beef.rb +5 -0
  816. data/new_project_template/vendor/ceedling/vendor/diy/test/files/factory/dog.rb +6 -0
  817. data/new_project_template/vendor/ceedling/vendor/diy/test/files/factory/factory.yml +19 -0
  818. data/new_project_template/vendor/ceedling/vendor/diy/test/files/factory/farm/llama.rb +7 -0
  819. data/new_project_template/vendor/ceedling/vendor/diy/test/files/factory/farm/pork.rb +7 -0
  820. data/new_project_template/vendor/ceedling/vendor/diy/test/files/factory/kitten.rb +13 -0
  821. data/new_project_template/vendor/ceedling/vendor/diy/test/files/fud/objects.yml +13 -0
  822. data/new_project_template/vendor/ceedling/vendor/diy/test/files/fud/toy.rb +14 -0
  823. data/new_project_template/vendor/ceedling/vendor/diy/test/files/functions/attached_things_builder.rb +2 -0
  824. data/new_project_template/vendor/ceedling/vendor/diy/test/files/functions/invalid_method.yml +5 -0
  825. data/new_project_template/vendor/ceedling/vendor/diy/test/files/functions/method_extractor.rb +3 -0
  826. data/new_project_template/vendor/ceedling/vendor/diy/test/files/functions/nonsingleton_objects.yml +6 -0
  827. data/new_project_template/vendor/ceedling/vendor/diy/test/files/functions/objects.yml +22 -0
  828. data/new_project_template/vendor/ceedling/vendor/diy/test/files/functions/thing.rb +3 -0
  829. data/new_project_template/vendor/ceedling/vendor/diy/test/files/functions/thing_builder.rb +25 -0
  830. data/new_project_template/vendor/ceedling/vendor/diy/test/files/functions/things_builder.rb +3 -0
  831. data/new_project_template/vendor/ceedling/vendor/diy/test/files/gnu/objects.yml +14 -0
  832. data/new_project_template/vendor/ceedling/vendor/diy/test/files/gnu/thinger.rb +7 -0
  833. data/new_project_template/vendor/ceedling/vendor/diy/test/files/goat/base.rb +8 -0
  834. data/new_project_template/vendor/ceedling/vendor/diy/test/files/goat/can.rb +6 -0
  835. data/new_project_template/vendor/ceedling/vendor/diy/test/files/goat/goat.rb +6 -0
  836. data/new_project_template/vendor/ceedling/vendor/diy/test/files/goat/objects.yml +12 -0
  837. data/new_project_template/vendor/ceedling/vendor/diy/test/files/goat/paper.rb +6 -0
  838. data/new_project_template/vendor/ceedling/vendor/diy/test/files/goat/plane.rb +7 -0
  839. data/new_project_template/vendor/ceedling/vendor/diy/test/files/goat/shirt.rb +6 -0
  840. data/new_project_template/vendor/ceedling/vendor/diy/test/files/goat/wings.rb +8 -0
  841. data/new_project_template/vendor/ceedling/vendor/diy/test/files/horse/holder_thing.rb +3 -0
  842. data/new_project_template/vendor/ceedling/vendor/diy/test/files/horse/objects.yml +7 -0
  843. data/new_project_template/vendor/ceedling/vendor/diy/test/files/namespace/animal/bird.rb +5 -0
  844. data/new_project_template/vendor/ceedling/vendor/diy/test/files/namespace/animal/cat.rb +5 -0
  845. data/new_project_template/vendor/ceedling/vendor/diy/test/files/namespace/animal/reptile/hardshell/turtle.rb +8 -0
  846. data/new_project_template/vendor/ceedling/vendor/diy/test/files/namespace/animal/reptile/lizard.rb +7 -0
  847. data/new_project_template/vendor/ceedling/vendor/diy/test/files/namespace/bad_module_specified.yml +8 -0
  848. data/new_project_template/vendor/ceedling/vendor/diy/test/files/namespace/class_name_combine.yml +8 -0
  849. data/new_project_template/vendor/ceedling/vendor/diy/test/files/namespace/hello.txt +1 -0
  850. data/new_project_template/vendor/ceedling/vendor/diy/test/files/namespace/no_module_specified.yml +8 -0
  851. data/new_project_template/vendor/ceedling/vendor/diy/test/files/namespace/objects.yml +21 -0
  852. data/new_project_template/vendor/ceedling/vendor/diy/test/files/namespace/road.rb +2 -0
  853. data/new_project_template/vendor/ceedling/vendor/diy/test/files/namespace/sky.rb +2 -0
  854. data/new_project_template/vendor/ceedling/vendor/diy/test/files/namespace/subcontext.yml +22 -0
  855. data/new_project_template/vendor/ceedling/vendor/diy/test/files/non_singleton/air.rb +2 -0
  856. data/new_project_template/vendor/ceedling/vendor/diy/test/files/non_singleton/fat_cat.rb +3 -0
  857. data/new_project_template/vendor/ceedling/vendor/diy/test/files/non_singleton/objects.yml +19 -0
  858. data/new_project_template/vendor/ceedling/vendor/diy/test/files/non_singleton/pig.rb +3 -0
  859. data/new_project_template/vendor/ceedling/vendor/diy/test/files/non_singleton/thread_spinner.rb +3 -0
  860. data/new_project_template/vendor/ceedling/vendor/diy/test/files/non_singleton/tick.rb +3 -0
  861. data/new_project_template/vendor/ceedling/vendor/diy/test/files/non_singleton/yard.rb +2 -0
  862. data/new_project_template/vendor/ceedling/vendor/diy/test/files/yak/core_model.rb +3 -0
  863. data/new_project_template/vendor/ceedling/vendor/diy/test/files/yak/core_presenter.rb +3 -0
  864. data/new_project_template/vendor/ceedling/vendor/diy/test/files/yak/core_view.rb +1 -0
  865. data/new_project_template/vendor/ceedling/vendor/diy/test/files/yak/data_source.rb +1 -0
  866. data/new_project_template/vendor/ceedling/vendor/diy/test/files/yak/fringe_model.rb +3 -0
  867. data/new_project_template/vendor/ceedling/vendor/diy/test/files/yak/fringe_presenter.rb +3 -0
  868. data/new_project_template/vendor/ceedling/vendor/diy/test/files/yak/fringe_view.rb +1 -0
  869. data/new_project_template/vendor/ceedling/vendor/diy/test/files/yak/giant_squid.rb +3 -0
  870. data/new_project_template/vendor/ceedling/vendor/diy/test/files/yak/krill.rb +2 -0
  871. data/new_project_template/vendor/ceedling/vendor/diy/test/files/yak/my_objects.yml +21 -0
  872. data/new_project_template/vendor/ceedling/vendor/diy/test/files/yak/sub_sub_context_test.yml +27 -0
  873. data/new_project_template/vendor/ceedling/vendor/diy/test/test_helper.rb +55 -0
  874. data/new_project_template/vendor/ceedling/vendor/hardmock/CHANGES +78 -0
  875. data/new_project_template/vendor/ceedling/vendor/hardmock/LICENSE +7 -0
  876. data/new_project_template/vendor/ceedling/vendor/hardmock/README +70 -0
  877. data/new_project_template/vendor/ceedling/vendor/hardmock/Rakefile +8 -0
  878. data/new_project_template/vendor/ceedling/vendor/hardmock/config/environment.rb +12 -0
  879. data/new_project_template/vendor/ceedling/vendor/hardmock/lib/assert_error.rb +23 -0
  880. data/new_project_template/vendor/ceedling/vendor/hardmock/lib/extend_test_unit.rb +14 -0
  881. data/new_project_template/vendor/ceedling/vendor/hardmock/lib/hardmock/errors.rb +22 -0
  882. data/new_project_template/vendor/ceedling/vendor/hardmock/lib/hardmock/expectation.rb +229 -0
  883. data/new_project_template/vendor/ceedling/vendor/hardmock/lib/hardmock/expectation_builder.rb +9 -0
  884. data/new_project_template/vendor/ceedling/vendor/hardmock/lib/hardmock/expector.rb +26 -0
  885. data/new_project_template/vendor/ceedling/vendor/hardmock/lib/hardmock/method_cleanout.rb +33 -0
  886. data/new_project_template/vendor/ceedling/vendor/hardmock/lib/hardmock/mock.rb +180 -0
  887. data/new_project_template/vendor/ceedling/vendor/hardmock/lib/hardmock/mock_control.rb +53 -0
  888. data/new_project_template/vendor/ceedling/vendor/hardmock/lib/hardmock/stubbing.rb +210 -0
  889. data/new_project_template/vendor/ceedling/vendor/hardmock/lib/hardmock/trapper.rb +31 -0
  890. data/new_project_template/vendor/ceedling/vendor/hardmock/lib/hardmock/utils.rb +9 -0
  891. data/new_project_template/vendor/ceedling/vendor/hardmock/lib/hardmock.rb +86 -0
  892. data/new_project_template/vendor/ceedling/vendor/hardmock/lib/test_unit_before_after.rb +169 -0
  893. data/new_project_template/vendor/ceedling/vendor/hardmock/rake_tasks/rdoc.rake +19 -0
  894. data/new_project_template/vendor/ceedling/vendor/hardmock/rake_tasks/rdoc_options.rb +4 -0
  895. data/new_project_template/vendor/ceedling/vendor/hardmock/rake_tasks/test.rake +22 -0
  896. data/new_project_template/vendor/ceedling/vendor/hardmock/test/functional/assert_error_test.rb +52 -0
  897. data/new_project_template/vendor/ceedling/vendor/hardmock/test/functional/auto_verify_test.rb +178 -0
  898. data/new_project_template/vendor/ceedling/vendor/hardmock/test/functional/direct_mock_usage_test.rb +396 -0
  899. data/new_project_template/vendor/ceedling/vendor/hardmock/test/functional/hardmock_test.rb +434 -0
  900. data/new_project_template/vendor/ceedling/vendor/hardmock/test/functional/stubbing_test.rb +479 -0
  901. data/new_project_template/vendor/ceedling/vendor/hardmock/test/test_helper.rb +43 -0
  902. data/new_project_template/vendor/ceedling/vendor/hardmock/test/unit/expectation_builder_test.rb +19 -0
  903. data/new_project_template/vendor/ceedling/vendor/hardmock/test/unit/expectation_test.rb +372 -0
  904. data/new_project_template/vendor/ceedling/vendor/hardmock/test/unit/expector_test.rb +57 -0
  905. data/new_project_template/vendor/ceedling/vendor/hardmock/test/unit/method_cleanout_test.rb +36 -0
  906. data/new_project_template/vendor/ceedling/vendor/hardmock/test/unit/mock_control_test.rb +175 -0
  907. data/new_project_template/vendor/ceedling/vendor/hardmock/test/unit/mock_test.rb +279 -0
  908. data/new_project_template/vendor/ceedling/vendor/hardmock/test/unit/test_unit_before_after_test.rb +452 -0
  909. data/new_project_template/vendor/ceedling/vendor/hardmock/test/unit/trapper_test.rb +62 -0
  910. data/new_project_template/vendor/ceedling/vendor/hardmock/test/unit/verify_error_test.rb +40 -0
  911. data/new_project_template/vendor/ceedling/vendor/unity/auto/colour_prompt.rb +94 -0
  912. data/new_project_template/vendor/ceedling/vendor/unity/auto/colour_reporter.rb +39 -0
  913. data/new_project_template/vendor/ceedling/vendor/unity/auto/generate_config.yml +36 -0
  914. data/new_project_template/vendor/ceedling/vendor/unity/auto/generate_module.rb +202 -0
  915. data/new_project_template/vendor/ceedling/vendor/unity/auto/generate_test_runner.rb +303 -0
  916. data/new_project_template/vendor/ceedling/vendor/unity/auto/test_file_filter.rb +23 -0
  917. data/new_project_template/vendor/ceedling/vendor/unity/auto/unity_test_summary.rb +126 -0
  918. data/new_project_template/vendor/ceedling/vendor/unity/docs/Unity Summary.odt +0 -0
  919. data/new_project_template/vendor/ceedling/vendor/unity/docs/Unity Summary.pdf +0 -0
  920. data/new_project_template/vendor/ceedling/vendor/unity/docs/Unity Summary.txt +217 -0
  921. data/new_project_template/vendor/ceedling/vendor/unity/docs/license.txt +31 -0
  922. data/new_project_template/vendor/ceedling/vendor/unity/examples/helper/UnityHelper.c +10 -0
  923. data/new_project_template/vendor/ceedling/vendor/unity/examples/helper/UnityHelper.h +12 -0
  924. data/new_project_template/vendor/ceedling/vendor/unity/examples/makefile +40 -0
  925. data/new_project_template/vendor/ceedling/vendor/unity/examples/rakefile.rb +32 -0
  926. data/new_project_template/vendor/ceedling/vendor/unity/examples/rakefile_helper.rb +260 -0
  927. data/new_project_template/vendor/ceedling/vendor/unity/examples/readme.txt +18 -0
  928. data/new_project_template/vendor/ceedling/vendor/unity/examples/src/ProductionCode.c +24 -0
  929. data/new_project_template/vendor/ceedling/vendor/unity/examples/src/ProductionCode.h +3 -0
  930. data/new_project_template/vendor/ceedling/vendor/unity/examples/src/ProductionCode2.c +9 -0
  931. data/new_project_template/vendor/ceedling/vendor/unity/examples/src/ProductionCode2.h +2 -0
  932. data/new_project_template/vendor/ceedling/vendor/unity/examples/test/TestProductionCode.c +62 -0
  933. data/new_project_template/vendor/ceedling/vendor/unity/examples/test/TestProductionCode2.c +26 -0
  934. data/new_project_template/vendor/ceedling/vendor/unity/examples/test/no_ruby/TestProductionCode2_Runner.c +46 -0
  935. data/new_project_template/vendor/ceedling/vendor/unity/examples/test/no_ruby/TestProductionCode_Runner.c +50 -0
  936. data/new_project_template/vendor/ceedling/vendor/unity/extras/fixture/build/MakefileWorker.mk +331 -0
  937. data/new_project_template/vendor/ceedling/vendor/unity/extras/fixture/build/filterGcov.sh +61 -0
  938. data/new_project_template/vendor/ceedling/vendor/unity/extras/fixture/rakefile.rb +37 -0
  939. data/new_project_template/vendor/ceedling/vendor/unity/extras/fixture/rakefile_helper.rb +178 -0
  940. data/new_project_template/vendor/ceedling/vendor/unity/extras/fixture/readme.txt +9 -0
  941. data/new_project_template/vendor/ceedling/vendor/unity/extras/fixture/src/unity_fixture.c +381 -0
  942. data/new_project_template/vendor/ceedling/vendor/unity/extras/fixture/src/unity_fixture.h +81 -0
  943. data/new_project_template/vendor/ceedling/vendor/unity/extras/fixture/src/unity_fixture_internals.h +44 -0
  944. data/new_project_template/vendor/ceedling/vendor/unity/extras/fixture/src/unity_fixture_malloc_overrides.h +16 -0
  945. data/new_project_template/vendor/ceedling/vendor/unity/extras/fixture/test/main/AllTests.c +21 -0
  946. data/new_project_template/vendor/ceedling/vendor/unity/extras/fixture/test/testunity_fixture.c +39 -0
  947. data/new_project_template/vendor/ceedling/vendor/unity/extras/fixture/test/unity_fixture_Test.c +321 -0
  948. data/new_project_template/vendor/ceedling/vendor/unity/extras/fixture/test/unity_fixture_TestRunner.c +40 -0
  949. data/new_project_template/vendor/ceedling/vendor/unity/extras/fixture/test/unity_output_Spy.c +56 -0
  950. data/new_project_template/vendor/ceedling/vendor/unity/extras/fixture/test/unity_output_Spy.h +17 -0
  951. data/new_project_template/vendor/ceedling/vendor/unity/makefile +35 -0
  952. data/new_project_template/vendor/ceedling/vendor/unity/rakefile.rb +48 -0
  953. data/new_project_template/vendor/ceedling/vendor/unity/rakefile_helper.rb +243 -0
  954. data/new_project_template/vendor/ceedling/vendor/unity/release/build.info +2 -0
  955. data/new_project_template/vendor/ceedling/vendor/unity/release/version.info +2 -0
  956. data/new_project_template/vendor/ceedling/vendor/unity/src/unity.c +856 -0
  957. data/new_project_template/vendor/ceedling/vendor/unity/src/unity.h +213 -0
  958. data/new_project_template/vendor/ceedling/vendor/unity/src/unity_internals.h +355 -0
  959. data/new_project_template/vendor/ceedling/vendor/unity/targets/gcc.yml +42 -0
  960. data/new_project_template/vendor/ceedling/vendor/unity/targets/gcc_64.yml +43 -0
  961. data/new_project_template/vendor/ceedling/vendor/unity/targets/hitech_picc18.yml +101 -0
  962. data/new_project_template/vendor/ceedling/vendor/unity/targets/iar_arm_v4.yml +89 -0
  963. data/new_project_template/vendor/ceedling/vendor/unity/targets/iar_arm_v5.yml +79 -0
  964. data/new_project_template/vendor/ceedling/vendor/unity/targets/iar_arm_v5_3.yml +79 -0
  965. data/new_project_template/vendor/ceedling/vendor/unity/targets/iar_armcortex_LM3S9B92_v5_4.yml +93 -0
  966. data/new_project_template/vendor/ceedling/vendor/unity/targets/iar_cortexm3_v5.yml +83 -0
  967. data/new_project_template/vendor/ceedling/vendor/unity/targets/iar_msp430.yml +94 -0
  968. data/new_project_template/vendor/ceedling/vendor/unity/targets/iar_sh2a_v6.yml +85 -0
  969. data/new_project_template/vendor/ceedling/vendor/unity/test/expectdata/testsample_cmd.c +54 -0
  970. data/new_project_template/vendor/ceedling/vendor/unity/test/expectdata/testsample_def.c +50 -0
  971. data/new_project_template/vendor/ceedling/vendor/unity/test/expectdata/testsample_mock_cmd.c +76 -0
  972. data/new_project_template/vendor/ceedling/vendor/unity/test/expectdata/testsample_mock_def.c +72 -0
  973. data/new_project_template/vendor/ceedling/vendor/unity/test/expectdata/testsample_mock_new1.c +85 -0
  974. data/new_project_template/vendor/ceedling/vendor/unity/test/expectdata/testsample_mock_new2.c +85 -0
  975. data/new_project_template/vendor/ceedling/vendor/unity/test/expectdata/testsample_mock_param.c +73 -0
  976. data/new_project_template/vendor/ceedling/vendor/unity/test/expectdata/testsample_mock_run1.c +85 -0
  977. data/new_project_template/vendor/ceedling/vendor/unity/test/expectdata/testsample_mock_run2.c +85 -0
  978. data/new_project_template/vendor/ceedling/vendor/unity/test/expectdata/testsample_mock_yaml.c +86 -0
  979. data/new_project_template/vendor/ceedling/vendor/unity/test/expectdata/testsample_new1.c +60 -0
  980. data/new_project_template/vendor/ceedling/vendor/unity/test/expectdata/testsample_new2.c +63 -0
  981. data/new_project_template/vendor/ceedling/vendor/unity/test/expectdata/testsample_param.c +51 -0
  982. data/new_project_template/vendor/ceedling/vendor/unity/test/expectdata/testsample_run1.c +60 -0
  983. data/new_project_template/vendor/ceedling/vendor/unity/test/expectdata/testsample_run2.c +63 -0
  984. data/new_project_template/vendor/ceedling/vendor/unity/test/expectdata/testsample_yaml.c +64 -0
  985. data/new_project_template/vendor/ceedling/vendor/unity/test/test_generate_test_runner.rb +94 -0
  986. data/new_project_template/vendor/ceedling/vendor/unity/test/testdata/mocksample.c +51 -0
  987. data/new_project_template/vendor/ceedling/vendor/unity/test/testdata/sample.yml +9 -0
  988. data/new_project_template/vendor/ceedling/vendor/unity/test/testdata/testsample.c +51 -0
  989. data/new_project_template/vendor/ceedling/vendor/unity/test/testparameterized.c +101 -0
  990. data/new_project_template/vendor/ceedling/vendor/unity/test/testunity.c +1510 -0
  991. metadata +1058 -0
@@ -0,0 +1,55 @@
1
+ require File.dirname(__FILE__) + '/../unit_test_helper'
2
+ require 'deep_merge'
3
+
4
+
5
+ class DeepMergeFixTest < Test::Unit::TestCase
6
+
7
+ def setup
8
+ end
9
+
10
+ def teardown
11
+ end
12
+
13
+ should "overwrite destination hash elements of type TrueClass and FalseClass with source elements" do
14
+ # note: The deep_merge present in vendor is an altered version of that which is available online.
15
+ # The original relies on true/false checks to detect presence in hashes instead of .nil? checks.
16
+ # Thus, it does not properly merge hash elements of TrueClass and FalseClass; the corrected
17
+ # version does.
18
+
19
+ source = {
20
+ :array => [1, 2, 3],
21
+ :int => 9,
22
+ :string => 'hello',
23
+ :boolean1 => false,
24
+ :boolean2 => true,
25
+ :boolean3 => false,
26
+ :boolean4 => true,
27
+ }
28
+
29
+ destination = {
30
+ :array => [3, 4, 5],
31
+ :int => 1,
32
+ :string => 'world',
33
+ :boolean1 => true,
34
+ :boolean2 => false,
35
+ :boolean3 => false,
36
+ :boolean4 => true,
37
+ }
38
+
39
+ merged = {
40
+ :array => [1, 2, 3, 4, 5],
41
+ :int => 9,
42
+ :string => 'hello',
43
+ :boolean1 => false,
44
+ :boolean2 => true,
45
+ :boolean3 => false,
46
+ :boolean4 => true,
47
+ }
48
+
49
+ destination.deep_merge!(source)
50
+ destination[:array].sort!
51
+
52
+ assert_equal(merged, destination)
53
+ end
54
+
55
+ end
@@ -0,0 +1,129 @@
1
+ require File.dirname(__FILE__) + '/../unit_test_helper'
2
+ require 'dependinator'
3
+
4
+
5
+ class DependinatorTest < Test::Unit::TestCase
6
+
7
+ def setup
8
+ objects = create_mocks(:configurator, :test_includes_extractor, :file_finder, :file_path_utils, :rake_wrapper)
9
+ @dependinator = Dependinator.new(objects)
10
+
11
+ create_mocks(:headers1, :headers2, :sources1, :sources2, :dependencies1, :dependencies2)
12
+ create_mocks(:files_list1, :files_list2)
13
+ end
14
+
15
+ def teardown
16
+ end
17
+
18
+
19
+ should "set up no object dependencies for empty files lists" do
20
+ @dependinator.setup_test_object_dependencies
21
+ end
22
+
23
+
24
+ should "set up object dependencies for files lists" do
25
+ @file_path_utils.expects.form_dependencies_filelist(@files_list1).returns(['projects/build/dependencies/MockIngBird.d', 'projects/build/dependencies/MockAndRoll.d'])
26
+ @rake_wrapper.expects.load_dependencies('projects/build/dependencies/MockIngBird.d')
27
+ @rake_wrapper.expects.load_dependencies('projects/build/dependencies/MockAndRoll.d')
28
+
29
+ @file_path_utils.expects.form_dependencies_filelist(@files_list2).returns(['projects/build/dependencies/MockAroundTheClock.d', 'projects/build/dependencies/MockHimOut.d'])
30
+ @rake_wrapper.expects.load_dependencies('projects/build/dependencies/MockAroundTheClock.d')
31
+ @rake_wrapper.expects.load_dependencies('projects/build/dependencies/MockHimOut.d')
32
+
33
+ @dependinator.setup_test_object_dependencies(@files_list1, @files_list2)
34
+ end
35
+
36
+
37
+ should "set up no executable dependencies for blank test list" do
38
+ @dependinator.setup_test_executable_dependencies([])
39
+ end
40
+
41
+
42
+ should "set up executable dependencies for a test list with CException" do
43
+ test_list = ['test1.c', 'test2.c']
44
+
45
+ @test_includes_extractor.expects.lookup_includes_list(test_list[0]).returns(@headers1)
46
+ @file_finder.expects.find_source_files_from_headers(@headers1).returns(@sources1)
47
+
48
+ @file_path_utils.expects.form_source_objects_filelist(@sources1).returns(@dependencies1)
49
+
50
+ @file_path_utils.expects.form_runner_object_filepath_from_test(test_list[0]).returns('/project/build/out/test1_runner.c')
51
+ @dependencies1.expects.include('/project/build/out/test1_runner.c')
52
+ @file_path_utils.expects.form_object_filepath(test_list[0]).returns('project/build/out/test1.o')
53
+ @dependencies1.expects.include('project/build/out/test1.o')
54
+ @configurator.expects.project_use_exceptions.returns(true)
55
+ @file_path_utils.expects.form_object_filepath('CException.c').returns('project/build/out/CException.o')
56
+ @dependencies1.expects.include('project/build/out/CException.o')
57
+
58
+ @dependencies1.expects.uniq!
59
+
60
+ @file_path_utils.expects.form_executable_filepath(test_list[0]).returns('project/build/out/test1.exe')
61
+ @rake_wrapper.expects.create_file_task('project/build/out/test1.exe', @dependencies1)
62
+
63
+
64
+ @test_includes_extractor.expects.lookup_includes_list(test_list[1]).returns(@headers2)
65
+ @file_finder.expects.find_source_files_from_headers(@headers2).returns(@sources2)
66
+
67
+ @file_path_utils.expects.form_source_objects_filelist(@sources2).returns(@dependencies2)
68
+
69
+ @file_path_utils.expects.form_runner_object_filepath_from_test(test_list[1]).returns('/project/build/out/test2_runner.c')
70
+ @dependencies2.expects.include('/project/build/out/test2_runner.c')
71
+ @file_path_utils.expects.form_object_filepath(test_list[1]).returns('project/build/out/test2.o')
72
+ @dependencies2.expects.include('project/build/out/test2.o')
73
+ @configurator.expects.project_use_exceptions.returns(true)
74
+ @file_path_utils.expects.form_object_filepath('CException.c').returns('project/build/out/CException.o')
75
+ @dependencies2.expects.include('project/build/out/CException.o')
76
+
77
+ @dependencies2.expects.uniq!
78
+
79
+ @file_path_utils.expects.form_executable_filepath(test_list[1]).returns('project/build/out/test2.exe')
80
+ @rake_wrapper.expects.create_file_task('project/build/out/test2.exe', @dependencies2)
81
+
82
+
83
+ @dependinator.setup_test_executable_dependencies(test_list)
84
+ end
85
+
86
+
87
+ should "set up executable dependencies for a test list without CException" do
88
+ test_list = ['testing1.c', 'testing2.c']
89
+
90
+ @test_includes_extractor.expects.lookup_includes_list(test_list[0]).returns(@headers1)
91
+ @file_finder.expects.find_source_files_from_headers(@headers1).returns(@sources1)
92
+
93
+ @file_path_utils.expects.form_source_objects_filelist(@sources1).returns(@dependencies1)
94
+
95
+ @file_path_utils.expects.form_runner_object_filepath_from_test(test_list[0]).returns('/project/build/out/testing1_runner.c')
96
+ @dependencies1.expects.include('/project/build/out/testing1_runner.c')
97
+ @file_path_utils.expects.form_object_filepath(test_list[0]).returns('project/build/out/testing1.o')
98
+ @dependencies1.expects.include('project/build/out/testing1.o')
99
+ @configurator.expects.project_use_exceptions.returns(false)
100
+
101
+ @dependencies1.expects.uniq!
102
+
103
+ @file_path_utils.expects.form_executable_filepath(test_list[0]).returns('project/build/out/testing1.exe')
104
+ @rake_wrapper.expects.create_file_task('project/build/out/testing1.exe', @dependencies1)
105
+
106
+
107
+ @test_includes_extractor.expects.lookup_includes_list(test_list[1]).returns(@headers2)
108
+ @file_finder.expects.find_source_files_from_headers(@headers2).returns(@sources2)
109
+
110
+ @file_path_utils.expects.form_source_objects_filelist(@sources2).returns(@dependencies2)
111
+
112
+ @file_path_utils.expects.form_runner_object_filepath_from_test(test_list[1]).returns('/project/build/out/testing2_runner.c')
113
+ @dependencies2.expects.include('/project/build/out/testing2_runner.c')
114
+ @file_path_utils.expects.form_object_filepath(test_list[1]).returns('project/build/out/testing2.o')
115
+ @dependencies2.expects.include('project/build/out/testing2.o')
116
+ @configurator.expects.project_use_exceptions.returns(false)
117
+
118
+ @dependencies2.expects.uniq!
119
+
120
+ @file_path_utils.expects.form_executable_filepath(test_list[1]).returns('project/build/out/testing2.exe')
121
+ @rake_wrapper.expects.create_file_task('project/build/out/testing2.exe', @dependencies2)
122
+
123
+
124
+ @dependinator.setup_test_executable_dependencies(test_list)
125
+ end
126
+
127
+
128
+ end
129
+
@@ -0,0 +1,45 @@
1
+ require File.dirname(__FILE__) + '/../unit_test_helper'
2
+ require 'file_finder_helper'
3
+
4
+
5
+ class FileFinderHelperTest < Test::Unit::TestCase
6
+
7
+ def setup
8
+ objects = create_mocks(:streaminator)
9
+ @file_finder_helper = FileFinderHelper.new(objects)
10
+ end
11
+
12
+ def teardown
13
+ end
14
+
15
+
16
+ should "return file path when sought file is found in search collection" do
17
+ search_collection = ['files/source/yadda.h', 'files/tests/test_thing.c', 'lib/headers/wheres_waldo.h']
18
+
19
+ assert_equal('lib/headers/wheres_waldo.h', @file_finder_helper.find_file_in_collection('wheres_waldo.h', search_collection))
20
+ end
21
+
22
+ should "raise if the file is not found" do
23
+ search_collection = ['files/source/yadda.h', 'files/tests/test_thing.c', 'lib/headers/no_waldo.h']
24
+
25
+ @streaminator.expects.stderr_puts("ERROR: Could not find 'waldo.h'.", Verbosity::ERRORS)
26
+
27
+ assert_raise(RuntimeError){ @file_finder_helper.find_file_in_collection('waldo.h', search_collection) }
28
+ end
29
+
30
+ should "raise if the file is found but with wrong capitalization" do
31
+ search_collection = ['files/source/yadda.h', 'files/tests/test_thing.c', 'lib/headers/no_waldo.h']
32
+
33
+ @streaminator.expects.stderr_puts("ERROR: Could not find 'Yadda.h' but did find filename having different capitalization: 'files/source/yadda.h'.", Verbosity::ERRORS)
34
+
35
+ assert_raise(RuntimeError){ @file_finder_helper.find_file_in_collection('Yadda.h', search_collection) }
36
+ end
37
+
38
+ should "not raise but just return empty string if the file is not found" do
39
+ search_collection = ['files/source/yadda.h', 'files/tests/test_thing.c', 'lib/headers/no_waldo.h']
40
+
41
+ assert_equal('', @file_finder_helper.find_file_in_collection('waldo.h', search_collection, {:should_complain => false}))
42
+ end
43
+
44
+ end
45
+
@@ -0,0 +1,114 @@
1
+ require File.dirname(__FILE__) + '/../unit_test_helper'
2
+ require 'file_finder'
3
+
4
+
5
+ class FileFinderTest < Test::Unit::TestCase
6
+
7
+ def setup
8
+ objects = create_mocks(:configurator, :file_finder_helper)
9
+ @file_finder = FileFinder.new(objects)
10
+ end
11
+
12
+ def teardown
13
+ end
14
+
15
+
16
+ ############ find mockable header #############
17
+
18
+ should "by convention find source header file from which mock is generated" do
19
+
20
+ @configurator.expects.cmock_mock_prefix.returns('mock_')
21
+ @configurator.expects.extension_header.returns('.h')
22
+ @configurator.expects.collection_all_headers.returns(['files/include', 'files/source'])
23
+ @file_finder_helper.expects.find_file_in_collection('goldilocks.h', ['files/include', 'files/source']).returns('files/include/goldilocks.h')
24
+
25
+ @configurator.expects.cmock_mock_prefix.returns('Mock')
26
+ @configurator.expects.extension_header.returns('.H')
27
+ @configurator.expects.collection_all_headers.returns(['include', 'source/headers'])
28
+ @file_finder_helper.expects.find_file_in_collection('Rapunzel.H', ['include', 'source/headers']).returns('include/Rapunzel.H')
29
+
30
+ assert_equal('files/include/goldilocks.h', @file_finder.find_mockable_header('build/mocks/mock_goldilocks.c'))
31
+ assert_equal('include/Rapunzel.H', @file_finder.find_mockable_header('files/build/mocks/MockRapunzel.C'))
32
+ end
33
+
34
+ ############ find test from runner #############
35
+
36
+ should "by convention find test file from which test runner is generated" do
37
+
38
+ @configurator.expects.extension_source.returns('.c')
39
+ @configurator.expects.test_runner_file_suffix.returns('_runner')
40
+ @configurator.expects.collection_all_tests.returns(['tests/a/test_larry.c', 'tests/b/test_curly.c', 'tests/a/test_moe.c'])
41
+ @file_finder_helper.expects.find_file_in_collection('test_curly.c', ['tests/a/test_larry.c', 'tests/b/test_curly.c', 'tests/a/test_moe.c']).returns('tests/b/test_curly.c')
42
+
43
+ assert_equal('tests/b/test_curly.c', @file_finder.find_test_from_runner_path('files/build/runners/test_curly_runner.c'))
44
+ end
45
+
46
+ should "raise if test file from which test runner is generated is not found" do
47
+
48
+ @configurator.expects.extension_source.returns('.c')
49
+ @configurator.expects.test_runner_file_suffix.returns('_runner')
50
+ @configurator.expects.collection_all_tests.returns(['tests/a/test_larry.c', 'tests/b/test_curly.c', 'tests/a/test_moe.c'])
51
+
52
+ @file_finder_helper.expects.complain('test_shemp.c').raises('')
53
+
54
+ begin
55
+ @file_finder.find_test_from_runner_path('files/build/runners/test_shemp_runner.c')
56
+ flunk 'should have raised'
57
+ rescue
58
+ end
59
+ end
60
+
61
+ ############ find test from file path #############
62
+
63
+ should "by convention find test file from given file path" do
64
+
65
+ @configurator.expects.extension_source.returns('.c')
66
+ @configurator.expects.collection_all_tests.returns(['tests/a/test_larry.c', 'tests/b/test_curly.c', 'tests/a/test_moe.c'])
67
+ @file_finder_helper.expects.find_file_in_collection('test_moe.c', ['tests/a/test_larry.c', 'tests/b/test_curly.c', 'tests/a/test_moe.c']).returns('tests/a/test_moe.c')
68
+
69
+ assert_equal('tests/a/test_moe.c', @file_finder.find_test_from_file_path('files/build/runners/test_moe.out'))
70
+ end
71
+
72
+ should "raise if test file cannot be found from given file path" do
73
+
74
+ @configurator.expects.extension_source.returns('.c')
75
+ @configurator.expects.collection_all_tests.returns(['tests/a/test_larry.c', 'tests/b/test_curly.c', 'tests/a/test_moe.c'])
76
+
77
+ @file_finder_helper.expects.complain('test_shemp.o').raises('')
78
+
79
+ begin
80
+ @file_finder.find_test_from_file_path('files/build/out/test_shemp.o')
81
+ flunk 'should have raised'
82
+ rescue
83
+ end
84
+ end
85
+
86
+ ############ find test or source from file path #############
87
+
88
+ should "by convention find test or source file from file path" do
89
+ collection = ['files/tests/test_whatever.c', 'files/modules/flight.c']
90
+
91
+ @configurator.expects.extension_source.returns('.c')
92
+ @configurator.expects.collection_all_compilation_input.returns(collection)
93
+ @file_finder_helper.expects.find_file_in_collection('flight.c', collection).returns('files/modules/flight.c')
94
+
95
+ assert_equal('files/modules/flight.c', @file_finder.find_compilation_input_file('flight.out'))
96
+ end
97
+
98
+ ############ find all source files that correspond to given header files #############
99
+
100
+ should "by convention find all source files that correspond to the given header files" do
101
+ collection = ['files/tests/test_stuff.c', 'files/modules/flight.c']
102
+
103
+ @configurator.expects.extension_source.returns('.c')
104
+ @configurator.expects.collection_all_compilation_input.returns(collection)
105
+
106
+ @file_finder_helper.expects.find_file_in_collection('flight.c', collection, {:should_complain => false}).returns('files/modules/flight.c')
107
+ @file_finder_helper.expects.find_file_in_collection('types.c', collection, {:should_complain => false}).returns('')
108
+
109
+ assert_equal(['files/modules/flight.c'], @file_finder.find_source_files_from_headers(['flight.h', 'types.h']))
110
+ end
111
+
112
+
113
+ end
114
+
@@ -0,0 +1,97 @@
1
+ require File.dirname(__FILE__) + '/../unit_test_helper'
2
+ require 'file_path_utils'
3
+
4
+
5
+ class FilePathUtilsTest < Test::Unit::TestCase
6
+
7
+ def setup
8
+ objects = create_mocks(:configurator, :file_wrapper)
9
+ @utils = FilePathUtils.new(objects)
10
+ end
11
+
12
+ def teardown
13
+ end
14
+
15
+
16
+ should "standardize paths with forward slash file separators and prepend with ./" do
17
+ assert_equal('files/dir/dir', FilePathUtils::standardize("files\\dir\\dir/"))
18
+ assert_equal('root/subdir/dir', FilePathUtils::standardize("root\\subdir\\dir\\"))
19
+ assert_equal('files/modules/tests', FilePathUtils::standardize("files/modules/tests"))
20
+ assert_equal('source/modules', FilePathUtils::standardize("source\\modules"))
21
+ assert_equal('source/modules', FilePathUtils::standardize("./source\\modules"))
22
+ assert_equal('source/modules', FilePathUtils::standardize(".\\source\\modules"))
23
+ assert_equal('', FilePathUtils::standardize("./"))
24
+ assert_equal('.', FilePathUtils::standardize("."))
25
+ end
26
+
27
+
28
+ should "find base directory up to glob notation or filename" do
29
+ assert_equal('/files/stuff', FilePathUtils::dirname('/files/stuff/'))
30
+ assert_equal('/files/stuff', FilePathUtils::dirname('/files/stuff'))
31
+ assert_equal('.', FilePathUtils::dirname('.'))
32
+
33
+ assert_equal('.', FilePathUtils::dirname('./*'))
34
+ assert_equal('/files/stuff', FilePathUtils::dirname('/files/stuff/**'))
35
+ assert_equal('/files/stuff', FilePathUtils::dirname('/files/stuff/*'))
36
+ assert_equal('/files/stuff', FilePathUtils::dirname('/files/stuff/**/more*'))
37
+ assert_equal('files/tests', FilePathUtils::dirname('files/tests/*test/**/thing*/**'))
38
+ assert_equal('files', FilePathUtils::dirname('files/test*'))
39
+
40
+ assert_equal('files/tests', FilePathUtils::dirname('files/tests/???src'))
41
+ assert_equal('project/files', FilePathUtils::dirname('project/files/test?'))
42
+
43
+ assert_equal('project/files', FilePathUtils::dirname('project/files/test[123]'))
44
+
45
+ assert_equal('project/files', FilePathUtils::dirname('project/files/test{ing,s}'))
46
+
47
+ assert_equal('project/files', FilePathUtils::dirname('project/files/**/**'))
48
+ end
49
+
50
+
51
+ should "form valid subdirectory recursing globs from path convention" do
52
+ assert_equal('/files/stuff/', FilePathUtils::reform_glob('/files/stuff/'))
53
+ assert_equal('/files/stuff', FilePathUtils::reform_glob('/files/stuff'))
54
+ assert_equal('.', FilePathUtils::reform_glob('.'))
55
+
56
+ assert_equal('./*', FilePathUtils::reform_glob('./*'))
57
+ assert_equal('/files/stuff/**/**', FilePathUtils::reform_glob('/files/stuff/**'))
58
+ assert_equal('/files/stuff/*', FilePathUtils::reform_glob('/files/stuff/*'))
59
+ assert_equal('/files/stuff/**/more*', FilePathUtils::reform_glob('/files/stuff/**/more*'))
60
+ assert_equal('files/tests/*test/**/thing*/**/**', FilePathUtils::reform_glob('files/tests/*test/**/thing*/**'))
61
+
62
+ assert_equal('files/tests/???src', FilePathUtils::reform_glob('files/tests/???src'))
63
+ assert_equal('project/files/test?', FilePathUtils::reform_glob('project/files/test?'))
64
+
65
+ assert_equal('project/files/test[123]', FilePathUtils::reform_glob('project/files/test[123]'))
66
+
67
+ assert_equal('project/files/test{ing,s}', FilePathUtils::reform_glob('project/files/test{ing,s}'))
68
+ end
69
+
70
+
71
+ should "form runner object file path from configuration and file name" do
72
+ @configurator.expects.project_test_build_output_path.returns('project/build/output')
73
+ @configurator.expects.extension_object.returns('.obj')
74
+ @configurator.expects.extension_object.returns('.obj')
75
+ @configurator.expects.test_runner_file_suffix.returns('_runner')
76
+
77
+ assert_equal('project/build/output/test_stuff_runner.obj', @utils.form_runner_object_filepath_from_test('files/junk/test_stuff.c'))
78
+ end
79
+
80
+
81
+ should "form runner object file path from configuration and file name" do
82
+ @configurator.expects.project_test_build_output_path.returns('project/build/output')
83
+ @configurator.expects.extension_object.returns('.o')
84
+
85
+ assert_equal('project/build/output/stuff.o', @utils.form_object_filepath('files/junk/stuff.c'))
86
+ end
87
+
88
+
89
+ should "form executable file path from configuration and file name" do
90
+ @configurator.expects.project_test_build_output_path.returns('project/build/output')
91
+ @configurator.expects.extension_executable.returns('.out')
92
+
93
+ assert_equal('project/build/output/test_stuff.out', @utils.form_executable_filepath('files/tests/test_stuff.c'))
94
+ end
95
+
96
+ end
97
+
@@ -0,0 +1,21 @@
1
+ require File.dirname(__FILE__) + '/../unit_test_helper'
2
+ require 'file_system_utils'
3
+
4
+
5
+ class FileSystemUtilsTest < Test::Unit::TestCase
6
+
7
+ def setup
8
+ objects = create_mocks(:file_wrapper)
9
+ utils = FileSystemUtils.new(objects)
10
+ end
11
+
12
+ def teardown
13
+ end
14
+
15
+
16
+ should "" do
17
+ # dummy placeholder test; all tests are system tests (system/paths_test) for this guy
18
+ end
19
+
20
+ end
21
+
@@ -0,0 +1,187 @@
1
+ require File.dirname(__FILE__) + '/../unit_test_helper'
2
+ require 'generator'
3
+
4
+
5
+ class GeneratorTest < Test::Unit::TestCase
6
+
7
+ def setup
8
+ objects = create_mocks(:configurator, :preprocessinator, :cmock_factory, :generator_test_runner, :generator_test_results, :test_includes_extractor, :tool_executor, :file_finder, :file_path_utils, :streaminator, :plugin_manager, :file_wrapper)
9
+ create_mocks(:cmock, :file)
10
+ @generator = Generator.new(objects)
11
+ end
12
+
13
+ def teardown
14
+ end
15
+
16
+ ################### includes preprocessing ####################
17
+
18
+ should "generate shallow includes list file" do
19
+ @preprocessinator.expects.preprocess_shallow_includes('project/tests/test_file.c')
20
+
21
+ @generator.generate_shallow_includes_list('project/tests/test_file.c')
22
+ end
23
+
24
+ ################### file preprocessing ####################
25
+
26
+ should "generate preprocessed version of file" do
27
+ @streaminator.expects.stdout_puts("Preprocessing test_icle.c...", Verbosity::NORMAL)
28
+
29
+ @preprocessinator.expects.preprocess_file('project/tests/test_icle.c')
30
+
31
+ @generator.generate_preprocessed_file('project/tests/test_icle.c')
32
+ end
33
+
34
+ ################### auxiliary dependencies ####################
35
+
36
+ should "generate auxiliary dependencies file" do
37
+ @streaminator.expects.stdout_puts("Generating dependencies for file.c...", Verbosity::NORMAL)
38
+
39
+ @configurator.expects.tools_dependencies_generator.returns('gcc -depgen')
40
+ @file_path_utils.expects.form_object_filepath('project/files/src/file.c').returns('project/build/file.o')
41
+
42
+ @tool_executor.expects.build_command_line('gcc -depgen', 'project/files/src/file.c', ['types.h', 'helper.h'], 'project/build/file.o').returns('dep cmd line')
43
+
44
+ @tool_executor.expects.exec('dep cmd line')
45
+
46
+ @generator.generate_dependencies_file('project/files/src/file.c', ['types.h', 'helper.h'])
47
+ end
48
+
49
+ ################### cmock ####################
50
+
51
+ should "manufacture cmock object if not already in existence and verify that cmock gets called" do
52
+ test_source_header1 = 'files/source/mockable1.h'
53
+ test_preprocessed_header1 = 'files/preprocessed/mockable1.h'
54
+ test_source_header2 = 'files/source/mockable2.h'
55
+ test_preprocessed_header2 = 'files/preprocessed/mockable2.h'
56
+
57
+ # instantiate cmock as it doesn't exist and then call against to create mock
58
+ @configurator.expects.cmock_config_hash.returns({:cmock => []})
59
+ @cmock_factory.expects.manufacture({:cmock => []}).returns(@cmock)
60
+ @preprocessinator.expects.form_file_path(test_source_header1).returns(test_preprocessed_header1)
61
+ @cmock.expects.setup_mocks(test_preprocessed_header1)
62
+ @generator.generate_mock(test_source_header1)
63
+
64
+ # don't instantiate cmock as it already exists and then against it to create mock
65
+ @preprocessinator.expects.form_file_path(test_source_header2).returns(test_preprocessed_header2)
66
+ @cmock.expects.setup_mocks(test_preprocessed_header2)
67
+ @generator.generate_mock(test_source_header2)
68
+ end
69
+
70
+ ################### test runner ####################
71
+
72
+ should "generate test runner" do
73
+ test_source = 'tests/test_count_chocula.c'
74
+ preprocessed_source = 'preprocessed/test_count_chocula.c'
75
+ test_runner = 'build/runners/test_count_chocula_runner.c'
76
+ test_cases = ['test_how_much_goodness', 'test_chocolatey_milk']
77
+ mock_list = ['mock_marshmallows.h', 'mock_cereal_bits.h']
78
+
79
+ @preprocessinator.expects.form_file_path(test_source).returns(preprocessed_source)
80
+
81
+ @generator_test_runner.expects.find_test_cases(preprocessed_source).returns(test_cases)
82
+ @test_includes_extractor.expects.lookup_raw_mock_list(preprocessed_source).returns(mock_list)
83
+
84
+ @streaminator.expects.stdout_puts("Creating test runner for test_count_chocula.c...", Verbosity::NORMAL)
85
+
86
+ @file_wrapper.expects.open(test_runner, 'w').yields(@file)
87
+
88
+ @generator_test_runner.expects.create_header(@file, mock_list)
89
+ @generator_test_runner.expects.create_externs(@file, test_cases)
90
+ @generator_test_runner.expects.create_mock_management(@file, mock_list)
91
+ @generator_test_runner.expects.create_runtest(@file, mock_list, test_cases)
92
+ @generator_test_runner.expects.create_main(@file, 'test_count_chocula.c', test_cases)
93
+
94
+ @generator.generate_test_runner(test_source, test_runner)
95
+ end
96
+
97
+ ################### compilation ####################
98
+
99
+ should "compile object file" do
100
+ tool_config = {:tools_test_compiler => {}}
101
+
102
+ @streaminator.expects.stdout_puts("Compiling compile_me.c...", Verbosity::NORMAL)
103
+
104
+ @configurator.expects.tools_test_compiler.returns(tool_config)
105
+
106
+ @tool_executor.expects.build_command_line(tool_config, 'files/modules/compile_me.c', 'build/out/compile_me.o').returns('compiler.exe input output')
107
+ @tool_executor.expects.exec('compiler.exe input output').returns('ignore this')
108
+
109
+ @generator.generate_object_file('files/modules/compile_me.c', 'build/out/compile_me.o')
110
+ end
111
+
112
+ ################### linking ####################
113
+
114
+ should "link executable file" do
115
+ tool_config = {:tools_test_linker => {}}
116
+
117
+ @streaminator.expects.stdout_puts("Linking link_me.out...", Verbosity::NORMAL)
118
+
119
+ @configurator.expects.tools_test_linker.returns(tool_config)
120
+
121
+ @tool_executor.expects.build_command_line(tool_config, ['build/out/compile_me.o', 'build/out/compile_me_too.o'], 'build/out/link_me.out').returns('linker.exe input output')
122
+ @tool_executor.expects.exec('linker.exe input output').returns('ignore this')
123
+
124
+ @generator.generate_executable_file(['build/out/compile_me.o', 'build/out/compile_me_too.o'], 'build/out/link_me.out')
125
+ end
126
+
127
+ ################### test execution ####################
128
+
129
+ should "execute test and process results to file" do
130
+ tool_config = {:tools_test_runner => {}}
131
+ arg_hash = {:executable => 'build/out/test.out', :result => 'build/results/test.pass'}
132
+
133
+ @plugin_manager.expects.pre_test_execute(arg_hash)
134
+
135
+ @streaminator.expects.stdout_puts("Running test.out...", Verbosity::NORMAL)
136
+
137
+ @configurator.expects.tools_test_fixture.returns(tool_config)
138
+
139
+ @tool_executor.expects.build_command_line(tool_config, arg_hash[:executable]).returns('simulator.exe test.out')
140
+ @tool_executor.expects.exec('simulator.exe test.out').returns('test results')
141
+
142
+ @file_finder.expects.find_test_from_file_path(arg_hash[:executable]).returns('tests/test.c')
143
+
144
+ @generator_test_results.expects.process_and_write_results('test results', arg_hash[:result], 'tests/test.c')
145
+
146
+ @plugin_manager.expects.post_test_execute(arg_hash)
147
+
148
+ @generator.generate_test_results(arg_hash[:executable], arg_hash[:result])
149
+ end
150
+
151
+ should "raise if test execution yields nil results" do
152
+ tool_config = {:tools_test_runner => {}}
153
+ arg_hash = {:executable => 'build/out/test.out', :result => 'build/results/test.pass'}
154
+
155
+ @plugin_manager.expects.pre_test_execute(arg_hash)
156
+
157
+ @streaminator.expects.stdout_puts("Running test.out...", Verbosity::NORMAL)
158
+
159
+ @configurator.expects.tools_test_fixture.returns(tool_config)
160
+
161
+ @tool_executor.expects.build_command_line(tool_config, arg_hash[:executable]).returns('simulator.exe test.out')
162
+ @tool_executor.expects.exec('simulator.exe test.out').returns(nil)
163
+
164
+ @streaminator.expects.stderr_puts("ERROR: Test executable \"test.out\" did not produce any results.", Verbosity::ERRORS)
165
+
166
+ assert_raise(RuntimeError) { @generator.generate_test_results(arg_hash[:executable], arg_hash[:result]) }
167
+ end
168
+
169
+ should "raise if test execution yields a string with no parseable results" do
170
+ tool_config = {:tools_test_runner => {}}
171
+ arg_hash = {:executable => 'build/out/test.out', :result => 'build/results/test.pass'}
172
+
173
+ @plugin_manager.expects.pre_test_execute(arg_hash)
174
+
175
+ @streaminator.expects.stdout_puts("Running test.out...", Verbosity::NORMAL)
176
+
177
+ @configurator.expects.tools_test_fixture.returns(tool_config)
178
+
179
+ @tool_executor.expects.build_command_line(tool_config, arg_hash[:executable]).returns('simulator.exe test.out')
180
+ @tool_executor.expects.exec('simulator.exe test.out').returns('')
181
+
182
+ @streaminator.expects.stderr_puts("ERROR: Test executable \"test.out\" did not produce any results.", Verbosity::ERRORS)
183
+
184
+ assert_raise(RuntimeError) { @generator.generate_test_results('build/out/test.out', 'build/results/test.pass') }
185
+ end
186
+
187
+ end