ceedling 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +17 -0
- data/bin/ceedling +17 -0
- data/ceedling-gem.sublime-project +442 -0
- data/ceedling.gemspec +2 -1
- data/examples/temp_sensor/project.yml +71 -0
- data/examples/temp_sensor/rakefile.rb +4 -0
- data/{new_project_template/vendor/ceedling/vendor/cmock/examples → examples/temp_sensor}/src/AT91SAM7X256.h +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/AdcConductor.c +0 -0
- data/{new_project_template/vendor/ceedling/vendor/cmock/examples → examples/temp_sensor}/src/AdcConductor.h +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/AdcHardware.c +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/AdcHardware.h +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/AdcHardwareConfigurator.c +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/AdcHardwareConfigurator.h +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/AdcModel.c +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/AdcModel.h +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/AdcTemperatureSensor.c +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/AdcTemperatureSensor.h +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/Executor.c +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/Executor.h +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/IntrinsicsWrapper.c +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/IntrinsicsWrapper.h +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/Main.c +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/Main.h +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/Model.c +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/Model.h +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/ModelConfig.h +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/TaskScheduler.c +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/TaskScheduler.h +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/TemperatureCalculator.c +0 -0
- data/{new_project_template/vendor/ceedling/vendor/cmock/examples → examples/temp_sensor}/src/TemperatureCalculator.h +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/TemperatureFilter.c +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/TemperatureFilter.h +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/TimerConductor.c +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/TimerConductor.h +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/TimerConfigurator.c +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/TimerConfigurator.h +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/TimerHardware.c +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/TimerHardware.h +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/TimerInterruptConfigurator.c +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/TimerInterruptConfigurator.h +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/TimerInterruptHandler.c +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/TimerInterruptHandler.h +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/TimerModel.c +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/TimerModel.h +0 -0
- data/{new_project_template/vendor/ceedling/vendor/cmock/examples → examples/temp_sensor}/src/Types.h +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/UsartBaudRateRegisterCalculator.c +0 -0
- data/{new_project_template/vendor/ceedling/vendor/cmock/examples → examples/temp_sensor}/src/UsartBaudRateRegisterCalculator.h +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/UsartConductor.c +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/UsartConductor.h +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/UsartConfigurator.c +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/UsartConfigurator.h +0 -0
- data/examples/temp_sensor/src/UsartGetChar.c +6 -0
- data/examples/temp_sensor/src/UsartGetChar.h +8 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/UsartHardware.c +12 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/UsartHardware.h +1 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/UsartModel.c +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/UsartModel.h +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/UsartPutChar.c +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/UsartPutChar.h +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/UsartTransmitBufferStatus.c +0 -0
- data/{new_project_template/vendor/ceedling/examples → examples}/temp_sensor/src/UsartTransmitBufferStatus.h +0 -0
- data/{new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/examples/helper → examples/temp_sensor/test/support}/UnityHelper.c +0 -0
- data/{new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/examples/helper → examples/temp_sensor/test/support}/UnityHelper.h +0 -0
- data/{new_project_template/vendor/ceedling/examples/temp_sensor/test/TestAdcConductor.c → examples/temp_sensor/test/test_AdcConductor.c} +0 -0
- data/{new_project_template/vendor/ceedling/examples/temp_sensor/test/TestAdcHardware.c → examples/temp_sensor/test/test_AdcHardware.c} +0 -0
- data/{new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestAdcHardwareConfigurator.c → examples/temp_sensor/test/test_AdcHardwareConfigurator.c} +0 -0
- data/{new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestAdcTemperatureSensor.c → examples/temp_sensor/test/test_AdcTemperatureSensor.c} +0 -0
- data/{new_project_template/vendor/ceedling/examples/temp_sensor/test/TestExecutor.c → examples/temp_sensor/test/test_Executor.c} +0 -0
- data/{new_project_template/vendor/ceedling/examples/temp_sensor/test/TestModel.c → examples/temp_sensor/test/test_Model.c} +0 -0
- data/{new_project_template/vendor/ceedling/examples/temp_sensor/test/TestTaskScheduler.c → examples/temp_sensor/test/test_TaskScheduler.c} +0 -0
- data/{new_project_template/vendor/ceedling/examples/temp_sensor/test/TestTemperatureCalculator.c → examples/temp_sensor/test/test_TemperatureCalculator.c} +0 -0
- data/{new_project_template/vendor/ceedling/examples/temp_sensor/test/TestTemperatureFilter.c → examples/temp_sensor/test/test_TemperatureFilter.c} +2 -0
- data/{new_project_template/vendor/ceedling/examples/temp_sensor/test/TestAdcModel.c → examples/temp_sensor/test/test_TestAdcModel.c} +0 -0
- data/{new_project_template/vendor/ceedling/examples/temp_sensor/test/TestMain.c → examples/temp_sensor/test/test_TestMain.c} +0 -0
- data/{new_project_template/vendor/ceedling/examples/temp_sensor/test/TestTimerConductor.c → examples/temp_sensor/test/test_TimerConductor.c} +0 -0
- data/{new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestTimerConfigurator.c → examples/temp_sensor/test/test_TimerConfigurator.c} +0 -0
- data/{new_project_template/vendor/ceedling/examples/temp_sensor/test/TestTimerHardware.c → examples/temp_sensor/test/test_TimerHardware.c} +0 -0
- data/{new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestTimerInterruptConfigurator.c → examples/temp_sensor/test/test_TimerInterruptConfigurator.c} +0 -0
- data/{new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestTimerInterruptHandler.c → examples/temp_sensor/test/test_TimerInterruptHandler.c} +0 -0
- data/{new_project_template/vendor/ceedling/examples/temp_sensor/test/TestTimerModel.c → examples/temp_sensor/test/test_TimerModel.c} +0 -0
- data/{new_project_template/vendor/ceedling/examples/temp_sensor/test/TestUsartBaudRateRegisterCalculator.c → examples/temp_sensor/test/test_UsartBaudRateRegisterCalculator.c} +0 -0
- data/{new_project_template/vendor/ceedling/examples/temp_sensor/test/TestUsartConductor.c → examples/temp_sensor/test/test_UsartConductor.c} +1 -1
- data/{new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestUsartConfigurator.c → examples/temp_sensor/test/test_UsartConfigurator.c} +0 -0
- data/examples/temp_sensor/test/test_UsartGetChar.c +17 -0
- data/{new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestUsartHardware.c → examples/temp_sensor/test/test_UsartHardware.c} +19 -0
- data/{new_project_template/vendor/ceedling/examples/temp_sensor/test/TestUsartModel.c → examples/temp_sensor/test/test_UsartModel.c} +0 -0
- data/{new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestUsartPutChar.c → examples/temp_sensor/test/test_UsartPutChar.c} +0 -0
- data/{new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestUsartTransmitBufferStatus.c → examples/temp_sensor/test/test_UsartTransmitBufferStatus.c} +0 -0
- data/lib/ceedling/version.rb +1 -1
- data/new_project_template/project.yml +1 -1
- metadata +121 -849
- data/new_project_template/vendor/ceedling/config/test_environment.rb +0 -12
- data/new_project_template/vendor/ceedling/examples/temp_sensor/gcc.yml +0 -42
- data/new_project_template/vendor/ceedling/examples/temp_sensor/iar_v4.yml +0 -91
- data/new_project_template/vendor/ceedling/examples/temp_sensor/iar_v5.yml +0 -80
- data/new_project_template/vendor/ceedling/examples/temp_sensor/project.yml +0 -65
- data/new_project_template/vendor/ceedling/examples/temp_sensor/rakefile.rb +0 -5
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/AdcConductor.h +0 -13
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/TemperatureCalculator.h +0 -8
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/Types.h +0 -90
- data/new_project_template/vendor/ceedling/examples/temp_sensor/src/UsartBaudRateRegisterCalculator.h +0 -8
- data/new_project_template/vendor/ceedling/examples/temp_sensor/test/TestUsartHardware.c +0 -36
- data/new_project_template/vendor/ceedling/examples/temp_sensor/test/support/UnityHelper.c +0 -12
- data/new_project_template/vendor/ceedling/examples/temp_sensor/test/support/UnityHelper.h +0 -8
- data/new_project_template/vendor/ceedling/test/integration/paths.yml +0 -17
- data/new_project_template/vendor/ceedling/test/integration/paths_test.rb +0 -80
- data/new_project_template/vendor/ceedling/test/integration/rake_rules_aux_dependencies_test.rb +0 -75
- data/new_project_template/vendor/ceedling/test/integration/rake_rules_cmock_test.rb +0 -74
- data/new_project_template/vendor/ceedling/test/integration/rake_rules_preprocess_test.rb +0 -178
- data/new_project_template/vendor/ceedling/test/integration/rake_rules_test.rb +0 -268
- data/new_project_template/vendor/ceedling/test/integration/rake_tasks_test.rb +0 -103
- data/new_project_template/vendor/ceedling/test/integration_test_helper.rb +0 -34
- data/new_project_template/vendor/ceedling/test/rakefile_rules.rb +0 -10
- data/new_project_template/vendor/ceedling/test/rakefile_rules_aux_dependencies.rb +0 -10
- data/new_project_template/vendor/ceedling/test/rakefile_rules_cmock.rb +0 -10
- data/new_project_template/vendor/ceedling/test/rakefile_rules_preprocess.rb +0 -10
- data/new_project_template/vendor/ceedling/test/rakefile_tasks.rb +0 -10
- data/new_project_template/vendor/ceedling/test/system/file_system_dependencies.yml +0 -20
- data/new_project_template/vendor/ceedling/test/system/file_system_kitchen_sink.yml +0 -20
- data/new_project_template/vendor/ceedling/test/system/file_system_mocks.yml +0 -20
- data/new_project_template/vendor/ceedling/test/system/file_system_preprocess.yml +0 -20
- data/new_project_template/vendor/ceedling/test/system/file_system_simple.yml +0 -20
- data/new_project_template/vendor/ceedling/test/system/file_system_test.rb +0 -78
- data/new_project_template/vendor/ceedling/test/system/mocks/include/a_file.h +0 -2
- data/new_project_template/vendor/ceedling/test/system/mocks/include/other_stuff.h +0 -2
- data/new_project_template/vendor/ceedling/test/system/mocks/include/stuff.h +0 -3
- data/new_project_template/vendor/ceedling/test/system/mocks/source/a_file.c +0 -9
- data/new_project_template/vendor/ceedling/test/system/mocks/test/test_a_file.c +0 -41
- data/new_project_template/vendor/ceedling/test/system/mocks/test/test_no_file.c +0 -14
- data/new_project_template/vendor/ceedling/test/system/project_mocks.yml +0 -43
- data/new_project_template/vendor/ceedling/test/system/project_mocks_test.rb +0 -38
- data/new_project_template/vendor/ceedling/test/system/project_simple.yml +0 -36
- data/new_project_template/vendor/ceedling/test/system/project_simple_test.rb +0 -39
- data/new_project_template/vendor/ceedling/test/system/rule_mocks_test.rb +0 -44
- data/new_project_template/vendor/ceedling/test/system/rule_runners_test.rb +0 -44
- data/new_project_template/vendor/ceedling/test/system/simple/include/other_stuff.h +0 -2
- data/new_project_template/vendor/ceedling/test/system/simple/include/stuff.h +0 -3
- data/new_project_template/vendor/ceedling/test/system/simple/source/other_stuff.c +0 -6
- data/new_project_template/vendor/ceedling/test/system/simple/source/stuff.c +0 -7
- data/new_project_template/vendor/ceedling/test/system/simple/test/test_other_stuff.c +0 -30
- data/new_project_template/vendor/ceedling/test/system/simple/test/test_stuff.c +0 -51
- data/new_project_template/vendor/ceedling/test/system_test_helper.rb +0 -73
- data/new_project_template/vendor/ceedling/test/test_helper.rb +0 -93
- data/new_project_template/vendor/ceedling/test/unit/busted/configurator_builder_test.rb +0 -571
- data/new_project_template/vendor/ceedling/test/unit/busted/configurator_helper_test.rb +0 -234
- data/new_project_template/vendor/ceedling/test/unit/busted/configurator_test.rb +0 -232
- data/new_project_template/vendor/ceedling/test/unit/busted/configurator_validator_test.rb +0 -169
- data/new_project_template/vendor/ceedling/test/unit/busted/deep_merge_fix_test.rb +0 -55
- data/new_project_template/vendor/ceedling/test/unit/busted/dependinator_test.rb +0 -129
- data/new_project_template/vendor/ceedling/test/unit/busted/file_finder_helper_test.rb +0 -45
- data/new_project_template/vendor/ceedling/test/unit/busted/file_finder_test.rb +0 -114
- data/new_project_template/vendor/ceedling/test/unit/busted/file_path_utils_test.rb +0 -97
- data/new_project_template/vendor/ceedling/test/unit/busted/file_system_utils_test.rb +0 -21
- data/new_project_template/vendor/ceedling/test/unit/busted/generator_test.rb +0 -187
- data/new_project_template/vendor/ceedling/test/unit/busted/generator_test_results_test.rb +0 -129
- data/new_project_template/vendor/ceedling/test/unit/busted/generator_test_runner_test.rb +0 -478
- data/new_project_template/vendor/ceedling/test/unit/busted/preprocessinator_extractor_test.rb +0 -729
- data/new_project_template/vendor/ceedling/test/unit/busted/preprocessinator_file_handler_test.rb +0 -38
- data/new_project_template/vendor/ceedling/test/unit/busted/preprocessinator_helper_test.rb +0 -156
- data/new_project_template/vendor/ceedling/test/unit/busted/preprocessinator_includes_handler_test.rb +0 -93
- data/new_project_template/vendor/ceedling/test/unit/busted/preprocessinator_test.rb +0 -57
- data/new_project_template/vendor/ceedling/test/unit/busted/project_file_loader_test.rb +0 -142
- data/new_project_template/vendor/ceedling/test/unit/busted/setupinator_test.rb +0 -45
- data/new_project_template/vendor/ceedling/test/unit/busted/streaminator_test.rb +0 -49
- data/new_project_template/vendor/ceedling/test/unit/busted/task_invoker_test.rb +0 -69
- data/new_project_template/vendor/ceedling/test/unit/busted/test_includes_extractor_test.rb +0 -111
- data/new_project_template/vendor/ceedling/test/unit/busted/test_invoker_helper_test.rb +0 -62
- data/new_project_template/vendor/ceedling/test/unit/busted/test_invoker_test.rb +0 -47
- data/new_project_template/vendor/ceedling/test/unit/busted/tool_executor_helper_test.rb +0 -100
- data/new_project_template/vendor/ceedling/test/unit/busted/tool_executor_test.rb +0 -351
- data/new_project_template/vendor/ceedling/test/unit/busted/verbosinator_test.rb +0 -65
- data/new_project_template/vendor/ceedling/test/unit_test_helper.rb +0 -16
- data/new_project_template/vendor/ceedling/vendor/behaviors/Manifest.txt +0 -9
- data/new_project_template/vendor/ceedling/vendor/behaviors/Rakefile +0 -19
- data/new_project_template/vendor/ceedling/vendor/behaviors/lib/behaviors.rb +0 -76
- data/new_project_template/vendor/ceedling/vendor/behaviors/lib/behaviors/reporttask.rb +0 -158
- data/new_project_template/vendor/ceedling/vendor/behaviors/test/behaviors_tasks_test.rb +0 -73
- data/new_project_template/vendor/ceedling/vendor/behaviors/test/behaviors_test.rb +0 -50
- data/new_project_template/vendor/ceedling/vendor/behaviors/test/tasks_test/Rakefile +0 -19
- data/new_project_template/vendor/ceedling/vendor/behaviors/test/tasks_test/lib/user.rb +0 -2
- data/new_project_template/vendor/ceedling/vendor/behaviors/test/tasks_test/test/user_test.rb +0 -17
- data/new_project_template/vendor/ceedling/vendor/c_exception/makefile +0 -24
- data/new_project_template/vendor/ceedling/vendor/c_exception/rakefile.rb +0 -41
- data/new_project_template/vendor/ceedling/vendor/c_exception/test/CExceptionConfig.h +0 -27
- data/new_project_template/vendor/ceedling/vendor/c_exception/test/TestException.c +0 -291
- data/new_project_template/vendor/ceedling/vendor/c_exception/test/TestException_Runner.c +0 -62
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/auto/colour_prompt.rb +0 -94
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/auto/colour_reporter.rb +0 -39
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/auto/generate_config.yml +0 -36
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/auto/generate_module.rb +0 -202
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/auto/generate_test_runner.rb +0 -303
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/auto/test_file_filter.rb +0 -23
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/auto/unity_test_summary.rb +0 -126
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/docs/Unity Summary.odt +0 -0
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/docs/license.txt +0 -31
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/examples/makefile +0 -40
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/examples/rakefile.rb +0 -32
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/examples/rakefile_helper.rb +0 -260
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/examples/readme.txt +0 -18
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/examples/src/ProductionCode.c +0 -24
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/examples/src/ProductionCode.h +0 -3
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/examples/src/ProductionCode2.c +0 -9
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/examples/src/ProductionCode2.h +0 -2
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/examples/test/TestProductionCode.c +0 -62
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/examples/test/TestProductionCode2.c +0 -26
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/examples/test/no_ruby/TestProductionCode2_Runner.c +0 -46
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/examples/test/no_ruby/TestProductionCode_Runner.c +0 -50
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/extras/fixture/build/MakefileWorker.mk +0 -331
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/extras/fixture/build/filterGcov.sh +0 -61
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/extras/fixture/rakefile.rb +0 -37
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/extras/fixture/rakefile_helper.rb +0 -178
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/extras/fixture/readme.txt +0 -9
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/extras/fixture/src/unity_fixture.c +0 -381
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/extras/fixture/src/unity_fixture.h +0 -81
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/extras/fixture/src/unity_fixture_internals.h +0 -44
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/extras/fixture/src/unity_fixture_malloc_overrides.h +0 -16
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/extras/fixture/test/main/AllTests.c +0 -21
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/extras/fixture/test/testunity_fixture.c +0 -39
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/extras/fixture/test/unity_fixture_Test.c +0 -321
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/extras/fixture/test/unity_fixture_TestRunner.c +0 -40
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/extras/fixture/test/unity_output_Spy.c +0 -56
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/extras/fixture/test/unity_output_Spy.h +0 -17
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/makefile +0 -35
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/rakefile.rb +0 -48
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/rakefile_helper.rb +0 -243
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/release/build.info +0 -2
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/release/version.info +0 -2
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/src/unity.c +0 -856
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/src/unity.h +0 -213
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/src/unity_internals.h +0 -355
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/targets/gcc.yml +0 -42
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/targets/gcc_64.yml +0 -43
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/targets/hitech_picc18.yml +0 -101
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/targets/iar_arm_v4.yml +0 -89
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/targets/iar_arm_v5.yml +0 -79
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/targets/iar_arm_v5_3.yml +0 -79
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/targets/iar_armcortex_LM3S9B92_v5_4.yml +0 -93
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/targets/iar_cortexm3_v5.yml +0 -83
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/targets/iar_msp430.yml +0 -94
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/targets/iar_sh2a_v6.yml +0 -85
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/expectdata/testsample_cmd.c +0 -54
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/expectdata/testsample_def.c +0 -50
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_cmd.c +0 -76
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_def.c +0 -72
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_new1.c +0 -85
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_new2.c +0 -85
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_param.c +0 -73
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_run1.c +0 -85
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_run2.c +0 -85
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_yaml.c +0 -86
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/expectdata/testsample_new1.c +0 -60
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/expectdata/testsample_new2.c +0 -63
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/expectdata/testsample_param.c +0 -51
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/expectdata/testsample_run1.c +0 -60
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/expectdata/testsample_run2.c +0 -63
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/expectdata/testsample_yaml.c +0 -64
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/test_generate_test_runner.rb +0 -94
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/testdata/mocksample.c +0 -51
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/testdata/sample.yml +0 -9
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/testdata/testsample.c +0 -51
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/testparameterized.c +0 -101
- data/new_project_template/vendor/ceedling/vendor/c_exception/vendor/unity/test/testunity.c +0 -1510
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/gcc.yml +0 -43
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/iar_v4.yml +0 -91
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/iar_v5.yml +0 -80
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/rakefile.rb +0 -32
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/rakefile_helper.rb +0 -274
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/AdcConductor.c +0 -42
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/AdcHardware.c +0 -27
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/AdcHardware.h +0 -9
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/AdcHardwareConfigurator.c +0 -18
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/AdcHardwareConfigurator.h +0 -10
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/AdcModel.c +0 -33
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/AdcModel.h +0 -13
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/AdcTemperatureSensor.c +0 -51
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/AdcTemperatureSensor.h +0 -10
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/Executor.c +0 -25
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/Executor.h +0 -9
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/IntrinsicsWrapper.c +0 -18
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/IntrinsicsWrapper.h +0 -7
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/Main.c +0 -46
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/Main.h +0 -7
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/Model.c +0 -10
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/Model.h +0 -8
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/ModelConfig.h +0 -7
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TaskScheduler.c +0 -72
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TaskScheduler.h +0 -11
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TemperatureCalculator.c +0 -27
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TemperatureFilter.c +0 -39
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TemperatureFilter.h +0 -10
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TimerConductor.c +0 -15
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TimerConductor.h +0 -9
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TimerConfigurator.c +0 -51
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TimerConfigurator.h +0 -15
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TimerHardware.c +0 -15
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TimerHardware.h +0 -8
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TimerInterruptConfigurator.c +0 -55
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TimerInterruptConfigurator.h +0 -13
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TimerInterruptHandler.c +0 -25
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TimerInterruptHandler.h +0 -10
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TimerModel.c +0 -9
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/TimerModel.h +0 -8
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/UsartBaudRateRegisterCalculator.c +0 -18
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/UsartConductor.c +0 -21
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/UsartConductor.h +0 -7
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/UsartConfigurator.c +0 -39
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/UsartConfigurator.h +0 -13
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/UsartHardware.c +0 -22
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/UsartHardware.h +0 -9
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/UsartModel.c +0 -34
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/UsartModel.h +0 -10
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/UsartPutChar.c +0 -16
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/UsartPutChar.h +0 -8
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/UsartTransmitBufferStatus.c +0 -7
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/src/UsartTransmitBufferStatus.h +0 -8
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestAdcConductor.c +0 -121
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestAdcHardware.c +0 -44
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestAdcModel.c +0 -33
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestExecutor.c +0 -36
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestMain.c +0 -24
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestModel.c +0 -20
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestTaskScheduler.c +0 -104
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestTemperatureCalculator.c +0 -33
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestTemperatureFilter.c +0 -69
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestTimerConductor.c +0 -32
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestTimerHardware.c +0 -26
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestTimerModel.c +0 -18
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestUsartBaudRateRegisterCalculator.c +0 -21
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestUsartConductor.c +0 -40
- data/new_project_template/vendor/ceedling/vendor/cmock/examples/test/TestUsartModel.c +0 -40
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/Resource/SAM7_FLASH.mac +0 -71
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/Resource/SAM7_RAM.mac +0 -94
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/Resource/SAM7_SIM.mac +0 -67
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/Resource/at91SAM7X256_FLASH.xcl +0 -185
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/Resource/at91SAM7X256_RAM.xcl +0 -185
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/Resource/ioat91sam7x256.ddf +0 -2259
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/cmock_demo.dep +0 -3691
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/cmock_demo.ewd +0 -1696
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/cmock_demo.ewp +0 -2581
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/cmock_demo.eww +0 -10
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/incIAR/AT91SAM7X-EK.h +0 -61
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/incIAR/AT91SAM7X256.inc +0 -2314
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/incIAR/AT91SAM7X256.rdf +0 -4704
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/incIAR/AT91SAM7X256.tcl +0 -3407
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/incIAR/AT91SAM7X256_inc.h +0 -2268
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/incIAR/ioat91sam7x256.h +0 -4380
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/incIAR/lib_AT91SAM7X256.h +0 -4211
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/settings/cmock_demo.cspy.bat +0 -32
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/settings/cmock_demo.dbgdt +0 -86
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/settings/cmock_demo.dni +0 -42
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/settings/cmock_demo.wsdt +0 -76
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/srcIAR/Cstartup.s79 +0 -266
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v4/srcIAR/Cstartup_SAM7.c +0 -98
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/Resource/SAM7_FLASH.mac +0 -71
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/Resource/SAM7_RAM.mac +0 -94
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/Resource/SAM7_SIM.mac +0 -67
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/Resource/at91SAM7X256_FLASH.icf +0 -43
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/Resource/at91SAM7X256_RAM.icf +0 -42
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/cmock_demo.dep +0 -4204
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/cmock_demo.ewd +0 -1906
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/cmock_demo.ewp +0 -2426
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/cmock_demo.eww +0 -26
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/incIAR/AT91SAM7X-EK.h +0 -61
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/incIAR/AT91SAM7X256_inc.h +0 -2268
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/incIAR/lib_AT91SAM7X256.h +0 -4211
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/incIAR/project.h +0 -30
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/settings/BasicInterrupt_SAM7X.cspy.bat +0 -33
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/settings/BasicInterrupt_SAM7X.dbgdt +0 -5
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/settings/BasicInterrupt_SAM7X.dni +0 -18
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/settings/BasicInterrupt_SAM7X.wsdt +0 -74
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/settings/BasicInterrupt_SAM7X_FLASH_Debug.jlink +0 -12
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/settings/cmock_demo.cspy.bat +0 -33
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/settings/cmock_demo.dbgdt +0 -85
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/settings/cmock_demo.dni +0 -44
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/settings/cmock_demo.wsdt +0 -73
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/settings/cmock_demo_Binary.jlink +0 -12
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/settings/cmock_demo_FLASH_Debug.jlink +0 -12
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/settings/cmock_demo_RAM_Debug.jlink +0 -12
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/srcIAR/Cstartup.s +0 -299
- data/new_project_template/vendor/ceedling/vendor/cmock/iar/iar_v5/srcIAR/Cstartup_SAM7.c +0 -98
- data/new_project_template/vendor/ceedling/vendor/cmock/rakefile.rb +0 -89
- data/new_project_template/vendor/ceedling/vendor/cmock/rakefile_helper.rb +0 -383
- data/new_project_template/vendor/ceedling/vendor/cmock/targets/gcc.yml +0 -50
- data/new_project_template/vendor/ceedling/vendor/cmock/targets/gcc_32_with_64_support.yml +0 -52
- data/new_project_template/vendor/ceedling/vendor/cmock/targets/gcc_64.yml +0 -53
- data/new_project_template/vendor/ceedling/vendor/cmock/targets/iar_arm_v4.yml +0 -107
- data/new_project_template/vendor/ceedling/vendor/cmock/targets/iar_arm_v5.yml +0 -92
- data/new_project_template/vendor/ceedling/vendor/cmock/test/c/TestCMockC.c +0 -280
- data/new_project_template/vendor/ceedling/vendor/cmock/test/c/TestCMockC.yml +0 -12
- data/new_project_template/vendor/ceedling/vendor/cmock/test/c/TestCMockCDynamic.c +0 -186
- data/new_project_template/vendor/ceedling/vendor/cmock/test/c/TestCMockCDynamic.yml +0 -12
- data/new_project_template/vendor/ceedling/vendor/cmock/test/c/TestCMockCDynamic_Runner.c +0 -35
- data/new_project_template/vendor/ceedling/vendor/cmock/test/c/TestCMockC_Runner.c +0 -37
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/systest_generator.rb +0 -178
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_compilation/config.yml +0 -9
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_compilation/const.h +0 -15
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_compilation/osek.h +0 -275
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_compilation/parsing.h +0 -47
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/all_plugins_but_other_limits.yml +0 -340
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/all_plugins_coexist.yml +0 -381
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/array_and_pointer_handling.yml +0 -382
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/basic_expect_and_return.yml +0 -123
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/const_primitives_handling.yml +0 -87
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/enforce_strict_ordering.yml +0 -247
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/expect_and_return_custom_types.yml +0 -108
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/expect_and_return_treat_as.yml +0 -173
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/expect_and_throw.yml +0 -170
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/fancy_pointer_handling.yml +0 -208
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/function_pointer_handling.yml +0 -82
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/ignore_and_return.yml +0 -153
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/newer_standards_stuff1.yml +0 -52
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/nonstandard_parsed_stuff_1.yml +0 -91
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/nonstandard_parsed_stuff_2.yml +0 -59
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/parsing_challenges.yml +0 -222
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/struct_union_enum_expect_and_return.yml +0 -277
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/stubs_with_callbacks.yml +0 -221
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/unity_64bit_support.yml +0 -82
- data/new_project_template/vendor/ceedling/vendor/cmock/test/system/test_interactions/unity_ignores.yml +0 -139
- data/new_project_template/vendor/ceedling/vendor/cmock/test/test_helper.rb +0 -44
- data/new_project_template/vendor/ceedling/vendor/cmock/test/unit/cmock_config_test.rb +0 -45
- data/new_project_template/vendor/ceedling/vendor/cmock/test/unit/cmock_config_test.yml +0 -5
- data/new_project_template/vendor/ceedling/vendor/cmock/test/unit/cmock_file_writer_test.rb +0 -30
- data/new_project_template/vendor/ceedling/vendor/cmock/test/unit/cmock_generator_main_test.rb +0 -412
- data/new_project_template/vendor/ceedling/vendor/cmock/test/unit/cmock_generator_plugin_array_test.rb +0 -114
- data/new_project_template/vendor/ceedling/vendor/cmock/test/unit/cmock_generator_plugin_callback_test.rb +0 -190
- data/new_project_template/vendor/ceedling/vendor/cmock/test/unit/cmock_generator_plugin_cexception_test.rb +0 -94
- data/new_project_template/vendor/ceedling/vendor/cmock/test/unit/cmock_generator_plugin_expect_test.rb +0 -206
- data/new_project_template/vendor/ceedling/vendor/cmock/test/unit/cmock_generator_plugin_ignore_test.rb +0 -159
- data/new_project_template/vendor/ceedling/vendor/cmock/test/unit/cmock_generator_utils_test.rb +0 -291
- data/new_project_template/vendor/ceedling/vendor/cmock/test/unit/cmock_header_parser_test.rb +0 -1170
- data/new_project_template/vendor/ceedling/vendor/cmock/test/unit/cmock_plugin_manager_test.rb +0 -85
- data/new_project_template/vendor/ceedling/vendor/cmock/test/unit/cmock_unityhelper_parser_test.rb +0 -223
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/behaviors/Manifest.txt +0 -9
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/behaviors/Rakefile +0 -19
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/behaviors/lib/behaviors.rb +0 -76
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/behaviors/lib/behaviors/reporttask.rb +0 -158
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/behaviors/test/behaviors_tasks_test.rb +0 -73
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/behaviors/test/behaviors_test.rb +0 -50
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/behaviors/test/tasks_test/Rakefile +0 -19
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/behaviors/test/tasks_test/lib/user.rb +0 -2
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/behaviors/test/tasks_test/test/user_test.rb +0 -17
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/docs/CExceptionSummary.odt +0 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/docs/CExceptionSummary.pdf +0 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/docs/license.txt +0 -30
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/docs/readme.txt +0 -236
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/lib/CException.c +0 -39
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/lib/CException.h +0 -70
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/makefile +0 -24
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/rakefile.rb +0 -41
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/release/build.info +0 -2
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/release/version.info +0 -2
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/test/CExceptionConfig.h +0 -27
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/test/TestException.c +0 -291
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/test/TestException_Runner.c +0 -62
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/auto/colour_prompt.rb +0 -94
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/auto/colour_reporter.rb +0 -39
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/auto/generate_config.yml +0 -36
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/auto/generate_module.rb +0 -202
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/auto/generate_test_runner.rb +0 -303
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/auto/test_file_filter.rb +0 -23
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/auto/unity_test_summary.rb +0 -126
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/docs/Unity Summary.odt +0 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/docs/Unity Summary.pdf +0 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/docs/Unity Summary.txt +0 -217
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/docs/license.txt +0 -31
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/examples/helper/UnityHelper.c +0 -10
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/examples/helper/UnityHelper.h +0 -12
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/examples/makefile +0 -40
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/examples/rakefile.rb +0 -32
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/examples/rakefile_helper.rb +0 -260
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/examples/readme.txt +0 -18
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/examples/src/ProductionCode.c +0 -24
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/examples/src/ProductionCode.h +0 -3
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/examples/src/ProductionCode2.c +0 -9
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/examples/src/ProductionCode2.h +0 -2
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/examples/test/TestProductionCode.c +0 -62
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/examples/test/TestProductionCode2.c +0 -26
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/examples/test/no_ruby/TestProductionCode2_Runner.c +0 -46
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/examples/test/no_ruby/TestProductionCode_Runner.c +0 -50
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/build/MakefileWorker.mk +0 -331
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/build/filterGcov.sh +0 -61
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/rakefile.rb +0 -37
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/rakefile_helper.rb +0 -178
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/readme.txt +0 -9
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/src/unity_fixture.c +0 -381
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/src/unity_fixture.h +0 -81
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/src/unity_fixture_internals.h +0 -44
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/src/unity_fixture_malloc_overrides.h +0 -16
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/test/main/AllTests.c +0 -21
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/test/testunity_fixture.c +0 -39
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/test/unity_fixture_Test.c +0 -321
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/test/unity_fixture_TestRunner.c +0 -40
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/test/unity_output_Spy.c +0 -56
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/test/unity_output_Spy.h +0 -17
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/makefile +0 -35
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/rakefile.rb +0 -48
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/rakefile_helper.rb +0 -243
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/release/build.info +0 -2
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/release/version.info +0 -2
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/src/unity.c +0 -856
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/src/unity.h +0 -213
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/src/unity_internals.h +0 -355
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/targets/gcc.yml +0 -42
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/targets/gcc_64.yml +0 -43
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/targets/hitech_picc18.yml +0 -101
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/targets/iar_arm_v4.yml +0 -89
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/targets/iar_arm_v5.yml +0 -79
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/targets/iar_arm_v5_3.yml +0 -79
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/targets/iar_armcortex_LM3S9B92_v5_4.yml +0 -93
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/targets/iar_cortexm3_v5.yml +0 -83
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/targets/iar_msp430.yml +0 -94
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/targets/iar_sh2a_v6.yml +0 -85
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_cmd.c +0 -54
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_def.c +0 -50
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_cmd.c +0 -76
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_def.c +0 -72
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_new1.c +0 -85
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_new2.c +0 -85
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_param.c +0 -73
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_run1.c +0 -85
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_run2.c +0 -85
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_yaml.c +0 -86
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_new1.c +0 -60
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_new2.c +0 -63
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_param.c +0 -51
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_run1.c +0 -60
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_run2.c +0 -63
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_yaml.c +0 -64
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/test_generate_test_runner.rb +0 -94
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/testdata/mocksample.c +0 -51
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/testdata/sample.yml +0 -9
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/testdata/testsample.c +0 -51
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/testparameterized.c +0 -101
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/c_exception/vendor/unity/test/testunity.c +0 -1510
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/CHANGES +0 -78
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/LICENSE +0 -7
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/README +0 -70
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/Rakefile +0 -8
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/config/environment.rb +0 -12
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/lib/assert_error.rb +0 -23
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/lib/extend_test_unit.rb +0 -14
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/lib/hardmock.rb +0 -86
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/lib/hardmock/errors.rb +0 -22
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/lib/hardmock/expectation.rb +0 -229
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/lib/hardmock/expectation_builder.rb +0 -9
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/lib/hardmock/expector.rb +0 -26
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/lib/hardmock/method_cleanout.rb +0 -33
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/lib/hardmock/mock.rb +0 -180
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/lib/hardmock/mock_control.rb +0 -53
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/lib/hardmock/stubbing.rb +0 -210
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/lib/hardmock/trapper.rb +0 -31
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/lib/hardmock/utils.rb +0 -9
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/lib/test_unit_before_after.rb +0 -169
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/rake_tasks/rdoc.rake +0 -19
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/rake_tasks/rdoc_options.rb +0 -4
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/rake_tasks/test.rake +0 -22
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/test/functional/assert_error_test.rb +0 -52
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/test/functional/auto_verify_test.rb +0 -178
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/test/functional/direct_mock_usage_test.rb +0 -396
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/test/functional/hardmock_test.rb +0 -434
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/test/functional/stubbing_test.rb +0 -479
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/test/test_helper.rb +0 -43
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/test/unit/expectation_builder_test.rb +0 -19
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/test/unit/expectation_test.rb +0 -372
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/test/unit/expector_test.rb +0 -57
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/test/unit/method_cleanout_test.rb +0 -36
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/test/unit/mock_control_test.rb +0 -175
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/test/unit/mock_test.rb +0 -279
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/test/unit/test_unit_before_after_test.rb +0 -452
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/test/unit/trapper_test.rb +0 -62
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/hardmock/test/unit/verify_error_test.rb +0 -40
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/auto/colour_prompt.rb +0 -94
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/auto/colour_reporter.rb +0 -39
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/auto/generate_config.yml +0 -36
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/auto/generate_module.rb +0 -202
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/auto/generate_test_runner.rb +0 -303
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/auto/test_file_filter.rb +0 -23
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/auto/unity_test_summary.rb +0 -126
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/docs/Unity Summary.odt +0 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/docs/Unity Summary.pdf +0 -0
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/docs/Unity Summary.txt +0 -217
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/docs/license.txt +0 -31
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/examples/helper/UnityHelper.c +0 -10
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/examples/helper/UnityHelper.h +0 -12
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/examples/makefile +0 -40
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/examples/rakefile.rb +0 -32
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/examples/rakefile_helper.rb +0 -260
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/examples/readme.txt +0 -18
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/examples/src/ProductionCode.c +0 -24
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/examples/src/ProductionCode.h +0 -3
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/examples/src/ProductionCode2.c +0 -9
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/examples/src/ProductionCode2.h +0 -2
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/examples/test/TestProductionCode.c +0 -62
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/examples/test/TestProductionCode2.c +0 -26
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/examples/test/no_ruby/TestProductionCode2_Runner.c +0 -46
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/examples/test/no_ruby/TestProductionCode_Runner.c +0 -50
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/extras/fixture/build/MakefileWorker.mk +0 -331
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/extras/fixture/build/filterGcov.sh +0 -61
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/extras/fixture/rakefile.rb +0 -37
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/extras/fixture/rakefile_helper.rb +0 -178
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/extras/fixture/readme.txt +0 -9
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/extras/fixture/src/unity_fixture.c +0 -381
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/extras/fixture/src/unity_fixture.h +0 -81
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/extras/fixture/src/unity_fixture_internals.h +0 -44
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/extras/fixture/src/unity_fixture_malloc_overrides.h +0 -16
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/extras/fixture/test/main/AllTests.c +0 -21
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/extras/fixture/test/testunity_fixture.c +0 -39
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/extras/fixture/test/unity_fixture_Test.c +0 -321
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/extras/fixture/test/unity_fixture_TestRunner.c +0 -40
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/extras/fixture/test/unity_output_Spy.c +0 -56
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/extras/fixture/test/unity_output_Spy.h +0 -17
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/makefile +0 -35
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/rakefile.rb +0 -48
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/rakefile_helper.rb +0 -243
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/release/build.info +0 -2
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/release/version.info +0 -2
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/src/unity.c +0 -856
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/src/unity.h +0 -213
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/src/unity_internals.h +0 -355
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/targets/gcc.yml +0 -42
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/targets/gcc_64.yml +0 -43
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/targets/hitech_picc18.yml +0 -101
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/targets/iar_arm_v4.yml +0 -89
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/targets/iar_arm_v5.yml +0 -79
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/targets/iar_arm_v5_3.yml +0 -79
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/targets/iar_armcortex_LM3S9B92_v5_4.yml +0 -93
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/targets/iar_cortexm3_v5.yml +0 -83
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/targets/iar_msp430.yml +0 -94
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/targets/iar_sh2a_v6.yml +0 -85
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/expectdata/testsample_cmd.c +0 -54
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/expectdata/testsample_def.c +0 -50
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_cmd.c +0 -76
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_def.c +0 -72
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_new1.c +0 -85
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_new2.c +0 -85
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_param.c +0 -73
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_run1.c +0 -85
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_run2.c +0 -85
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_yaml.c +0 -86
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/expectdata/testsample_new1.c +0 -60
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/expectdata/testsample_new2.c +0 -63
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/expectdata/testsample_param.c +0 -51
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/expectdata/testsample_run1.c +0 -60
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/expectdata/testsample_run2.c +0 -63
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/expectdata/testsample_yaml.c +0 -64
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/test_generate_test_runner.rb +0 -94
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/testdata/mocksample.c +0 -51
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/testdata/sample.yml +0 -9
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/testdata/testsample.c +0 -51
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/testparameterized.c +0 -101
- data/new_project_template/vendor/ceedling/vendor/cmock/vendor/unity/test/testunity.c +0 -1510
- data/new_project_template/vendor/ceedling/vendor/constructor/History.rdoc +0 -19
- data/new_project_template/vendor/ceedling/vendor/constructor/README.rdoc +0 -72
- data/new_project_template/vendor/ceedling/vendor/constructor/Rakefile +0 -33
- data/new_project_template/vendor/ceedling/vendor/constructor/homepage/Notes.txt +0 -27
- data/new_project_template/vendor/ceedling/vendor/constructor/homepage/Rakefile +0 -15
- data/new_project_template/vendor/ceedling/vendor/constructor/homepage/index.erb +0 -27
- data/new_project_template/vendor/ceedling/vendor/constructor/homepage/index.html +0 -36
- data/new_project_template/vendor/ceedling/vendor/constructor/homepage/page_header.graffle +0 -0
- data/new_project_template/vendor/ceedling/vendor/constructor/homepage/page_header.html +0 -9
- data/new_project_template/vendor/ceedling/vendor/constructor/homepage/page_header.png +0 -0
- data/new_project_template/vendor/ceedling/vendor/constructor/homepage/sample_code.png +0 -0
- data/new_project_template/vendor/ceedling/vendor/constructor/homepage/sample_code.rb +0 -12
- data/new_project_template/vendor/ceedling/vendor/constructor/specs/constructor_spec.rb +0 -407
- data/new_project_template/vendor/ceedling/vendor/constructor/specs/constructor_struct_spec.rb +0 -84
- data/new_project_template/vendor/ceedling/vendor/diy/Rakefile +0 -33
- data/new_project_template/vendor/ceedling/vendor/diy/TODO.txt +0 -9
- data/new_project_template/vendor/ceedling/vendor/diy/diy.gemspec +0 -131
- data/new_project_template/vendor/ceedling/vendor/diy/sample_code/car.rb +0 -7
- data/new_project_template/vendor/ceedling/vendor/diy/sample_code/chassis.rb +0 -5
- data/new_project_template/vendor/ceedling/vendor/diy/sample_code/diy_example.rb +0 -26
- data/new_project_template/vendor/ceedling/vendor/diy/sample_code/engine.rb +0 -5
- data/new_project_template/vendor/ceedling/vendor/diy/sample_code/objects.yml +0 -10
- data/new_project_template/vendor/ceedling/vendor/diy/test/constructor.rb +0 -119
- data/new_project_template/vendor/ceedling/vendor/diy/test/diy_test.rb +0 -608
- data/new_project_template/vendor/ceedling/vendor/diy/test/factory_test.rb +0 -79
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/broken_construction.yml +0 -7
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/cat/cat.rb +0 -3
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/cat/extra_conflict.yml +0 -5
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/cat/heritage.rb +0 -2
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/cat/needs_input.yml +0 -3
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/cat/the_cat_lineage.rb +0 -1
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/dog/dog_model.rb +0 -3
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/dog/dog_presenter.rb +0 -3
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/dog/dog_view.rb +0 -2
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/dog/file_resolver.rb +0 -2
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/dog/other_thing.rb +0 -2
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/dog/simple.yml +0 -11
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/donkey/foo.rb +0 -8
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/donkey/foo/bar/qux.rb +0 -7
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/factory/beef.rb +0 -5
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/factory/dog.rb +0 -6
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/factory/factory.yml +0 -19
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/factory/farm/llama.rb +0 -7
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/factory/farm/pork.rb +0 -7
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/factory/kitten.rb +0 -13
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/fud/objects.yml +0 -13
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/fud/toy.rb +0 -14
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/functions/attached_things_builder.rb +0 -2
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/functions/invalid_method.yml +0 -5
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/functions/method_extractor.rb +0 -3
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/functions/nonsingleton_objects.yml +0 -6
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/functions/objects.yml +0 -22
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/functions/thing.rb +0 -3
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/functions/thing_builder.rb +0 -25
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/functions/things_builder.rb +0 -3
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/gnu/objects.yml +0 -14
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/gnu/thinger.rb +0 -7
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/goat/base.rb +0 -8
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/goat/can.rb +0 -6
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/goat/goat.rb +0 -6
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/goat/objects.yml +0 -12
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/goat/paper.rb +0 -6
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/goat/plane.rb +0 -7
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/goat/shirt.rb +0 -6
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/goat/wings.rb +0 -8
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/horse/holder_thing.rb +0 -3
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/horse/objects.yml +0 -7
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/namespace/animal/bird.rb +0 -5
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/namespace/animal/cat.rb +0 -5
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/namespace/animal/reptile/hardshell/turtle.rb +0 -8
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/namespace/animal/reptile/lizard.rb +0 -7
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/namespace/bad_module_specified.yml +0 -8
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/namespace/class_name_combine.yml +0 -8
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/namespace/hello.txt +0 -1
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/namespace/no_module_specified.yml +0 -8
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/namespace/objects.yml +0 -21
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/namespace/road.rb +0 -2
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/namespace/sky.rb +0 -2
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/namespace/subcontext.yml +0 -22
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/non_singleton/air.rb +0 -2
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/non_singleton/fat_cat.rb +0 -3
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/non_singleton/objects.yml +0 -19
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/non_singleton/pig.rb +0 -3
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/non_singleton/thread_spinner.rb +0 -3
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/non_singleton/tick.rb +0 -3
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/non_singleton/yard.rb +0 -2
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/yak/core_model.rb +0 -3
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/yak/core_presenter.rb +0 -3
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/yak/core_view.rb +0 -1
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/yak/data_source.rb +0 -1
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/yak/fringe_model.rb +0 -3
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/yak/fringe_presenter.rb +0 -3
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/yak/fringe_view.rb +0 -1
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/yak/giant_squid.rb +0 -3
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/yak/krill.rb +0 -2
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/yak/my_objects.yml +0 -21
- data/new_project_template/vendor/ceedling/vendor/diy/test/files/yak/sub_sub_context_test.yml +0 -27
- data/new_project_template/vendor/ceedling/vendor/diy/test/test_helper.rb +0 -55
- data/new_project_template/vendor/ceedling/vendor/hardmock/CHANGES +0 -78
- data/new_project_template/vendor/ceedling/vendor/hardmock/LICENSE +0 -7
- data/new_project_template/vendor/ceedling/vendor/hardmock/README +0 -70
- data/new_project_template/vendor/ceedling/vendor/hardmock/Rakefile +0 -8
- data/new_project_template/vendor/ceedling/vendor/hardmock/config/environment.rb +0 -12
- data/new_project_template/vendor/ceedling/vendor/hardmock/lib/assert_error.rb +0 -23
- data/new_project_template/vendor/ceedling/vendor/hardmock/lib/extend_test_unit.rb +0 -14
- data/new_project_template/vendor/ceedling/vendor/hardmock/lib/hardmock.rb +0 -86
- data/new_project_template/vendor/ceedling/vendor/hardmock/lib/hardmock/errors.rb +0 -22
- data/new_project_template/vendor/ceedling/vendor/hardmock/lib/hardmock/expectation.rb +0 -229
- data/new_project_template/vendor/ceedling/vendor/hardmock/lib/hardmock/expectation_builder.rb +0 -9
- data/new_project_template/vendor/ceedling/vendor/hardmock/lib/hardmock/expector.rb +0 -26
- data/new_project_template/vendor/ceedling/vendor/hardmock/lib/hardmock/method_cleanout.rb +0 -33
- data/new_project_template/vendor/ceedling/vendor/hardmock/lib/hardmock/mock.rb +0 -180
- data/new_project_template/vendor/ceedling/vendor/hardmock/lib/hardmock/mock_control.rb +0 -53
- data/new_project_template/vendor/ceedling/vendor/hardmock/lib/hardmock/stubbing.rb +0 -210
- data/new_project_template/vendor/ceedling/vendor/hardmock/lib/hardmock/trapper.rb +0 -31
- data/new_project_template/vendor/ceedling/vendor/hardmock/lib/hardmock/utils.rb +0 -9
- data/new_project_template/vendor/ceedling/vendor/hardmock/lib/test_unit_before_after.rb +0 -169
- data/new_project_template/vendor/ceedling/vendor/hardmock/rake_tasks/rdoc.rake +0 -19
- data/new_project_template/vendor/ceedling/vendor/hardmock/rake_tasks/rdoc_options.rb +0 -4
- data/new_project_template/vendor/ceedling/vendor/hardmock/rake_tasks/test.rake +0 -22
- data/new_project_template/vendor/ceedling/vendor/hardmock/test/functional/assert_error_test.rb +0 -52
- data/new_project_template/vendor/ceedling/vendor/hardmock/test/functional/auto_verify_test.rb +0 -178
- data/new_project_template/vendor/ceedling/vendor/hardmock/test/functional/direct_mock_usage_test.rb +0 -396
- data/new_project_template/vendor/ceedling/vendor/hardmock/test/functional/hardmock_test.rb +0 -434
- data/new_project_template/vendor/ceedling/vendor/hardmock/test/functional/stubbing_test.rb +0 -479
- data/new_project_template/vendor/ceedling/vendor/hardmock/test/test_helper.rb +0 -43
- data/new_project_template/vendor/ceedling/vendor/hardmock/test/unit/expectation_builder_test.rb +0 -19
- data/new_project_template/vendor/ceedling/vendor/hardmock/test/unit/expectation_test.rb +0 -372
- data/new_project_template/vendor/ceedling/vendor/hardmock/test/unit/expector_test.rb +0 -57
- data/new_project_template/vendor/ceedling/vendor/hardmock/test/unit/method_cleanout_test.rb +0 -36
- data/new_project_template/vendor/ceedling/vendor/hardmock/test/unit/mock_control_test.rb +0 -175
- data/new_project_template/vendor/ceedling/vendor/hardmock/test/unit/mock_test.rb +0 -279
- data/new_project_template/vendor/ceedling/vendor/hardmock/test/unit/test_unit_before_after_test.rb +0 -452
- data/new_project_template/vendor/ceedling/vendor/hardmock/test/unit/trapper_test.rb +0 -62
- data/new_project_template/vendor/ceedling/vendor/hardmock/test/unit/verify_error_test.rb +0 -40
- data/new_project_template/vendor/ceedling/vendor/unity/auto/colour_prompt.rb +0 -94
- data/new_project_template/vendor/ceedling/vendor/unity/auto/colour_reporter.rb +0 -39
- data/new_project_template/vendor/ceedling/vendor/unity/auto/generate_config.yml +0 -36
- data/new_project_template/vendor/ceedling/vendor/unity/auto/generate_module.rb +0 -202
- data/new_project_template/vendor/ceedling/vendor/unity/auto/generate_test_runner.rb +0 -303
- data/new_project_template/vendor/ceedling/vendor/unity/auto/test_file_filter.rb +0 -23
- data/new_project_template/vendor/ceedling/vendor/unity/auto/unity_test_summary.rb +0 -126
- data/new_project_template/vendor/ceedling/vendor/unity/examples/helper/UnityHelper.c +0 -10
- data/new_project_template/vendor/ceedling/vendor/unity/examples/helper/UnityHelper.h +0 -12
- data/new_project_template/vendor/ceedling/vendor/unity/examples/makefile +0 -40
- data/new_project_template/vendor/ceedling/vendor/unity/examples/rakefile.rb +0 -32
- data/new_project_template/vendor/ceedling/vendor/unity/examples/rakefile_helper.rb +0 -260
- data/new_project_template/vendor/ceedling/vendor/unity/examples/readme.txt +0 -18
- data/new_project_template/vendor/ceedling/vendor/unity/examples/src/ProductionCode.c +0 -24
- data/new_project_template/vendor/ceedling/vendor/unity/examples/src/ProductionCode.h +0 -3
- data/new_project_template/vendor/ceedling/vendor/unity/examples/src/ProductionCode2.c +0 -9
- data/new_project_template/vendor/ceedling/vendor/unity/examples/src/ProductionCode2.h +0 -2
- data/new_project_template/vendor/ceedling/vendor/unity/examples/test/TestProductionCode.c +0 -62
- data/new_project_template/vendor/ceedling/vendor/unity/examples/test/TestProductionCode2.c +0 -26
- data/new_project_template/vendor/ceedling/vendor/unity/examples/test/no_ruby/TestProductionCode2_Runner.c +0 -46
- data/new_project_template/vendor/ceedling/vendor/unity/examples/test/no_ruby/TestProductionCode_Runner.c +0 -50
- data/new_project_template/vendor/ceedling/vendor/unity/extras/fixture/build/MakefileWorker.mk +0 -331
- data/new_project_template/vendor/ceedling/vendor/unity/extras/fixture/build/filterGcov.sh +0 -61
- data/new_project_template/vendor/ceedling/vendor/unity/extras/fixture/rakefile.rb +0 -37
- data/new_project_template/vendor/ceedling/vendor/unity/extras/fixture/rakefile_helper.rb +0 -178
- data/new_project_template/vendor/ceedling/vendor/unity/extras/fixture/readme.txt +0 -9
- data/new_project_template/vendor/ceedling/vendor/unity/extras/fixture/src/unity_fixture.c +0 -381
- data/new_project_template/vendor/ceedling/vendor/unity/extras/fixture/src/unity_fixture.h +0 -81
- data/new_project_template/vendor/ceedling/vendor/unity/extras/fixture/src/unity_fixture_internals.h +0 -44
- data/new_project_template/vendor/ceedling/vendor/unity/extras/fixture/src/unity_fixture_malloc_overrides.h +0 -16
- data/new_project_template/vendor/ceedling/vendor/unity/extras/fixture/test/main/AllTests.c +0 -21
- data/new_project_template/vendor/ceedling/vendor/unity/extras/fixture/test/testunity_fixture.c +0 -39
- data/new_project_template/vendor/ceedling/vendor/unity/extras/fixture/test/unity_fixture_Test.c +0 -321
- data/new_project_template/vendor/ceedling/vendor/unity/extras/fixture/test/unity_fixture_TestRunner.c +0 -40
- data/new_project_template/vendor/ceedling/vendor/unity/extras/fixture/test/unity_output_Spy.c +0 -56
- data/new_project_template/vendor/ceedling/vendor/unity/extras/fixture/test/unity_output_Spy.h +0 -17
- data/new_project_template/vendor/ceedling/vendor/unity/makefile +0 -35
- data/new_project_template/vendor/ceedling/vendor/unity/rakefile.rb +0 -48
- data/new_project_template/vendor/ceedling/vendor/unity/rakefile_helper.rb +0 -243
- data/new_project_template/vendor/ceedling/vendor/unity/targets/gcc.yml +0 -42
- data/new_project_template/vendor/ceedling/vendor/unity/targets/gcc_64.yml +0 -43
- data/new_project_template/vendor/ceedling/vendor/unity/targets/hitech_picc18.yml +0 -101
- data/new_project_template/vendor/ceedling/vendor/unity/targets/iar_arm_v4.yml +0 -89
- data/new_project_template/vendor/ceedling/vendor/unity/targets/iar_arm_v5.yml +0 -79
- data/new_project_template/vendor/ceedling/vendor/unity/targets/iar_arm_v5_3.yml +0 -79
- data/new_project_template/vendor/ceedling/vendor/unity/targets/iar_armcortex_LM3S9B92_v5_4.yml +0 -93
- data/new_project_template/vendor/ceedling/vendor/unity/targets/iar_cortexm3_v5.yml +0 -83
- data/new_project_template/vendor/ceedling/vendor/unity/targets/iar_msp430.yml +0 -94
- data/new_project_template/vendor/ceedling/vendor/unity/targets/iar_sh2a_v6.yml +0 -85
- data/new_project_template/vendor/ceedling/vendor/unity/test/expectdata/testsample_cmd.c +0 -54
- data/new_project_template/vendor/ceedling/vendor/unity/test/expectdata/testsample_def.c +0 -50
- data/new_project_template/vendor/ceedling/vendor/unity/test/expectdata/testsample_mock_cmd.c +0 -76
- data/new_project_template/vendor/ceedling/vendor/unity/test/expectdata/testsample_mock_def.c +0 -72
- data/new_project_template/vendor/ceedling/vendor/unity/test/expectdata/testsample_mock_new1.c +0 -85
- data/new_project_template/vendor/ceedling/vendor/unity/test/expectdata/testsample_mock_new2.c +0 -85
- data/new_project_template/vendor/ceedling/vendor/unity/test/expectdata/testsample_mock_param.c +0 -73
- data/new_project_template/vendor/ceedling/vendor/unity/test/expectdata/testsample_mock_run1.c +0 -85
- data/new_project_template/vendor/ceedling/vendor/unity/test/expectdata/testsample_mock_run2.c +0 -85
- data/new_project_template/vendor/ceedling/vendor/unity/test/expectdata/testsample_mock_yaml.c +0 -86
- data/new_project_template/vendor/ceedling/vendor/unity/test/expectdata/testsample_new1.c +0 -60
- data/new_project_template/vendor/ceedling/vendor/unity/test/expectdata/testsample_new2.c +0 -63
- data/new_project_template/vendor/ceedling/vendor/unity/test/expectdata/testsample_param.c +0 -51
- data/new_project_template/vendor/ceedling/vendor/unity/test/expectdata/testsample_run1.c +0 -60
- data/new_project_template/vendor/ceedling/vendor/unity/test/expectdata/testsample_run2.c +0 -63
- data/new_project_template/vendor/ceedling/vendor/unity/test/expectdata/testsample_yaml.c +0 -64
- data/new_project_template/vendor/ceedling/vendor/unity/test/test_generate_test_runner.rb +0 -94
- data/new_project_template/vendor/ceedling/vendor/unity/test/testdata/mocksample.c +0 -51
- data/new_project_template/vendor/ceedling/vendor/unity/test/testdata/sample.yml +0 -9
- data/new_project_template/vendor/ceedling/vendor/unity/test/testdata/testsample.c +0 -51
- data/new_project_template/vendor/ceedling/vendor/unity/test/testparameterized.c +0 -101
- data/new_project_template/vendor/ceedling/vendor/unity/test/testunity.c +0 -1510
data/new_project_template/vendor/ceedling/vendor/constructor/specs/constructor_struct_spec.rb
DELETED
@@ -1,84 +0,0 @@
|
|
1
|
-
require File.dirname(__FILE__) + '/../lib/constructor_struct'
|
2
|
-
|
3
|
-
describe ConstructorStruct, "#new" do
|
4
|
-
def struct(*accessors)
|
5
|
-
ConstructorStruct.new(*accessors)
|
6
|
-
end
|
7
|
-
|
8
|
-
def instance_of(clazz, args=nil)
|
9
|
-
args = [args] || []
|
10
|
-
clazz.new(*args)
|
11
|
-
end
|
12
|
-
|
13
|
-
before do
|
14
|
-
AClass = struct(:hello, :world) unless defined?(AClass)
|
15
|
-
end
|
16
|
-
|
17
|
-
it "creates a new class with accessors given a set of symbols or strings" do
|
18
|
-
instance_of(AClass, {:hello => "foo", :world => "bar"}).hello.should == "foo"
|
19
|
-
instance_of(AClass, {:hello => "foo", :world => "bar"}).world.should == "bar"
|
20
|
-
end
|
21
|
-
|
22
|
-
it "creates a real class" do
|
23
|
-
instance_of(AClass).class.should == AClass
|
24
|
-
end
|
25
|
-
|
26
|
-
it "has the option of creating a strict accessors" do
|
27
|
-
lambda { instance_of(struct(:foo, :strict => true)) }.should raise_error
|
28
|
-
end
|
29
|
-
|
30
|
-
it "does not have the option of not creating accessors" do
|
31
|
-
instance_of(struct(:foo, :accessors => false), :foo => "bar").foo.should == "bar"
|
32
|
-
end
|
33
|
-
|
34
|
-
describe "equivalence" do
|
35
|
-
before do
|
36
|
-
@hello = "Hello"
|
37
|
-
@world = "World"
|
38
|
-
@args = { :hello => @hello, :world => @world }
|
39
|
-
@target = AClass.new(@args)
|
40
|
-
end
|
41
|
-
|
42
|
-
it "uses all accessors" do
|
43
|
-
[ nil, :hello, :world ].each do |field_to_alter|
|
44
|
-
alt = AClass.new(:hello => @hello, :world => @world)
|
45
|
-
|
46
|
-
unless field_to_alter
|
47
|
-
# Base case: they should be equal
|
48
|
-
@target.should == alt
|
49
|
-
@target.eql?(alt).should be_true #should eql(alt)
|
50
|
-
else
|
51
|
-
# Change 1 field and see not equal
|
52
|
-
alt.send("#{field_to_alter}=", "other data")
|
53
|
-
@target.should_not == alt
|
54
|
-
@target.should_not eql(alt)
|
55
|
-
end
|
56
|
-
end
|
57
|
-
end
|
58
|
-
|
59
|
-
it "will not compare to another class with same fields" do
|
60
|
-
BClass = ConstructorStruct.new(:hello, :world)
|
61
|
-
alt = BClass.new(:hello => @hello, :world => @world)
|
62
|
-
@target.should_not == alt
|
63
|
-
@target.should_not eql(alt)
|
64
|
-
end
|
65
|
-
end
|
66
|
-
|
67
|
-
describe "extra method definitions" do
|
68
|
-
NightTrain = ConstructorStruct.new(:beer, :conductor) do
|
69
|
-
def setup
|
70
|
-
@conductor ||= "Bill"
|
71
|
-
end
|
72
|
-
end
|
73
|
-
|
74
|
-
it "lets you declare instance methods within a block" do
|
75
|
-
night_train = NightTrain.new(:beer => "Founders")
|
76
|
-
night_train.beer.should == "Founders"
|
77
|
-
night_train.conductor.should == "Bill"
|
78
|
-
|
79
|
-
other_train = NightTrain.new(:beer => "Bells", :conductor => "Dave")
|
80
|
-
other_train.conductor.should == "Dave"
|
81
|
-
end
|
82
|
-
end
|
83
|
-
|
84
|
-
end
|
@@ -1,33 +0,0 @@
|
|
1
|
-
require 'rubygems'
|
2
|
-
|
3
|
-
task :default => [ :test ]
|
4
|
-
|
5
|
-
require 'rake/testtask'
|
6
|
-
Rake::TestTask.new do |t|
|
7
|
-
t.libs << "test"
|
8
|
-
t.test_files = FileList['test/**/*_test.rb']
|
9
|
-
t.verbose = true
|
10
|
-
end
|
11
|
-
|
12
|
-
|
13
|
-
begin
|
14
|
-
require 'jeweler'
|
15
|
-
Jeweler::Tasks.new do |gemspec|
|
16
|
-
$: << "lib"
|
17
|
-
require 'diy.rb'
|
18
|
-
gemspec.name = 'diy'
|
19
|
-
gemspec.version = DIY::VERSION
|
20
|
-
gemspec.summary = 'Constructor-based dependency injection container using YAML input.'
|
21
|
-
gemspec.description = 'Constructor-based dependency injection container using YAML input.'
|
22
|
-
gemspec.homepage = 'http://atomicobject.github.com/diy'
|
23
|
-
gemspec.authors = 'Atomic Object'
|
24
|
-
gemspec.email = 'github@atomicobject.com'
|
25
|
-
gemspec.test_files = FileList['test/*_test.rb']
|
26
|
-
gemspec.add_dependency 'constructor', '>= 1.0.0'
|
27
|
-
end
|
28
|
-
|
29
|
-
Jeweler::GemcutterTasks.new
|
30
|
-
|
31
|
-
rescue LoadError
|
32
|
-
puts "(jeweler not installed)"
|
33
|
-
end
|
@@ -1,131 +0,0 @@
|
|
1
|
-
# Generated by jeweler
|
2
|
-
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
|
4
|
-
# -*- encoding: utf-8 -*-
|
5
|
-
|
6
|
-
Gem::Specification.new do |s|
|
7
|
-
s.name = %q{diy}
|
8
|
-
s.version = "1.1.2"
|
9
|
-
|
10
|
-
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
-
s.authors = ["Atomic Object"]
|
12
|
-
s.date = %q{2009-12-01}
|
13
|
-
s.description = %q{Constructor-based dependency injection container using YAML input.}
|
14
|
-
s.email = %q{github@atomicobject.com}
|
15
|
-
s.extra_rdoc_files = [
|
16
|
-
"README.rdoc"
|
17
|
-
]
|
18
|
-
s.files = [
|
19
|
-
"History.txt",
|
20
|
-
"README.rdoc",
|
21
|
-
"Rakefile",
|
22
|
-
"TODO.txt",
|
23
|
-
"diy.gemspec",
|
24
|
-
"lib/diy.rb",
|
25
|
-
"lib/diy/factory.rb",
|
26
|
-
"sample_code/car.rb",
|
27
|
-
"sample_code/chassis.rb",
|
28
|
-
"sample_code/diy_example.rb",
|
29
|
-
"sample_code/engine.rb",
|
30
|
-
"sample_code/objects.yml",
|
31
|
-
"test/constructor.rb",
|
32
|
-
"test/diy_test.rb",
|
33
|
-
"test/factory_test.rb",
|
34
|
-
"test/files/broken_construction.yml",
|
35
|
-
"test/files/cat/cat.rb",
|
36
|
-
"test/files/cat/extra_conflict.yml",
|
37
|
-
"test/files/cat/heritage.rb",
|
38
|
-
"test/files/cat/needs_input.yml",
|
39
|
-
"test/files/cat/the_cat_lineage.rb",
|
40
|
-
"test/files/dog/dog_model.rb",
|
41
|
-
"test/files/dog/dog_presenter.rb",
|
42
|
-
"test/files/dog/dog_view.rb",
|
43
|
-
"test/files/dog/file_resolver.rb",
|
44
|
-
"test/files/dog/other_thing.rb",
|
45
|
-
"test/files/dog/simple.yml",
|
46
|
-
"test/files/donkey/foo.rb",
|
47
|
-
"test/files/donkey/foo/bar/qux.rb",
|
48
|
-
"test/files/factory/beef.rb",
|
49
|
-
"test/files/factory/dog.rb",
|
50
|
-
"test/files/factory/factory.yml",
|
51
|
-
"test/files/factory/farm/llama.rb",
|
52
|
-
"test/files/factory/farm/pork.rb",
|
53
|
-
"test/files/factory/kitten.rb",
|
54
|
-
"test/files/fud/objects.yml",
|
55
|
-
"test/files/fud/toy.rb",
|
56
|
-
"test/files/functions/attached_things_builder.rb",
|
57
|
-
"test/files/functions/invalid_method.yml",
|
58
|
-
"test/files/functions/method_extractor.rb",
|
59
|
-
"test/files/functions/nonsingleton_objects.yml",
|
60
|
-
"test/files/functions/objects.yml",
|
61
|
-
"test/files/functions/thing.rb",
|
62
|
-
"test/files/functions/thing_builder.rb",
|
63
|
-
"test/files/functions/things_builder.rb",
|
64
|
-
"test/files/gnu/objects.yml",
|
65
|
-
"test/files/gnu/thinger.rb",
|
66
|
-
"test/files/goat/base.rb",
|
67
|
-
"test/files/goat/can.rb",
|
68
|
-
"test/files/goat/goat.rb",
|
69
|
-
"test/files/goat/objects.yml",
|
70
|
-
"test/files/goat/paper.rb",
|
71
|
-
"test/files/goat/plane.rb",
|
72
|
-
"test/files/goat/shirt.rb",
|
73
|
-
"test/files/goat/wings.rb",
|
74
|
-
"test/files/horse/holder_thing.rb",
|
75
|
-
"test/files/horse/objects.yml",
|
76
|
-
"test/files/namespace/animal/bird.rb",
|
77
|
-
"test/files/namespace/animal/cat.rb",
|
78
|
-
"test/files/namespace/animal/reptile/hardshell/turtle.rb",
|
79
|
-
"test/files/namespace/animal/reptile/lizard.rb",
|
80
|
-
"test/files/namespace/bad_module_specified.yml",
|
81
|
-
"test/files/namespace/class_name_combine.yml",
|
82
|
-
"test/files/namespace/hello.txt",
|
83
|
-
"test/files/namespace/no_module_specified.yml",
|
84
|
-
"test/files/namespace/objects.yml",
|
85
|
-
"test/files/namespace/road.rb",
|
86
|
-
"test/files/namespace/sky.rb",
|
87
|
-
"test/files/namespace/subcontext.yml",
|
88
|
-
"test/files/non_singleton/air.rb",
|
89
|
-
"test/files/non_singleton/fat_cat.rb",
|
90
|
-
"test/files/non_singleton/objects.yml",
|
91
|
-
"test/files/non_singleton/pig.rb",
|
92
|
-
"test/files/non_singleton/thread_spinner.rb",
|
93
|
-
"test/files/non_singleton/tick.rb",
|
94
|
-
"test/files/non_singleton/yard.rb",
|
95
|
-
"test/files/yak/core_model.rb",
|
96
|
-
"test/files/yak/core_presenter.rb",
|
97
|
-
"test/files/yak/core_view.rb",
|
98
|
-
"test/files/yak/data_source.rb",
|
99
|
-
"test/files/yak/fringe_model.rb",
|
100
|
-
"test/files/yak/fringe_presenter.rb",
|
101
|
-
"test/files/yak/fringe_view.rb",
|
102
|
-
"test/files/yak/giant_squid.rb",
|
103
|
-
"test/files/yak/krill.rb",
|
104
|
-
"test/files/yak/my_objects.yml",
|
105
|
-
"test/files/yak/sub_sub_context_test.yml",
|
106
|
-
"test/test_helper.rb"
|
107
|
-
]
|
108
|
-
s.homepage = %q{http://atomicobject.github.com/diy}
|
109
|
-
s.rdoc_options = ["--charset=UTF-8"]
|
110
|
-
s.require_paths = ["lib"]
|
111
|
-
s.rubygems_version = %q{1.3.5}
|
112
|
-
s.summary = %q{Constructor-based dependency injection container using YAML input.}
|
113
|
-
s.test_files = [
|
114
|
-
"test/diy_test.rb",
|
115
|
-
"test/factory_test.rb"
|
116
|
-
]
|
117
|
-
|
118
|
-
if s.respond_to? :specification_version then
|
119
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
120
|
-
s.specification_version = 3
|
121
|
-
|
122
|
-
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
123
|
-
s.add_runtime_dependency(%q<constructor>, [">= 1.0.0"])
|
124
|
-
else
|
125
|
-
s.add_dependency(%q<constructor>, [">= 1.0.0"])
|
126
|
-
end
|
127
|
-
else
|
128
|
-
s.add_dependency(%q<constructor>, [">= 1.0.0"])
|
129
|
-
end
|
130
|
-
end
|
131
|
-
|
@@ -1,26 +0,0 @@
|
|
1
|
-
require "rubygems"
|
2
|
-
require "diy"
|
3
|
-
|
4
|
-
class Car
|
5
|
-
attr_reader :engine, :chassis
|
6
|
-
def initialize(arg_hash)
|
7
|
-
@engine = arg_hash[:engine]
|
8
|
-
@chassis = arg_hash[:chassis]
|
9
|
-
end
|
10
|
-
end
|
11
|
-
|
12
|
-
class Chassis
|
13
|
-
def to_s
|
14
|
-
"Chassis"
|
15
|
-
end
|
16
|
-
end
|
17
|
-
|
18
|
-
class Engine
|
19
|
-
def to_s
|
20
|
-
"Engine"
|
21
|
-
end
|
22
|
-
end
|
23
|
-
|
24
|
-
context = DIY::Context.from_file("objects.yml")
|
25
|
-
car = context['car']
|
26
|
-
puts "Car is made of: #{car.engine} and #{car.chassis}"
|
@@ -1,119 +0,0 @@
|
|
1
|
-
CONSTRUCTOR_VERSION = '1.0.2' #:nodoc:#
|
2
|
-
|
3
|
-
class Class #:nodoc:#
|
4
|
-
def constructor(*attrs, &block)
|
5
|
-
call_block = ''
|
6
|
-
if block_given?
|
7
|
-
@constructor_block = block
|
8
|
-
call_block = 'self.instance_eval(&self.class.constructor_block)'
|
9
|
-
end
|
10
|
-
# Look for embedded options in the listing:
|
11
|
-
opts = attrs.find { |a| a.kind_of?(Hash) and attrs.delete(a) }
|
12
|
-
do_acc = opts.nil? ? false : opts[:accessors] == true
|
13
|
-
require_args = opts.nil? ? true : opts[:strict] != false
|
14
|
-
super_args = opts.nil? ? nil : opts[:super]
|
15
|
-
|
16
|
-
# Incorporate superclass's constructor keys, if our superclass
|
17
|
-
if superclass.constructor_keys
|
18
|
-
similar_keys = superclass.constructor_keys & attrs
|
19
|
-
raise "Base class already has keys #{similar_keys.inspect}" unless similar_keys.empty?
|
20
|
-
attrs = [attrs,superclass.constructor_keys].flatten
|
21
|
-
end
|
22
|
-
# Generate ivar assigner code lines
|
23
|
-
assigns = ''
|
24
|
-
attrs.each do |k|
|
25
|
-
assigns += "@#{k.to_s} = args[:#{k.to_s}]\n"
|
26
|
-
end
|
27
|
-
|
28
|
-
# If accessors option is on, declare accessors for the attributes:
|
29
|
-
if do_acc
|
30
|
-
self.class_eval "attr_accessor " + attrs.map {|x| ":#{x.to_s}"}.join(',')
|
31
|
-
end
|
32
|
-
|
33
|
-
# If user supplied super-constructor hints:
|
34
|
-
super_call = ''
|
35
|
-
if super_args
|
36
|
-
list = super_args.map do |a|
|
37
|
-
case a
|
38
|
-
when String
|
39
|
-
%|"#{a}"|
|
40
|
-
when Symbol
|
41
|
-
%|:#{a}|
|
42
|
-
end
|
43
|
-
end
|
44
|
-
super_call = %|super(#{list.join(',')})|
|
45
|
-
end
|
46
|
-
|
47
|
-
# If strict is on, define the constructor argument validator method,
|
48
|
-
# and setup the initializer to invoke the validator method.
|
49
|
-
# Otherwise, insert lax code into the initializer.
|
50
|
-
validation_code = "return if args.nil?"
|
51
|
-
if require_args
|
52
|
-
self.class_eval do
|
53
|
-
def _validate_constructor_args(args)
|
54
|
-
# First, make sure we've got args of some kind
|
55
|
-
unless args and args.keys and args.keys.size > 0
|
56
|
-
raise ConstructorArgumentError.new(self.class.constructor_keys)
|
57
|
-
end
|
58
|
-
# Scan for missing keys in the argument hash
|
59
|
-
a_keys = args.keys
|
60
|
-
missing = []
|
61
|
-
self.class.constructor_keys.each do |ck|
|
62
|
-
unless a_keys.member?(ck)
|
63
|
-
missing << ck
|
64
|
-
end
|
65
|
-
a_keys.delete(ck) # Delete inbound keys as we address them
|
66
|
-
end
|
67
|
-
if missing.size > 0 || a_keys.size > 0
|
68
|
-
raise ConstructorArgumentError.new(missing,a_keys)
|
69
|
-
end
|
70
|
-
end
|
71
|
-
end
|
72
|
-
# Setup the code to insert into the initializer:
|
73
|
-
validation_code = "_validate_constructor_args args "
|
74
|
-
end
|
75
|
-
|
76
|
-
# Generate the initializer code
|
77
|
-
self.class_eval %{
|
78
|
-
def initialize(args=nil)
|
79
|
-
#{super_call}
|
80
|
-
#{validation_code}
|
81
|
-
#{assigns}
|
82
|
-
setup if respond_to?(:setup)
|
83
|
-
#{call_block}
|
84
|
-
end
|
85
|
-
}
|
86
|
-
|
87
|
-
# Remember our constructor keys
|
88
|
-
@_ctor_keys = attrs
|
89
|
-
end
|
90
|
-
|
91
|
-
# Access the constructor keys for this class
|
92
|
-
def constructor_keys; @_ctor_keys ||=[]; end
|
93
|
-
|
94
|
-
def constructor_block #:nodoc:#
|
95
|
-
@constructor_block
|
96
|
-
end
|
97
|
-
|
98
|
-
end
|
99
|
-
|
100
|
-
# Fancy validation exception, based on missing and extraneous keys.
|
101
|
-
class ConstructorArgumentError < RuntimeError #:nodoc:#
|
102
|
-
def initialize(missing,rejected=[])
|
103
|
-
err_msg = ''
|
104
|
-
if missing.size > 0
|
105
|
-
err_msg = "Missing constructor args [#{missing.join(',')}]"
|
106
|
-
end
|
107
|
-
if rejected.size > 0
|
108
|
-
# Some inbound keys were not addressed earlier; this means they're unwanted
|
109
|
-
if err_msg
|
110
|
-
err_msg << "; " # Appending to earlier message about missing items
|
111
|
-
else
|
112
|
-
err_msg = ''
|
113
|
-
end
|
114
|
-
# Enumerate the rejected key names
|
115
|
-
err_msg << "Rejected constructor args [#{rejected.join(',')}]"
|
116
|
-
end
|
117
|
-
super err_msg
|
118
|
-
end
|
119
|
-
end
|
@@ -1,608 +0,0 @@
|
|
1
|
-
require File.dirname(__FILE__) + "/test_helper"
|
2
|
-
require 'diy'
|
3
|
-
require 'fileutils'
|
4
|
-
include FileUtils
|
5
|
-
|
6
|
-
class DIYTest < Test::Unit::TestCase
|
7
|
-
|
8
|
-
def setup
|
9
|
-
# Add load paths:
|
10
|
-
%w|gnu dog cat yak donkey goat horse fud non_singleton namespace functions|.each do |p|
|
11
|
-
libdir = path_to_test_file(p)
|
12
|
-
$: << libdir unless $:.member?(libdir)
|
13
|
-
end
|
14
|
-
DIY::Context.auto_require = true # Restore default
|
15
|
-
end
|
16
|
-
|
17
|
-
|
18
|
-
#
|
19
|
-
# TESTS
|
20
|
-
#
|
21
|
-
|
22
|
-
def test_essential_use_case
|
23
|
-
load_context "dog/simple.yml"
|
24
|
-
|
25
|
-
# Check object defs
|
26
|
-
check_dog_objects @diy
|
27
|
-
|
28
|
-
# Tweak the load-path
|
29
|
-
$: << path_to_test_file("dog")
|
30
|
-
|
31
|
-
# Get the objects, use reference comparison to check composition
|
32
|
-
presenter = @diy.get_object('dog_presenter')
|
33
|
-
assert_not_nil presenter, 'nil dog_presenter'
|
34
|
-
|
35
|
-
model = @diy.get_object('dog_model')
|
36
|
-
assert_not_nil model, 'nil dog_model'
|
37
|
-
assert_same presenter.model, model, "Different model came from context than found in presenter"
|
38
|
-
|
39
|
-
view = @diy.get_object('dog_view')
|
40
|
-
assert_not_nil view, 'nil dog_view'
|
41
|
-
assert_same presenter.view, view, "Different view came from context than found in presenter"
|
42
|
-
|
43
|
-
resolver = @diy.get_object('file_resolver')
|
44
|
-
assert_not_nil resolver, 'nil file_resolver'
|
45
|
-
assert_same model.file_resolver, resolver, "File resolver in model is different than one in context"
|
46
|
-
|
47
|
-
# Check repeat access:
|
48
|
-
assert_same model, @diy.get_object('dog_model'), "Second access of model yielded different result"
|
49
|
-
assert_same view, @diy.get_object('dog_view'), "Second access of view yielded different result"
|
50
|
-
assert_same presenter, @diy.get_object('dog_presenter'), "Second access of presenter got difrnt result"
|
51
|
-
end
|
52
|
-
|
53
|
-
def test_classname_inside_a_module
|
54
|
-
load_hash 'thinger' => {'class' => "DiyTesting::Bar::Foo", 'lib' => 'foo'}
|
55
|
-
@diy.build_everything
|
56
|
-
assert_not_nil @diy['thinger'], "Should have got my thinger (which is hiding in a couple modules)"
|
57
|
-
end
|
58
|
-
|
59
|
-
def test_classname_inside_a_module_loads_from_directories_named_after_the_underscored_module_names
|
60
|
-
load_hash 'thinger' => {'class' => "Foo::Bar::Qux"}
|
61
|
-
# expect it to be loaded from: foo/bar/qux.rb
|
62
|
-
@diy.build_everything
|
63
|
-
assert_not_nil @diy['thinger'], "Should have got my thinger (which is hiding in a couple modules)"
|
64
|
-
end
|
65
|
-
|
66
|
-
def test_use_class_directly
|
67
|
-
load_hash 'thinger' => {'class' => "DiyTesting::Bar::Foo", 'lib' => 'foo', 'use_class_directly' => true}
|
68
|
-
@diy.build_everything
|
69
|
-
assert_equal DiyTesting::Bar::Foo, @diy['thinger'], "Should be the class 'object'"
|
70
|
-
end
|
71
|
-
|
72
|
-
def test_classname_inside_a_module_derives_the_namespaced_classname_from_the_underscored_object_def_key
|
73
|
-
load_hash 'foo/bar/qux' => nil
|
74
|
-
@diy.build_everything
|
75
|
-
assert_not_nil @diy['foo/bar/qux'], "Should have got my qux (which is hiding in a couple modules)"
|
76
|
-
end
|
77
|
-
|
78
|
-
def test_keys
|
79
|
-
load_context "dog/simple.yml"
|
80
|
-
assert_equal %w|dog_model dog_presenter dog_view file_resolver other_thing|, @diy.keys.sort
|
81
|
-
end
|
82
|
-
|
83
|
-
def test_subcontext_keys_should_include_parent_context_keys
|
84
|
-
load_context 'yak/sub_sub_context_test.yml'
|
85
|
-
main_keys = %w|core_presenter core_model core_view data_source|.sort
|
86
|
-
assert_equal main_keys, @diy.keys.sort, "Wrong keys in main context"
|
87
|
-
@diy.within :fringe_context do |fcontext|
|
88
|
-
fringe_keys = [main_keys, %w|fringe_model fringe_view fringe_presenter|].flatten.sort
|
89
|
-
assert_equal fringe_keys, fcontext.keys.sort, "Wrong keys in fringe context"
|
90
|
-
fcontext.within :deep_context do |dcontext|
|
91
|
-
deep_keys = [fringe_keys, %w|krill giant_squid|].flatten.sort
|
92
|
-
assert_equal deep_keys, dcontext.keys.sort
|
93
|
-
end
|
94
|
-
end
|
95
|
-
end
|
96
|
-
|
97
|
-
def test_constructor_no_hash
|
98
|
-
assert_raise RuntimeError do DIY::Context.new(nil) end
|
99
|
-
end
|
100
|
-
|
101
|
-
def test_constructor_bad_extra_inputs
|
102
|
-
err = assert_raise RuntimeError do
|
103
|
-
DIY::Context.new({}, Object.new)
|
104
|
-
end
|
105
|
-
assert_match(/extra inputs/i, err.message)
|
106
|
-
end
|
107
|
-
|
108
|
-
def test_from_yaml
|
109
|
-
text = File.read(path_to_test_file("dog/simple.yml"))
|
110
|
-
diy = DIY::Context.from_yaml(text)
|
111
|
-
check_dog_objects diy
|
112
|
-
end
|
113
|
-
|
114
|
-
def test_from_yaml_extra_inputs
|
115
|
-
extra = { 'the_cat_lineage' => 'siamese', :some_meat => 'horse' }
|
116
|
-
diy = DIY::Context.from_yaml(File.read(path_to_test_file('cat/needs_input.yml')), extra)
|
117
|
-
cat = diy['cat']
|
118
|
-
assert_equal 'siamese', cat.heritage
|
119
|
-
assert_equal 'horse', cat.food
|
120
|
-
end
|
121
|
-
|
122
|
-
def test_from_file
|
123
|
-
diy = DIY::Context.from_file(path_to_test_file("dog/simple.yml"))
|
124
|
-
check_dog_objects diy
|
125
|
-
end
|
126
|
-
|
127
|
-
def test_from_file_bad
|
128
|
-
assert_raise RuntimeError do
|
129
|
-
DIY::Context.from_file(nil)
|
130
|
-
end
|
131
|
-
assert_raise Errno::ENOENT do
|
132
|
-
DIY::Context.from_file("bad file name")
|
133
|
-
end
|
134
|
-
end
|
135
|
-
|
136
|
-
def test_from_file_extra_inputs
|
137
|
-
extra = { 'the_cat_lineage' => 'siamese', :some_meat => 'horse' }
|
138
|
-
diy = DIY::Context.from_file(path_to_test_file('cat/needs_input.yml'), extra)
|
139
|
-
cat = diy['cat']
|
140
|
-
assert_equal 'siamese', cat.heritage
|
141
|
-
assert_equal 'horse', cat.food
|
142
|
-
end
|
143
|
-
|
144
|
-
def test_contains_object
|
145
|
-
load_context "dog/simple.yml"
|
146
|
-
assert @diy.contains_object('dog_presenter'), "Should be true for dog_presenter"
|
147
|
-
assert !@diy.contains_object('woops'), "Should return false for 'woops'"
|
148
|
-
err = assert_raise ArgumentError do
|
149
|
-
@diy.contains_object(nil)
|
150
|
-
end
|
151
|
-
end
|
152
|
-
|
153
|
-
def test_contains_object_extra_inputs
|
154
|
-
extra = { 'the_cat_lineage' => 'siamese', :some_meat => 'horse' }
|
155
|
-
main = YAML.load(File.read(path_to_test_file('cat/needs_input.yml')))
|
156
|
-
diy = DIY::Context.new(main, extra)
|
157
|
-
|
158
|
-
assert diy.contains_object('cat')
|
159
|
-
assert diy.contains_object('the_cat_lineage')
|
160
|
-
assert diy.contains_object('some_meat')
|
161
|
-
end
|
162
|
-
|
163
|
-
def test_get_object
|
164
|
-
load_context "dog/simple.yml"
|
165
|
-
assert_not_nil @diy.get_object('file_resolver'), "nil resolver?"
|
166
|
-
assert_raise ArgumentError do
|
167
|
-
@diy.get_object(nil)
|
168
|
-
end
|
169
|
-
assert_raise DIY::ConstructionError do
|
170
|
-
@diy.get_object("no such object")
|
171
|
-
end
|
172
|
-
end
|
173
|
-
|
174
|
-
def test_hash_style_access
|
175
|
-
load_context "dog/simple.yml"
|
176
|
-
assert_not_nil @diy['file_resolver'], "nil resolver?"
|
177
|
-
assert_raise ArgumentError do
|
178
|
-
@diy[nil]
|
179
|
-
end
|
180
|
-
assert_raise DIY::ConstructionError do
|
181
|
-
@diy["no such object"]
|
182
|
-
end
|
183
|
-
end
|
184
|
-
|
185
|
-
def test_get_object_construction_error
|
186
|
-
load_context "broken_construction.yml"
|
187
|
-
err = assert_raise DIY::ConstructionError do
|
188
|
-
@diy.get_object 'dog_presenter'
|
189
|
-
end
|
190
|
-
assert_match(/dog_presenter/, err.message)
|
191
|
-
end
|
192
|
-
|
193
|
-
def test_context_with_extra_inputs
|
194
|
-
extra = { 'the_cat_lineage' => 'siamese', :some_meat => 'horse' }
|
195
|
-
main = YAML.load(File.read(path_to_test_file('cat/needs_input.yml')))
|
196
|
-
diy = DIY::Context.new(main, extra)
|
197
|
-
cat = diy['cat']
|
198
|
-
assert_equal 'siamese', cat.heritage
|
199
|
-
assert_equal 'horse', cat.food
|
200
|
-
end
|
201
|
-
|
202
|
-
def test_conflicting_extra_inputs
|
203
|
-
extra = { 'the_cat_lineage' => 'siamese', :some_meat => 'horse' }
|
204
|
-
main = YAML.load(File.read(path_to_test_file('cat/extra_conflict.yml')))
|
205
|
-
|
206
|
-
DIY::Context.new(main,extra)
|
207
|
-
flunk "Should have raised err"
|
208
|
-
rescue Exception => err
|
209
|
-
assert_match(/conflict/i, err.message)
|
210
|
-
end
|
211
|
-
|
212
|
-
def test_sub_context
|
213
|
-
load_context 'yak/my_objects.yml'
|
214
|
-
|
215
|
-
core_model = @diy['core_model']
|
216
|
-
assert_not_nil core_model, "no core model in main context?"
|
217
|
-
|
218
|
-
fmodel1 = nil
|
219
|
-
fview1 = nil
|
220
|
-
@diy.within('fringe_context') do |fc|
|
221
|
-
assert_not_nil fc["fringe_presenter"], "no fringe presenter"
|
222
|
-
fmodel1 = fc["fringe_model"]
|
223
|
-
fmodel1a = fc["fringe_model"]
|
224
|
-
assert_same fmodel1, fmodel1a, "Second fring model in fringe_context came out different"
|
225
|
-
assert_not_nil fmodel1, "no fringe_model"
|
226
|
-
fview1 = fc["fringe_view"]
|
227
|
-
assert_not_nil fview1, "no fringe_view"
|
228
|
-
assert_same core_model, fmodel1.connected
|
229
|
-
end
|
230
|
-
|
231
|
-
fmodel2 = nil
|
232
|
-
fview2 = nil
|
233
|
-
@diy.within('fringe_context') do |fc|
|
234
|
-
assert_not_nil fc["fringe_presenter"], "2: no fringe presenter"
|
235
|
-
fmodel2 = fc["fringe_model"]
|
236
|
-
fmodel2a = fc["fringe_model"]
|
237
|
-
assert_same fmodel2, fmodel2a, "Second fringe model in fringe_context came out different"
|
238
|
-
assert_not_nil fmodel2, "2: no fringe_model"
|
239
|
-
fview2 = fc["fringe_view"]
|
240
|
-
assert_not_nil fview2, "2: no fringe_view"
|
241
|
-
assert_same core_model, fmodel2.connected
|
242
|
-
|
243
|
-
assert fmodel1.object_id != fmodel2.object_id, "fringe models 1 and 2 are same!"
|
244
|
-
assert fview1.object_id != fview2.object_id, "fringe views 1 and 2 are same!"
|
245
|
-
end
|
246
|
-
end
|
247
|
-
|
248
|
-
def test_sub_sub_context
|
249
|
-
load_context 'yak/sub_sub_context_test.yml'
|
250
|
-
|
251
|
-
core_model = @diy['core_model']
|
252
|
-
assert_not_nil core_model, "no core model in main context?"
|
253
|
-
|
254
|
-
fmodel1 = nil
|
255
|
-
fview1 = nil
|
256
|
-
@diy.within('fringe_context') do |fc|
|
257
|
-
assert_not_nil fc["fringe_presenter"], "no fringe presenter"
|
258
|
-
fmodel1 = fc["fringe_model"]
|
259
|
-
fmodel1a = fc["fringe_model"]
|
260
|
-
assert_same fmodel1, fmodel1a, "Second fring model in fringe_context came out different"
|
261
|
-
assert_not_nil fmodel1, "no fringe_model"
|
262
|
-
fview1 = fc["fringe_view"]
|
263
|
-
assert_not_nil fview1, "no fringe_view"
|
264
|
-
assert_same core_model, fmodel1.connected
|
265
|
-
|
266
|
-
fc.within :deep_context do |dc|
|
267
|
-
krill = dc['krill']
|
268
|
-
assert_not_nil krill, "nil krill"
|
269
|
-
assert_same krill, dc['krill'], "krill was different second time"
|
270
|
-
giant_squid = dc['giant_squid']
|
271
|
-
assert_same fview1, giant_squid.fringe_view, "wrong view in squid"
|
272
|
-
assert_same core_model, giant_squid.core_model, "wrong model in squid"
|
273
|
-
assert_same krill, giant_squid.krill, "wrong krill in squid"
|
274
|
-
end
|
275
|
-
end
|
276
|
-
|
277
|
-
end
|
278
|
-
|
279
|
-
def test_build_everything
|
280
|
-
# Singletons in the goat context will generate test output in their constructors.
|
281
|
-
# We just gotta tell em where:
|
282
|
-
ofile = path_to_test_file('goat/output.tmp')
|
283
|
-
$goat_test_output_file = ofile
|
284
|
-
|
285
|
-
# Reusable setup for this test
|
286
|
-
prep_output = proc do
|
287
|
-
remove ofile if File.exist?(ofile)
|
288
|
-
end
|
289
|
-
|
290
|
-
# Reusable assertion set and cleanup
|
291
|
-
examine_output = proc do
|
292
|
-
# Examine output file for expected construction
|
293
|
-
assert File.exist?(ofile), "no goat output created"
|
294
|
-
lines = File.readlines(ofile).map { |x| x.strip }
|
295
|
-
%w|can paper shirt goat|.each do |object|
|
296
|
-
assert lines.member?("#{object} built"), "Didn't see constructor output for #{object}"
|
297
|
-
end
|
298
|
-
assert_equal 4, lines.size, "wrong number of entries in output file"
|
299
|
-
|
300
|
-
# Make sure the subcontext was not built
|
301
|
-
assert !lines.member?("plane built"), "plane should not have been built -- it's in the subcontext"
|
302
|
-
assert !lines.member?("wings built"), "wings should not have been built -- it's in the subcontext"
|
303
|
-
|
304
|
-
# Check the objects in the context
|
305
|
-
%w|can paper shirt goat|.each do |object|
|
306
|
-
assert_same @diy[object], @diy[object], "Multiple accesses on #{object} yielded different refs"
|
307
|
-
end
|
308
|
-
|
309
|
-
# Try the subcontext
|
310
|
-
@diy.within('the_sub_context') do |tsc|
|
311
|
-
%w|plane wings|.each do |object|
|
312
|
-
assert_same tsc[object], tsc[object], "Multiple accesses on #{object} (in subcontext) yielded different refs"
|
313
|
-
end
|
314
|
-
end
|
315
|
-
# cleanup
|
316
|
-
remove ofile if File.exist?(ofile)
|
317
|
-
end
|
318
|
-
|
319
|
-
# Test all three methods
|
320
|
-
[:build_everything, :build_all, :preinstantiate_singletons].each do |method_name|
|
321
|
-
prep_output.call
|
322
|
-
load_context 'goat/objects.yml'
|
323
|
-
# go
|
324
|
-
@diy.send method_name
|
325
|
-
examine_output.call
|
326
|
-
end
|
327
|
-
ensure
|
328
|
-
# cleanup
|
329
|
-
remove ofile if File.exist?(ofile)
|
330
|
-
end
|
331
|
-
|
332
|
-
# See that the current object factory context can be referenced within the yaml
|
333
|
-
def test_this_context
|
334
|
-
load_context 'horse/objects.yml'
|
335
|
-
|
336
|
-
assert_same @diy, @diy['this_context'], "basic self-reference failed"
|
337
|
-
assert_same @diy, @diy['holder_thing'].thing_held, "composition self-reference failed"
|
338
|
-
end
|
339
|
-
|
340
|
-
def test_this_context_works_for_subcontexts
|
341
|
-
load_context 'horse/objects.yml'
|
342
|
-
|
343
|
-
@diy.within('repeater') do |ctx|
|
344
|
-
assert_same ctx, ctx['this_context'], "self-ref inside a subcontext doesn't work"
|
345
|
-
end
|
346
|
-
end
|
347
|
-
|
348
|
-
def test_multiple_classes_in_one_file
|
349
|
-
load_context 'fud/objects.yml'
|
350
|
-
|
351
|
-
toy = @diy['toy']
|
352
|
-
widget = @diy['widget']
|
353
|
-
thing = @diy['thing_ama_jack']
|
354
|
-
trinket = @diy['trinket']
|
355
|
-
|
356
|
-
assert_same widget, toy.widget, "wrong widget in toy"
|
357
|
-
assert_same trinket, toy.trinket, "wrong trinket in toy"
|
358
|
-
assert_same thing, trinket.thing_ama_jack, "wrong thing_ama_jack in trinket"
|
359
|
-
end
|
360
|
-
|
361
|
-
def test_objects_can_be_set_in_a_context_and_diy_will_not_attempt_to_build_it_as_a_dependency
|
362
|
-
load_context 'gnu/objects.yml'
|
363
|
-
|
364
|
-
injected = 'boom'
|
365
|
-
@diy[:injected] = injected
|
366
|
-
thinger = @diy[:thinger]
|
367
|
-
assert_not_nil thinger
|
368
|
-
assert_same injected, thinger.injected
|
369
|
-
assert_same injected, @diy[:injected]
|
370
|
-
|
371
|
-
inner_injected = 'slam'
|
372
|
-
@diy.within :inny do |sub|
|
373
|
-
sub.set_object :inner_injected, inner_injected
|
374
|
-
inner_thinger = sub[:inner_thinger]
|
375
|
-
assert_not_nil inner_thinger
|
376
|
-
assert_same inner_injected, inner_thinger.injected
|
377
|
-
assert_same inner_injected, sub[:inner_injected]
|
378
|
-
end
|
379
|
-
end
|
380
|
-
|
381
|
-
def test_should_not_allow_setting_of_an_object_which_has_already_been_loaded
|
382
|
-
load_context 'gnu/objects.yml'
|
383
|
-
|
384
|
-
injected = 'boom'
|
385
|
-
@diy[:injected] = injected
|
386
|
-
err = assert_raise RuntimeError do
|
387
|
-
@diy[:injected] = injected
|
388
|
-
end
|
389
|
-
assert_match(/object 'injected' already exists/i, err.message)
|
390
|
-
assert_same injected, @diy[:injected]
|
391
|
-
|
392
|
-
thinger = @diy[:thinger]
|
393
|
-
err = assert_raise RuntimeError do
|
394
|
-
@diy[:thinger] = 'sdf'
|
395
|
-
end
|
396
|
-
assert_match(/object 'thinger' already exists/i, err.message)
|
397
|
-
assert_same thinger, @diy[:thinger]
|
398
|
-
end
|
399
|
-
|
400
|
-
def test_should_be_able_to_turn_off_auto_require_for_all_objects
|
401
|
-
DIY::Context.auto_require = false
|
402
|
-
load_context 'horse/objects.yml'
|
403
|
-
|
404
|
-
exception = assert_raise(DIY::ConstructionError) { @diy['holder_thing'] }
|
405
|
-
assert_match(/uninitialized constant/, exception.message)
|
406
|
-
end
|
407
|
-
|
408
|
-
def test_should_cause_non_singletons_to_be_rebuilt_every_time_they_are_accessed
|
409
|
-
load_context 'non_singleton/objects.yml'
|
410
|
-
|
411
|
-
air = @diy['air']
|
412
|
-
assert_not_nil air, "No air"
|
413
|
-
assert_same air, @diy['air'], "Air should be a singleton"
|
414
|
-
|
415
|
-
yard = @diy['yard']
|
416
|
-
assert_not_nil yard, "No yard"
|
417
|
-
assert_same yard, @diy['yard'], "yard should be a singleton"
|
418
|
-
|
419
|
-
pig = @diy['pig']
|
420
|
-
assert_not_nil pig, "No pig"
|
421
|
-
assert_same pig, @diy['pig'], "Pig should be a singleton"
|
422
|
-
|
423
|
-
thread_spinner1 = @diy['thread_spinner']
|
424
|
-
assert_not_nil thread_spinner1, "Couldn't get thread spinner"
|
425
|
-
thread_spinner2 = @diy['thread_spinner']
|
426
|
-
assert_not_nil thread_spinner2, "Couldn't get second thread spinner"
|
427
|
-
assert thread_spinner1.object_id != thread_spinner2.object_id, "Thread spinners should be different instances"
|
428
|
-
thread_spinner3 = pig.thread_spinner
|
429
|
-
assert_not_nil thread_spinner3, "Didn't get a spinner from the pig"
|
430
|
-
assert thread_spinner2.object_id != thread_spinner3.object_id, "Thread spinner from pig should be different instance than the others"
|
431
|
-
assert thread_spinner1.object_id != thread_spinner3.object_id, "Thread spinner from pig should be different instance than the others"
|
432
|
-
|
433
|
-
assert_same air, thread_spinner1.air, "spinner 1 air should be singleton reference"
|
434
|
-
assert_same air, thread_spinner2.air, "spinner 2 air should be singleton reference"
|
435
|
-
assert_same air, thread_spinner3.air, "spinner 3 air should be singleton reference"
|
436
|
-
end
|
437
|
-
|
438
|
-
def test_should_handle_nonsingletons_in_sub_contexts
|
439
|
-
load_context 'non_singleton/objects.yml'
|
440
|
-
|
441
|
-
yard = @diy['yard']
|
442
|
-
assert_not_nil yard, "No yard"
|
443
|
-
assert_same yard, @diy['yard'], "yard should be a singleton"
|
444
|
-
|
445
|
-
thread_spinner1 = @diy['thread_spinner']
|
446
|
-
assert_not_nil thread_spinner1, "Couldn't get thread spinner"
|
447
|
-
|
448
|
-
air = @diy['air']
|
449
|
-
assert_not_nil air, "No air"
|
450
|
-
assert_same air, @diy['air'], "Air should be a singleton"
|
451
|
-
|
452
|
-
@diy.within :inner_sanctum do |sanct|
|
453
|
-
tick1 = sanct['tick']
|
454
|
-
assert_not_nil tick1, "Couldn't get tick1 from inner sanctum"
|
455
|
-
tick2 = sanct['tick']
|
456
|
-
assert_not_nil tick2, "Couldn't get tick2 from inner sanctum"
|
457
|
-
assert tick1.object_id != tick2.object_id, "Tick should not be a singleton"
|
458
|
-
|
459
|
-
cat = sanct['fat_cat']
|
460
|
-
assert_not_nil cat, "Couldn't get cat from sanctum"
|
461
|
-
assert_same cat, sanct['fat_cat'], "Cat SHOULD be singleton"
|
462
|
-
|
463
|
-
tick3 = cat.tick
|
464
|
-
assert_not_nil tick3, "Couldn't get tick from cat"
|
465
|
-
assert tick1.object_id != tick3.object_id, "tick from cat matched an earlier tick; should not be so"
|
466
|
-
|
467
|
-
assert_same yard, cat.yard, "Cat's yard should be same as other yard"
|
468
|
-
assert_not_nil cat.thread_spinner, "No thread spinner in cat?"
|
469
|
-
|
470
|
-
assert_same air, cat.thread_spinner.air, "spinner 1 air should be singleton reference"
|
471
|
-
assert thread_spinner1.object_id != cat.thread_spinner.object_id, "cat's thread spinner matched the other spinner; should not be so"
|
472
|
-
end
|
473
|
-
end
|
474
|
-
|
475
|
-
def test_should_provide_syntax_for_using_namespace
|
476
|
-
# This test exercises single and triple-level namespaces for nested
|
477
|
-
# modules, and their interaction with other namespaced-objects.
|
478
|
-
load_context "namespace/objects.yml"
|
479
|
-
|
480
|
-
%w{road sky cat bird lizard turtle}.each do |obj|
|
481
|
-
assert @diy.contains_object(obj), "Context had no object '#{obj}'"
|
482
|
-
end
|
483
|
-
|
484
|
-
road = @diy['road']
|
485
|
-
sky = @diy['sky']
|
486
|
-
cat = @diy['cat']
|
487
|
-
bird = @diy['bird']
|
488
|
-
lizard = @diy['lizard']
|
489
|
-
turtle = @diy['turtle']
|
490
|
-
|
491
|
-
assert_same road, cat.road, "Cat has wrong Road"
|
492
|
-
assert_same sky, bird.sky, "Bird has wrong Sky"
|
493
|
-
assert_same bird, lizard.bird, "Lizard has wrong Bird"
|
494
|
-
end
|
495
|
-
|
496
|
-
def test_should_combine_a_given_class_name_with_the_namespace
|
497
|
-
load_context "namespace/class_name_combine.yml"
|
498
|
-
assert_not_nil @diy['garfield'], "No garfield"
|
499
|
-
assert_kind_of Animal::Cat, @diy['garfield'], "Garfield wrong"
|
500
|
-
end
|
501
|
-
|
502
|
-
def test_should_let_you_use_namespaces_in_subcontexts
|
503
|
-
load_context "namespace/subcontext.yml"
|
504
|
-
@diy.build_everything
|
505
|
-
%w{road sky cat turtle}.each do |obj|
|
506
|
-
assert @diy.contains_object(obj), "Main context had no object '#{obj}'"
|
507
|
-
end
|
508
|
-
sky = @diy['sky']
|
509
|
-
|
510
|
-
@diy.within("aviary") do |subc|
|
511
|
-
assert subc.contains_object("bird"), "Sub context didn't have 'bird'"
|
512
|
-
assert subc.contains_object("lizard"), "Sub context didn't have 'lizard'"
|
513
|
-
bird = subc['bird']
|
514
|
-
lizard = subc['lizard']
|
515
|
-
assert_same sky, bird.sky, "Bird has wrong Sky"
|
516
|
-
assert_same bird, lizard.bird, "Lizard has wrong Bird"
|
517
|
-
end
|
518
|
-
end
|
519
|
-
|
520
|
-
def test_should_raise_for_namespace_w_no_modules_named
|
521
|
-
ex = assert_raises DIY::NamespaceError do
|
522
|
-
load_context "namespace/no_module_specified.yml"
|
523
|
-
end
|
524
|
-
assert_equal "Namespace needs to indicate a module", ex.message
|
525
|
-
end
|
526
|
-
|
527
|
-
def test_should_raise_for_namespace_whose_modules_dont_exist
|
528
|
-
load_context "namespace/bad_module_specified.yml"
|
529
|
-
ex = assert_raises DIY::ConstructionError do
|
530
|
-
@diy['bird']
|
531
|
-
end
|
532
|
-
assert_match(/failed to construct/i, ex.message)
|
533
|
-
assert_match(/no such file to load -- fuzzy_creature\/bird/, ex.message)
|
534
|
-
end
|
535
|
-
|
536
|
-
def test_should_be_able_define_and_access_bounded_methods
|
537
|
-
load_context "functions/objects.yml"
|
538
|
-
@diy.build_everything
|
539
|
-
build_thing = @diy['build_thing']
|
540
|
-
|
541
|
-
assert_not_nil build_thing, "should not be nil"
|
542
|
-
assert_kind_of(Method, build_thing)
|
543
|
-
assert_equal(build_thing, @diy['build_thing'])
|
544
|
-
end
|
545
|
-
|
546
|
-
def test_bounded_method_can_be_used
|
547
|
-
load_context "functions/objects.yml"
|
548
|
-
@diy.build_everything
|
549
|
-
build_thing = @diy['build_thing']
|
550
|
-
|
551
|
-
thing = build_thing["the name", "flying"]
|
552
|
-
|
553
|
-
assert_equal("the name", thing.name)
|
554
|
-
assert_equal("flying", thing.ability)
|
555
|
-
end
|
556
|
-
|
557
|
-
def test_building_bounded_method_uses_object_in_diy_context_correctly
|
558
|
-
load_context "functions/objects.yml"
|
559
|
-
@diy.build_everything
|
560
|
-
assert_equal(@diy['build_thing'], @diy['thing_builder'].method(:build))
|
561
|
-
|
562
|
-
load_context "functions/nonsingleton_objects.yml"
|
563
|
-
@diy.build_everything
|
564
|
-
assert_not_equal(@diy['build_thing'], @diy['thing_builder'].method(:build))
|
565
|
-
end
|
566
|
-
|
567
|
-
def test_composing_bounded_methods_into_other_objects
|
568
|
-
load_context "functions/objects.yml"
|
569
|
-
@diy.build_everything
|
570
|
-
assert_equal(@diy['build_thing'], @diy['things_builder'].build_thing)
|
571
|
-
end
|
572
|
-
|
573
|
-
def test_raises_construction_error_if_invalid_method_specified
|
574
|
-
load_context "functions/invalid_method.yml"
|
575
|
-
assert_raises DIY::ConstructionError do
|
576
|
-
@diy.build_everything
|
577
|
-
end
|
578
|
-
end
|
579
|
-
|
580
|
-
def test_can_optionally_attach_method_to_other_objects_in_context
|
581
|
-
load_context "functions/objects.yml"
|
582
|
-
@diy.build_everything
|
583
|
-
|
584
|
-
thing = @diy['attached_things_builder'].build_thing("the name", "flying")
|
585
|
-
assert_kind_of(Thing, thing)
|
586
|
-
assert_equal("the name", thing.name)
|
587
|
-
assert_equal("flying", thing.ability)
|
588
|
-
|
589
|
-
["attached_things_builder", "things_builder"].each do |key|
|
590
|
-
thing = @diy[key].build_default_thing
|
591
|
-
assert_kind_of(Thing, thing)
|
592
|
-
assert_equal("Thing", thing.name)
|
593
|
-
assert_equal("nothing", thing.ability)
|
594
|
-
end
|
595
|
-
end
|
596
|
-
|
597
|
-
#
|
598
|
-
# HELPERS
|
599
|
-
#
|
600
|
-
def check_dog_objects(context)
|
601
|
-
assert_not_nil context, "nil context"
|
602
|
-
names = %w|dog_presenter dog_model dog_view file_resolver|
|
603
|
-
names.each do |n|
|
604
|
-
assert context.contains_object(n), "Context had no object '#{n}'"
|
605
|
-
end
|
606
|
-
end
|
607
|
-
|
608
|
-
end
|