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
@@ -1,94 +0,0 @@
|
|
1
|
-
# ==========================================
|
2
|
-
# CMock Project - Automatic Mock Generation for C
|
3
|
-
# Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams
|
4
|
-
# [Released under MIT License. Please refer to license.txt for details]
|
5
|
-
# ==========================================
|
6
|
-
|
7
|
-
ruby_version = RUBY_VERSION.split('.')
|
8
|
-
if (ruby_version[1].to_i == 9) and (ruby_version[2].to_i > 1)
|
9
|
-
require 'rubygems'
|
10
|
-
gem 'test-unit'
|
11
|
-
end
|
12
|
-
require 'test/unit'
|
13
|
-
require './auto/generate_test_runner.rb'
|
14
|
-
|
15
|
-
TEST_FILE = 'test/testdata/testsample.c'
|
16
|
-
TEST_MOCK = 'test/testdata/mocksample.c'
|
17
|
-
OUT_FILE = 'build/testsample_'
|
18
|
-
EXP_FILE = 'test/expectdata/testsample_'
|
19
|
-
|
20
|
-
class TestGenerateTestRunner < Test::Unit::TestCase
|
21
|
-
def setup
|
22
|
-
end
|
23
|
-
|
24
|
-
def teardown
|
25
|
-
end
|
26
|
-
|
27
|
-
def verify_output_equal(subtest)
|
28
|
-
expected = File.read(EXP_FILE + subtest + '.c').gsub(/\r\n/,"\n")
|
29
|
-
actual = File.read(OUT_FILE + subtest + '.c').gsub(/\r\n/,"\n")
|
30
|
-
assert_equal(expected, actual, "Generated File Sub-Test '#{subtest}' Failed")
|
31
|
-
end
|
32
|
-
|
33
|
-
def test_ShouldGenerateARunnerByCreatingRunnerWithOptions
|
34
|
-
sets = { 'def' => nil,
|
35
|
-
'new1' => { :plugins => [:cexception], :includes => ['one.h', 'two.h'], :enforce_strict_ordering => true },
|
36
|
-
'new2' => { :plugins => [:ignore], :suite_setup => "a_custom_setup();", :suite_teardown => "a_custom_teardown();" }
|
37
|
-
}
|
38
|
-
|
39
|
-
sets.each_pair do |subtest, options|
|
40
|
-
UnityTestRunnerGenerator.new(options).run(TEST_FILE, OUT_FILE + subtest + '.c')
|
41
|
-
verify_output_equal(subtest)
|
42
|
-
UnityTestRunnerGenerator.new(options).run(TEST_MOCK, OUT_FILE + 'mock_' + subtest + '.c')
|
43
|
-
verify_output_equal('mock_' + subtest)
|
44
|
-
end
|
45
|
-
end
|
46
|
-
|
47
|
-
def test_ShouldGenerateARunnerByRunningRunnerWithOptions
|
48
|
-
sets = { 'run1' => { :plugins => [:cexception], :includes => ['one.h', 'two.h'], :enforce_strict_ordering => true },
|
49
|
-
'run2' => { :plugins => [:ignore], :suite_setup => "a_custom_setup();", :suite_teardown => "a_custom_teardown();" }
|
50
|
-
}
|
51
|
-
|
52
|
-
sets.each_pair do |subtest, options|
|
53
|
-
UnityTestRunnerGenerator.new.run(TEST_FILE, OUT_FILE + subtest + '.c', options)
|
54
|
-
verify_output_equal(subtest)
|
55
|
-
UnityTestRunnerGenerator.new.run(TEST_MOCK, OUT_FILE + 'mock_' + subtest + '.c', options)
|
56
|
-
verify_output_equal('mock_' + subtest)
|
57
|
-
end
|
58
|
-
end
|
59
|
-
|
60
|
-
def test_ShouldGenerateARunnerByPullingYamlOptions
|
61
|
-
subtest = 'yaml'
|
62
|
-
cmdstr = "ruby auto/generate_test_runner.rb test/testdata/sample.yml \"#{TEST_FILE}\" \"#{OUT_FILE + subtest + '.c'}\""
|
63
|
-
`#{cmdstr}`
|
64
|
-
verify_output_equal(subtest)
|
65
|
-
|
66
|
-
cmdstr = "ruby auto/generate_test_runner.rb test/testdata/sample.yml \"#{TEST_MOCK}\" \"#{OUT_FILE + 'mock_' + subtest + '.c'}\""
|
67
|
-
`#{cmdstr}`
|
68
|
-
verify_output_equal('mock_' + subtest)
|
69
|
-
end
|
70
|
-
|
71
|
-
def test_ShouldGenerateARunnerByPullingCommandlineOptions
|
72
|
-
subtest = 'cmd'
|
73
|
-
cmdstr = "ruby auto/generate_test_runner.rb -cexception \"#{TEST_FILE}\" \"#{OUT_FILE + subtest + '.c'}\""
|
74
|
-
`#{cmdstr}`
|
75
|
-
verify_output_equal(subtest)
|
76
|
-
|
77
|
-
cmdstr = "ruby auto/generate_test_runner.rb -cexception \"#{TEST_MOCK}\" \"#{OUT_FILE + 'mock_' + subtest + '.c'}\""
|
78
|
-
`#{cmdstr}`
|
79
|
-
verify_output_equal('mock_' + subtest)
|
80
|
-
end
|
81
|
-
|
82
|
-
def test_ShouldGenerateARunnerThatUsesParameterizedTests
|
83
|
-
sets = { 'param' => { :plugins => [:ignore], :use_param_tests => true }
|
84
|
-
}
|
85
|
-
|
86
|
-
sets.each_pair do |subtest, options|
|
87
|
-
UnityTestRunnerGenerator.new(options).run(TEST_FILE, OUT_FILE + subtest + '.c')
|
88
|
-
verify_output_equal(subtest)
|
89
|
-
UnityTestRunnerGenerator.new(options).run(TEST_MOCK, OUT_FILE + 'mock_' + subtest + '.c')
|
90
|
-
verify_output_equal('mock_' + subtest)
|
91
|
-
end
|
92
|
-
end
|
93
|
-
|
94
|
-
end
|
@@ -1,51 +0,0 @@
|
|
1
|
-
// This is just a sample test file to be used to test the generator script
|
2
|
-
#ifndef TEST_SAMPLE_H
|
3
|
-
#define TEST_SAMPLE_H
|
4
|
-
|
5
|
-
#include <setjmp.h>
|
6
|
-
#include "unity.h"
|
7
|
-
#include "funky.h"
|
8
|
-
#include "Mockstanky.h"
|
9
|
-
|
10
|
-
void setUp(void)
|
11
|
-
{
|
12
|
-
CustomSetupStuff();
|
13
|
-
}
|
14
|
-
|
15
|
-
void tearDown(void)
|
16
|
-
{
|
17
|
-
CustomTeardownStuff
|
18
|
-
}
|
19
|
-
|
20
|
-
//Yup, nice comment
|
21
|
-
void test_TheFirstThingToTest(void)
|
22
|
-
{
|
23
|
-
TEST_ASSERT(1);
|
24
|
-
|
25
|
-
TEST_ASSERT_TRUE(1);
|
26
|
-
}
|
27
|
-
|
28
|
-
/*
|
29
|
-
void test_ShouldBeIgnored(void)
|
30
|
-
{
|
31
|
-
DoesStuff();
|
32
|
-
}
|
33
|
-
*/
|
34
|
-
|
35
|
-
//void test_ShouldAlsoNotBeTested(void)
|
36
|
-
//{
|
37
|
-
// Call_An_Expect();
|
38
|
-
//
|
39
|
-
// CallAFunction();
|
40
|
-
// test_CallAFunctionThatLooksLikeATest();
|
41
|
-
//}
|
42
|
-
|
43
|
-
void test_TheSecondThingToTest(void)
|
44
|
-
{
|
45
|
-
Call_An_Expect();
|
46
|
-
|
47
|
-
CallAFunction();
|
48
|
-
test_CallAFunctionThatLooksLikeATest();
|
49
|
-
}
|
50
|
-
|
51
|
-
#endif //TEST_SAMPLE_H
|
@@ -1,51 +0,0 @@
|
|
1
|
-
// This is just a sample test file to be used to test the generator script
|
2
|
-
#ifndef TEST_SAMPLE_H
|
3
|
-
#define TEST_SAMPLE_H
|
4
|
-
|
5
|
-
#include <setjmp.h>
|
6
|
-
#include "unity.h"
|
7
|
-
#include "funky.h"
|
8
|
-
#include "stanky.h"
|
9
|
-
|
10
|
-
void setUp(void)
|
11
|
-
{
|
12
|
-
CustomSetupStuff();
|
13
|
-
}
|
14
|
-
|
15
|
-
void tearDown(void)
|
16
|
-
{
|
17
|
-
CustomTeardownStuff
|
18
|
-
}
|
19
|
-
|
20
|
-
//Yup, nice comment
|
21
|
-
void test_TheFirstThingToTest(void)
|
22
|
-
{
|
23
|
-
TEST_ASSERT(1);
|
24
|
-
|
25
|
-
TEST_ASSERT_TRUE(1);
|
26
|
-
}
|
27
|
-
|
28
|
-
/*
|
29
|
-
void test_ShouldBeIgnored(void)
|
30
|
-
{
|
31
|
-
DoesStuff();
|
32
|
-
}
|
33
|
-
*/
|
34
|
-
|
35
|
-
//void test_ShouldAlsoNotBeTested(void)
|
36
|
-
//{
|
37
|
-
// Call_An_Expect();
|
38
|
-
//
|
39
|
-
// CallAFunction();
|
40
|
-
// test_CallAFunctionThatLooksLikeATest();
|
41
|
-
//}
|
42
|
-
|
43
|
-
void test_TheSecondThingToTest(void)
|
44
|
-
{
|
45
|
-
Call_An_Expect();
|
46
|
-
|
47
|
-
CallAFunction();
|
48
|
-
test_CallAFunctionThatLooksLikeATest();
|
49
|
-
}
|
50
|
-
|
51
|
-
#endif //TEST_SAMPLE_H
|
@@ -1,101 +0,0 @@
|
|
1
|
-
/* ==========================================
|
2
|
-
Unity Project - A Test Framework for C
|
3
|
-
Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams
|
4
|
-
[Released under MIT License. Please refer to license.txt for details]
|
5
|
-
========================================== */
|
6
|
-
|
7
|
-
#include <setjmp.h>
|
8
|
-
#include "unity.h"
|
9
|
-
|
10
|
-
#define TEST_CASE(...)
|
11
|
-
|
12
|
-
#define EXPECT_ABORT_BEGIN \
|
13
|
-
if (TEST_PROTECT()) \
|
14
|
-
{
|
15
|
-
|
16
|
-
#define VERIFY_FAILS_END \
|
17
|
-
} \
|
18
|
-
Unity.CurrentTestFailed = (Unity.CurrentTestFailed == 1) ? 0 : 1; \
|
19
|
-
if (Unity.CurrentTestFailed == 1) { \
|
20
|
-
SetToOneMeanWeAlreadyCheckedThisGuy = 1; \
|
21
|
-
UnityPrint("[[[[ Previous Test Should Have Failed But Did Not ]]]]"); \
|
22
|
-
UNITY_OUTPUT_CHAR('\n'); \
|
23
|
-
}
|
24
|
-
|
25
|
-
#define VERIFY_IGNORES_END \
|
26
|
-
} \
|
27
|
-
Unity.CurrentTestFailed = (Unity.CurrentTestIgnored == 1) ? 0 : 1; \
|
28
|
-
Unity.CurrentTestIgnored = 0; \
|
29
|
-
if (Unity.CurrentTestFailed == 1) { \
|
30
|
-
SetToOneMeanWeAlreadyCheckedThisGuy = 1; \
|
31
|
-
UnityPrint("[[[[ Previous Test Should Have Ignored But Did Not ]]]]"); \
|
32
|
-
UNITY_OUTPUT_CHAR('\n'); \
|
33
|
-
}
|
34
|
-
|
35
|
-
int SetToOneToFailInTearDown;
|
36
|
-
int SetToOneMeanWeAlreadyCheckedThisGuy;
|
37
|
-
|
38
|
-
void setUp(void)
|
39
|
-
{
|
40
|
-
SetToOneToFailInTearDown = 0;
|
41
|
-
SetToOneMeanWeAlreadyCheckedThisGuy = 0;
|
42
|
-
}
|
43
|
-
|
44
|
-
void tearDown(void)
|
45
|
-
{
|
46
|
-
if (SetToOneToFailInTearDown == 1)
|
47
|
-
TEST_FAIL_MESSAGE("<= Failed in tearDown");
|
48
|
-
if ((SetToOneMeanWeAlreadyCheckedThisGuy == 0) && (Unity.CurrentTestFailed > 0))
|
49
|
-
{
|
50
|
-
UnityPrint("[[[[ Previous Test Should Have Passed But Did Not ]]]]");
|
51
|
-
UNITY_OUTPUT_CHAR('\n');
|
52
|
-
}
|
53
|
-
}
|
54
|
-
|
55
|
-
TEST_CASE(0)
|
56
|
-
TEST_CASE(44)
|
57
|
-
TEST_CASE((90)+9)
|
58
|
-
void test_TheseShouldAllPass(int Num)
|
59
|
-
{
|
60
|
-
TEST_ASSERT_TRUE(Num < 100);
|
61
|
-
}
|
62
|
-
|
63
|
-
TEST_CASE(3)
|
64
|
-
TEST_CASE(77)
|
65
|
-
TEST_CASE( (99) + 1 - (1))
|
66
|
-
void test_TheseShouldAllFail(int Num)
|
67
|
-
{
|
68
|
-
EXPECT_ABORT_BEGIN
|
69
|
-
TEST_ASSERT_TRUE(Num > 100);
|
70
|
-
VERIFY_FAILS_END
|
71
|
-
}
|
72
|
-
|
73
|
-
TEST_CASE(1)
|
74
|
-
TEST_CASE(44)
|
75
|
-
TEST_CASE(99)
|
76
|
-
TEST_CASE(98)
|
77
|
-
void test_TheseAreEveryOther(int Num)
|
78
|
-
{
|
79
|
-
if (Num & 1)
|
80
|
-
{
|
81
|
-
EXPECT_ABORT_BEGIN
|
82
|
-
TEST_ASSERT_TRUE(Num > 100);
|
83
|
-
VERIFY_FAILS_END
|
84
|
-
}
|
85
|
-
else
|
86
|
-
{
|
87
|
-
TEST_ASSERT_TRUE(Num < 100);
|
88
|
-
}
|
89
|
-
}
|
90
|
-
|
91
|
-
void test_NormalPassesStillWork(void)
|
92
|
-
{
|
93
|
-
TEST_ASSERT_TRUE(1);
|
94
|
-
}
|
95
|
-
|
96
|
-
void test_NormalFailsStillWork(void)
|
97
|
-
{
|
98
|
-
EXPECT_ABORT_BEGIN
|
99
|
-
TEST_ASSERT_TRUE(0);
|
100
|
-
VERIFY_FAILS_END
|
101
|
-
}
|
@@ -1,1510 +0,0 @@
|
|
1
|
-
/* ==========================================
|
2
|
-
Unity Project - A Test Framework for C
|
3
|
-
Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams
|
4
|
-
[Released under MIT License. Please refer to license.txt for details]
|
5
|
-
========================================== */
|
6
|
-
|
7
|
-
#include <setjmp.h>
|
8
|
-
#include "unity.h"
|
9
|
-
|
10
|
-
#define EXPECT_ABORT_BEGIN \
|
11
|
-
if (TEST_PROTECT()) \
|
12
|
-
{
|
13
|
-
|
14
|
-
#define VERIFY_FAILS_END \
|
15
|
-
} \
|
16
|
-
Unity.CurrentTestFailed = (Unity.CurrentTestFailed == 1) ? 0 : 1; \
|
17
|
-
if (Unity.CurrentTestFailed == 1) { \
|
18
|
-
SetToOneMeanWeAlreadyCheckedThisGuy = 1; \
|
19
|
-
UnityPrint("[[[[ Previous Test Should Have Failed But Did Not ]]]]"); \
|
20
|
-
UNITY_OUTPUT_CHAR('\n'); \
|
21
|
-
}
|
22
|
-
|
23
|
-
#define VERIFY_IGNORES_END \
|
24
|
-
} \
|
25
|
-
Unity.CurrentTestFailed = (Unity.CurrentTestIgnored == 1) ? 0 : 1; \
|
26
|
-
Unity.CurrentTestIgnored = 0; \
|
27
|
-
if (Unity.CurrentTestFailed == 1) { \
|
28
|
-
SetToOneMeanWeAlreadyCheckedThisGuy = 1; \
|
29
|
-
UnityPrint("[[[[ Previous Test Should Have Ignored But Did Not ]]]]"); \
|
30
|
-
UNITY_OUTPUT_CHAR('\n'); \
|
31
|
-
}
|
32
|
-
|
33
|
-
int SetToOneToFailInTearDown;
|
34
|
-
int SetToOneMeanWeAlreadyCheckedThisGuy;
|
35
|
-
|
36
|
-
void setUp(void)
|
37
|
-
{
|
38
|
-
SetToOneToFailInTearDown = 0;
|
39
|
-
SetToOneMeanWeAlreadyCheckedThisGuy = 0;
|
40
|
-
}
|
41
|
-
|
42
|
-
void tearDown(void)
|
43
|
-
{
|
44
|
-
if (SetToOneToFailInTearDown == 1)
|
45
|
-
TEST_FAIL_MESSAGE("<= Failed in tearDown");
|
46
|
-
if ((SetToOneMeanWeAlreadyCheckedThisGuy == 0) && (Unity.CurrentTestFailed > 0))
|
47
|
-
{
|
48
|
-
UnityPrint("[[[[ Previous Test Should Have Passed But Did Not ]]]]");
|
49
|
-
UNITY_OUTPUT_CHAR('\n');
|
50
|
-
}
|
51
|
-
}
|
52
|
-
|
53
|
-
void testTrue(void)
|
54
|
-
{
|
55
|
-
TEST_ASSERT(1);
|
56
|
-
|
57
|
-
TEST_ASSERT_TRUE(1);
|
58
|
-
}
|
59
|
-
|
60
|
-
void testFalse(void)
|
61
|
-
{
|
62
|
-
TEST_ASSERT_FALSE(0);
|
63
|
-
|
64
|
-
TEST_ASSERT_UNLESS(0);
|
65
|
-
}
|
66
|
-
|
67
|
-
void testPreviousPass(void)
|
68
|
-
{
|
69
|
-
TEST_ASSERT_EQUAL_INT(0U, Unity.TestFailures);
|
70
|
-
}
|
71
|
-
|
72
|
-
void testNotVanilla(void)
|
73
|
-
{
|
74
|
-
EXPECT_ABORT_BEGIN
|
75
|
-
TEST_ASSERT(0);
|
76
|
-
VERIFY_FAILS_END
|
77
|
-
}
|
78
|
-
|
79
|
-
void testNotTrue(void)
|
80
|
-
{
|
81
|
-
EXPECT_ABORT_BEGIN
|
82
|
-
TEST_ASSERT_TRUE(0);
|
83
|
-
VERIFY_FAILS_END
|
84
|
-
}
|
85
|
-
|
86
|
-
void testNotFalse(void)
|
87
|
-
{
|
88
|
-
EXPECT_ABORT_BEGIN
|
89
|
-
TEST_ASSERT_FALSE(1);
|
90
|
-
VERIFY_FAILS_END
|
91
|
-
}
|
92
|
-
|
93
|
-
void testNotUnless(void)
|
94
|
-
{
|
95
|
-
EXPECT_ABORT_BEGIN
|
96
|
-
TEST_ASSERT_UNLESS(1);
|
97
|
-
VERIFY_FAILS_END
|
98
|
-
}
|
99
|
-
|
100
|
-
void testNotNotEqual(void)
|
101
|
-
{
|
102
|
-
EXPECT_ABORT_BEGIN
|
103
|
-
TEST_ASSERT_NOT_EQUAL(10, 10);
|
104
|
-
VERIFY_FAILS_END
|
105
|
-
}
|
106
|
-
|
107
|
-
void testFail(void)
|
108
|
-
{
|
109
|
-
EXPECT_ABORT_BEGIN
|
110
|
-
TEST_FAIL_MESSAGE("Expected for testing");
|
111
|
-
VERIFY_FAILS_END
|
112
|
-
}
|
113
|
-
|
114
|
-
void testIsNull(void)
|
115
|
-
{
|
116
|
-
char* ptr1 = NULL;
|
117
|
-
char* ptr2 = "hello";
|
118
|
-
|
119
|
-
TEST_ASSERT_NULL(ptr1);
|
120
|
-
TEST_ASSERT_NOT_NULL(ptr2);
|
121
|
-
}
|
122
|
-
|
123
|
-
void testIsNullShouldFailIfNot(void)
|
124
|
-
{
|
125
|
-
char* ptr1 = "hello";
|
126
|
-
|
127
|
-
EXPECT_ABORT_BEGIN
|
128
|
-
TEST_ASSERT_NULL(ptr1);
|
129
|
-
VERIFY_FAILS_END
|
130
|
-
}
|
131
|
-
|
132
|
-
void testNotNullShouldFailIfNULL(void)
|
133
|
-
{
|
134
|
-
char* ptr1 = NULL;
|
135
|
-
|
136
|
-
EXPECT_ABORT_BEGIN
|
137
|
-
TEST_ASSERT_NOT_NULL(ptr1);
|
138
|
-
VERIFY_FAILS_END
|
139
|
-
}
|
140
|
-
|
141
|
-
void testIgnore(void)
|
142
|
-
{
|
143
|
-
EXPECT_ABORT_BEGIN
|
144
|
-
TEST_IGNORE();
|
145
|
-
TEST_FAIL_MESSAGE("This should not be reached");
|
146
|
-
VERIFY_IGNORES_END
|
147
|
-
}
|
148
|
-
|
149
|
-
void testIgnoreMessage(void)
|
150
|
-
{
|
151
|
-
EXPECT_ABORT_BEGIN
|
152
|
-
TEST_IGNORE_MESSAGE("This is an expected TEST_IGNORE_MESSAGE string!");
|
153
|
-
TEST_FAIL_MESSAGE("This should not be reached");
|
154
|
-
VERIFY_IGNORES_END
|
155
|
-
}
|
156
|
-
|
157
|
-
void testNotEqualInts(void)
|
158
|
-
{
|
159
|
-
EXPECT_ABORT_BEGIN
|
160
|
-
TEST_ASSERT_EQUAL_INT(3982, 3983);
|
161
|
-
VERIFY_FAILS_END
|
162
|
-
}
|
163
|
-
|
164
|
-
void testNotEqualInt8s(void)
|
165
|
-
{
|
166
|
-
EXPECT_ABORT_BEGIN
|
167
|
-
TEST_ASSERT_EQUAL_INT8(-127, -126);
|
168
|
-
VERIFY_FAILS_END
|
169
|
-
}
|
170
|
-
|
171
|
-
void testNotEqualInt16s(void)
|
172
|
-
{
|
173
|
-
EXPECT_ABORT_BEGIN
|
174
|
-
TEST_ASSERT_EQUAL_INT16(-16383, -16382);
|
175
|
-
VERIFY_FAILS_END
|
176
|
-
}
|
177
|
-
|
178
|
-
void testNotEqualInt32s(void)
|
179
|
-
{
|
180
|
-
EXPECT_ABORT_BEGIN
|
181
|
-
TEST_ASSERT_EQUAL_INT32(-2147483647, -2147483646);
|
182
|
-
VERIFY_FAILS_END
|
183
|
-
}
|
184
|
-
|
185
|
-
void testNotEqualBits(void)
|
186
|
-
{
|
187
|
-
EXPECT_ABORT_BEGIN
|
188
|
-
TEST_ASSERT_BITS(0xFF00, 0x5555, 0x5A55);
|
189
|
-
VERIFY_FAILS_END
|
190
|
-
}
|
191
|
-
|
192
|
-
void testNotEqualUInts(void)
|
193
|
-
{
|
194
|
-
_UU16 v0, v1;
|
195
|
-
|
196
|
-
v0 = 9000;
|
197
|
-
v1 = 9001;
|
198
|
-
|
199
|
-
EXPECT_ABORT_BEGIN
|
200
|
-
TEST_ASSERT_EQUAL_UINT(v0, v1);
|
201
|
-
VERIFY_FAILS_END
|
202
|
-
}
|
203
|
-
|
204
|
-
void testNotEqualUInt8s(void)
|
205
|
-
{
|
206
|
-
_UU8 v0, v1;
|
207
|
-
|
208
|
-
v0 = 254;
|
209
|
-
v1 = 255;
|
210
|
-
|
211
|
-
EXPECT_ABORT_BEGIN
|
212
|
-
TEST_ASSERT_EQUAL_UINT8(v0, v1);
|
213
|
-
VERIFY_FAILS_END
|
214
|
-
}
|
215
|
-
|
216
|
-
void testNotEqualUInt16s(void)
|
217
|
-
{
|
218
|
-
_UU16 v0, v1;
|
219
|
-
|
220
|
-
v0 = 65535;
|
221
|
-
v1 = 65534;
|
222
|
-
|
223
|
-
EXPECT_ABORT_BEGIN
|
224
|
-
TEST_ASSERT_EQUAL_UINT16(v0, v1);
|
225
|
-
VERIFY_FAILS_END
|
226
|
-
}
|
227
|
-
|
228
|
-
void testNotEqualUInt32s(void)
|
229
|
-
{
|
230
|
-
_UU32 v0, v1;
|
231
|
-
|
232
|
-
v0 = 4294967295;
|
233
|
-
v1 = 4294967294;
|
234
|
-
|
235
|
-
EXPECT_ABORT_BEGIN
|
236
|
-
TEST_ASSERT_EQUAL_UINT32(v0, v1);
|
237
|
-
VERIFY_FAILS_END
|
238
|
-
}
|
239
|
-
|
240
|
-
void testNotEqualHex8s(void)
|
241
|
-
{
|
242
|
-
_UU8 v0, v1;
|
243
|
-
|
244
|
-
v0 = 0x23;
|
245
|
-
v1 = 0x22;
|
246
|
-
|
247
|
-
EXPECT_ABORT_BEGIN
|
248
|
-
TEST_ASSERT_EQUAL_HEX8(v0, v1);
|
249
|
-
VERIFY_FAILS_END
|
250
|
-
}
|
251
|
-
|
252
|
-
void testNotEqualHex8sIfSigned(void)
|
253
|
-
{
|
254
|
-
_US8 v0, v1;
|
255
|
-
|
256
|
-
v0 = -2;
|
257
|
-
v1 = 2;
|
258
|
-
|
259
|
-
EXPECT_ABORT_BEGIN
|
260
|
-
TEST_ASSERT_EQUAL_HEX8(v0, v1);
|
261
|
-
VERIFY_FAILS_END
|
262
|
-
}
|
263
|
-
|
264
|
-
void testNotEqualHex16s(void)
|
265
|
-
{
|
266
|
-
_UU16 v0, v1;
|
267
|
-
|
268
|
-
v0 = 0x1234;
|
269
|
-
v1 = 0x1235;
|
270
|
-
|
271
|
-
EXPECT_ABORT_BEGIN
|
272
|
-
TEST_ASSERT_EQUAL_HEX16(v0, v1);
|
273
|
-
VERIFY_FAILS_END
|
274
|
-
}
|
275
|
-
|
276
|
-
void testNotEqualHex16sIfSigned(void)
|
277
|
-
{
|
278
|
-
_US16 v0, v1;
|
279
|
-
|
280
|
-
v0 = -1024;
|
281
|
-
v1 = -1028;
|
282
|
-
|
283
|
-
EXPECT_ABORT_BEGIN
|
284
|
-
TEST_ASSERT_EQUAL_HEX16(v0, v1);
|
285
|
-
VERIFY_FAILS_END
|
286
|
-
}
|
287
|
-
|
288
|
-
void testNotEqualHex32s(void)
|
289
|
-
{
|
290
|
-
_UU32 v0, v1;
|
291
|
-
|
292
|
-
v0 = 900000;
|
293
|
-
v1 = 900001;
|
294
|
-
|
295
|
-
EXPECT_ABORT_BEGIN
|
296
|
-
TEST_ASSERT_EQUAL_HEX32(v0, v1);
|
297
|
-
VERIFY_FAILS_END
|
298
|
-
}
|
299
|
-
|
300
|
-
void testNotEqualHex32sIfSigned(void)
|
301
|
-
{
|
302
|
-
_US32 v0, v1;
|
303
|
-
|
304
|
-
v0 = -900000;
|
305
|
-
v1 = 900001;
|
306
|
-
|
307
|
-
EXPECT_ABORT_BEGIN
|
308
|
-
TEST_ASSERT_EQUAL_HEX32(v0, v1);
|
309
|
-
VERIFY_FAILS_END
|
310
|
-
}
|
311
|
-
|
312
|
-
void testEqualInts(void)
|
313
|
-
{
|
314
|
-
int v0, v1;
|
315
|
-
int *p0, *p1;
|
316
|
-
|
317
|
-
v0 = 19467;
|
318
|
-
v1 = 19467;
|
319
|
-
p0 = &v0;
|
320
|
-
p1 = &v1;
|
321
|
-
|
322
|
-
TEST_ASSERT_EQUAL_INT(1837, 1837);
|
323
|
-
TEST_ASSERT_EQUAL_INT(-27365, -27365);
|
324
|
-
TEST_ASSERT_EQUAL_INT(v0, v1);
|
325
|
-
TEST_ASSERT_EQUAL_INT(19467, v1);
|
326
|
-
TEST_ASSERT_EQUAL_INT(v0, 19467);
|
327
|
-
TEST_ASSERT_EQUAL_INT(*p0, v1);
|
328
|
-
TEST_ASSERT_EQUAL_INT(*p0, *p1);
|
329
|
-
TEST_ASSERT_EQUAL_INT(*p0, 19467);
|
330
|
-
}
|
331
|
-
|
332
|
-
void testEqualUints(void)
|
333
|
-
{
|
334
|
-
unsigned int v0, v1;
|
335
|
-
unsigned int *p0, *p1;
|
336
|
-
|
337
|
-
v0 = 19467;
|
338
|
-
v1 = 19467;
|
339
|
-
p0 = &v0;
|
340
|
-
p1 = &v1;
|
341
|
-
|
342
|
-
TEST_ASSERT_EQUAL_UINT(1837, 1837);
|
343
|
-
TEST_ASSERT_EQUAL_UINT(v0, v1);
|
344
|
-
TEST_ASSERT_EQUAL_UINT(19467, v1);
|
345
|
-
TEST_ASSERT_EQUAL_UINT(v0, 19467);
|
346
|
-
TEST_ASSERT_EQUAL_UINT(*p0, v1);
|
347
|
-
TEST_ASSERT_EQUAL_UINT(*p0, *p1);
|
348
|
-
TEST_ASSERT_EQUAL_UINT(*p0, 19467);
|
349
|
-
TEST_ASSERT_EQUAL_UINT(60872u, 60872u);
|
350
|
-
}
|
351
|
-
|
352
|
-
void testNotEqual(void)
|
353
|
-
{
|
354
|
-
TEST_ASSERT_NOT_EQUAL(0, 1);
|
355
|
-
TEST_ASSERT_NOT_EQUAL(1, 0);
|
356
|
-
TEST_ASSERT_NOT_EQUAL(100, 101);
|
357
|
-
TEST_ASSERT_NOT_EQUAL(0, -1);
|
358
|
-
TEST_ASSERT_NOT_EQUAL(65535, -65535);
|
359
|
-
TEST_ASSERT_NOT_EQUAL(75, 900);
|
360
|
-
TEST_ASSERT_NOT_EQUAL(-100, -101);
|
361
|
-
}
|
362
|
-
|
363
|
-
void testEqualHex8s(void)
|
364
|
-
{
|
365
|
-
_UU8 v0, v1;
|
366
|
-
_UU8 *p0, *p1;
|
367
|
-
|
368
|
-
v0 = 0x22;
|
369
|
-
v1 = 0x22;
|
370
|
-
p0 = &v0;
|
371
|
-
p1 = &v1;
|
372
|
-
|
373
|
-
TEST_ASSERT_EQUAL_HEX8(0x22, 0x22);
|
374
|
-
TEST_ASSERT_EQUAL_HEX8(v0, v1);
|
375
|
-
TEST_ASSERT_EQUAL_HEX8(0x22, v1);
|
376
|
-
TEST_ASSERT_EQUAL_HEX8(v0, 0x22);
|
377
|
-
TEST_ASSERT_EQUAL_HEX8(*p0, v1);
|
378
|
-
TEST_ASSERT_EQUAL_HEX8(*p0, *p1);
|
379
|
-
TEST_ASSERT_EQUAL_HEX8(*p0, 0x22);
|
380
|
-
}
|
381
|
-
|
382
|
-
void testEqualHex8sNegatives(void)
|
383
|
-
{
|
384
|
-
_UU8 v0, v1;
|
385
|
-
_UU8 *p0, *p1;
|
386
|
-
|
387
|
-
v0 = 0xDD;
|
388
|
-
v1 = 0xDD;
|
389
|
-
p0 = &v0;
|
390
|
-
p1 = &v1;
|
391
|
-
|
392
|
-
TEST_ASSERT_EQUAL_HEX8(0xDD, 0xDD);
|
393
|
-
TEST_ASSERT_EQUAL_HEX8(v0, v1);
|
394
|
-
TEST_ASSERT_EQUAL_HEX8(0xDD, v1);
|
395
|
-
TEST_ASSERT_EQUAL_HEX8(v0, 0xDD);
|
396
|
-
TEST_ASSERT_EQUAL_HEX8(*p0, v1);
|
397
|
-
TEST_ASSERT_EQUAL_HEX8(*p0, *p1);
|
398
|
-
TEST_ASSERT_EQUAL_HEX8(*p0, 0xDD);
|
399
|
-
}
|
400
|
-
|
401
|
-
void testEqualHex16s(void)
|
402
|
-
{
|
403
|
-
_UU16 v0, v1;
|
404
|
-
_UU16 *p0, *p1;
|
405
|
-
|
406
|
-
v0 = 0x9876;
|
407
|
-
v1 = 0x9876;
|
408
|
-
p0 = &v0;
|
409
|
-
p1 = &v1;
|
410
|
-
|
411
|
-
TEST_ASSERT_EQUAL_HEX16(0x9876, 0x9876);
|
412
|
-
TEST_ASSERT_EQUAL_HEX16(v0, v1);
|
413
|
-
TEST_ASSERT_EQUAL_HEX16(0x9876, v1);
|
414
|
-
TEST_ASSERT_EQUAL_HEX16(v0, 0x9876);
|
415
|
-
TEST_ASSERT_EQUAL_HEX16(*p0, v1);
|
416
|
-
TEST_ASSERT_EQUAL_HEX16(*p0, *p1);
|
417
|
-
TEST_ASSERT_EQUAL_HEX16(*p0, 0x9876);
|
418
|
-
}
|
419
|
-
|
420
|
-
void testEqualHex32s(void)
|
421
|
-
{
|
422
|
-
_UU32 v0, v1;
|
423
|
-
_UU32 *p0, *p1;
|
424
|
-
|
425
|
-
v0 = 0x98765432ul;
|
426
|
-
v1 = 0x98765432ul;
|
427
|
-
p0 = &v0;
|
428
|
-
p1 = &v1;
|
429
|
-
|
430
|
-
TEST_ASSERT_EQUAL_HEX32(0x98765432ul, 0x98765432ul);
|
431
|
-
TEST_ASSERT_EQUAL_HEX32(v0, v1);
|
432
|
-
TEST_ASSERT_EQUAL_HEX32(0x98765432ul, v1);
|
433
|
-
TEST_ASSERT_EQUAL_HEX32(v0, 0x98765432ul);
|
434
|
-
TEST_ASSERT_EQUAL_HEX32(*p0, v1);
|
435
|
-
TEST_ASSERT_EQUAL_HEX32(*p0, *p1);
|
436
|
-
TEST_ASSERT_EQUAL_HEX32(*p0, 0x98765432ul);
|
437
|
-
}
|
438
|
-
|
439
|
-
void testEqualBits(void)
|
440
|
-
{
|
441
|
-
_UU32 v0 = 0xFF55AA00;
|
442
|
-
_UU32 v1 = 0x55550000;
|
443
|
-
|
444
|
-
TEST_ASSERT_BITS(v1, v0, 0x55550000);
|
445
|
-
TEST_ASSERT_BITS(v1, v0, 0xFF55CC00);
|
446
|
-
TEST_ASSERT_BITS(0xFFFFFFFF, v0, 0xFF55AA00);
|
447
|
-
TEST_ASSERT_BITS(0xFFFFFFFF, v0, v0);
|
448
|
-
TEST_ASSERT_BITS(0xF0F0F0F0, v0, 0xFC5DAE0F);
|
449
|
-
TEST_ASSERT_BITS_HIGH(v1, v0);
|
450
|
-
TEST_ASSERT_BITS_LOW(0x000055FF, v0);
|
451
|
-
TEST_ASSERT_BIT_HIGH(30, v0);
|
452
|
-
TEST_ASSERT_BIT_LOW(5, v0);
|
453
|
-
}
|
454
|
-
|
455
|
-
void testEqualShorts(void)
|
456
|
-
{
|
457
|
-
short v0, v1;
|
458
|
-
short *p0, *p1;
|
459
|
-
|
460
|
-
v0 = 19467;
|
461
|
-
v1 = 19467;
|
462
|
-
p0 = &v0;
|
463
|
-
p1 = &v1;
|
464
|
-
|
465
|
-
TEST_ASSERT_EQUAL_INT(1837, 1837);
|
466
|
-
TEST_ASSERT_EQUAL_INT(-2987, -2987);
|
467
|
-
TEST_ASSERT_EQUAL_INT(v0, v1);
|
468
|
-
TEST_ASSERT_EQUAL_INT(19467, v1);
|
469
|
-
TEST_ASSERT_EQUAL_INT(v0, 19467);
|
470
|
-
TEST_ASSERT_EQUAL_INT(*p0, v1);
|
471
|
-
TEST_ASSERT_EQUAL_INT(*p0, *p1);
|
472
|
-
TEST_ASSERT_EQUAL_INT(*p0, 19467);
|
473
|
-
}
|
474
|
-
|
475
|
-
void testEqualUShorts(void)
|
476
|
-
{
|
477
|
-
unsigned short v0, v1;
|
478
|
-
unsigned short *p0, *p1;
|
479
|
-
|
480
|
-
v0 = 19467;
|
481
|
-
v1 = 19467;
|
482
|
-
p0 = &v0;
|
483
|
-
p1 = &v1;
|
484
|
-
|
485
|
-
TEST_ASSERT_EQUAL_UINT(1837, 1837);
|
486
|
-
TEST_ASSERT_EQUAL_UINT(2987, 2987);
|
487
|
-
TEST_ASSERT_EQUAL_UINT(v0, v1);
|
488
|
-
TEST_ASSERT_EQUAL_UINT(19467, v1);
|
489
|
-
TEST_ASSERT_EQUAL_UINT(v0, 19467);
|
490
|
-
TEST_ASSERT_EQUAL_UINT(*p0, v1);
|
491
|
-
TEST_ASSERT_EQUAL_UINT(*p0, *p1);
|
492
|
-
TEST_ASSERT_EQUAL_UINT(*p0, 19467);
|
493
|
-
}
|
494
|
-
|
495
|
-
void testEqualChars(void)
|
496
|
-
{
|
497
|
-
signed char v0, v1;
|
498
|
-
signed char *p0, *p1;
|
499
|
-
|
500
|
-
v0 = 109;
|
501
|
-
v1 = 109;
|
502
|
-
p0 = &v0;
|
503
|
-
p1 = &v1;
|
504
|
-
|
505
|
-
TEST_ASSERT_EQUAL_INT(42, 42);
|
506
|
-
TEST_ASSERT_EQUAL_INT(-116, -116);
|
507
|
-
TEST_ASSERT_EQUAL_INT(v0, v1);
|
508
|
-
TEST_ASSERT_EQUAL_INT(109, v1);
|
509
|
-
TEST_ASSERT_EQUAL_INT(v0, 109);
|
510
|
-
TEST_ASSERT_EQUAL_INT(*p0, v1);
|
511
|
-
TEST_ASSERT_EQUAL_INT(*p0, *p1);
|
512
|
-
TEST_ASSERT_EQUAL_INT(*p0, 109);
|
513
|
-
}
|
514
|
-
|
515
|
-
void testEqualUChars(void)
|
516
|
-
{
|
517
|
-
unsigned char v0, v1;
|
518
|
-
unsigned char *p0, *p1;
|
519
|
-
|
520
|
-
v0 = 251;
|
521
|
-
v1 = 251;
|
522
|
-
p0 = &v0;
|
523
|
-
p1 = &v1;
|
524
|
-
|
525
|
-
TEST_ASSERT_EQUAL_INT(42, 42);
|
526
|
-
TEST_ASSERT_EQUAL_INT(v0, v1);
|
527
|
-
TEST_ASSERT_EQUAL_INT(251, v1);
|
528
|
-
TEST_ASSERT_EQUAL_INT(v0, 251);
|
529
|
-
TEST_ASSERT_EQUAL_INT(*p0, v1);
|
530
|
-
TEST_ASSERT_EQUAL_INT(*p0, *p1);
|
531
|
-
TEST_ASSERT_EQUAL_INT(*p0, 251);
|
532
|
-
}
|
533
|
-
|
534
|
-
void testEqualPointers(void)
|
535
|
-
{
|
536
|
-
int v0, v1;
|
537
|
-
int *p0, *p1, *p2;
|
538
|
-
|
539
|
-
v0 = 19467;
|
540
|
-
v1 = 18271;
|
541
|
-
p0 = &v0;
|
542
|
-
p1 = &v1;
|
543
|
-
p2 = &v1;
|
544
|
-
|
545
|
-
TEST_ASSERT_EQUAL_PTR(p0, &v0);
|
546
|
-
TEST_ASSERT_EQUAL_PTR(&v1, p1);
|
547
|
-
TEST_ASSERT_EQUAL_PTR(p2, p1);
|
548
|
-
TEST_ASSERT_EQUAL_PTR(&v0, &v0);
|
549
|
-
}
|
550
|
-
|
551
|
-
void testNotEqualPointers(void)
|
552
|
-
{
|
553
|
-
EXPECT_ABORT_BEGIN
|
554
|
-
TEST_ASSERT_EQUAL_PTR(0x12345678, 0x12345677);
|
555
|
-
VERIFY_FAILS_END
|
556
|
-
}
|
557
|
-
|
558
|
-
void testIntsWithinDelta(void)
|
559
|
-
{
|
560
|
-
TEST_ASSERT_INT_WITHIN(1, 5000, 5001);
|
561
|
-
TEST_ASSERT_INT_WITHIN(5, 5000, 4996);
|
562
|
-
TEST_ASSERT_INT_WITHIN(5, 5000, 5005);
|
563
|
-
TEST_ASSERT_INT_WITHIN(500, 50, -440);
|
564
|
-
|
565
|
-
TEST_ASSERT_INT_WITHIN(2, -1, -1);
|
566
|
-
TEST_ASSERT_INT_WITHIN(5, 1, -1);
|
567
|
-
TEST_ASSERT_INT_WITHIN(5, -1, 1);
|
568
|
-
}
|
569
|
-
|
570
|
-
void testIntsNotWithinDelta(void)
|
571
|
-
{
|
572
|
-
EXPECT_ABORT_BEGIN
|
573
|
-
TEST_ASSERT_INT_WITHIN(5, 5000, 5006);
|
574
|
-
VERIFY_FAILS_END
|
575
|
-
}
|
576
|
-
|
577
|
-
void testUIntsWithinDelta(void)
|
578
|
-
{
|
579
|
-
TEST_ASSERT_UINT_WITHIN(1, 5000, 5001);
|
580
|
-
TEST_ASSERT_UINT_WITHIN(5, 5000, 4996);
|
581
|
-
TEST_ASSERT_UINT_WITHIN(5, 5000, 5005);
|
582
|
-
}
|
583
|
-
|
584
|
-
void testUIntsNotWithinDelta(void)
|
585
|
-
{
|
586
|
-
EXPECT_ABORT_BEGIN
|
587
|
-
TEST_ASSERT_UINT_WITHIN(1, 2147483647u, 2147483649u);
|
588
|
-
VERIFY_FAILS_END
|
589
|
-
}
|
590
|
-
|
591
|
-
void testUIntsNotWithinDeltaEvenThoughASignedIntWouldPassSmallFirst(void)
|
592
|
-
{
|
593
|
-
EXPECT_ABORT_BEGIN
|
594
|
-
TEST_ASSERT_UINT_WITHIN(5, 1, -1);
|
595
|
-
VERIFY_FAILS_END
|
596
|
-
}
|
597
|
-
|
598
|
-
void testUIntsNotWithinDeltaEvenThoughASignedIntWouldPassBigFirst(void)
|
599
|
-
{
|
600
|
-
EXPECT_ABORT_BEGIN
|
601
|
-
TEST_ASSERT_UINT_WITHIN(5, -1, 1);
|
602
|
-
VERIFY_FAILS_END
|
603
|
-
}
|
604
|
-
|
605
|
-
void testHEX32sWithinDelta(void)
|
606
|
-
{
|
607
|
-
TEST_ASSERT_HEX32_WITHIN(1, 5000, 5001);
|
608
|
-
TEST_ASSERT_HEX32_WITHIN(5, 5000, 4996);
|
609
|
-
TEST_ASSERT_HEX32_WITHIN(5, 5000, 5005);
|
610
|
-
}
|
611
|
-
|
612
|
-
void testHEX32sNotWithinDelta(void)
|
613
|
-
{
|
614
|
-
EXPECT_ABORT_BEGIN
|
615
|
-
TEST_ASSERT_HEX32_WITHIN(1, 2147483647u, 2147483649u);
|
616
|
-
VERIFY_FAILS_END
|
617
|
-
}
|
618
|
-
|
619
|
-
void testHEX32sNotWithinDeltaEvenThoughASignedIntWouldPass(void)
|
620
|
-
{
|
621
|
-
EXPECT_ABORT_BEGIN
|
622
|
-
TEST_ASSERT_HEX32_WITHIN(5, 1, -1);
|
623
|
-
VERIFY_FAILS_END
|
624
|
-
}
|
625
|
-
|
626
|
-
void testHEX16sWithinDelta(void)
|
627
|
-
{
|
628
|
-
TEST_ASSERT_HEX16_WITHIN(1, 5000, 5001);
|
629
|
-
TEST_ASSERT_HEX16_WITHIN(5, 5000, 4996);
|
630
|
-
TEST_ASSERT_HEX16_WITHIN(5, 5000, 5005);
|
631
|
-
}
|
632
|
-
|
633
|
-
void testHEX16sNotWithinDelta(void)
|
634
|
-
{
|
635
|
-
EXPECT_ABORT_BEGIN
|
636
|
-
TEST_ASSERT_HEX16_WITHIN(2, 65535, 0);
|
637
|
-
VERIFY_FAILS_END
|
638
|
-
}
|
639
|
-
|
640
|
-
void testHEX8sWithinDelta(void)
|
641
|
-
{
|
642
|
-
TEST_ASSERT_HEX8_WITHIN(1, 254, 255);
|
643
|
-
TEST_ASSERT_HEX8_WITHIN(5, 251, 255);
|
644
|
-
TEST_ASSERT_HEX8_WITHIN(5, 1, 4);
|
645
|
-
}
|
646
|
-
|
647
|
-
void testHEX8sNotWithinDelta(void)
|
648
|
-
{
|
649
|
-
EXPECT_ABORT_BEGIN
|
650
|
-
TEST_ASSERT_HEX8_WITHIN(2, 255, 0);
|
651
|
-
VERIFY_FAILS_END
|
652
|
-
}
|
653
|
-
|
654
|
-
void testEqualStrings(void)
|
655
|
-
{
|
656
|
-
const char *testString = "foo";
|
657
|
-
|
658
|
-
TEST_ASSERT_EQUAL_STRING(testString, testString);
|
659
|
-
TEST_ASSERT_EQUAL_STRING("foo", "foo");
|
660
|
-
TEST_ASSERT_EQUAL_STRING("foo", testString);
|
661
|
-
TEST_ASSERT_EQUAL_STRING(testString, "foo");
|
662
|
-
TEST_ASSERT_EQUAL_STRING("", "");
|
663
|
-
}
|
664
|
-
|
665
|
-
void testEqualStringsWithCarriageReturnsAndLineFeeds(void)
|
666
|
-
{
|
667
|
-
const char *testString = "foo\r\nbar";
|
668
|
-
|
669
|
-
TEST_ASSERT_EQUAL_STRING(testString, testString);
|
670
|
-
TEST_ASSERT_EQUAL_STRING("foo\r\nbar", "foo\r\nbar");
|
671
|
-
TEST_ASSERT_EQUAL_STRING("foo\r\nbar", testString);
|
672
|
-
TEST_ASSERT_EQUAL_STRING(testString, "foo\r\nbar");
|
673
|
-
TEST_ASSERT_EQUAL_STRING("", "");
|
674
|
-
}
|
675
|
-
|
676
|
-
void testNotEqualString1(void)
|
677
|
-
{
|
678
|
-
EXPECT_ABORT_BEGIN
|
679
|
-
TEST_ASSERT_EQUAL_STRING("foo", "bar");
|
680
|
-
VERIFY_FAILS_END
|
681
|
-
}
|
682
|
-
|
683
|
-
void testNotEqualString2(void)
|
684
|
-
{
|
685
|
-
EXPECT_ABORT_BEGIN
|
686
|
-
TEST_ASSERT_EQUAL_STRING("foo", "");
|
687
|
-
VERIFY_FAILS_END
|
688
|
-
}
|
689
|
-
|
690
|
-
void testNotEqualString3(void)
|
691
|
-
{
|
692
|
-
EXPECT_ABORT_BEGIN
|
693
|
-
TEST_ASSERT_EQUAL_STRING("", "bar");
|
694
|
-
VERIFY_FAILS_END
|
695
|
-
}
|
696
|
-
|
697
|
-
void testNotEqualString4(void)
|
698
|
-
{
|
699
|
-
EXPECT_ABORT_BEGIN
|
700
|
-
TEST_ASSERT_EQUAL_STRING("bar\r", "bar\n");
|
701
|
-
VERIFY_FAILS_END
|
702
|
-
}
|
703
|
-
|
704
|
-
void testNotEqualString5(void)
|
705
|
-
{
|
706
|
-
const char str1[] = { 0x41, 0x42, 0x03, 0x00 };
|
707
|
-
const char str2[] = { 0x41, 0x42, 0x04, 0x00 };
|
708
|
-
EXPECT_ABORT_BEGIN
|
709
|
-
TEST_ASSERT_EQUAL_STRING(str1, str2);
|
710
|
-
VERIFY_FAILS_END
|
711
|
-
}
|
712
|
-
|
713
|
-
void testNotEqualString_ExpectedStringIsNull(void)
|
714
|
-
{
|
715
|
-
EXPECT_ABORT_BEGIN
|
716
|
-
TEST_ASSERT_EQUAL_STRING(NULL, "bar");
|
717
|
-
VERIFY_FAILS_END
|
718
|
-
}
|
719
|
-
|
720
|
-
void testNotEqualString_ActualStringIsNull(void)
|
721
|
-
{
|
722
|
-
EXPECT_ABORT_BEGIN
|
723
|
-
TEST_ASSERT_EQUAL_STRING("foo", NULL);
|
724
|
-
VERIFY_FAILS_END
|
725
|
-
}
|
726
|
-
|
727
|
-
void testEqualStringArrays(void)
|
728
|
-
{
|
729
|
-
const char *testStrings[] = { "foo", "boo", "woo", "moo" };
|
730
|
-
const char *expStrings[] = { "foo", "boo", "woo", "zoo" };
|
731
|
-
|
732
|
-
TEST_ASSERT_EQUAL_STRING_ARRAY(expStrings, expStrings, 3);
|
733
|
-
TEST_ASSERT_EQUAL_STRING_ARRAY(expStrings, testStrings, 3);
|
734
|
-
TEST_ASSERT_EQUAL_STRING_ARRAY(expStrings, testStrings, 2);
|
735
|
-
TEST_ASSERT_EQUAL_STRING_ARRAY(expStrings, testStrings, 1);
|
736
|
-
}
|
737
|
-
|
738
|
-
void testNotEqualStringArray1(void)
|
739
|
-
{
|
740
|
-
const char *testStrings[] = { "foo", "boo", "woo", "moo" };
|
741
|
-
const char *expStrings[] = { "foo", "boo", "woo", "zoo" };
|
742
|
-
|
743
|
-
EXPECT_ABORT_BEGIN
|
744
|
-
TEST_ASSERT_EQUAL_STRING_ARRAY(expStrings, testStrings, 4);
|
745
|
-
VERIFY_FAILS_END
|
746
|
-
}
|
747
|
-
|
748
|
-
void testNotEqualStringArray2(void)
|
749
|
-
{
|
750
|
-
const char *testStrings[] = { "zoo", "boo", "woo", "moo" };
|
751
|
-
const char *expStrings[] = { "foo", "boo", "woo", "moo" };
|
752
|
-
|
753
|
-
EXPECT_ABORT_BEGIN
|
754
|
-
TEST_ASSERT_EQUAL_STRING_ARRAY(expStrings, testStrings, 4);
|
755
|
-
VERIFY_FAILS_END
|
756
|
-
}
|
757
|
-
|
758
|
-
void testNotEqualStringArray3(void)
|
759
|
-
{
|
760
|
-
const char *testStrings[] = { "foo", "boo", "woo", NULL };
|
761
|
-
const char *expStrings[] = { "foo", "boo", "woo", "zoo" };
|
762
|
-
|
763
|
-
EXPECT_ABORT_BEGIN
|
764
|
-
TEST_ASSERT_EQUAL_STRING_ARRAY(expStrings, testStrings, 4);
|
765
|
-
VERIFY_FAILS_END
|
766
|
-
}
|
767
|
-
|
768
|
-
void testNotEqualStringArray4(void)
|
769
|
-
{
|
770
|
-
const char *testStrings[] = { "foo", "boo", "woo", "moo" };
|
771
|
-
const char *expStrings[] = { "foo", NULL, "woo", "moo" };
|
772
|
-
|
773
|
-
EXPECT_ABORT_BEGIN
|
774
|
-
TEST_ASSERT_EQUAL_STRING_ARRAY(expStrings, testStrings, 4);
|
775
|
-
VERIFY_FAILS_END
|
776
|
-
}
|
777
|
-
|
778
|
-
void testNotEqualStringArray5(void)
|
779
|
-
{
|
780
|
-
const char **testStrings = NULL;
|
781
|
-
const char *expStrings[] = { "foo", "boo", "woo", "zoo" };
|
782
|
-
|
783
|
-
EXPECT_ABORT_BEGIN
|
784
|
-
TEST_ASSERT_EQUAL_STRING_ARRAY(expStrings, testStrings, 4);
|
785
|
-
VERIFY_FAILS_END
|
786
|
-
}
|
787
|
-
|
788
|
-
void testNotEqualStringArray6(void)
|
789
|
-
{
|
790
|
-
const char *testStrings[] = { "foo", "boo", "woo", "zoo" };
|
791
|
-
const char **expStrings = NULL;
|
792
|
-
|
793
|
-
EXPECT_ABORT_BEGIN
|
794
|
-
TEST_ASSERT_EQUAL_STRING_ARRAY(expStrings, testStrings, 4);
|
795
|
-
VERIFY_FAILS_END
|
796
|
-
}
|
797
|
-
|
798
|
-
void testEqualStringArrayIfBothNulls(void)
|
799
|
-
{
|
800
|
-
const char **testStrings = NULL;
|
801
|
-
const char **expStrings = NULL;
|
802
|
-
|
803
|
-
TEST_ASSERT_EQUAL_STRING_ARRAY(expStrings, testStrings, 4);
|
804
|
-
}
|
805
|
-
|
806
|
-
void testEqualMemory(void)
|
807
|
-
{
|
808
|
-
const char *testString = "whatever";
|
809
|
-
|
810
|
-
TEST_ASSERT_EQUAL_MEMORY(testString, testString, 8);
|
811
|
-
TEST_ASSERT_EQUAL_MEMORY("whatever", "whatever", 8);
|
812
|
-
TEST_ASSERT_EQUAL_MEMORY("whatever", testString, 8);
|
813
|
-
TEST_ASSERT_EQUAL_MEMORY(testString, "whatever", 8);
|
814
|
-
TEST_ASSERT_EQUAL_MEMORY(testString, "whatever", 2);
|
815
|
-
TEST_ASSERT_EQUAL_MEMORY(NULL, NULL, 1);
|
816
|
-
}
|
817
|
-
|
818
|
-
void testNotEqualMemory1(void)
|
819
|
-
{
|
820
|
-
EXPECT_ABORT_BEGIN
|
821
|
-
TEST_ASSERT_EQUAL_MEMORY("foo", "bar", 3);
|
822
|
-
VERIFY_FAILS_END
|
823
|
-
}
|
824
|
-
|
825
|
-
void testNotEqualMemory2(void)
|
826
|
-
{
|
827
|
-
EXPECT_ABORT_BEGIN
|
828
|
-
TEST_ASSERT_EQUAL_MEMORY("fool", "food", 4);
|
829
|
-
VERIFY_FAILS_END
|
830
|
-
}
|
831
|
-
|
832
|
-
void testNotEqualMemory3(void)
|
833
|
-
{
|
834
|
-
EXPECT_ABORT_BEGIN
|
835
|
-
TEST_ASSERT_EQUAL_MEMORY(NULL, "food", 4);
|
836
|
-
VERIFY_FAILS_END
|
837
|
-
}
|
838
|
-
|
839
|
-
void testNotEqualMemory4(void)
|
840
|
-
{
|
841
|
-
EXPECT_ABORT_BEGIN
|
842
|
-
TEST_ASSERT_EQUAL_MEMORY("fool", NULL, 4);
|
843
|
-
VERIFY_FAILS_END
|
844
|
-
}
|
845
|
-
|
846
|
-
void testEqualIntArrays(void)
|
847
|
-
{
|
848
|
-
int p0[] = {1, 8, 987, -2};
|
849
|
-
int p1[] = {1, 8, 987, -2};
|
850
|
-
int p2[] = {1, 8, 987, 2};
|
851
|
-
int p3[] = {1, 500, 600, 700};
|
852
|
-
|
853
|
-
TEST_ASSERT_EQUAL_INT_ARRAY(p0, p0, 1);
|
854
|
-
TEST_ASSERT_EQUAL_INT_ARRAY(p0, p0, 4);
|
855
|
-
TEST_ASSERT_EQUAL_INT_ARRAY(p0, p1, 4);
|
856
|
-
TEST_ASSERT_EQUAL_INT_ARRAY(p0, p2, 3);
|
857
|
-
TEST_ASSERT_EQUAL_INT_ARRAY(p0, p3, 1);
|
858
|
-
}
|
859
|
-
|
860
|
-
void testNotEqualIntArraysNullExpected(void)
|
861
|
-
{
|
862
|
-
int* p0 = NULL;
|
863
|
-
int p1[] = {1, 8, 987, 2};
|
864
|
-
|
865
|
-
EXPECT_ABORT_BEGIN
|
866
|
-
TEST_ASSERT_EQUAL_INT_ARRAY(p0, p1, 4);
|
867
|
-
VERIFY_FAILS_END
|
868
|
-
}
|
869
|
-
|
870
|
-
void testNotEqualIntArraysNullActual(void)
|
871
|
-
{
|
872
|
-
int* p1 = NULL;
|
873
|
-
int p0[] = {1, 8, 987, 2};
|
874
|
-
|
875
|
-
EXPECT_ABORT_BEGIN
|
876
|
-
TEST_ASSERT_EQUAL_INT_ARRAY(p0, p1, 4);
|
877
|
-
VERIFY_FAILS_END
|
878
|
-
}
|
879
|
-
|
880
|
-
void testNotEqualIntArrays1(void)
|
881
|
-
{
|
882
|
-
int p0[] = {1, 8, 987, -2};
|
883
|
-
int p1[] = {1, 8, 987, 2};
|
884
|
-
|
885
|
-
EXPECT_ABORT_BEGIN
|
886
|
-
TEST_ASSERT_EQUAL_INT_ARRAY(p0, p1, 4);
|
887
|
-
VERIFY_FAILS_END
|
888
|
-
}
|
889
|
-
|
890
|
-
void testNotEqualIntArrays2(void)
|
891
|
-
{
|
892
|
-
int p0[] = {1, 8, 987, -2};
|
893
|
-
int p1[] = {2, 8, 987, -2};
|
894
|
-
|
895
|
-
EXPECT_ABORT_BEGIN
|
896
|
-
TEST_ASSERT_EQUAL_INT_ARRAY(p0, p1, 4);
|
897
|
-
VERIFY_FAILS_END
|
898
|
-
}
|
899
|
-
|
900
|
-
void testNotEqualIntArrays3(void)
|
901
|
-
{
|
902
|
-
int p0[] = {1, 8, 987, -2};
|
903
|
-
int p1[] = {1, 8, 986, -2};
|
904
|
-
|
905
|
-
EXPECT_ABORT_BEGIN
|
906
|
-
TEST_ASSERT_EQUAL_INT_ARRAY(p0, p1, 4);
|
907
|
-
VERIFY_FAILS_END
|
908
|
-
}
|
909
|
-
|
910
|
-
void testEqualInt8Arrays(void)
|
911
|
-
{
|
912
|
-
_US8 p0[] = {1, 8, 117, -2};
|
913
|
-
_US8 p1[] = {1, 8, 117, -2};
|
914
|
-
_US8 p2[] = {1, 8, 117, 2};
|
915
|
-
_US8 p3[] = {1, 50, 60, 70};
|
916
|
-
|
917
|
-
TEST_ASSERT_EQUAL_INT8_ARRAY(p0, p0, 1);
|
918
|
-
TEST_ASSERT_EQUAL_INT8_ARRAY(p0, p0, 4);
|
919
|
-
TEST_ASSERT_EQUAL_INT8_ARRAY(p0, p1, 4);
|
920
|
-
TEST_ASSERT_EQUAL_INT8_ARRAY(p0, p2, 3);
|
921
|
-
TEST_ASSERT_EQUAL_INT8_ARRAY(p0, p3, 1);
|
922
|
-
}
|
923
|
-
|
924
|
-
void testNotEqualInt8Arrays(void)
|
925
|
-
{
|
926
|
-
_US8 p0[] = {1, 8, 127, -2};
|
927
|
-
_US8 p1[] = {1, 8, 127, 2};
|
928
|
-
|
929
|
-
EXPECT_ABORT_BEGIN
|
930
|
-
TEST_ASSERT_EQUAL_INT8_ARRAY(p0, p1, 4);
|
931
|
-
VERIFY_FAILS_END
|
932
|
-
}
|
933
|
-
|
934
|
-
void testEqualUIntArrays(void)
|
935
|
-
{
|
936
|
-
unsigned int p0[] = {1, 8, 987, 65132u};
|
937
|
-
unsigned int p1[] = {1, 8, 987, 65132u};
|
938
|
-
unsigned int p2[] = {1, 8, 987, 2};
|
939
|
-
unsigned int p3[] = {1, 500, 600, 700};
|
940
|
-
|
941
|
-
TEST_ASSERT_EQUAL_UINT_ARRAY(p0, p0, 1);
|
942
|
-
TEST_ASSERT_EQUAL_UINT_ARRAY(p0, p0, 4);
|
943
|
-
TEST_ASSERT_EQUAL_UINT_ARRAY(p0, p1, 4);
|
944
|
-
TEST_ASSERT_EQUAL_UINT_ARRAY(p0, p2, 3);
|
945
|
-
TEST_ASSERT_EQUAL_UINT_ARRAY(p0, p3, 1);
|
946
|
-
}
|
947
|
-
|
948
|
-
void testNotEqualUIntArrays1(void)
|
949
|
-
{
|
950
|
-
unsigned int p0[] = {1, 8, 987, 65132u};
|
951
|
-
unsigned int p1[] = {1, 8, 987, 65131u};
|
952
|
-
|
953
|
-
EXPECT_ABORT_BEGIN
|
954
|
-
TEST_ASSERT_EQUAL_UINT_ARRAY(p0, p1, 4);
|
955
|
-
VERIFY_FAILS_END
|
956
|
-
}
|
957
|
-
|
958
|
-
void testNotEqualUIntArrays2(void)
|
959
|
-
{
|
960
|
-
unsigned int p0[] = {1, 8, 987, 65132u};
|
961
|
-
unsigned int p1[] = {2, 8, 987, 65132u};
|
962
|
-
|
963
|
-
EXPECT_ABORT_BEGIN
|
964
|
-
TEST_ASSERT_EQUAL_UINT_ARRAY(p0, p1, 4);
|
965
|
-
VERIFY_FAILS_END
|
966
|
-
}
|
967
|
-
|
968
|
-
void testNotEqualUIntArrays3(void)
|
969
|
-
{
|
970
|
-
unsigned int p0[] = {1, 8, 987, 65132u};
|
971
|
-
unsigned int p1[] = {1, 8, 986, 65132u};
|
972
|
-
|
973
|
-
EXPECT_ABORT_BEGIN
|
974
|
-
TEST_ASSERT_EQUAL_UINT_ARRAY(p0, p1, 4);
|
975
|
-
VERIFY_FAILS_END
|
976
|
-
}
|
977
|
-
|
978
|
-
void testEqualInt16Arrays(void)
|
979
|
-
{
|
980
|
-
_UU16 p0[] = {1, 8, 117, 3};
|
981
|
-
_UU16 p1[] = {1, 8, 117, 3};
|
982
|
-
_UU16 p2[] = {1, 8, 117, 2};
|
983
|
-
_UU16 p3[] = {1, 50, 60, 70};
|
984
|
-
|
985
|
-
TEST_ASSERT_EQUAL_INT16_ARRAY(p0, p0, 1);
|
986
|
-
TEST_ASSERT_EQUAL_INT16_ARRAY(p0, p0, 4);
|
987
|
-
TEST_ASSERT_EQUAL_INT16_ARRAY(p0, p1, 4);
|
988
|
-
TEST_ASSERT_EQUAL_INT16_ARRAY(p0, p2, 3);
|
989
|
-
TEST_ASSERT_EQUAL_INT16_ARRAY(p0, p3, 1);
|
990
|
-
}
|
991
|
-
|
992
|
-
void testNotEqualInt16Arrays(void)
|
993
|
-
{
|
994
|
-
_UU16 p0[] = {1, 8, 127, 3};
|
995
|
-
_UU16 p1[] = {1, 8, 127, 2};
|
996
|
-
|
997
|
-
EXPECT_ABORT_BEGIN
|
998
|
-
TEST_ASSERT_EQUAL_INT16_ARRAY(p0, p1, 4);
|
999
|
-
VERIFY_FAILS_END
|
1000
|
-
}
|
1001
|
-
|
1002
|
-
void testEqualUINT16Arrays(void)
|
1003
|
-
{
|
1004
|
-
unsigned short p0[] = {1, 8, 987, 65132u};
|
1005
|
-
unsigned short p1[] = {1, 8, 987, 65132u};
|
1006
|
-
unsigned short p2[] = {1, 8, 987, 2};
|
1007
|
-
unsigned short p3[] = {1, 500, 600, 700};
|
1008
|
-
|
1009
|
-
TEST_ASSERT_EQUAL_UINT16_ARRAY(p0, p0, 1);
|
1010
|
-
TEST_ASSERT_EQUAL_UINT16_ARRAY(p0, p0, 4);
|
1011
|
-
TEST_ASSERT_EQUAL_UINT16_ARRAY(p0, p1, 4);
|
1012
|
-
TEST_ASSERT_EQUAL_UINT16_ARRAY(p0, p2, 3);
|
1013
|
-
TEST_ASSERT_EQUAL_UINT16_ARRAY(p0, p3, 1);
|
1014
|
-
}
|
1015
|
-
|
1016
|
-
void testNotEqualUINT16Arrays1(void)
|
1017
|
-
{
|
1018
|
-
unsigned short p0[] = {1, 8, 987, 65132u};
|
1019
|
-
unsigned short p1[] = {1, 8, 987, 65131u};
|
1020
|
-
|
1021
|
-
EXPECT_ABORT_BEGIN
|
1022
|
-
TEST_ASSERT_EQUAL_UINT16_ARRAY(p0, p1, 4);
|
1023
|
-
VERIFY_FAILS_END
|
1024
|
-
}
|
1025
|
-
|
1026
|
-
void testNotEqualUINT16Arrays2(void)
|
1027
|
-
{
|
1028
|
-
unsigned short p0[] = {1, 8, 987, 65132u};
|
1029
|
-
unsigned short p1[] = {2, 8, 987, 65132u};
|
1030
|
-
|
1031
|
-
EXPECT_ABORT_BEGIN
|
1032
|
-
TEST_ASSERT_EQUAL_UINT16_ARRAY(p0, p1, 4);
|
1033
|
-
VERIFY_FAILS_END
|
1034
|
-
}
|
1035
|
-
|
1036
|
-
void testNotEqualUINT16Arrays3(void)
|
1037
|
-
{
|
1038
|
-
unsigned short p0[] = {1, 8, 987, 65132u};
|
1039
|
-
unsigned short p1[] = {1, 8, 986, 65132u};
|
1040
|
-
|
1041
|
-
EXPECT_ABORT_BEGIN
|
1042
|
-
TEST_ASSERT_EQUAL_UINT16_ARRAY(p0, p1, 4);
|
1043
|
-
VERIFY_FAILS_END
|
1044
|
-
}
|
1045
|
-
|
1046
|
-
void testEqualHEXArrays(void)
|
1047
|
-
{
|
1048
|
-
unsigned int p0[] = {1, 8, 987, 65132u};
|
1049
|
-
unsigned int p1[] = {1, 8, 987, 65132u};
|
1050
|
-
unsigned int p2[] = {1, 8, 987, 2};
|
1051
|
-
unsigned int p3[] = {1, 500, 600, 700};
|
1052
|
-
|
1053
|
-
TEST_ASSERT_EQUAL_HEX_ARRAY(p0, p0, 1);
|
1054
|
-
TEST_ASSERT_EQUAL_HEX_ARRAY(p0, p0, 4);
|
1055
|
-
TEST_ASSERT_EQUAL_HEX_ARRAY(p0, p1, 4);
|
1056
|
-
TEST_ASSERT_EQUAL_HEX32_ARRAY(p0, p2, 3);
|
1057
|
-
TEST_ASSERT_EQUAL_HEX32_ARRAY(p0, p3, 1);
|
1058
|
-
}
|
1059
|
-
|
1060
|
-
void testNotEqualHEXArrays1(void)
|
1061
|
-
{
|
1062
|
-
unsigned int p0[] = {1, 8, 987, 65132u};
|
1063
|
-
unsigned int p1[] = {1, 8, 987, 65131u};
|
1064
|
-
|
1065
|
-
EXPECT_ABORT_BEGIN
|
1066
|
-
TEST_ASSERT_EQUAL_HEX32_ARRAY(p0, p1, 4);
|
1067
|
-
VERIFY_FAILS_END
|
1068
|
-
}
|
1069
|
-
|
1070
|
-
void testNotEqualHEXArrays2(void)
|
1071
|
-
{
|
1072
|
-
unsigned int p0[] = {1, 8, 987, 65132u};
|
1073
|
-
unsigned int p1[] = {2, 8, 987, 65132u};
|
1074
|
-
|
1075
|
-
EXPECT_ABORT_BEGIN
|
1076
|
-
TEST_ASSERT_EQUAL_HEX32_ARRAY(p0, p1, 4);
|
1077
|
-
VERIFY_FAILS_END
|
1078
|
-
}
|
1079
|
-
|
1080
|
-
void testNotEqualHEXArrays3(void)
|
1081
|
-
{
|
1082
|
-
unsigned int p0[] = {1, 8, 987, 65132u};
|
1083
|
-
unsigned int p1[] = {1, 8, 986, 65132u};
|
1084
|
-
|
1085
|
-
EXPECT_ABORT_BEGIN
|
1086
|
-
TEST_ASSERT_EQUAL_HEX_ARRAY(p0, p1, 4);
|
1087
|
-
VERIFY_FAILS_END
|
1088
|
-
}
|
1089
|
-
|
1090
|
-
void testEqualHEX16Arrays(void)
|
1091
|
-
{
|
1092
|
-
unsigned short p0[] = {1, 8, 987, 65132u};
|
1093
|
-
unsigned short p1[] = {1, 8, 987, 65132u};
|
1094
|
-
unsigned short p2[] = {1, 8, 987, 2};
|
1095
|
-
unsigned short p3[] = {1, 500, 600, 700};
|
1096
|
-
|
1097
|
-
TEST_ASSERT_EQUAL_HEX16_ARRAY(p0, p0, 1);
|
1098
|
-
TEST_ASSERT_EQUAL_HEX16_ARRAY(p0, p0, 4);
|
1099
|
-
TEST_ASSERT_EQUAL_HEX16_ARRAY(p0, p1, 4);
|
1100
|
-
TEST_ASSERT_EQUAL_HEX16_ARRAY(p0, p2, 3);
|
1101
|
-
TEST_ASSERT_EQUAL_HEX16_ARRAY(p0, p3, 1);
|
1102
|
-
}
|
1103
|
-
|
1104
|
-
void testNotEqualHEX16Arrays1(void)
|
1105
|
-
{
|
1106
|
-
unsigned short p0[] = {1, 8, 987, 65132u};
|
1107
|
-
unsigned short p1[] = {1, 8, 987, 65131u};
|
1108
|
-
|
1109
|
-
EXPECT_ABORT_BEGIN
|
1110
|
-
TEST_ASSERT_EQUAL_HEX16_ARRAY(p0, p1, 4);
|
1111
|
-
VERIFY_FAILS_END
|
1112
|
-
}
|
1113
|
-
|
1114
|
-
void testNotEqualHEX16Arrays2(void)
|
1115
|
-
{
|
1116
|
-
unsigned short p0[] = {1, 8, 987, 65132u};
|
1117
|
-
unsigned short p1[] = {2, 8, 987, 65132u};
|
1118
|
-
|
1119
|
-
EXPECT_ABORT_BEGIN
|
1120
|
-
TEST_ASSERT_EQUAL_HEX16_ARRAY(p0, p1, 4);
|
1121
|
-
VERIFY_FAILS_END
|
1122
|
-
}
|
1123
|
-
|
1124
|
-
void testNotEqualHEX16Arrays3(void)
|
1125
|
-
{
|
1126
|
-
unsigned short p0[] = {1, 8, 987, 65132u};
|
1127
|
-
unsigned short p1[] = {1, 8, 986, 65132u};
|
1128
|
-
|
1129
|
-
EXPECT_ABORT_BEGIN
|
1130
|
-
TEST_ASSERT_EQUAL_HEX16_ARRAY(p0, p1, 4);
|
1131
|
-
VERIFY_FAILS_END
|
1132
|
-
}
|
1133
|
-
|
1134
|
-
void testEqualHEX8Arrays(void)
|
1135
|
-
{
|
1136
|
-
unsigned short p0[] = {1, 8, 254u, 123};
|
1137
|
-
unsigned short p1[] = {1, 8, 254u, 123};
|
1138
|
-
unsigned short p2[] = {1, 8, 254u, 2};
|
1139
|
-
unsigned short p3[] = {1, 23, 25, 26};
|
1140
|
-
|
1141
|
-
TEST_ASSERT_EQUAL_HEX8_ARRAY(p0, p0, 1);
|
1142
|
-
TEST_ASSERT_EQUAL_HEX8_ARRAY(p0, p0, 4);
|
1143
|
-
TEST_ASSERT_EQUAL_HEX8_ARRAY(p0, p1, 4);
|
1144
|
-
TEST_ASSERT_EQUAL_HEX8_ARRAY(p0, p2, 3);
|
1145
|
-
TEST_ASSERT_EQUAL_HEX8_ARRAY(p0, p3, 1);
|
1146
|
-
}
|
1147
|
-
|
1148
|
-
void testNotEqualHEX8Arrays1(void)
|
1149
|
-
{
|
1150
|
-
unsigned char p0[] = {1, 8, 254u, 253u};
|
1151
|
-
unsigned char p1[] = {1, 8, 254u, 252u};
|
1152
|
-
|
1153
|
-
EXPECT_ABORT_BEGIN
|
1154
|
-
TEST_ASSERT_EQUAL_HEX8_ARRAY(p0, p1, 4);
|
1155
|
-
VERIFY_FAILS_END
|
1156
|
-
}
|
1157
|
-
|
1158
|
-
void testNotEqualHEX8Arrays2(void)
|
1159
|
-
{
|
1160
|
-
unsigned char p0[] = {1, 8, 254u, 253u};
|
1161
|
-
unsigned char p1[] = {2, 8, 254u, 253u};
|
1162
|
-
|
1163
|
-
EXPECT_ABORT_BEGIN
|
1164
|
-
TEST_ASSERT_EQUAL_HEX8_ARRAY(p0, p1, 4);
|
1165
|
-
VERIFY_FAILS_END
|
1166
|
-
}
|
1167
|
-
|
1168
|
-
void testNotEqualHEX8Arrays3(void)
|
1169
|
-
{
|
1170
|
-
unsigned char p0[] = {1, 8, 254u, 253u};
|
1171
|
-
unsigned char p1[] = {1, 8, 255u, 253u};
|
1172
|
-
|
1173
|
-
EXPECT_ABORT_BEGIN
|
1174
|
-
TEST_ASSERT_EQUAL_HEX8_ARRAY(p0, p1, 4);
|
1175
|
-
VERIFY_FAILS_END
|
1176
|
-
}
|
1177
|
-
|
1178
|
-
void testEqualMemoryArrays(void)
|
1179
|
-
{
|
1180
|
-
int p0[] = {1, 8, 987, -2};
|
1181
|
-
int p1[] = {1, 8, 987, -2};
|
1182
|
-
int p2[] = {1, 8, 987, 2};
|
1183
|
-
int p3[] = {1, 500, 600, 700};
|
1184
|
-
|
1185
|
-
TEST_ASSERT_EQUAL_MEMORY_ARRAY(p0, p0, 4, 1);
|
1186
|
-
TEST_ASSERT_EQUAL_MEMORY_ARRAY(p0, p0, 4, 4);
|
1187
|
-
TEST_ASSERT_EQUAL_MEMORY_ARRAY(p0, p1, 4, 4);
|
1188
|
-
TEST_ASSERT_EQUAL_MEMORY_ARRAY(p0, p2, 4, 3);
|
1189
|
-
TEST_ASSERT_EQUAL_MEMORY_ARRAY(p0, p3, 4, 1);
|
1190
|
-
}
|
1191
|
-
|
1192
|
-
void testNotEqualMemoryArraysExpectedNull(void)
|
1193
|
-
{
|
1194
|
-
int* p0 = NULL;
|
1195
|
-
int p1[] = {1, 8, 987, 2};
|
1196
|
-
|
1197
|
-
EXPECT_ABORT_BEGIN
|
1198
|
-
TEST_ASSERT_EQUAL_MEMORY_ARRAY(p0, p1, 4, 4);
|
1199
|
-
VERIFY_FAILS_END
|
1200
|
-
}
|
1201
|
-
|
1202
|
-
void testNotEqualMemoryArraysActualNull(void)
|
1203
|
-
{
|
1204
|
-
int p0[] = {1, 8, 987, -2};
|
1205
|
-
int* p1 = NULL;
|
1206
|
-
|
1207
|
-
EXPECT_ABORT_BEGIN
|
1208
|
-
TEST_ASSERT_EQUAL_MEMORY_ARRAY(p0, p1, 4, 4);
|
1209
|
-
VERIFY_FAILS_END
|
1210
|
-
}
|
1211
|
-
|
1212
|
-
void testNotEqualMemoryArrays1(void)
|
1213
|
-
{
|
1214
|
-
int p0[] = {1, 8, 987, -2};
|
1215
|
-
int p1[] = {1, 8, 987, 2};
|
1216
|
-
|
1217
|
-
EXPECT_ABORT_BEGIN
|
1218
|
-
TEST_ASSERT_EQUAL_MEMORY_ARRAY(p0, p1, 4, 4);
|
1219
|
-
VERIFY_FAILS_END
|
1220
|
-
}
|
1221
|
-
|
1222
|
-
void testNotEqualMemoryArrays2(void)
|
1223
|
-
{
|
1224
|
-
int p0[] = {1, 8, 987, -2};
|
1225
|
-
int p1[] = {2, 8, 987, -2};
|
1226
|
-
|
1227
|
-
EXPECT_ABORT_BEGIN
|
1228
|
-
TEST_ASSERT_EQUAL_MEMORY_ARRAY(p0, p1, 4, 4);
|
1229
|
-
VERIFY_FAILS_END
|
1230
|
-
}
|
1231
|
-
|
1232
|
-
void testNotEqualMemoryArrays3(void)
|
1233
|
-
{
|
1234
|
-
int p0[] = {1, 8, 987, -2};
|
1235
|
-
int p1[] = {1, 8, 986, -2};
|
1236
|
-
|
1237
|
-
EXPECT_ABORT_BEGIN
|
1238
|
-
TEST_ASSERT_EQUAL_MEMORY_ARRAY(p0, p1, 4, 4);
|
1239
|
-
VERIFY_FAILS_END
|
1240
|
-
}
|
1241
|
-
|
1242
|
-
void testProtection(void)
|
1243
|
-
{
|
1244
|
-
volatile int mask = 0;
|
1245
|
-
|
1246
|
-
if (TEST_PROTECT())
|
1247
|
-
{
|
1248
|
-
mask |= 1;
|
1249
|
-
TEST_ABORT();
|
1250
|
-
}
|
1251
|
-
else
|
1252
|
-
{
|
1253
|
-
Unity.CurrentTestFailed = 0;
|
1254
|
-
mask |= 2;
|
1255
|
-
}
|
1256
|
-
|
1257
|
-
TEST_ASSERT_EQUAL(3, mask);
|
1258
|
-
}
|
1259
|
-
|
1260
|
-
void testIgnoredAndThenFailInTearDown(void)
|
1261
|
-
{
|
1262
|
-
SetToOneToFailInTearDown = 1;
|
1263
|
-
TEST_IGNORE();
|
1264
|
-
}
|
1265
|
-
|
1266
|
-
// ===================== THESE TEST WILL RUN IF YOUR CONFIG INCLUDES 64 BIT SUPPORT ==================
|
1267
|
-
#ifdef UNITY_SUPPORT_64
|
1268
|
-
|
1269
|
-
void testEqualHex64s(void)
|
1270
|
-
{
|
1271
|
-
_UU64 v0, v1;
|
1272
|
-
_UU64 *p0, *p1;
|
1273
|
-
|
1274
|
-
v0 = 0x9876543201234567;
|
1275
|
-
v1 = 0x9876543201234567;
|
1276
|
-
p0 = &v0;
|
1277
|
-
p1 = &v1;
|
1278
|
-
|
1279
|
-
TEST_ASSERT_EQUAL_HEX64(0x9876543201234567, 0x9876543201234567);
|
1280
|
-
TEST_ASSERT_EQUAL_HEX64(v0, v1);
|
1281
|
-
TEST_ASSERT_EQUAL_HEX64(0x9876543201234567, v1);
|
1282
|
-
TEST_ASSERT_EQUAL_HEX64(v0, 0x9876543201234567);
|
1283
|
-
TEST_ASSERT_EQUAL_HEX64(*p0, v1);
|
1284
|
-
TEST_ASSERT_EQUAL_HEX64(*p0, *p1);
|
1285
|
-
TEST_ASSERT_EQUAL_HEX64(*p0, 0x9876543201234567);
|
1286
|
-
}
|
1287
|
-
|
1288
|
-
void testNotEqualHex64s(void)
|
1289
|
-
{
|
1290
|
-
_UU64 v0, v1;
|
1291
|
-
|
1292
|
-
v0 = 9000000000;
|
1293
|
-
v1 = 9100000000;
|
1294
|
-
|
1295
|
-
EXPECT_ABORT_BEGIN
|
1296
|
-
TEST_ASSERT_EQUAL_HEX64(v0, v1);
|
1297
|
-
VERIFY_FAILS_END
|
1298
|
-
}
|
1299
|
-
|
1300
|
-
void testNotEqualHex64sIfSigned(void)
|
1301
|
-
{
|
1302
|
-
_US64 v0, v1;
|
1303
|
-
|
1304
|
-
v0 = -9000000000;
|
1305
|
-
v1 = 9000000000;
|
1306
|
-
|
1307
|
-
EXPECT_ABORT_BEGIN
|
1308
|
-
TEST_ASSERT_EQUAL_HEX64(v0, v1);
|
1309
|
-
VERIFY_FAILS_END
|
1310
|
-
}
|
1311
|
-
|
1312
|
-
void testHEX64sWithinDelta(void)
|
1313
|
-
{
|
1314
|
-
TEST_ASSERT_HEX64_WITHIN(1, 0x7FFFFFFFFFFFFFFF,0x7FFFFFFFFFFFFFFE);
|
1315
|
-
TEST_ASSERT_HEX64_WITHIN(5, 5000, 4996);
|
1316
|
-
TEST_ASSERT_HEX64_WITHIN(5, 5000, 5005);
|
1317
|
-
}
|
1318
|
-
|
1319
|
-
void testHEX64sNotWithinDelta(void)
|
1320
|
-
{
|
1321
|
-
EXPECT_ABORT_BEGIN
|
1322
|
-
TEST_ASSERT_HEX64_WITHIN(1, 0x7FFFFFFFFFFFFFFF, 0x7FFFFFFFFFFFFFFC);
|
1323
|
-
VERIFY_FAILS_END
|
1324
|
-
}
|
1325
|
-
|
1326
|
-
void testHEX64sNotWithinDeltaEvenThoughASignedIntWouldPass(void)
|
1327
|
-
{
|
1328
|
-
EXPECT_ABORT_BEGIN
|
1329
|
-
TEST_ASSERT_HEX64_WITHIN(5, 1, -1);
|
1330
|
-
VERIFY_FAILS_END
|
1331
|
-
}
|
1332
|
-
|
1333
|
-
void testEqualHEX64Arrays(void)
|
1334
|
-
{
|
1335
|
-
_UU64 p0[] = {1, 8, 987, 65132u};
|
1336
|
-
_UU64 p1[] = {1, 8, 987, 65132u};
|
1337
|
-
_UU64 p2[] = {1, 8, 987, 2};
|
1338
|
-
_UU64 p3[] = {1, 500, 600, 700};
|
1339
|
-
|
1340
|
-
TEST_ASSERT_EQUAL_HEX64_ARRAY(p0, p0, 1);
|
1341
|
-
TEST_ASSERT_EQUAL_HEX64_ARRAY(p0, p0, 4);
|
1342
|
-
TEST_ASSERT_EQUAL_HEX64_ARRAY(p0, p1, 4);
|
1343
|
-
TEST_ASSERT_EQUAL_HEX64_ARRAY(p0, p2, 3);
|
1344
|
-
TEST_ASSERT_EQUAL_HEX64_ARRAY(p0, p3, 1);
|
1345
|
-
}
|
1346
|
-
|
1347
|
-
void testNotEqualHEX64Arrays1(void)
|
1348
|
-
{
|
1349
|
-
_UU64 p0[] = {1, 8, 987, 65132u};
|
1350
|
-
_UU64 p1[] = {1, 8, 987, 65131u};
|
1351
|
-
|
1352
|
-
EXPECT_ABORT_BEGIN
|
1353
|
-
TEST_ASSERT_EQUAL_HEX64_ARRAY(p0, p1, 4);
|
1354
|
-
VERIFY_FAILS_END
|
1355
|
-
}
|
1356
|
-
|
1357
|
-
void testNotEqualHEX64Arrays2(void)
|
1358
|
-
{
|
1359
|
-
_UU64 p0[] = {1, 8, 987, 65132u};
|
1360
|
-
_UU64 p1[] = {2, 8, 987, 65132u};
|
1361
|
-
|
1362
|
-
EXPECT_ABORT_BEGIN
|
1363
|
-
TEST_ASSERT_EQUAL_HEX64_ARRAY(p0, p1, 4);
|
1364
|
-
VERIFY_FAILS_END
|
1365
|
-
}
|
1366
|
-
|
1367
|
-
#endif //64-bit SUPPORT
|
1368
|
-
|
1369
|
-
// ===================== THESE TEST WILL RUN IF YOUR CONFIG INCLUDES FLOAT SUPPORT ==================
|
1370
|
-
#ifndef UNITY_EXCLUDE_FLOAT
|
1371
|
-
|
1372
|
-
void testFloatsWithinDelta(void)
|
1373
|
-
{
|
1374
|
-
TEST_ASSERT_FLOAT_WITHIN(0.00003f, 187245.03485f, 187245.03488f);
|
1375
|
-
TEST_ASSERT_FLOAT_WITHIN(1.0f, 187245.0f, 187246.0f);
|
1376
|
-
TEST_ASSERT_FLOAT_WITHIN(0.05f, 9273.2549f, 9273.2049f);
|
1377
|
-
TEST_ASSERT_FLOAT_WITHIN(0.007f, -726.93724f, -726.94424f);
|
1378
|
-
}
|
1379
|
-
|
1380
|
-
void testFloatsNotWithinDelta(void)
|
1381
|
-
{
|
1382
|
-
EXPECT_ABORT_BEGIN
|
1383
|
-
TEST_ASSERT_FLOAT_WITHIN(0.05f, 9273.2649f, 9273.2049f);
|
1384
|
-
VERIFY_FAILS_END
|
1385
|
-
}
|
1386
|
-
|
1387
|
-
void testFloatsEqual(void)
|
1388
|
-
{
|
1389
|
-
TEST_ASSERT_EQUAL_FLOAT(187245.0f, 187246.0f);
|
1390
|
-
TEST_ASSERT_EQUAL_FLOAT(18724.5f, 18724.6f);
|
1391
|
-
TEST_ASSERT_EQUAL_FLOAT(9273.2549f, 9273.2599f);
|
1392
|
-
TEST_ASSERT_EQUAL_FLOAT(-726.93724f, -726.9374f);
|
1393
|
-
}
|
1394
|
-
|
1395
|
-
void testFloatsNotEqual(void)
|
1396
|
-
{
|
1397
|
-
EXPECT_ABORT_BEGIN
|
1398
|
-
TEST_ASSERT_EQUAL_FLOAT(9273.9649f, 9273.0049f);
|
1399
|
-
VERIFY_FAILS_END
|
1400
|
-
}
|
1401
|
-
|
1402
|
-
void testFloatsNotEqualNegative1(void)
|
1403
|
-
{
|
1404
|
-
EXPECT_ABORT_BEGIN
|
1405
|
-
TEST_ASSERT_EQUAL_FLOAT(-9273.9649f, -9273.0049f);
|
1406
|
-
VERIFY_FAILS_END
|
1407
|
-
}
|
1408
|
-
|
1409
|
-
void testFloatsNotEqualNegative2(void)
|
1410
|
-
{
|
1411
|
-
EXPECT_ABORT_BEGIN
|
1412
|
-
TEST_ASSERT_EQUAL_FLOAT(-9273.0049f, -9273.9649f);
|
1413
|
-
VERIFY_FAILS_END
|
1414
|
-
}
|
1415
|
-
|
1416
|
-
void testEqualFloatArrays(void)
|
1417
|
-
{
|
1418
|
-
float p0[] = {1.0, -8.0, 25.4, -0.123};
|
1419
|
-
float p1[] = {1.0, -8.0, 25.4, -0.123};
|
1420
|
-
float p2[] = {1.0, -8.0, 25.4, -0.2};
|
1421
|
-
float p3[] = {1.0, -23.0, 25.0, -0.26};
|
1422
|
-
|
1423
|
-
TEST_ASSERT_EQUAL_FLOAT_ARRAY(p0, p0, 1);
|
1424
|
-
TEST_ASSERT_EQUAL_FLOAT_ARRAY(p0, p0, 4);
|
1425
|
-
TEST_ASSERT_EQUAL_FLOAT_ARRAY(p0, p1, 4);
|
1426
|
-
TEST_ASSERT_EQUAL_FLOAT_ARRAY(p0, p2, 3);
|
1427
|
-
TEST_ASSERT_EQUAL_FLOAT_ARRAY(p0, p3, 1);
|
1428
|
-
}
|
1429
|
-
|
1430
|
-
void testNotEqualFloatArraysExpectedNull(void)
|
1431
|
-
{
|
1432
|
-
float* p0 = NULL;
|
1433
|
-
float p1[] = {1.0, 8.0, 25.4, 0.252};
|
1434
|
-
|
1435
|
-
EXPECT_ABORT_BEGIN
|
1436
|
-
TEST_ASSERT_EQUAL_FLOAT_ARRAY(p0, p1, 4);
|
1437
|
-
VERIFY_FAILS_END
|
1438
|
-
}
|
1439
|
-
|
1440
|
-
void testNotEqualFloatArraysActualNull(void)
|
1441
|
-
{
|
1442
|
-
float p0[] = {1.0, 8.0, 25.4, 0.253};
|
1443
|
-
float* p1 = NULL;
|
1444
|
-
|
1445
|
-
EXPECT_ABORT_BEGIN
|
1446
|
-
TEST_ASSERT_EQUAL_FLOAT_ARRAY(p0, p1, 4);
|
1447
|
-
VERIFY_FAILS_END
|
1448
|
-
}
|
1449
|
-
|
1450
|
-
void testNotEqualFloatArrays1(void)
|
1451
|
-
{
|
1452
|
-
float p0[] = {1.0, 8.0, 25.4, 0.253};
|
1453
|
-
float p1[] = {1.0, 8.0, 25.4, 0.252};
|
1454
|
-
|
1455
|
-
EXPECT_ABORT_BEGIN
|
1456
|
-
TEST_ASSERT_EQUAL_FLOAT_ARRAY(p0, p1, 4);
|
1457
|
-
VERIFY_FAILS_END
|
1458
|
-
}
|
1459
|
-
|
1460
|
-
void testNotEqualFloatArrays2(void)
|
1461
|
-
{
|
1462
|
-
float p0[] = {1.0, 8.0, 25.4, 0.253};
|
1463
|
-
float p1[] = {2.0, 8.0, 25.4, 0.253};
|
1464
|
-
|
1465
|
-
EXPECT_ABORT_BEGIN
|
1466
|
-
TEST_ASSERT_EQUAL_FLOAT_ARRAY(p0, p1, 4);
|
1467
|
-
VERIFY_FAILS_END
|
1468
|
-
}
|
1469
|
-
|
1470
|
-
void testNotEqualFloatArrays3(void)
|
1471
|
-
{
|
1472
|
-
float p0[] = {1.0, 8.0, 25.4, 0.253};
|
1473
|
-
float p1[] = {1.0, 8.0, 25.5, 0.253};
|
1474
|
-
|
1475
|
-
EXPECT_ABORT_BEGIN
|
1476
|
-
TEST_ASSERT_EQUAL_FLOAT_ARRAY(p0, p1, 4);
|
1477
|
-
VERIFY_FAILS_END
|
1478
|
-
}
|
1479
|
-
|
1480
|
-
void testNotEqualFloatArraysNegative1(void)
|
1481
|
-
{
|
1482
|
-
float p0[] = {-1.0, -8.0, -25.4, -0.253};
|
1483
|
-
float p1[] = {-1.0, -8.0, -25.4, -0.252};
|
1484
|
-
|
1485
|
-
EXPECT_ABORT_BEGIN
|
1486
|
-
TEST_ASSERT_EQUAL_FLOAT_ARRAY(p0, p1, 4);
|
1487
|
-
VERIFY_FAILS_END
|
1488
|
-
}
|
1489
|
-
|
1490
|
-
void testNotEqualFloatArraysNegative2(void)
|
1491
|
-
{
|
1492
|
-
float p0[] = {-1.0, -8.0, -25.4, -0.253};
|
1493
|
-
float p1[] = {-2.0, -8.0, -25.4, -0.253};
|
1494
|
-
|
1495
|
-
EXPECT_ABORT_BEGIN
|
1496
|
-
TEST_ASSERT_EQUAL_FLOAT_ARRAY(p0, p1, 4);
|
1497
|
-
VERIFY_FAILS_END
|
1498
|
-
}
|
1499
|
-
|
1500
|
-
void testNotEqualFloatArraysNegative3(void)
|
1501
|
-
{
|
1502
|
-
float p0[] = {-1.0, -8.0, -25.4, -0.253};
|
1503
|
-
float p1[] = {-1.0, -8.0, -25.5, -0.253};
|
1504
|
-
|
1505
|
-
EXPECT_ABORT_BEGIN
|
1506
|
-
TEST_ASSERT_EQUAL_FLOAT_ARRAY(p0, p1, 4);
|
1507
|
-
VERIFY_FAILS_END
|
1508
|
-
}
|
1509
|
-
|
1510
|
-
#endif //FLOAT SUPPORT
|