ceedling 0.28.1 → 0.28.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/bin/ceedling +3 -2
- data/docs/CeedlingPacket.md +4 -0
- data/lib/ceedling/configurator_builder.rb +26 -0
- data/lib/ceedling/configurator_setup.rb +1 -0
- data/lib/ceedling/file_finder.rb +7 -1
- data/lib/ceedling/flaginator.rb +28 -8
- data/lib/ceedling/rules_release.rake +3 -3
- data/lib/ceedling/rules_release_deep_dependencies.rake +1 -1
- data/lib/ceedling/version.rb +3 -3
- data/plugins/gcov/config/defaults.yml +4 -3
- data/plugins/module_generator/lib/module_generator.rb +1 -1
- data/plugins/subprojects/README.md +63 -63
- data/plugins/subprojects/config/defaults.yml +33 -33
- data/plugins/subprojects/lib/subprojects.rb +92 -92
- data/plugins/subprojects/subprojects.rake +78 -78
- data/vendor/cmock/docs/CMock_Summary.md +75 -60
- data/vendor/cmock/lib/cmock_config.rb +1 -0
- data/vendor/cmock/lib/cmock_generator.rb +13 -1
- data/vendor/cmock/lib/cmock_generator_plugin_expect.rb +1 -1
- data/vendor/cmock/lib/cmock_generator_plugin_expect_any_args.rb +0 -14
- data/vendor/cmock/lib/cmock_generator_plugin_ignore.rb +4 -0
- data/vendor/cmock/lib/cmock_generator_utils.rb +4 -5
- data/vendor/cmock/lib/cmock_header_parser.rb +26 -28
- data/vendor/cmock/lib/cmock_plugin_manager.rb +27 -12
- data/vendor/cmock/scripts/create_makefile.rb +5 -4
- data/vendor/cmock/scripts/test_summary.rb +1 -1
- data/vendor/cmock/test/system/test_interactions/ignore_and_return.yml +167 -0
- data/vendor/cmock/test/system/test_interactions/ignore_strict_mock_calling.yml +37 -0
- data/vendor/cmock/test/unit/cmock_generator_main_test.rb +14 -1
- data/vendor/cmock/test/unit/cmock_generator_plugin_expect_b_test.rb +25 -24
- data/vendor/cmock/test/unit/cmock_header_parser_test.rb +101 -3
- data/vendor/unity/README.md +11 -0
- data/vendor/unity/auto/generate_module.rb +3 -3
- data/vendor/unity/auto/stylize_as_junit.rb +0 -0
- data/vendor/unity/docs/UnityAssertionsReference.md +54 -0
- data/vendor/unity/examples/unity_config.h +6 -4
- data/vendor/unity/extras/fixture/rakefile_helper.rb +1 -1
- data/vendor/unity/extras/fixture/test/Makefile +1 -0
- data/vendor/unity/src/unity.c +121 -73
- data/vendor/unity/src/unity.h +60 -0
- data/vendor/unity/src/unity_internals.h +47 -7
- data/vendor/unity/test/Makefile +1 -0
- data/vendor/unity/test/rakefile_helper.rb +1 -1
- data/vendor/unity/test/tests/testunity.c +508 -164
- metadata +3 -423
- data/out.fail +0 -21
- data/plugins/fake_function_framework/vendor/fff/LICENSE +0 -25
- data/plugins/fake_function_framework/vendor/fff/Makefile +0 -10
- data/plugins/fake_function_framework/vendor/fff/README.md +0 -454
- data/plugins/fake_function_framework/vendor/fff/buildandtest +0 -15
- data/plugins/fake_function_framework/vendor/fff/examples/Makefile +0 -7
- data/plugins/fake_function_framework/vendor/fff/examples/driver_testing/Makefile +0 -64
- data/plugins/fake_function_framework/vendor/fff/examples/driver_testing/driver.c +0 -24
- data/plugins/fake_function_framework/vendor/fff/examples/driver_testing/driver.h +0 -11
- data/plugins/fake_function_framework/vendor/fff/examples/driver_testing/driver.test.cpp +0 -50
- data/plugins/fake_function_framework/vendor/fff/examples/driver_testing/driver.test.fff.cpp +0 -62
- data/plugins/fake_function_framework/vendor/fff/examples/driver_testing/hardware_abstraction.h +0 -15
- data/plugins/fake_function_framework/vendor/fff/examples/driver_testing/registers.h +0 -13
- data/plugins/fake_function_framework/vendor/fff/examples/embedded_ui/DISPLAY.h +0 -17
- data/plugins/fake_function_framework/vendor/fff/examples/embedded_ui/Kata.txt +0 -25
- data/plugins/fake_function_framework/vendor/fff/examples/embedded_ui/Makefile +0 -67
- data/plugins/fake_function_framework/vendor/fff/examples/embedded_ui/SYSTEM.h +0 -21
- data/plugins/fake_function_framework/vendor/fff/examples/embedded_ui/UI.c +0 -48
- data/plugins/fake_function_framework/vendor/fff/examples/embedded_ui/UI.h +0 -12
- data/plugins/fake_function_framework/vendor/fff/examples/embedded_ui/UI_test_ansic.c +0 -183
- data/plugins/fake_function_framework/vendor/fff/examples/embedded_ui/UI_test_cpp.cpp +0 -136
- data/plugins/fake_function_framework/vendor/fff/examples/embedded_ui/test_suite_template.c +0 -34
- data/plugins/fake_function_framework/vendor/fff/fakegen.rb +0 -420
- data/plugins/fake_function_framework/vendor/fff/fff.h +0 -5112
- data/plugins/fake_function_framework/vendor/fff/gtest/Makefile +0 -22
- data/plugins/fake_function_framework/vendor/fff/gtest/gtest-all.cc +0 -9118
- data/plugins/fake_function_framework/vendor/fff/gtest/gtest-main.cc +0 -6
- data/plugins/fake_function_framework/vendor/fff/gtest/gtest.h +0 -19537
- data/plugins/fake_function_framework/vendor/fff/test/Makefile +0 -81
- data/plugins/fake_function_framework/vendor/fff/test/c_test_framework.h +0 -15
- data/plugins/fake_function_framework/vendor/fff/test/fff_test_c.c +0 -108
- data/plugins/fake_function_framework/vendor/fff/test/fff_test_cpp.cpp +0 -45
- data/plugins/fake_function_framework/vendor/fff/test/fff_test_global_c.c +0 -76
- data/plugins/fake_function_framework/vendor/fff/test/fff_test_global_cpp.cpp +0 -23
- data/plugins/fake_function_framework/vendor/fff/test/global_fakes.c +0 -13
- data/plugins/fake_function_framework/vendor/fff/test/global_fakes.h +0 -37
- data/plugins/fake_function_framework/vendor/fff/test/test_cases.include +0 -276
- data/vendor/c_exception/vendor/unity/README.md +0 -220
- data/vendor/c_exception/vendor/unity/auto/colour_prompt.rb +0 -118
- data/vendor/c_exception/vendor/unity/auto/colour_reporter.rb +0 -39
- data/vendor/c_exception/vendor/unity/auto/generate_config.yml +0 -36
- data/vendor/c_exception/vendor/unity/auto/generate_module.rb +0 -308
- data/vendor/c_exception/vendor/unity/auto/generate_test_runner.rb +0 -437
- data/vendor/c_exception/vendor/unity/auto/parse_output.rb +0 -220
- data/vendor/c_exception/vendor/unity/auto/stylize_as_junit.rb +0 -252
- data/vendor/c_exception/vendor/unity/auto/test_file_filter.rb +0 -25
- data/vendor/c_exception/vendor/unity/auto/type_sanitizer.rb +0 -6
- data/vendor/c_exception/vendor/unity/auto/unity_test_summary.py +0 -139
- data/vendor/c_exception/vendor/unity/auto/unity_test_summary.rb +0 -136
- data/vendor/c_exception/vendor/unity/auto/unity_to_junit.py +0 -146
- data/vendor/c_exception/vendor/unity/docs/ThrowTheSwitchCodingStandard.md +0 -207
- data/vendor/c_exception/vendor/unity/docs/UnityAssertionsCheatSheetSuitableforPrintingandPossiblyFraming.pdf +0 -0
- data/vendor/c_exception/vendor/unity/docs/UnityAssertionsReference.md +0 -716
- data/vendor/c_exception/vendor/unity/docs/UnityConfigurationGuide.md +0 -398
- data/vendor/c_exception/vendor/unity/docs/UnityGettingStartedGuide.md +0 -191
- data/vendor/c_exception/vendor/unity/docs/UnityHelperScriptsGuide.md +0 -242
- data/vendor/c_exception/vendor/unity/docs/license.txt +0 -21
- data/vendor/c_exception/vendor/unity/examples/example_1/makefile +0 -71
- data/vendor/c_exception/vendor/unity/examples/example_1/readme.txt +0 -5
- data/vendor/c_exception/vendor/unity/examples/example_1/src/ProductionCode.c +0 -24
- data/vendor/c_exception/vendor/unity/examples/example_1/src/ProductionCode.h +0 -3
- data/vendor/c_exception/vendor/unity/examples/example_1/src/ProductionCode2.c +0 -11
- data/vendor/c_exception/vendor/unity/examples/example_1/src/ProductionCode2.h +0 -2
- data/vendor/c_exception/vendor/unity/examples/example_1/test/TestProductionCode.c +0 -62
- data/vendor/c_exception/vendor/unity/examples/example_1/test/TestProductionCode2.c +0 -31
- data/vendor/c_exception/vendor/unity/examples/example_1/test/test_runners/TestProductionCode2_Runner.c +0 -53
- data/vendor/c_exception/vendor/unity/examples/example_1/test/test_runners/TestProductionCode_Runner.c +0 -57
- data/vendor/c_exception/vendor/unity/examples/example_2/makefile +0 -70
- data/vendor/c_exception/vendor/unity/examples/example_2/readme.txt +0 -5
- data/vendor/c_exception/vendor/unity/examples/example_2/src/ProductionCode.c +0 -24
- data/vendor/c_exception/vendor/unity/examples/example_2/src/ProductionCode.h +0 -3
- data/vendor/c_exception/vendor/unity/examples/example_2/src/ProductionCode2.c +0 -11
- data/vendor/c_exception/vendor/unity/examples/example_2/src/ProductionCode2.h +0 -2
- data/vendor/c_exception/vendor/unity/examples/example_2/test/TestProductionCode.c +0 -64
- data/vendor/c_exception/vendor/unity/examples/example_2/test/TestProductionCode2.c +0 -33
- data/vendor/c_exception/vendor/unity/examples/example_2/test/test_runners/TestProductionCode2_Runner.c +0 -9
- data/vendor/c_exception/vendor/unity/examples/example_2/test/test_runners/TestProductionCode_Runner.c +0 -11
- data/vendor/c_exception/vendor/unity/examples/example_2/test/test_runners/all_tests.c +0 -12
- data/vendor/c_exception/vendor/unity/examples/example_3/helper/UnityHelper.c +0 -10
- data/vendor/c_exception/vendor/unity/examples/example_3/helper/UnityHelper.h +0 -12
- data/vendor/c_exception/vendor/unity/examples/example_3/rakefile.rb +0 -43
- data/vendor/c_exception/vendor/unity/examples/example_3/rakefile_helper.rb +0 -249
- data/vendor/c_exception/vendor/unity/examples/example_3/readme.txt +0 -13
- data/vendor/c_exception/vendor/unity/examples/example_3/src/ProductionCode.c +0 -24
- data/vendor/c_exception/vendor/unity/examples/example_3/src/ProductionCode.h +0 -3
- data/vendor/c_exception/vendor/unity/examples/example_3/src/ProductionCode2.c +0 -11
- data/vendor/c_exception/vendor/unity/examples/example_3/src/ProductionCode2.h +0 -2
- data/vendor/c_exception/vendor/unity/examples/example_3/target_gcc_32.yml +0 -46
- data/vendor/c_exception/vendor/unity/examples/example_3/test/TestProductionCode.c +0 -62
- data/vendor/c_exception/vendor/unity/examples/example_3/test/TestProductionCode2.c +0 -31
- data/vendor/c_exception/vendor/unity/examples/unity_config.h +0 -237
- data/vendor/c_exception/vendor/unity/extras/eclipse/error_parsers.txt +0 -26
- data/vendor/c_exception/vendor/unity/extras/fixture/rakefile.rb +0 -48
- data/vendor/c_exception/vendor/unity/extras/fixture/rakefile_helper.rb +0 -178
- data/vendor/c_exception/vendor/unity/extras/fixture/readme.txt +0 -9
- data/vendor/c_exception/vendor/unity/extras/fixture/src/unity_fixture.c +0 -432
- data/vendor/c_exception/vendor/unity/extras/fixture/src/unity_fixture.h +0 -83
- data/vendor/c_exception/vendor/unity/extras/fixture/src/unity_fixture_internals.h +0 -51
- data/vendor/c_exception/vendor/unity/extras/fixture/src/unity_fixture_malloc_overrides.h +0 -47
- data/vendor/c_exception/vendor/unity/extras/fixture/test/Makefile +0 -74
- data/vendor/c_exception/vendor/unity/extras/fixture/test/main/AllTests.c +0 -22
- data/vendor/c_exception/vendor/unity/extras/fixture/test/template_fixture_tests.c +0 -39
- data/vendor/c_exception/vendor/unity/extras/fixture/test/unity_fixture_Test.c +0 -543
- data/vendor/c_exception/vendor/unity/extras/fixture/test/unity_fixture_TestRunner.c +0 -57
- data/vendor/c_exception/vendor/unity/extras/fixture/test/unity_output_Spy.c +0 -57
- data/vendor/c_exception/vendor/unity/extras/fixture/test/unity_output_Spy.h +0 -17
- data/vendor/c_exception/vendor/unity/release/build.info +0 -2
- data/vendor/c_exception/vendor/unity/release/version.info +0 -2
- data/vendor/c_exception/vendor/unity/src/unity.c +0 -1517
- data/vendor/c_exception/vendor/unity/src/unity.h +0 -339
- data/vendor/c_exception/vendor/unity/src/unity_internals.h +0 -784
- data/vendor/c_exception/vendor/unity/test/Makefile +0 -63
- data/vendor/c_exception/vendor/unity/test/expectdata/testsample_cmd.c +0 -61
- data/vendor/c_exception/vendor/unity/test/expectdata/testsample_def.c +0 -57
- data/vendor/c_exception/vendor/unity/test/expectdata/testsample_head1.c +0 -55
- data/vendor/c_exception/vendor/unity/test/expectdata/testsample_head1.h +0 -15
- data/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_cmd.c +0 -80
- data/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_def.c +0 -76
- data/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_head1.c +0 -75
- data/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_head1.h +0 -13
- data/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_new1.c +0 -89
- data/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_new2.c +0 -89
- data/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_param.c +0 -77
- data/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_run1.c +0 -89
- data/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_run2.c +0 -89
- data/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_yaml.c +0 -90
- data/vendor/c_exception/vendor/unity/test/expectdata/testsample_new1.c +0 -67
- data/vendor/c_exception/vendor/unity/test/expectdata/testsample_new2.c +0 -70
- data/vendor/c_exception/vendor/unity/test/expectdata/testsample_param.c +0 -58
- data/vendor/c_exception/vendor/unity/test/expectdata/testsample_run1.c +0 -67
- data/vendor/c_exception/vendor/unity/test/expectdata/testsample_run2.c +0 -70
- data/vendor/c_exception/vendor/unity/test/expectdata/testsample_yaml.c +0 -71
- data/vendor/c_exception/vendor/unity/test/rakefile +0 -125
- data/vendor/c_exception/vendor/unity/test/rakefile_helper.rb +0 -260
- data/vendor/c_exception/vendor/unity/test/spec/generate_module_existing_file_spec.rb +0 -158
- data/vendor/c_exception/vendor/unity/test/targets/clang_file.yml +0 -78
- data/vendor/c_exception/vendor/unity/test/targets/clang_strict.yml +0 -78
- data/vendor/c_exception/vendor/unity/test/targets/gcc_32.yml +0 -49
- data/vendor/c_exception/vendor/unity/test/targets/gcc_64.yml +0 -50
- data/vendor/c_exception/vendor/unity/test/targets/gcc_auto_limits.yml +0 -47
- data/vendor/c_exception/vendor/unity/test/targets/gcc_auto_stdint.yml +0 -59
- data/vendor/c_exception/vendor/unity/test/targets/gcc_manual_math.yml +0 -47
- data/vendor/c_exception/vendor/unity/test/targets/hitech_picc18.yml +0 -101
- data/vendor/c_exception/vendor/unity/test/targets/iar_arm_v4.yml +0 -90
- data/vendor/c_exception/vendor/unity/test/targets/iar_arm_v5.yml +0 -80
- data/vendor/c_exception/vendor/unity/test/targets/iar_arm_v5_3.yml +0 -80
- data/vendor/c_exception/vendor/unity/test/targets/iar_armcortex_LM3S9B92_v5_4.yml +0 -94
- data/vendor/c_exception/vendor/unity/test/targets/iar_cortexm3_v5.yml +0 -84
- data/vendor/c_exception/vendor/unity/test/targets/iar_msp430.yml +0 -95
- data/vendor/c_exception/vendor/unity/test/targets/iar_sh2a_v6.yml +0 -86
- data/vendor/c_exception/vendor/unity/test/testdata/CException.h +0 -11
- data/vendor/c_exception/vendor/unity/test/testdata/Defs.h +0 -8
- data/vendor/c_exception/vendor/unity/test/testdata/cmock.h +0 -14
- data/vendor/c_exception/vendor/unity/test/testdata/mockMock.h +0 -13
- data/vendor/c_exception/vendor/unity/test/testdata/testRunnerGenerator.c +0 -183
- data/vendor/c_exception/vendor/unity/test/testdata/testRunnerGeneratorSmall.c +0 -67
- data/vendor/c_exception/vendor/unity/test/testdata/testRunnerGeneratorWithMocks.c +0 -192
- data/vendor/c_exception/vendor/unity/test/tests/test_generate_test_runner.rb +0 -1252
- data/vendor/c_exception/vendor/unity/test/tests/testparameterized.c +0 -110
- data/vendor/c_exception/vendor/unity/test/tests/testunity.c +0 -4993
- data/vendor/cmock/vendor/c_exception/Gemfile +0 -4
- data/vendor/cmock/vendor/c_exception/Gemfile.lock +0 -12
- data/vendor/cmock/vendor/c_exception/LICENSE.txt +0 -30
- data/vendor/cmock/vendor/c_exception/README.md +0 -162
- data/vendor/cmock/vendor/c_exception/Rakefile +0 -42
- data/vendor/cmock/vendor/c_exception/docs/CException.md +0 -292
- data/vendor/cmock/vendor/c_exception/docs/ThrowTheSwitchCodingStandard.md +0 -207
- data/vendor/cmock/vendor/c_exception/lib/CException.c +0 -46
- data/vendor/cmock/vendor/c_exception/lib/CException.h +0 -110
- data/vendor/cmock/vendor/c_exception/makefile +0 -24
- data/vendor/cmock/vendor/c_exception/release/build.info +0 -2
- data/vendor/cmock/vendor/c_exception/release/version.info +0 -2
- data/vendor/cmock/vendor/c_exception/test/CExceptionConfig.h +0 -46
- data/vendor/cmock/vendor/c_exception/test/TestException.c +0 -391
- data/vendor/cmock/vendor/c_exception/test/TestException_Runner.c +0 -67
- data/vendor/cmock/vendor/c_exception/vendor/unity/README.md +0 -220
- data/vendor/cmock/vendor/c_exception/vendor/unity/auto/colour_prompt.rb +0 -118
- data/vendor/cmock/vendor/c_exception/vendor/unity/auto/colour_reporter.rb +0 -39
- data/vendor/cmock/vendor/c_exception/vendor/unity/auto/generate_config.yml +0 -36
- data/vendor/cmock/vendor/c_exception/vendor/unity/auto/generate_module.rb +0 -308
- data/vendor/cmock/vendor/c_exception/vendor/unity/auto/generate_test_runner.rb +0 -437
- data/vendor/cmock/vendor/c_exception/vendor/unity/auto/parse_output.rb +0 -220
- data/vendor/cmock/vendor/c_exception/vendor/unity/auto/stylize_as_junit.rb +0 -252
- data/vendor/cmock/vendor/c_exception/vendor/unity/auto/test_file_filter.rb +0 -25
- data/vendor/cmock/vendor/c_exception/vendor/unity/auto/type_sanitizer.rb +0 -6
- data/vendor/cmock/vendor/c_exception/vendor/unity/auto/unity_test_summary.py +0 -139
- data/vendor/cmock/vendor/c_exception/vendor/unity/auto/unity_test_summary.rb +0 -136
- data/vendor/cmock/vendor/c_exception/vendor/unity/auto/unity_to_junit.py +0 -146
- data/vendor/cmock/vendor/c_exception/vendor/unity/docs/ThrowTheSwitchCodingStandard.md +0 -207
- data/vendor/cmock/vendor/c_exception/vendor/unity/docs/UnityAssertionsCheatSheetSuitableforPrintingandPossiblyFraming.pdf +0 -0
- data/vendor/cmock/vendor/c_exception/vendor/unity/docs/UnityAssertionsReference.md +0 -716
- data/vendor/cmock/vendor/c_exception/vendor/unity/docs/UnityConfigurationGuide.md +0 -398
- data/vendor/cmock/vendor/c_exception/vendor/unity/docs/UnityGettingStartedGuide.md +0 -191
- data/vendor/cmock/vendor/c_exception/vendor/unity/docs/UnityHelperScriptsGuide.md +0 -242
- data/vendor/cmock/vendor/c_exception/vendor/unity/docs/license.txt +0 -21
- data/vendor/cmock/vendor/c_exception/vendor/unity/examples/example_1/makefile +0 -71
- data/vendor/cmock/vendor/c_exception/vendor/unity/examples/example_1/readme.txt +0 -5
- data/vendor/cmock/vendor/c_exception/vendor/unity/examples/example_1/src/ProductionCode.c +0 -24
- data/vendor/cmock/vendor/c_exception/vendor/unity/examples/example_1/src/ProductionCode.h +0 -3
- data/vendor/cmock/vendor/c_exception/vendor/unity/examples/example_1/src/ProductionCode2.c +0 -11
- data/vendor/cmock/vendor/c_exception/vendor/unity/examples/example_1/src/ProductionCode2.h +0 -2
- data/vendor/cmock/vendor/c_exception/vendor/unity/examples/example_1/test/TestProductionCode.c +0 -62
- data/vendor/cmock/vendor/c_exception/vendor/unity/examples/example_1/test/TestProductionCode2.c +0 -31
- data/vendor/cmock/vendor/c_exception/vendor/unity/examples/example_1/test/test_runners/TestProductionCode2_Runner.c +0 -53
- data/vendor/cmock/vendor/c_exception/vendor/unity/examples/example_1/test/test_runners/TestProductionCode_Runner.c +0 -57
- data/vendor/cmock/vendor/c_exception/vendor/unity/examples/example_2/makefile +0 -70
- data/vendor/cmock/vendor/c_exception/vendor/unity/examples/example_2/readme.txt +0 -5
- data/vendor/cmock/vendor/c_exception/vendor/unity/examples/example_2/src/ProductionCode.c +0 -24
- data/vendor/cmock/vendor/c_exception/vendor/unity/examples/example_2/src/ProductionCode.h +0 -3
- data/vendor/cmock/vendor/c_exception/vendor/unity/examples/example_2/src/ProductionCode2.c +0 -11
- data/vendor/cmock/vendor/c_exception/vendor/unity/examples/example_2/src/ProductionCode2.h +0 -2
- data/vendor/cmock/vendor/c_exception/vendor/unity/examples/example_2/test/TestProductionCode.c +0 -64
- data/vendor/cmock/vendor/c_exception/vendor/unity/examples/example_2/test/TestProductionCode2.c +0 -33
- data/vendor/cmock/vendor/c_exception/vendor/unity/examples/example_2/test/test_runners/TestProductionCode2_Runner.c +0 -9
- data/vendor/cmock/vendor/c_exception/vendor/unity/examples/example_2/test/test_runners/TestProductionCode_Runner.c +0 -11
- data/vendor/cmock/vendor/c_exception/vendor/unity/examples/example_2/test/test_runners/all_tests.c +0 -12
- data/vendor/cmock/vendor/c_exception/vendor/unity/examples/example_3/helper/UnityHelper.c +0 -10
- data/vendor/cmock/vendor/c_exception/vendor/unity/examples/example_3/helper/UnityHelper.h +0 -12
- data/vendor/cmock/vendor/c_exception/vendor/unity/examples/example_3/rakefile.rb +0 -43
- data/vendor/cmock/vendor/c_exception/vendor/unity/examples/example_3/rakefile_helper.rb +0 -249
- data/vendor/cmock/vendor/c_exception/vendor/unity/examples/example_3/readme.txt +0 -13
- data/vendor/cmock/vendor/c_exception/vendor/unity/examples/example_3/src/ProductionCode.c +0 -24
- data/vendor/cmock/vendor/c_exception/vendor/unity/examples/example_3/src/ProductionCode.h +0 -3
- data/vendor/cmock/vendor/c_exception/vendor/unity/examples/example_3/src/ProductionCode2.c +0 -11
- data/vendor/cmock/vendor/c_exception/vendor/unity/examples/example_3/src/ProductionCode2.h +0 -2
- data/vendor/cmock/vendor/c_exception/vendor/unity/examples/example_3/target_gcc_32.yml +0 -46
- data/vendor/cmock/vendor/c_exception/vendor/unity/examples/example_3/test/TestProductionCode.c +0 -62
- data/vendor/cmock/vendor/c_exception/vendor/unity/examples/example_3/test/TestProductionCode2.c +0 -31
- data/vendor/cmock/vendor/c_exception/vendor/unity/examples/unity_config.h +0 -237
- data/vendor/cmock/vendor/c_exception/vendor/unity/extras/eclipse/error_parsers.txt +0 -26
- data/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/rakefile.rb +0 -48
- data/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/rakefile_helper.rb +0 -178
- data/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/readme.txt +0 -9
- data/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/src/unity_fixture.c +0 -432
- data/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/src/unity_fixture.h +0 -83
- data/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/src/unity_fixture_internals.h +0 -51
- data/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/src/unity_fixture_malloc_overrides.h +0 -47
- data/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/test/Makefile +0 -74
- data/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/test/main/AllTests.c +0 -22
- data/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/test/template_fixture_tests.c +0 -39
- data/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/test/unity_fixture_Test.c +0 -543
- data/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/test/unity_fixture_TestRunner.c +0 -57
- data/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/test/unity_output_Spy.c +0 -57
- data/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/test/unity_output_Spy.h +0 -17
- data/vendor/cmock/vendor/c_exception/vendor/unity/release/build.info +0 -2
- data/vendor/cmock/vendor/c_exception/vendor/unity/release/version.info +0 -2
- data/vendor/cmock/vendor/c_exception/vendor/unity/src/unity.c +0 -1517
- data/vendor/cmock/vendor/c_exception/vendor/unity/src/unity.h +0 -339
- data/vendor/cmock/vendor/c_exception/vendor/unity/src/unity_internals.h +0 -784
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/Makefile +0 -63
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_cmd.c +0 -61
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_def.c +0 -57
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_head1.c +0 -55
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_head1.h +0 -15
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_cmd.c +0 -80
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_def.c +0 -76
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_head1.c +0 -75
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_head1.h +0 -13
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_new1.c +0 -89
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_new2.c +0 -89
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_param.c +0 -77
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_run1.c +0 -89
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_run2.c +0 -89
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_yaml.c +0 -90
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_new1.c +0 -67
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_new2.c +0 -70
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_param.c +0 -58
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_run1.c +0 -67
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_run2.c +0 -70
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_yaml.c +0 -71
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/rakefile +0 -125
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/rakefile_helper.rb +0 -260
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/spec/generate_module_existing_file_spec.rb +0 -158
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/targets/clang_file.yml +0 -78
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/targets/clang_strict.yml +0 -78
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/targets/gcc_32.yml +0 -49
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/targets/gcc_64.yml +0 -50
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/targets/gcc_auto_limits.yml +0 -47
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/targets/gcc_auto_stdint.yml +0 -59
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/targets/gcc_manual_math.yml +0 -47
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/targets/hitech_picc18.yml +0 -101
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/targets/iar_arm_v4.yml +0 -90
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/targets/iar_arm_v5.yml +0 -80
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/targets/iar_arm_v5_3.yml +0 -80
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/targets/iar_armcortex_LM3S9B92_v5_4.yml +0 -94
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/targets/iar_cortexm3_v5.yml +0 -84
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/targets/iar_msp430.yml +0 -95
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/targets/iar_sh2a_v6.yml +0 -86
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/testdata/CException.h +0 -11
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/testdata/Defs.h +0 -8
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/testdata/cmock.h +0 -14
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/testdata/mockMock.h +0 -13
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/testdata/testRunnerGenerator.c +0 -183
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/testdata/testRunnerGeneratorSmall.c +0 -67
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/testdata/testRunnerGeneratorWithMocks.c +0 -192
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/tests/test_generate_test_runner.rb +0 -1252
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/tests/testparameterized.c +0 -110
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/tests/testunity.c +0 -4993
- data/vendor/cmock/vendor/unity/README.md +0 -220
- data/vendor/cmock/vendor/unity/auto/colour_prompt.rb +0 -118
- data/vendor/cmock/vendor/unity/auto/colour_reporter.rb +0 -39
- data/vendor/cmock/vendor/unity/auto/generate_config.yml +0 -36
- data/vendor/cmock/vendor/unity/auto/generate_module.rb +0 -308
- data/vendor/cmock/vendor/unity/auto/generate_test_runner.rb +0 -437
- data/vendor/cmock/vendor/unity/auto/parse_output.rb +0 -220
- data/vendor/cmock/vendor/unity/auto/stylize_as_junit.rb +0 -252
- data/vendor/cmock/vendor/unity/auto/test_file_filter.rb +0 -25
- data/vendor/cmock/vendor/unity/auto/type_sanitizer.rb +0 -6
- data/vendor/cmock/vendor/unity/auto/unity_test_summary.py +0 -139
- data/vendor/cmock/vendor/unity/auto/unity_test_summary.rb +0 -136
- data/vendor/cmock/vendor/unity/auto/unity_to_junit.py +0 -146
- data/vendor/cmock/vendor/unity/docs/ThrowTheSwitchCodingStandard.md +0 -207
- data/vendor/cmock/vendor/unity/docs/UnityAssertionsCheatSheetSuitableforPrintingandPossiblyFraming.pdf +0 -0
- data/vendor/cmock/vendor/unity/docs/UnityAssertionsReference.md +0 -716
- data/vendor/cmock/vendor/unity/docs/UnityConfigurationGuide.md +0 -398
- data/vendor/cmock/vendor/unity/docs/UnityGettingStartedGuide.md +0 -191
- data/vendor/cmock/vendor/unity/docs/UnityHelperScriptsGuide.md +0 -242
- data/vendor/cmock/vendor/unity/docs/license.txt +0 -21
- data/vendor/cmock/vendor/unity/examples/example_1/makefile +0 -71
- data/vendor/cmock/vendor/unity/examples/example_1/readme.txt +0 -5
- data/vendor/cmock/vendor/unity/examples/example_1/src/ProductionCode.c +0 -24
- data/vendor/cmock/vendor/unity/examples/example_1/src/ProductionCode.h +0 -3
- data/vendor/cmock/vendor/unity/examples/example_1/src/ProductionCode2.c +0 -11
- data/vendor/cmock/vendor/unity/examples/example_1/src/ProductionCode2.h +0 -2
- data/vendor/cmock/vendor/unity/examples/example_1/test/TestProductionCode.c +0 -62
- data/vendor/cmock/vendor/unity/examples/example_1/test/TestProductionCode2.c +0 -31
- data/vendor/cmock/vendor/unity/examples/example_1/test/test_runners/TestProductionCode2_Runner.c +0 -53
- data/vendor/cmock/vendor/unity/examples/example_1/test/test_runners/TestProductionCode_Runner.c +0 -57
- data/vendor/cmock/vendor/unity/examples/example_2/makefile +0 -70
- data/vendor/cmock/vendor/unity/examples/example_2/readme.txt +0 -5
- data/vendor/cmock/vendor/unity/examples/example_2/src/ProductionCode.c +0 -24
- data/vendor/cmock/vendor/unity/examples/example_2/src/ProductionCode.h +0 -3
- data/vendor/cmock/vendor/unity/examples/example_2/src/ProductionCode2.c +0 -11
- data/vendor/cmock/vendor/unity/examples/example_2/src/ProductionCode2.h +0 -2
- data/vendor/cmock/vendor/unity/examples/example_2/test/TestProductionCode.c +0 -64
- data/vendor/cmock/vendor/unity/examples/example_2/test/TestProductionCode2.c +0 -33
- data/vendor/cmock/vendor/unity/examples/example_2/test/test_runners/TestProductionCode2_Runner.c +0 -9
- data/vendor/cmock/vendor/unity/examples/example_2/test/test_runners/TestProductionCode_Runner.c +0 -11
- data/vendor/cmock/vendor/unity/examples/example_2/test/test_runners/all_tests.c +0 -12
- data/vendor/cmock/vendor/unity/examples/example_3/helper/UnityHelper.c +0 -10
- data/vendor/cmock/vendor/unity/examples/example_3/helper/UnityHelper.h +0 -12
- data/vendor/cmock/vendor/unity/examples/example_3/rakefile.rb +0 -43
- data/vendor/cmock/vendor/unity/examples/example_3/rakefile_helper.rb +0 -249
- data/vendor/cmock/vendor/unity/examples/example_3/readme.txt +0 -13
- data/vendor/cmock/vendor/unity/examples/example_3/src/ProductionCode.c +0 -24
- data/vendor/cmock/vendor/unity/examples/example_3/src/ProductionCode.h +0 -3
- data/vendor/cmock/vendor/unity/examples/example_3/src/ProductionCode2.c +0 -11
- data/vendor/cmock/vendor/unity/examples/example_3/src/ProductionCode2.h +0 -2
- data/vendor/cmock/vendor/unity/examples/example_3/target_gcc_32.yml +0 -46
- data/vendor/cmock/vendor/unity/examples/example_3/test/TestProductionCode.c +0 -62
- data/vendor/cmock/vendor/unity/examples/example_3/test/TestProductionCode2.c +0 -31
- data/vendor/cmock/vendor/unity/examples/unity_config.h +0 -237
- data/vendor/cmock/vendor/unity/extras/eclipse/error_parsers.txt +0 -26
- data/vendor/cmock/vendor/unity/extras/fixture/rakefile.rb +0 -48
- data/vendor/cmock/vendor/unity/extras/fixture/rakefile_helper.rb +0 -178
- data/vendor/cmock/vendor/unity/extras/fixture/readme.txt +0 -9
- data/vendor/cmock/vendor/unity/extras/fixture/src/unity_fixture.c +0 -432
- data/vendor/cmock/vendor/unity/extras/fixture/src/unity_fixture.h +0 -83
- data/vendor/cmock/vendor/unity/extras/fixture/src/unity_fixture_internals.h +0 -51
- data/vendor/cmock/vendor/unity/extras/fixture/src/unity_fixture_malloc_overrides.h +0 -47
- data/vendor/cmock/vendor/unity/extras/fixture/test/Makefile +0 -74
- data/vendor/cmock/vendor/unity/extras/fixture/test/main/AllTests.c +0 -22
- data/vendor/cmock/vendor/unity/extras/fixture/test/template_fixture_tests.c +0 -39
- data/vendor/cmock/vendor/unity/extras/fixture/test/unity_fixture_Test.c +0 -543
- data/vendor/cmock/vendor/unity/extras/fixture/test/unity_fixture_TestRunner.c +0 -57
- data/vendor/cmock/vendor/unity/extras/fixture/test/unity_output_Spy.c +0 -57
- data/vendor/cmock/vendor/unity/extras/fixture/test/unity_output_Spy.h +0 -17
- data/vendor/cmock/vendor/unity/release/build.info +0 -2
- data/vendor/cmock/vendor/unity/release/version.info +0 -2
- data/vendor/cmock/vendor/unity/src/unity.c +0 -1517
- data/vendor/cmock/vendor/unity/src/unity.h +0 -339
- data/vendor/cmock/vendor/unity/src/unity_internals.h +0 -784
- data/vendor/cmock/vendor/unity/test/Makefile +0 -63
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_cmd.c +0 -61
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_def.c +0 -57
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_head1.c +0 -55
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_head1.h +0 -15
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_cmd.c +0 -80
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_def.c +0 -76
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_head1.c +0 -75
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_head1.h +0 -13
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_new1.c +0 -89
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_new2.c +0 -89
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_param.c +0 -77
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_run1.c +0 -89
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_run2.c +0 -89
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_yaml.c +0 -90
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_new1.c +0 -67
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_new2.c +0 -70
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_param.c +0 -58
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_run1.c +0 -67
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_run2.c +0 -70
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_yaml.c +0 -71
- data/vendor/cmock/vendor/unity/test/rakefile +0 -125
- data/vendor/cmock/vendor/unity/test/rakefile_helper.rb +0 -260
- data/vendor/cmock/vendor/unity/test/spec/generate_module_existing_file_spec.rb +0 -158
- data/vendor/cmock/vendor/unity/test/targets/clang_file.yml +0 -78
- data/vendor/cmock/vendor/unity/test/targets/clang_strict.yml +0 -78
- data/vendor/cmock/vendor/unity/test/targets/gcc_32.yml +0 -49
- data/vendor/cmock/vendor/unity/test/targets/gcc_64.yml +0 -50
- data/vendor/cmock/vendor/unity/test/targets/gcc_auto_limits.yml +0 -47
- data/vendor/cmock/vendor/unity/test/targets/gcc_auto_stdint.yml +0 -59
- data/vendor/cmock/vendor/unity/test/targets/gcc_manual_math.yml +0 -47
- data/vendor/cmock/vendor/unity/test/targets/hitech_picc18.yml +0 -101
- data/vendor/cmock/vendor/unity/test/targets/iar_arm_v4.yml +0 -90
- data/vendor/cmock/vendor/unity/test/targets/iar_arm_v5.yml +0 -80
- data/vendor/cmock/vendor/unity/test/targets/iar_arm_v5_3.yml +0 -80
- data/vendor/cmock/vendor/unity/test/targets/iar_armcortex_LM3S9B92_v5_4.yml +0 -94
- data/vendor/cmock/vendor/unity/test/targets/iar_cortexm3_v5.yml +0 -84
- data/vendor/cmock/vendor/unity/test/targets/iar_msp430.yml +0 -95
- data/vendor/cmock/vendor/unity/test/targets/iar_sh2a_v6.yml +0 -86
- data/vendor/cmock/vendor/unity/test/testdata/CException.h +0 -11
- data/vendor/cmock/vendor/unity/test/testdata/Defs.h +0 -8
- data/vendor/cmock/vendor/unity/test/testdata/cmock.h +0 -14
- data/vendor/cmock/vendor/unity/test/testdata/mockMock.h +0 -13
- data/vendor/cmock/vendor/unity/test/testdata/testRunnerGenerator.c +0 -183
- data/vendor/cmock/vendor/unity/test/testdata/testRunnerGeneratorSmall.c +0 -67
- data/vendor/cmock/vendor/unity/test/testdata/testRunnerGeneratorWithMocks.c +0 -192
- data/vendor/cmock/vendor/unity/test/tests/test_generate_test_runner.rb +0 -1252
- data/vendor/cmock/vendor/unity/test/tests/testparameterized.c +0 -110
- data/vendor/cmock/vendor/unity/test/tests/testunity.c +0 -4993
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
---
|
|
2
|
+
:cmock:
|
|
3
|
+
:plugins:
|
|
4
|
+
- 'ignore'
|
|
5
|
+
:fail_on_unexpected_calls: FALSE
|
|
6
|
+
|
|
7
|
+
:systest:
|
|
8
|
+
:types: |
|
|
9
|
+
|
|
10
|
+
:mockable: |
|
|
11
|
+
int foo(int a);
|
|
12
|
+
void bar(int b);
|
|
13
|
+
|
|
14
|
+
:source:
|
|
15
|
+
:header: |
|
|
16
|
+
int function(int a, int b, int c);
|
|
17
|
+
:code: |
|
|
18
|
+
int function(int a, int b, int c)
|
|
19
|
+
{
|
|
20
|
+
bar(b);
|
|
21
|
+
return foo(a) + foo(b) + foo(c);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
:tests:
|
|
25
|
+
:common: |
|
|
26
|
+
void setUp(void) {}
|
|
27
|
+
void tearDown(void) {}
|
|
28
|
+
:units:
|
|
29
|
+
- :pass: TRUE
|
|
30
|
+
:should: 'With "fail_on_unexpected_calls" disabled, Expect/Ignore/... of bar is NOT required.'
|
|
31
|
+
:code: |
|
|
32
|
+
test()
|
|
33
|
+
{
|
|
34
|
+
function(1, 2, 3);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
...
|
|
@@ -53,6 +53,7 @@ describe CMockGenerator, "Verify CMockGenerator Module" do
|
|
|
53
53
|
@config.expect :includes_c_pre_header, nil
|
|
54
54
|
@config.expect :includes_c_post_header, nil
|
|
55
55
|
@config.expect :subdir, nil
|
|
56
|
+
@config.expect :fail_on_unexpected_calls, true
|
|
56
57
|
@cmock_generator = CMockGenerator.new(@config, @file_writer, @utils, @plugins)
|
|
57
58
|
@cmock_generator.module_name = @module_name
|
|
58
59
|
@cmock_generator.mock_name = "Mock#{@module_name}"
|
|
@@ -70,6 +71,7 @@ describe CMockGenerator, "Verify CMockGenerator Module" do
|
|
|
70
71
|
@config.expect :includes_c_pre_header, nil
|
|
71
72
|
@config.expect :includes_c_post_header, nil
|
|
72
73
|
@config.expect :subdir, nil
|
|
74
|
+
@config.expect :fail_on_unexpected_calls, true
|
|
73
75
|
@cmock_generator_strict = CMockGenerator.new(@config, @file_writer, @utils, @plugins)
|
|
74
76
|
@cmock_generator_strict.module_name = @module_name
|
|
75
77
|
@cmock_generator_strict.mock_name = "Mock#{@module_name}"
|
|
@@ -98,6 +100,7 @@ describe CMockGenerator, "Verify CMockGenerator Module" do
|
|
|
98
100
|
"\n",
|
|
99
101
|
"/* Ignore the following warnings, since we are copying code */\n",
|
|
100
102
|
"#if defined(__GNUC__) && !defined(__ICC) && !defined(__TMS470__)\n",
|
|
103
|
+
"#pragma GCC diagnostic push\n",
|
|
101
104
|
"#if !defined(__clang__)\n",
|
|
102
105
|
"#pragma GCC diagnostic ignored \"-Wpragmas\"\n",
|
|
103
106
|
"#endif\n",
|
|
@@ -127,6 +130,7 @@ describe CMockGenerator, "Verify CMockGenerator Module" do
|
|
|
127
130
|
@config.expect :includes_c_pre_header, nil
|
|
128
131
|
@config.expect :includes_c_post_header, nil
|
|
129
132
|
@config.expect :subdir, nil
|
|
133
|
+
@config.expect :fail_on_unexpected_calls, true
|
|
130
134
|
@cmock_generator2 = CMockGenerator.new(@config, @file_writer, @utils, @plugins)
|
|
131
135
|
@cmock_generator2.module_name = "Pout-Pout Fish"
|
|
132
136
|
@cmock_generator2.mock_name = "MockPout-Pout Fish"
|
|
@@ -150,6 +154,7 @@ describe CMockGenerator, "Verify CMockGenerator Module" do
|
|
|
150
154
|
"\n",
|
|
151
155
|
"/* Ignore the following warnings, since we are copying code */\n",
|
|
152
156
|
"#if defined(__GNUC__) && !defined(__ICC) && !defined(__TMS470__)\n",
|
|
157
|
+
"#pragma GCC diagnostic push\n",
|
|
153
158
|
"#if !defined(__clang__)\n",
|
|
154
159
|
"#pragma GCC diagnostic ignored \"-Wpragmas\"\n",
|
|
155
160
|
"#endif\n",
|
|
@@ -185,6 +190,7 @@ describe CMockGenerator, "Verify CMockGenerator Module" do
|
|
|
185
190
|
"\n",
|
|
186
191
|
"/* Ignore the following warnings, since we are copying code */\n",
|
|
187
192
|
"#if defined(__GNUC__) && !defined(__ICC) && !defined(__TMS470__)\n",
|
|
193
|
+
"#pragma GCC diagnostic push\n",
|
|
188
194
|
"#if !defined(__clang__)\n",
|
|
189
195
|
"#pragma GCC diagnostic ignored \"-Wpragmas\"\n",
|
|
190
196
|
"#endif\n",
|
|
@@ -221,6 +227,7 @@ describe CMockGenerator, "Verify CMockGenerator Module" do
|
|
|
221
227
|
"\n",
|
|
222
228
|
"/* Ignore the following warnings, since we are copying code */\n",
|
|
223
229
|
"#if defined(__GNUC__) && !defined(__ICC) && !defined(__TMS470__)\n",
|
|
230
|
+
"#pragma GCC diagnostic push\n",
|
|
224
231
|
"#if !defined(__clang__)\n",
|
|
225
232
|
"#pragma GCC diagnostic ignored \"-Wpragmas\"\n",
|
|
226
233
|
"#endif\n",
|
|
@@ -272,7 +279,13 @@ describe CMockGenerator, "Verify CMockGenerator Module" do
|
|
|
272
279
|
|
|
273
280
|
it "append the proper footer to the header file" do
|
|
274
281
|
output = []
|
|
275
|
-
expected = ["\n
|
|
282
|
+
expected = ["\n",
|
|
283
|
+
"#if defined(__GNUC__) && !defined(__ICC) && !defined(__TMS470__)\n",
|
|
284
|
+
"#pragma GCC diagnostic pop\n",
|
|
285
|
+
"#endif\n",
|
|
286
|
+
"\n",
|
|
287
|
+
"#endif\n"
|
|
288
|
+
]
|
|
276
289
|
|
|
277
290
|
@cmock_generator.create_mock_header_footer(output)
|
|
278
291
|
|
|
@@ -96,11 +96,12 @@ describe CMockGeneratorPluginExpect, "Verify CMockGeneratorPluginExpect Module w
|
|
|
96
96
|
it "add mock function implementation for functions of style 'int func(int veal, unsigned int sushi)'" do
|
|
97
97
|
function = {:name => "Cherry", :args => [ { :type => "int", :name => "veal" }, { :type => "unsigned int", :name => "sushi" } ], :return => test_return[:int]}
|
|
98
98
|
|
|
99
|
-
@utils.expect :code_verify_an_arg_expectation, "
|
|
100
|
-
@utils.expect :code_verify_an_arg_expectation, "
|
|
99
|
+
@utils.expect :code_verify_an_arg_expectation, "mocked_retval_1\n", [function, function[:args][0]]
|
|
100
|
+
@utils.expect :code_verify_an_arg_expectation, "mocked_retval_2\n", [function, function[:args][1]]
|
|
101
101
|
expected = " if (cmock_call_instance->IgnoreMode != CMOCK_ARG_NONE)\n" +
|
|
102
102
|
" {\n" +
|
|
103
|
-
"
|
|
103
|
+
"mocked_retval_1\n" +
|
|
104
|
+
"mocked_retval_2\n" +
|
|
104
105
|
" }\n"
|
|
105
106
|
returned = @cmock_generator_plugin_expect.mock_implementation(function)
|
|
106
107
|
assert_equal(expected, returned)
|
|
@@ -116,7 +117,7 @@ describe CMockGeneratorPluginExpect, "Verify CMockGeneratorPluginExpect Module w
|
|
|
116
117
|
|
|
117
118
|
it "add mock function implementation for functions of style 'void func(int worm)' and strict ordering" do
|
|
118
119
|
function = {:name => "Apple", :args => [{ :type => "int", :name => "worm" }], :return => test_return[:void]}
|
|
119
|
-
@utils.expect :code_verify_an_arg_expectation, "mocked_retval_0", [function, function[:args][0]]
|
|
120
|
+
@utils.expect :code_verify_an_arg_expectation, "mocked_retval_0\n", [function, function[:args][0]]
|
|
120
121
|
expected = " if (cmock_call_instance->IgnoreMode != CMOCK_ARG_NONE)\n" +
|
|
121
122
|
" {\n" +
|
|
122
123
|
"mocked_retval_0\n" +
|
|
@@ -128,12 +129,12 @@ describe CMockGeneratorPluginExpect, "Verify CMockGeneratorPluginExpect Module w
|
|
|
128
129
|
|
|
129
130
|
it "add mock interfaces for functions of style 'void func(void)'" do
|
|
130
131
|
function = {:name => "Pear", :args => [], :args_string => "void", :return => test_return[:void]}
|
|
131
|
-
@utils.expect :code_add_base_expectation, "mock_retval_0
|
|
132
|
-
@utils.expect :code_call_argument_loader, "mock_retval_1
|
|
132
|
+
@utils.expect :code_add_base_expectation, "mock_retval_0\n", ["Pear"]
|
|
133
|
+
@utils.expect :code_call_argument_loader, "mock_retval_1\n", [function]
|
|
133
134
|
expected = ["void Pear_CMockExpect(UNITY_LINE_TYPE cmock_line)\n",
|
|
134
135
|
"{\n",
|
|
135
|
-
"mock_retval_0
|
|
136
|
-
"mock_retval_1
|
|
136
|
+
"mock_retval_0\n",
|
|
137
|
+
"mock_retval_1\n",
|
|
137
138
|
" UNITY_CLR_DETAILS();\n",
|
|
138
139
|
"}\n\n"
|
|
139
140
|
].join
|
|
@@ -143,14 +144,14 @@ describe CMockGeneratorPluginExpect, "Verify CMockGeneratorPluginExpect Module w
|
|
|
143
144
|
|
|
144
145
|
it "add mock interfaces for functions of style 'int func(void)'" do
|
|
145
146
|
function = {:name => "Orange", :args => [], :args_string => "void", :return => test_return[:int]}
|
|
146
|
-
@utils.expect :code_add_base_expectation, "mock_retval_0
|
|
147
|
-
@utils.expect :code_call_argument_loader, "mock_retval_1
|
|
148
|
-
@utils.expect :code_assign_argument_quickly, "mock_retval_2", ["cmock_call_instance->ReturnVal", function[:return]]
|
|
147
|
+
@utils.expect :code_add_base_expectation, "mock_retval_0\n", ["Orange"]
|
|
148
|
+
@utils.expect :code_call_argument_loader, "mock_retval_1\n", [function]
|
|
149
|
+
@utils.expect :code_assign_argument_quickly, "mock_retval_2\n", ["cmock_call_instance->ReturnVal", function[:return]]
|
|
149
150
|
expected = ["void Orange_CMockExpectAndReturn(UNITY_LINE_TYPE cmock_line, int cmock_to_return)\n",
|
|
150
151
|
"{\n",
|
|
151
|
-
"mock_retval_0
|
|
152
|
-
"mock_retval_1
|
|
153
|
-
"mock_retval_2",
|
|
152
|
+
"mock_retval_0\n",
|
|
153
|
+
"mock_retval_1\n",
|
|
154
|
+
"mock_retval_2\n",
|
|
154
155
|
" UNITY_CLR_DETAILS();\n",
|
|
155
156
|
"}\n\n"
|
|
156
157
|
].join
|
|
@@ -160,14 +161,14 @@ describe CMockGeneratorPluginExpect, "Verify CMockGeneratorPluginExpect Module w
|
|
|
160
161
|
|
|
161
162
|
it "add mock interfaces for functions of style 'int func(char* pescado)'" do
|
|
162
163
|
function = {:name => "Lemon", :args => [{ :type => "char*", :name => "pescado"}], :args_string => "char* pescado", :return => test_return[:int]}
|
|
163
|
-
@utils.expect :code_add_base_expectation, "mock_retval_0
|
|
164
|
-
@utils.expect :code_call_argument_loader, "mock_retval_1
|
|
165
|
-
@utils.expect :code_assign_argument_quickly, "mock_retval_2", ["cmock_call_instance->ReturnVal", function[:return]]
|
|
164
|
+
@utils.expect :code_add_base_expectation, "mock_retval_0\n", ["Lemon"]
|
|
165
|
+
@utils.expect :code_call_argument_loader, "mock_retval_1\n", [function]
|
|
166
|
+
@utils.expect :code_assign_argument_quickly, "mock_retval_2\n", ["cmock_call_instance->ReturnVal", function[:return]]
|
|
166
167
|
expected = ["void Lemon_CMockExpectAndReturn(UNITY_LINE_TYPE cmock_line, char* pescado, int cmock_to_return)\n",
|
|
167
168
|
"{\n",
|
|
168
|
-
"mock_retval_0
|
|
169
|
-
"mock_retval_1
|
|
170
|
-
"mock_retval_2",
|
|
169
|
+
"mock_retval_0\n",
|
|
170
|
+
"mock_retval_1\n",
|
|
171
|
+
"mock_retval_2\n",
|
|
171
172
|
" UNITY_CLR_DETAILS();\n",
|
|
172
173
|
"}\n\n"
|
|
173
174
|
].join
|
|
@@ -177,12 +178,12 @@ describe CMockGeneratorPluginExpect, "Verify CMockGeneratorPluginExpect Module w
|
|
|
177
178
|
|
|
178
179
|
it "add mock interfaces for functions when using ordering" do
|
|
179
180
|
function = {:name => "Pear", :args => [], :args_string => "void", :return => test_return[:void]}
|
|
180
|
-
@utils.expect :code_add_base_expectation, "mock_retval_0
|
|
181
|
-
@utils.expect :code_call_argument_loader, "mock_retval_1
|
|
181
|
+
@utils.expect :code_add_base_expectation, "mock_retval_0\n", ["Pear"]
|
|
182
|
+
@utils.expect :code_call_argument_loader, "mock_retval_1\n", [function]
|
|
182
183
|
expected = ["void Pear_CMockExpect(UNITY_LINE_TYPE cmock_line)\n",
|
|
183
184
|
"{\n",
|
|
184
|
-
"mock_retval_0
|
|
185
|
-
"mock_retval_1
|
|
185
|
+
"mock_retval_0\n",
|
|
186
|
+
"mock_retval_1\n",
|
|
186
187
|
" UNITY_CLR_DETAILS();\n",
|
|
187
188
|
"}\n\n"
|
|
188
189
|
].join
|
|
@@ -805,6 +805,39 @@ describe CMockHeaderParser, "Verify CMockHeaderParser Module" do
|
|
|
805
805
|
assert_equal(expected, @parser.parse("module", source)[:functions])
|
|
806
806
|
end
|
|
807
807
|
|
|
808
|
+
it "should properly handle const before or after return type" do
|
|
809
|
+
|
|
810
|
+
sources = [
|
|
811
|
+
"const int * PorkRoast(void);\n",
|
|
812
|
+
"int const * PorkRoast(void);\n",
|
|
813
|
+
"const int* PorkRoast(void);\n",
|
|
814
|
+
"int const* PorkRoast(void);\n",
|
|
815
|
+
"const int *PorkRoast(void);\n",
|
|
816
|
+
"int const *PorkRoast(void);\n"
|
|
817
|
+
]
|
|
818
|
+
|
|
819
|
+
expected = [{ :var_arg=>nil,
|
|
820
|
+
:name=>"PorkRoast",
|
|
821
|
+
:return=> { :type => "int*",
|
|
822
|
+
:name => 'cmock_to_return',
|
|
823
|
+
:ptr? => true,
|
|
824
|
+
:const? => true,
|
|
825
|
+
:const_ptr? => false,
|
|
826
|
+
:str => "int* cmock_to_return",
|
|
827
|
+
:void? => false
|
|
828
|
+
},
|
|
829
|
+
:modifier=>"const",
|
|
830
|
+
:contains_ptr? => false,
|
|
831
|
+
:args=>[],
|
|
832
|
+
:args_string=>"void",
|
|
833
|
+
:args_call=>""
|
|
834
|
+
}]
|
|
835
|
+
|
|
836
|
+
sources.each do |source|
|
|
837
|
+
assert_equal(expected, @parser.parse("module", source)[:functions])
|
|
838
|
+
end
|
|
839
|
+
end
|
|
840
|
+
|
|
808
841
|
it "should properly handle const applied after asterisk in return type (not legal C, but sometimes used)" do
|
|
809
842
|
|
|
810
843
|
source = "int * const PorkRoast(void);\n"
|
|
@@ -1052,7 +1085,7 @@ describe CMockHeaderParser, "Verify CMockHeaderParser Module" do
|
|
|
1052
1085
|
assert_equal(expected, result[:functions])
|
|
1053
1086
|
end
|
|
1054
1087
|
|
|
1055
|
-
it "handle arrays and treat them as pointers" do
|
|
1088
|
+
it "handle arrays and treat them as pointers or strings" do
|
|
1056
1089
|
source = "void KeyOperated(CUSTOM_TYPE thing1[], int thing2 [ ], char thing3 [][2 ][ 3], int* thing4[4])"
|
|
1057
1090
|
expected = [{:var_arg=>nil,
|
|
1058
1091
|
:return=>{ :type => "void",
|
|
@@ -1068,7 +1101,7 @@ describe CMockHeaderParser, "Verify CMockHeaderParser Module" do
|
|
|
1068
1101
|
:contains_ptr? => true,
|
|
1069
1102
|
:args=>[ {:type=>"CUSTOM_TYPE*", :name=>"thing1", :ptr? => true, :const? => false, :const_ptr? => false},
|
|
1070
1103
|
{:type=>"int*", :name=>"thing2", :ptr? => true, :const? => false, :const_ptr? => false},
|
|
1071
|
-
{:type=>"char*", :name=>"thing3", :ptr? =>
|
|
1104
|
+
{:type=>"char*", :name=>"thing3", :ptr? => false, :const? => false, :const_ptr? => false}, #THIS one will likely change in the future when we improve multidimensional array support
|
|
1072
1105
|
{:type=>"int**", :name=>"thing4", :ptr? => true, :const? => false, :const_ptr? => false} #THIS one will likely change in the future when we improve multidimensional array support
|
|
1073
1106
|
],
|
|
1074
1107
|
:args_string=>"CUSTOM_TYPE* thing1, int* thing2, char* thing3, int** thing4",
|
|
@@ -1407,7 +1440,7 @@ describe CMockHeaderParser, "Verify CMockHeaderParser Module" do
|
|
|
1407
1440
|
:contains_ptr? => true,
|
|
1408
1441
|
:args=>[ {:type=>"sqlite3_stmt*", :name=>"cmock_arg2", :ptr? => true, :const? => false, :const_ptr? => false},
|
|
1409
1442
|
{:type=>"int", :name=>"cmock_arg3", :ptr? => false, :const? => false, :const_ptr? => false},
|
|
1410
|
-
{:type=>"char*", :name=>"cmock_arg4", :ptr? =>
|
|
1443
|
+
{:type=>"char*", :name=>"cmock_arg4", :ptr? => false, :const? => true, :const_ptr? => false},
|
|
1411
1444
|
{:type=>"int", :name=>"n", :ptr? => false, :const? => false, :const_ptr? => false},
|
|
1412
1445
|
{:type=>"cmock_module_func_ptr1", :name=>"cmock_arg1", :ptr? => false, :const? => false, :const_ptr? => false}
|
|
1413
1446
|
],
|
|
@@ -1510,4 +1543,69 @@ describe CMockHeaderParser, "Verify CMockHeaderParser Module" do
|
|
|
1510
1543
|
assert_equal(expected, @parser.parse("module", source)[:functions])
|
|
1511
1544
|
end
|
|
1512
1545
|
|
|
1546
|
+
it "divines all permutations of ptr, const, and const_ptr correctly" do
|
|
1547
|
+
truth_table = [
|
|
1548
|
+
# argument ptr const const_ptr
|
|
1549
|
+
[ "constNOTconst constNOTconst", false, false, false ],
|
|
1550
|
+
[ "const constNOTconst constNOTconst", false, true, false ],
|
|
1551
|
+
[ "constNOTconst const constNOTconst", false, true, false ],
|
|
1552
|
+
[ "constNOTconst *constNOTconst", true, false, false ],
|
|
1553
|
+
[ "const constNOTconst *constNOTconst", true, true, false ],
|
|
1554
|
+
[ "constNOTconst const *constNOTconst", true, true, false ],
|
|
1555
|
+
[ "constNOTconst *const constNOTconst", true, false, true ],
|
|
1556
|
+
[ "const constNOTconst *const constNOTconst", true, true, true ],
|
|
1557
|
+
[ "constNOTconst const *const constNOTconst", true, true, true ],
|
|
1558
|
+
[ "constNOTconst **constNOTconst", true, false, false ],
|
|
1559
|
+
[ "const constNOTconst **constNOTconst", true, false, false ],
|
|
1560
|
+
[ "constNOTconst const **constNOTconst", true, false, false ],
|
|
1561
|
+
[ "constNOTconst *const *constNOTconst", true, true, false ],
|
|
1562
|
+
[ "const constNOTconst *const *constNOTconst", true, true, false ],
|
|
1563
|
+
[ "constNOTconst const *const *constNOTconst", true, true, false ],
|
|
1564
|
+
[ "constNOTconst **const constNOTconst", true, false, true ],
|
|
1565
|
+
[ "const constNOTconst **const constNOTconst", true, false, true ],
|
|
1566
|
+
[ "constNOTconst const **const constNOTconst", true, false, true ],
|
|
1567
|
+
[ "constNOTconst *const *const constNOTconst", true, true, true ],
|
|
1568
|
+
[ "const constNOTconst *const *const constNOTconst", true, true, true ],
|
|
1569
|
+
[ "constNOTconst const *const *const constNOTconst", true, true, true ]
|
|
1570
|
+
]
|
|
1571
|
+
|
|
1572
|
+
truth_table.each do |entry|
|
|
1573
|
+
assert_equal(@parser.divine_ptr(entry[0]), entry[1])
|
|
1574
|
+
assert_equal(@parser.divine_const(entry[0]), entry[2])
|
|
1575
|
+
assert_equal(@parser.divine_ptr_and_const(entry[0]),
|
|
1576
|
+
{ ptr?: entry[1], const?: entry[2], const_ptr?: entry[3] })
|
|
1577
|
+
end
|
|
1578
|
+
end
|
|
1579
|
+
|
|
1580
|
+
it "divines ptr correctly for string types" do
|
|
1581
|
+
truth_table = [
|
|
1582
|
+
# argument ptr
|
|
1583
|
+
[ "char s", false ],
|
|
1584
|
+
[ "const char s", false ],
|
|
1585
|
+
[ "char const s", false ],
|
|
1586
|
+
[ "char *s", false ],
|
|
1587
|
+
[ "const char *s", false ],
|
|
1588
|
+
[ "char const *s", false ],
|
|
1589
|
+
[ "char *const s", false ],
|
|
1590
|
+
[ "const char *const s", false ],
|
|
1591
|
+
[ "char const *const s", false ],
|
|
1592
|
+
[ "char **s", true ],
|
|
1593
|
+
[ "const char **s", true ],
|
|
1594
|
+
[ "char const **s", true ],
|
|
1595
|
+
[ "char *const *s", true ],
|
|
1596
|
+
[ "const char *const *s", true ],
|
|
1597
|
+
[ "char const *const *s", true ],
|
|
1598
|
+
[ "char **const s", true ],
|
|
1599
|
+
[ "const char **const s", true ],
|
|
1600
|
+
[ "char const **const s", true ],
|
|
1601
|
+
[ "char *const *const s", true ],
|
|
1602
|
+
[ "const char *const *const s", true ],
|
|
1603
|
+
[ "char const *const *const s", true ]
|
|
1604
|
+
]
|
|
1605
|
+
|
|
1606
|
+
truth_table.each do |entry|
|
|
1607
|
+
assert_equal(@parser.divine_ptr(entry[0]), entry[1])
|
|
1608
|
+
end
|
|
1609
|
+
end
|
|
1610
|
+
|
|
1513
1611
|
end
|
data/vendor/unity/README.md
CHANGED
|
@@ -118,6 +118,17 @@ Another way of calling TEST_ASSERT_EQUAL_INT
|
|
|
118
118
|
Asserts that the actual value is within plus or minus delta of the expected value. This also comes in
|
|
119
119
|
size specific variants.
|
|
120
120
|
|
|
121
|
+
|
|
122
|
+
TEST_ASSERT_GREATER_THAN(threshold, actual)
|
|
123
|
+
|
|
124
|
+
Asserts that the actual value is greater than the threshold. This also comes in size specific variants.
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
TEST_ASSERT_LESS_THAN(threshold, actual)
|
|
128
|
+
|
|
129
|
+
Asserts that the actual value is less than the threshold. This also comes in size specific variants.
|
|
130
|
+
|
|
131
|
+
|
|
121
132
|
Arrays
|
|
122
133
|
------
|
|
123
134
|
|
|
@@ -172,7 +172,7 @@ class UnityModuleGenerator
|
|
|
172
172
|
when 'camel' then part1
|
|
173
173
|
when 'snake' then part1.downcase
|
|
174
174
|
when 'caps' then part1.upcase
|
|
175
|
-
else part1
|
|
175
|
+
else part1
|
|
176
176
|
end
|
|
177
177
|
else
|
|
178
178
|
case (@options[:naming])
|
|
@@ -180,7 +180,7 @@ class UnityModuleGenerator
|
|
|
180
180
|
when 'camel' then part1 + part2
|
|
181
181
|
when 'snake' then part1.downcase + '_' + part2.downcase
|
|
182
182
|
when 'caps' then part1.upcase + '_' + part2.upcase
|
|
183
|
-
else part1
|
|
183
|
+
else part1 + '_' + part2
|
|
184
184
|
end
|
|
185
185
|
end
|
|
186
186
|
end
|
|
@@ -290,7 +290,7 @@ if $0 == __FILE__
|
|
|
290
290
|
' -n"camel" sets the file naming convention.',
|
|
291
291
|
' bumpy - BumpyCaseFilenames.',
|
|
292
292
|
' camel - camelCaseFilenames.',
|
|
293
|
-
' snake - snake_case_filenames.
|
|
293
|
+
' snake - snake_case_filenames.',
|
|
294
294
|
' caps - CAPS_CASE_FILENAMES.',
|
|
295
295
|
' -u update subversion too (requires subversion command line)',
|
|
296
296
|
' -y"my.yml" selects a different yaml config file for module generation',
|
|
File without changes
|
|
@@ -290,6 +290,60 @@ Asserts the specified bit of the `actual` parameter is high.
|
|
|
290
290
|
|
|
291
291
|
Asserts the specified bit of the `actual` parameter is low.
|
|
292
292
|
|
|
293
|
+
### Integer Less Than / Greater Than
|
|
294
|
+
|
|
295
|
+
These assertions verify that the `actual` parameter is less than or greater
|
|
296
|
+
than `threshold` (exclusive). For example, if the threshold value is 0 for the
|
|
297
|
+
greater than assertion will fail if it is 0 or less.
|
|
298
|
+
|
|
299
|
+
##### `TEST_ASSERT_GREATER_THAN (threshold, actual)`
|
|
300
|
+
|
|
301
|
+
##### `TEST_ASSERT_GREATER_THAN_INT (threshold, actual)`
|
|
302
|
+
|
|
303
|
+
##### `TEST_ASSERT_GREATER_THAN_INT8 (threshold, actual)`
|
|
304
|
+
|
|
305
|
+
##### `TEST_ASSERT_GREATER_THAN_INT16 (threshold, actual)`
|
|
306
|
+
|
|
307
|
+
##### `TEST_ASSERT_GREATER_THAN_INT32 (threshold, actual)`
|
|
308
|
+
|
|
309
|
+
##### `TEST_ASSERT_GREATER_THAN_UINT (threshold, actual)`
|
|
310
|
+
|
|
311
|
+
##### `TEST_ASSERT_GREATER_THAN_UINT8 (threshold, actual)`
|
|
312
|
+
|
|
313
|
+
##### `TEST_ASSERT_GREATER_THAN_UINT16 (threshold, actual)`
|
|
314
|
+
|
|
315
|
+
##### `TEST_ASSERT_GREATER_THAN_UINT32 (threshold, actual)`
|
|
316
|
+
|
|
317
|
+
##### `TEST_ASSERT_GREATER_THAN_HEX8 (threshold, actual)`
|
|
318
|
+
|
|
319
|
+
##### `TEST_ASSERT_GREATER_THAN_HEX16 (threshold, actual)`
|
|
320
|
+
|
|
321
|
+
##### `TEST_ASSERT_GREATER_THAN_HEX32 (threshold, actual)`
|
|
322
|
+
|
|
323
|
+
##### `TEST_ASSERT_LESS_THAN (threshold, actual)`
|
|
324
|
+
|
|
325
|
+
##### `TEST_ASSERT_LESS_THAN_INT (threshold, actual)`
|
|
326
|
+
|
|
327
|
+
##### `TEST_ASSERT_LESS_THAN_INT8 (threshold, actual)`
|
|
328
|
+
|
|
329
|
+
##### `TEST_ASSERT_LESS_THAN_INT16 (threshold, actual)`
|
|
330
|
+
|
|
331
|
+
##### `TEST_ASSERT_LESS_THAN_INT32 (threshold, actual)`
|
|
332
|
+
|
|
333
|
+
##### `TEST_ASSERT_LESS_THAN_UINT (threshold, actual)`
|
|
334
|
+
|
|
335
|
+
##### `TEST_ASSERT_LESS_THAN_UINT8 (threshold, actual)`
|
|
336
|
+
|
|
337
|
+
##### `TEST_ASSERT_LESS_THAN_UINT16 (threshold, actual)`
|
|
338
|
+
|
|
339
|
+
##### `TEST_ASSERT_LESS_THAN_UINT32 (threshold, actual)`
|
|
340
|
+
|
|
341
|
+
##### `TEST_ASSERT_LESS_THAN_HEX8 (threshold, actual)`
|
|
342
|
+
|
|
343
|
+
##### `TEST_ASSERT_LESS_THAN_HEX16 (threshold, actual)`
|
|
344
|
+
|
|
345
|
+
##### `TEST_ASSERT_LESS_THAN_HEX32 (threshold, actual)`
|
|
346
|
+
|
|
293
347
|
|
|
294
348
|
### Integer Ranges (of all sizes)
|
|
295
349
|
|