ceedling 0.20.3 → 0.21.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +3 -0
- data/Gemfile.lock +1 -0
- data/Rakefile +1 -0
- data/bin/ceedling +79 -26
- data/lib/ceedling/configurator_plugins.rb +0 -18
- data/lib/ceedling/rules_cmock.rake +1 -1
- data/lib/ceedling/tasks_base.rake +5 -1
- data/lib/ceedling/tasks_tests.rake +12 -9
- data/lib/ceedling/version.rb +1 -1
- data/lib/ceedling/version.rb.erb +1 -1
- data/plugins/fake_function_framework/README.md +250 -0
- data/plugins/fake_function_framework/Rakefile +19 -0
- data/plugins/fake_function_framework/examples/fff_example/project.yml +71 -0
- data/plugins/fake_function_framework/examples/fff_example/rakefile.rb +7 -0
- data/plugins/fake_function_framework/examples/fff_example/src/bar.c +1 -0
- data/plugins/fake_function_framework/examples/fff_example/src/bar.h +13 -0
- data/plugins/fake_function_framework/examples/fff_example/src/custom_types.h +6 -0
- data/plugins/fake_function_framework/examples/fff_example/src/display.c +7 -0
- data/plugins/fake_function_framework/examples/fff_example/src/display.h +16 -0
- data/plugins/fake_function_framework/examples/fff_example/src/event_processor.c +92 -0
- data/plugins/fake_function_framework/examples/fff_example/src/event_processor.h +11 -0
- data/plugins/fake_function_framework/examples/fff_example/src/foo.c +16 -0
- data/plugins/fake_function_framework/examples/fff_example/src/foo.h +8 -0
- data/plugins/fake_function_framework/examples/fff_example/src/subfolder/zzz.c +1 -0
- data/plugins/fake_function_framework/examples/fff_example/src/subfolder/zzz.h +6 -0
- data/plugins/fake_function_framework/examples/fff_example/test/test_event_processor.c +155 -0
- data/plugins/fake_function_framework/examples/fff_example/test/test_foo.c +47 -0
- data/plugins/fake_function_framework/lib/fake_function_framework.rb +87 -0
- data/plugins/fake_function_framework/lib/fff_mock_generator.rb +159 -0
- data/plugins/fake_function_framework/spec/fff_mock_generator_spec.rb +464 -0
- data/plugins/fake_function_framework/spec/spec_helper.rb +96 -0
- data/plugins/fake_function_framework/src/fff_unity_helper.h +33 -0
- data/plugins/fake_function_framework/vendor/fff/LICENSE +25 -0
- data/plugins/fake_function_framework/vendor/fff/Makefile +10 -0
- data/plugins/fake_function_framework/vendor/fff/README.md +454 -0
- data/plugins/fake_function_framework/vendor/fff/buildandtest +15 -0
- data/plugins/fake_function_framework/vendor/fff/examples/Makefile +7 -0
- data/plugins/fake_function_framework/vendor/fff/examples/driver_testing/Makefile +64 -0
- data/plugins/fake_function_framework/vendor/fff/examples/driver_testing/driver.c +24 -0
- data/plugins/fake_function_framework/vendor/fff/examples/driver_testing/driver.h +11 -0
- data/plugins/fake_function_framework/vendor/fff/examples/driver_testing/driver.test.cpp +50 -0
- data/plugins/fake_function_framework/vendor/fff/examples/driver_testing/driver.test.fff.cpp +62 -0
- data/plugins/fake_function_framework/vendor/fff/examples/driver_testing/hardware_abstraction.h +15 -0
- data/plugins/fake_function_framework/vendor/fff/examples/driver_testing/registers.h +13 -0
- data/plugins/fake_function_framework/vendor/fff/examples/embedded_ui/DISPLAY.h +17 -0
- data/plugins/fake_function_framework/vendor/fff/examples/embedded_ui/Kata.txt +25 -0
- data/plugins/fake_function_framework/vendor/fff/examples/embedded_ui/Makefile +67 -0
- data/plugins/fake_function_framework/vendor/fff/examples/embedded_ui/SYSTEM.h +21 -0
- data/plugins/fake_function_framework/vendor/fff/examples/embedded_ui/UI.c +48 -0
- data/plugins/fake_function_framework/vendor/fff/examples/embedded_ui/UI.h +12 -0
- data/plugins/fake_function_framework/vendor/fff/examples/embedded_ui/UI_test_ansic.c +183 -0
- data/plugins/fake_function_framework/vendor/fff/examples/embedded_ui/UI_test_cpp.cpp +136 -0
- data/plugins/fake_function_framework/vendor/fff/examples/embedded_ui/test_suite_template.c +34 -0
- data/plugins/fake_function_framework/vendor/fff/fakegen.rb +420 -0
- data/plugins/fake_function_framework/vendor/fff/fff.h +5112 -0
- data/plugins/fake_function_framework/vendor/fff/gtest/Makefile +22 -0
- data/plugins/fake_function_framework/vendor/fff/gtest/gtest-all.cc +9118 -0
- data/plugins/fake_function_framework/vendor/fff/gtest/gtest-main.cc +6 -0
- data/plugins/fake_function_framework/vendor/fff/gtest/gtest.h +19537 -0
- data/plugins/fake_function_framework/vendor/fff/test/Makefile +81 -0
- data/plugins/fake_function_framework/vendor/fff/test/c_test_framework.h +15 -0
- data/plugins/fake_function_framework/vendor/fff/test/fff_test_c.c +108 -0
- data/plugins/fake_function_framework/vendor/fff/test/fff_test_cpp.cpp +45 -0
- data/plugins/fake_function_framework/vendor/fff/test/fff_test_global_c.c +76 -0
- data/plugins/fake_function_framework/vendor/fff/test/fff_test_global_cpp.cpp +23 -0
- data/plugins/fake_function_framework/vendor/fff/test/global_fakes.c +13 -0
- data/plugins/fake_function_framework/vendor/fff/test/global_fakes.h +37 -0
- data/plugins/fake_function_framework/vendor/fff/test/test_cases.include +276 -0
- data/plugins/gcov/README.md +9 -0
- data/plugins/gcov/{template.erb → assets/template.erb} +1 -1
- data/plugins/gcov/{defaults.yml → config/defaults.yml} +10 -1
- data/plugins/gcov/gcov.rake +20 -8
- data/plugins/gcov/{gcov.rb → lib/gcov.rb} +13 -24
- data/plugins/module_generator/module_generator.rake +3 -3
- data/plugins/warnings_report/lib/warnings_report.rb +69 -0
- data/plugins/xml_tests_report/lib/xml_tests_report.rb +108 -0
- data/spec/spec_system_helper.rb +1 -1
- data/vendor/c_exception/lib/CException.h +1 -1
- data/vendor/c_exception/vendor/unity/auto/generate_module.rb +16 -16
- data/vendor/c_exception/vendor/unity/auto/generate_test_runner.rb +61 -21
- data/vendor/c_exception/vendor/unity/auto/stylize_as_junit.rb +5 -1
- data/vendor/c_exception/vendor/unity/auto/unity_to_junit.py +146 -0
- data/vendor/c_exception/vendor/unity/docs/UnityAssertionsCheatSheetSuitableforPrintingandPossiblyFraming.pdf +0 -0
- data/vendor/c_exception/vendor/unity/docs/UnityAssertionsReference.pdf +0 -0
- data/vendor/c_exception/vendor/unity/docs/UnityConfigurationGuide.pdf +0 -0
- data/vendor/c_exception/vendor/unity/docs/UnityGettingStartedGuide.pdf +0 -0
- data/vendor/c_exception/vendor/unity/docs/UnityHelperScriptsGuide.pdf +0 -0
- data/vendor/c_exception/vendor/unity/examples/example_1/makefile +1 -1
- data/vendor/c_exception/vendor/unity/examples/example_1/src/ProductionCode.c +7 -7
- data/vendor/c_exception/vendor/unity/examples/example_1/src/ProductionCode2.c +2 -2
- data/vendor/c_exception/vendor/unity/examples/example_1/test/TestProductionCode.c +14 -14
- data/vendor/c_exception/vendor/unity/examples/example_1/test/TestProductionCode2.c +2 -2
- data/vendor/c_exception/vendor/unity/examples/example_1/test/test_runners/TestProductionCode2_Runner.c +5 -5
- data/vendor/c_exception/vendor/unity/examples/example_1/test/test_runners/TestProductionCode_Runner.c +5 -5
- data/vendor/c_exception/vendor/unity/examples/unity_config.h +257 -0
- data/vendor/c_exception/vendor/unity/extras/fixture/src/unity_fixture.c +9 -8
- data/vendor/c_exception/vendor/unity/extras/fixture/src/unity_fixture_internals.h +1 -0
- data/vendor/c_exception/vendor/unity/extras/fixture/test/Makefile +28 -8
- data/vendor/c_exception/vendor/unity/extras/fixture/test/unity_fixture_Test.c +57 -17
- data/vendor/c_exception/vendor/unity/extras/fixture/test/unity_fixture_TestRunner.c +3 -0
- data/vendor/c_exception/vendor/unity/extras/fixture/test/unity_output_Spy.c +2 -3
- data/vendor/c_exception/vendor/unity/extras/fixture/test/unity_output_Spy.h +1 -1
- data/vendor/c_exception/vendor/unity/release/version.info +1 -1
- data/vendor/c_exception/vendor/unity/src/unity.c +336 -191
- data/vendor/c_exception/vendor/unity/src/unity.h +73 -69
- data/vendor/c_exception/vendor/unity/src/unity_internals.h +119 -90
- data/vendor/c_exception/vendor/unity/test/Makefile +51 -0
- data/vendor/c_exception/vendor/unity/test/expectdata/testsample_cmd.c +5 -5
- data/vendor/c_exception/vendor/unity/test/expectdata/testsample_def.c +5 -5
- data/vendor/c_exception/vendor/unity/test/expectdata/testsample_head1.c +5 -5
- data/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_cmd.c +6 -6
- data/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_def.c +6 -6
- data/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_head1.c +6 -6
- data/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_new1.c +6 -6
- data/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_new2.c +8 -8
- data/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_param.c +6 -6
- data/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_run1.c +6 -6
- data/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_run2.c +8 -8
- data/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_yaml.c +7 -7
- data/vendor/c_exception/vendor/unity/test/expectdata/testsample_new1.c +5 -5
- data/vendor/c_exception/vendor/unity/test/expectdata/testsample_new2.c +7 -7
- data/vendor/c_exception/vendor/unity/test/expectdata/testsample_param.c +5 -5
- data/vendor/c_exception/vendor/unity/test/expectdata/testsample_run1.c +5 -5
- data/vendor/c_exception/vendor/unity/test/expectdata/testsample_run2.c +7 -7
- data/vendor/c_exception/vendor/unity/test/expectdata/testsample_yaml.c +6 -6
- data/vendor/c_exception/vendor/unity/test/rakefile +5 -0
- data/vendor/c_exception/vendor/unity/test/rakefile_helper.rb +9 -7
- data/vendor/c_exception/vendor/unity/test/targets/clang_file.yml +1 -0
- data/vendor/c_exception/vendor/unity/test/targets/clang_strict.yml +3 -0
- data/vendor/c_exception/vendor/unity/test/targets/gcc_32.yml +1 -0
- data/vendor/c_exception/vendor/unity/test/targets/gcc_64.yml +1 -0
- data/vendor/c_exception/vendor/unity/test/targets/gcc_auto_limits.yml +1 -0
- data/vendor/c_exception/vendor/unity/test/targets/gcc_auto_sizeof.yml +1 -0
- data/vendor/c_exception/vendor/unity/test/targets/gcc_auto_stdint.yml +1 -0
- data/vendor/c_exception/vendor/unity/test/targets/gcc_manual_math.yml +1 -0
- data/vendor/c_exception/vendor/unity/test/targets/iar_arm_v4.yml +1 -0
- data/vendor/c_exception/vendor/unity/test/targets/iar_arm_v5.yml +1 -0
- data/vendor/c_exception/vendor/unity/test/targets/iar_arm_v5_3.yml +1 -0
- data/vendor/c_exception/vendor/unity/test/targets/iar_armcortex_LM3S9B92_v5_4.yml +1 -0
- data/vendor/c_exception/vendor/unity/test/targets/iar_cortexm3_v5.yml +1 -0
- data/vendor/c_exception/vendor/unity/test/targets/iar_msp430.yml +1 -0
- data/vendor/c_exception/vendor/unity/test/targets/iar_sh2a_v6.yml +1 -0
- data/vendor/c_exception/vendor/unity/test/testdata/CException.h +11 -0
- data/vendor/c_exception/vendor/unity/test/testdata/Defs.h +8 -0
- data/vendor/c_exception/vendor/unity/test/testdata/cmock.h +14 -0
- data/vendor/c_exception/vendor/unity/test/testdata/mockMock.h +13 -0
- data/vendor/c_exception/vendor/unity/test/testdata/testRunnerGenerator.c +183 -0
- data/vendor/c_exception/vendor/unity/test/testdata/testRunnerGeneratorSmall.c +65 -0
- data/vendor/c_exception/vendor/unity/test/testdata/testRunnerGeneratorWithMocks.c +192 -0
- data/vendor/c_exception/vendor/unity/test/tests/test_generate_test_runner.rb +1221 -71
- data/vendor/c_exception/vendor/unity/test/tests/testparameterized.c +1 -1
- data/vendor/c_exception/vendor/unity/test/tests/testunity.c +127 -5
- data/vendor/cmock/docs/CMock_Summary.md +1 -1
- data/vendor/cmock/lib/cmock_generator.rb +7 -2
- data/vendor/cmock/lib/cmock_header_parser.rb +29 -9
- data/vendor/cmock/scripts/create_mock.rb +1 -1
- data/vendor/cmock/test/system/test_compilation/const.h +15 -0
- data/vendor/cmock/test/unit/cmock_generator_main_test.rb +4 -4
- data/vendor/cmock/test/unit/cmock_header_parser_test.rb +136 -73
- data/vendor/cmock/vendor/c_exception/lib/CException.h +1 -1
- data/vendor/cmock/vendor/c_exception/vendor/unity/auto/generate_module.rb +16 -16
- data/vendor/cmock/vendor/c_exception/vendor/unity/auto/generate_test_runner.rb +61 -21
- data/vendor/cmock/vendor/c_exception/vendor/unity/auto/stylize_as_junit.rb +5 -1
- data/vendor/cmock/vendor/c_exception/vendor/unity/auto/unity_to_junit.py +146 -0
- data/vendor/cmock/vendor/c_exception/vendor/unity/docs/UnityAssertionsCheatSheetSuitableforPrintingandPossiblyFraming.pdf +0 -0
- data/vendor/cmock/vendor/c_exception/vendor/unity/docs/UnityAssertionsReference.pdf +0 -0
- data/vendor/cmock/vendor/c_exception/vendor/unity/docs/UnityConfigurationGuide.pdf +0 -0
- data/vendor/cmock/vendor/c_exception/vendor/unity/docs/UnityGettingStartedGuide.pdf +0 -0
- data/vendor/cmock/vendor/c_exception/vendor/unity/docs/UnityHelperScriptsGuide.pdf +0 -0
- data/vendor/cmock/vendor/c_exception/vendor/unity/examples/example_1/makefile +1 -1
- data/vendor/cmock/vendor/c_exception/vendor/unity/examples/example_1/src/ProductionCode.c +7 -7
- data/vendor/cmock/vendor/c_exception/vendor/unity/examples/example_1/src/ProductionCode2.c +2 -2
- data/vendor/cmock/vendor/c_exception/vendor/unity/examples/example_1/test/TestProductionCode.c +14 -14
- data/vendor/cmock/vendor/c_exception/vendor/unity/examples/example_1/test/TestProductionCode2.c +2 -2
- data/vendor/cmock/vendor/c_exception/vendor/unity/examples/example_1/test/test_runners/TestProductionCode2_Runner.c +5 -5
- data/vendor/cmock/vendor/c_exception/vendor/unity/examples/example_1/test/test_runners/TestProductionCode_Runner.c +5 -5
- data/vendor/cmock/vendor/c_exception/vendor/unity/examples/unity_config.h +257 -0
- data/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/src/unity_fixture.c +9 -8
- data/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/src/unity_fixture_internals.h +1 -0
- data/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/test/Makefile +28 -8
- data/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/test/unity_fixture_Test.c +57 -17
- data/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/test/unity_fixture_TestRunner.c +3 -0
- data/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/test/unity_output_Spy.c +2 -3
- data/vendor/cmock/vendor/c_exception/vendor/unity/extras/fixture/test/unity_output_Spy.h +1 -1
- data/vendor/cmock/vendor/c_exception/vendor/unity/release/version.info +1 -1
- data/vendor/cmock/vendor/c_exception/vendor/unity/src/unity.c +336 -191
- data/vendor/cmock/vendor/c_exception/vendor/unity/src/unity.h +73 -69
- data/vendor/cmock/vendor/c_exception/vendor/unity/src/unity_internals.h +119 -90
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/Makefile +51 -0
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_cmd.c +5 -5
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_def.c +5 -5
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_head1.c +5 -5
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_cmd.c +6 -6
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_def.c +6 -6
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_head1.c +6 -6
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_new1.c +6 -6
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_new2.c +8 -8
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_param.c +6 -6
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_run1.c +6 -6
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_run2.c +8 -8
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_mock_yaml.c +7 -7
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_new1.c +5 -5
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_new2.c +7 -7
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_param.c +5 -5
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_run1.c +5 -5
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_run2.c +7 -7
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/expectdata/testsample_yaml.c +6 -6
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/rakefile +5 -0
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/rakefile_helper.rb +9 -7
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/targets/clang_file.yml +1 -0
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/targets/clang_strict.yml +3 -0
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/targets/gcc_32.yml +1 -0
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/targets/gcc_64.yml +1 -0
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/targets/gcc_auto_limits.yml +1 -0
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/targets/gcc_auto_sizeof.yml +1 -0
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/targets/gcc_auto_stdint.yml +1 -0
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/targets/gcc_manual_math.yml +1 -0
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/targets/iar_arm_v4.yml +1 -0
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/targets/iar_arm_v5.yml +1 -0
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/targets/iar_arm_v5_3.yml +1 -0
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/targets/iar_armcortex_LM3S9B92_v5_4.yml +1 -0
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/targets/iar_cortexm3_v5.yml +1 -0
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/targets/iar_msp430.yml +1 -0
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/targets/iar_sh2a_v6.yml +1 -0
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/testdata/CException.h +11 -0
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/testdata/Defs.h +8 -0
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/testdata/cmock.h +14 -0
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/testdata/mockMock.h +13 -0
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/testdata/testRunnerGenerator.c +183 -0
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/testdata/testRunnerGeneratorSmall.c +65 -0
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/testdata/testRunnerGeneratorWithMocks.c +192 -0
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/tests/test_generate_test_runner.rb +1221 -71
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/tests/testparameterized.c +1 -1
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/tests/testunity.c +127 -5
- data/vendor/cmock/vendor/unity/auto/generate_module.rb +16 -16
- data/vendor/cmock/vendor/unity/auto/generate_test_runner.rb +61 -21
- data/vendor/cmock/vendor/unity/auto/stylize_as_junit.rb +5 -1
- data/vendor/cmock/vendor/unity/auto/unity_to_junit.py +146 -0
- data/vendor/cmock/vendor/unity/docs/UnityAssertionsCheatSheetSuitableforPrintingandPossiblyFraming.pdf +0 -0
- data/vendor/cmock/vendor/unity/docs/UnityAssertionsReference.pdf +0 -0
- data/vendor/cmock/vendor/unity/docs/UnityConfigurationGuide.pdf +0 -0
- data/vendor/cmock/vendor/unity/docs/UnityGettingStartedGuide.pdf +0 -0
- data/vendor/cmock/vendor/unity/docs/UnityHelperScriptsGuide.pdf +0 -0
- data/vendor/cmock/vendor/unity/examples/example_1/makefile +1 -1
- data/vendor/cmock/vendor/unity/examples/example_1/src/ProductionCode.c +7 -7
- data/vendor/cmock/vendor/unity/examples/example_1/src/ProductionCode2.c +2 -2
- data/vendor/cmock/vendor/unity/examples/example_1/test/TestProductionCode.c +14 -14
- data/vendor/cmock/vendor/unity/examples/example_1/test/TestProductionCode2.c +2 -2
- data/vendor/cmock/vendor/unity/examples/example_1/test/test_runners/TestProductionCode2_Runner.c +5 -5
- data/vendor/cmock/vendor/unity/examples/example_1/test/test_runners/TestProductionCode_Runner.c +5 -5
- data/vendor/cmock/vendor/unity/examples/unity_config.h +257 -0
- data/vendor/cmock/vendor/unity/extras/fixture/src/unity_fixture.c +3 -0
- data/vendor/cmock/vendor/unity/extras/fixture/test/unity_fixture_Test.c +5 -2
- data/vendor/cmock/vendor/unity/extras/fixture/test/unity_output_Spy.c +1 -2
- data/vendor/cmock/vendor/unity/extras/fixture/test/unity_output_Spy.h +1 -1
- data/vendor/cmock/vendor/unity/src/unity.c +329 -186
- data/vendor/cmock/vendor/unity/src/unity.h +73 -69
- data/vendor/cmock/vendor/unity/src/unity_internals.h +119 -94
- data/vendor/cmock/vendor/unity/test/Makefile +4 -5
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_cmd.c +5 -5
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_def.c +5 -5
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_head1.c +5 -5
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_cmd.c +6 -6
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_def.c +6 -6
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_head1.c +6 -6
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_new1.c +6 -6
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_new2.c +8 -8
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_param.c +6 -6
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_run1.c +6 -6
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_run2.c +8 -8
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_mock_yaml.c +7 -7
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_new1.c +5 -5
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_new2.c +7 -7
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_param.c +5 -5
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_run1.c +5 -5
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_run2.c +7 -7
- data/vendor/cmock/vendor/unity/test/expectdata/testsample_yaml.c +6 -6
- data/vendor/cmock/vendor/unity/test/rakefile +5 -0
- data/vendor/cmock/vendor/unity/test/rakefile_helper.rb +9 -7
- data/vendor/cmock/vendor/unity/test/targets/clang_file.yml +1 -0
- data/vendor/cmock/vendor/unity/test/targets/clang_strict.yml +3 -0
- data/vendor/cmock/vendor/unity/test/targets/gcc_32.yml +1 -0
- data/vendor/cmock/vendor/unity/test/targets/gcc_64.yml +1 -0
- data/vendor/cmock/vendor/unity/test/targets/gcc_auto_limits.yml +1 -0
- data/vendor/cmock/vendor/unity/test/targets/gcc_auto_sizeof.yml +1 -0
- data/vendor/cmock/vendor/unity/test/targets/gcc_auto_stdint.yml +1 -0
- data/vendor/cmock/vendor/unity/test/targets/gcc_manual_math.yml +1 -0
- data/vendor/cmock/vendor/unity/test/targets/iar_arm_v4.yml +1 -0
- data/vendor/cmock/vendor/unity/test/targets/iar_arm_v5.yml +1 -0
- data/vendor/cmock/vendor/unity/test/targets/iar_arm_v5_3.yml +1 -0
- data/vendor/cmock/vendor/unity/test/targets/iar_armcortex_LM3S9B92_v5_4.yml +1 -0
- data/vendor/cmock/vendor/unity/test/targets/iar_cortexm3_v5.yml +1 -0
- data/vendor/cmock/vendor/unity/test/targets/iar_msp430.yml +1 -0
- data/vendor/cmock/vendor/unity/test/targets/iar_sh2a_v6.yml +1 -0
- data/vendor/cmock/vendor/unity/test/testdata/CException.h +11 -0
- data/vendor/cmock/vendor/unity/test/testdata/Defs.h +8 -0
- data/vendor/cmock/vendor/unity/test/testdata/cmock.h +14 -0
- data/vendor/cmock/vendor/unity/test/testdata/mockMock.h +13 -0
- data/vendor/cmock/vendor/unity/test/testdata/testRunnerGenerator.c +183 -0
- data/vendor/cmock/vendor/unity/test/testdata/testRunnerGeneratorSmall.c +65 -0
- data/vendor/cmock/vendor/unity/test/testdata/testRunnerGeneratorWithMocks.c +192 -0
- data/vendor/cmock/vendor/unity/test/tests/test_generate_test_runner.rb +1221 -71
- data/vendor/cmock/vendor/unity/test/tests/testparameterized.c +1 -1
- data/vendor/cmock/vendor/unity/test/tests/testunity.c +104 -7
- data/vendor/deep_merge/README +94 -94
- data/vendor/deep_merge/Rakefile +28 -28
- data/vendor/deep_merge/lib/deep_merge.rb +211 -211
- data/vendor/deep_merge/test/test_deep_merge.rb +553 -553
- data/vendor/unity/auto/generate_module.rb +16 -16
- data/vendor/unity/auto/generate_test_runner.rb +61 -21
- data/vendor/unity/auto/stylize_as_junit.rb +5 -1
- data/vendor/unity/auto/unity_to_junit.py +146 -0
- data/vendor/unity/docs/UnityAssertionsCheatSheetSuitableforPrintingandPossiblyFraming.pdf +0 -0
- data/vendor/unity/docs/UnityAssertionsReference.pdf +0 -0
- data/vendor/unity/docs/UnityConfigurationGuide.pdf +0 -0
- data/vendor/unity/docs/UnityGettingStartedGuide.pdf +0 -0
- data/vendor/unity/docs/UnityHelperScriptsGuide.pdf +0 -0
- data/vendor/unity/examples/example_1/makefile +1 -1
- data/vendor/unity/examples/example_1/src/ProductionCode.c +7 -7
- data/vendor/unity/examples/example_1/src/ProductionCode2.c +2 -2
- data/vendor/unity/examples/example_1/test/TestProductionCode.c +14 -14
- data/vendor/unity/examples/example_1/test/TestProductionCode2.c +2 -2
- data/vendor/unity/examples/example_1/test/test_runners/TestProductionCode2_Runner.c +5 -5
- data/vendor/unity/examples/example_1/test/test_runners/TestProductionCode_Runner.c +5 -5
- data/vendor/unity/examples/unity_config.h +257 -0
- data/vendor/unity/extras/fixture/src/unity_fixture.c +3 -0
- data/vendor/unity/extras/fixture/test/unity_fixture_Test.c +5 -2
- data/vendor/unity/extras/fixture/test/unity_output_Spy.c +1 -2
- data/vendor/unity/extras/fixture/test/unity_output_Spy.h +1 -1
- data/vendor/unity/src/unity.c +329 -186
- data/vendor/unity/src/unity.h +73 -69
- data/vendor/unity/src/unity_internals.h +119 -94
- data/vendor/unity/test/Makefile +4 -5
- data/vendor/unity/test/expectdata/testsample_cmd.c +5 -5
- data/vendor/unity/test/expectdata/testsample_def.c +5 -5
- data/vendor/unity/test/expectdata/testsample_head1.c +5 -5
- data/vendor/unity/test/expectdata/testsample_mock_cmd.c +6 -6
- data/vendor/unity/test/expectdata/testsample_mock_def.c +6 -6
- data/vendor/unity/test/expectdata/testsample_mock_head1.c +6 -6
- data/vendor/unity/test/expectdata/testsample_mock_new1.c +6 -6
- data/vendor/unity/test/expectdata/testsample_mock_new2.c +8 -8
- data/vendor/unity/test/expectdata/testsample_mock_param.c +6 -6
- data/vendor/unity/test/expectdata/testsample_mock_run1.c +6 -6
- data/vendor/unity/test/expectdata/testsample_mock_run2.c +8 -8
- data/vendor/unity/test/expectdata/testsample_mock_yaml.c +7 -7
- data/vendor/unity/test/expectdata/testsample_new1.c +5 -5
- data/vendor/unity/test/expectdata/testsample_new2.c +7 -7
- data/vendor/unity/test/expectdata/testsample_param.c +5 -5
- data/vendor/unity/test/expectdata/testsample_run1.c +5 -5
- data/vendor/unity/test/expectdata/testsample_run2.c +7 -7
- data/vendor/unity/test/expectdata/testsample_yaml.c +6 -6
- data/vendor/unity/test/rakefile +5 -0
- data/vendor/unity/test/rakefile_helper.rb +9 -7
- data/vendor/unity/test/targets/clang_file.yml +1 -0
- data/vendor/unity/test/targets/clang_strict.yml +3 -0
- data/vendor/unity/test/targets/gcc_32.yml +1 -0
- data/vendor/unity/test/targets/gcc_64.yml +1 -0
- data/vendor/unity/test/targets/gcc_auto_limits.yml +1 -0
- data/vendor/unity/test/targets/gcc_auto_sizeof.yml +1 -0
- data/vendor/unity/test/targets/gcc_auto_stdint.yml +1 -0
- data/vendor/unity/test/targets/gcc_manual_math.yml +1 -0
- data/vendor/unity/test/targets/iar_arm_v4.yml +1 -0
- data/vendor/unity/test/targets/iar_arm_v5.yml +1 -0
- data/vendor/unity/test/targets/iar_arm_v5_3.yml +1 -0
- data/vendor/unity/test/targets/iar_armcortex_LM3S9B92_v5_4.yml +1 -0
- data/vendor/unity/test/targets/iar_cortexm3_v5.yml +1 -0
- data/vendor/unity/test/targets/iar_msp430.yml +1 -0
- data/vendor/unity/test/targets/iar_sh2a_v6.yml +1 -0
- data/vendor/unity/test/testdata/CException.h +11 -0
- data/vendor/unity/test/testdata/Defs.h +8 -0
- data/vendor/unity/test/testdata/cmock.h +14 -0
- data/vendor/unity/test/testdata/mockMock.h +13 -0
- data/vendor/unity/test/testdata/testRunnerGenerator.c +183 -0
- data/vendor/unity/test/testdata/testRunnerGeneratorSmall.c +65 -0
- data/vendor/unity/test/testdata/testRunnerGeneratorWithMocks.c +192 -0
- data/vendor/unity/test/tests/test_generate_test_runner.rb +1221 -71
- data/vendor/unity/test/tests/testparameterized.c +1 -1
- data/vendor/unity/test/tests/testunity.c +104 -7
- metadata +124 -32
- data/plugins/gcov/readme.txt +0 -0
- data/plugins/warnings_report/warnings_report.rb +0 -71
- data/plugins/xml_tests_report/xml_tests_report.rb +0 -110
- data/vendor/c_exception/vendor/unity/docs/Unity Summary.odt +0 -0
- data/vendor/c_exception/vendor/unity/docs/Unity Summary.pdf +0 -0
- data/vendor/c_exception/vendor/unity/docs/Unity Summary.txt +0 -224
- data/vendor/c_exception/vendor/unity/test/testdata/mocksample.c +0 -51
- data/vendor/c_exception/vendor/unity/test/testdata/sample.yml +0 -9
- data/vendor/c_exception/vendor/unity/test/testdata/testsample.c +0 -68
- data/vendor/cmock/vendor/c_exception/vendor/unity/docs/Unity Summary.odt +0 -0
- data/vendor/cmock/vendor/c_exception/vendor/unity/docs/Unity Summary.pdf +0 -0
- data/vendor/cmock/vendor/c_exception/vendor/unity/docs/Unity Summary.txt +0 -224
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/testdata/mocksample.c +0 -51
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/testdata/sample.yml +0 -9
- data/vendor/cmock/vendor/c_exception/vendor/unity/test/testdata/testsample.c +0 -68
- data/vendor/cmock/vendor/unity/docs/Unity Summary.odt +0 -0
- data/vendor/cmock/vendor/unity/docs/Unity Summary.pdf +0 -0
- data/vendor/cmock/vendor/unity/docs/Unity Summary.txt +0 -224
- data/vendor/cmock/vendor/unity/test/testdata/mocksample.c +0 -51
- data/vendor/cmock/vendor/unity/test/testdata/sample.yml +0 -9
- data/vendor/cmock/vendor/unity/test/testdata/testsample.c +0 -68
- data/vendor/unity/docs/Unity Summary.odt +0 -0
- data/vendor/unity/docs/Unity Summary.pdf +0 -0
- data/vendor/unity/docs/Unity Summary.txt +0 -224
- data/vendor/unity/test/testdata/mocksample.c +0 -51
- data/vendor/unity/test/testdata/sample.yml +0 -9
- data/vendor/unity/test/testdata/testsample.c +0 -68
@@ -1,6 +1,6 @@
|
|
1
1
|
/* AUTOGENERATED FILE. DO NOT EDIT. */
|
2
2
|
|
3
|
-
|
3
|
+
/*=======Test Runner Used To Run Each Test Below=====*/
|
4
4
|
#define RUN_TEST_NO_ARGS
|
5
5
|
#define RUN_TEST(TestFunc, TestLineNum, ...) \
|
6
6
|
{ \
|
@@ -23,7 +23,7 @@
|
|
23
23
|
UnityConcludeTest(); \
|
24
24
|
}
|
25
25
|
|
26
|
-
|
26
|
+
/*=======Automagically Detected Files To Include=====*/
|
27
27
|
#include "unity.h"
|
28
28
|
#include "cmock.h"
|
29
29
|
#include <setjmp.h>
|
@@ -32,14 +32,14 @@
|
|
32
32
|
#include <setjmp.h>
|
33
33
|
#include "Mockstanky.h"
|
34
34
|
|
35
|
-
|
35
|
+
/*=======External Functions This Runner Calls=====*/
|
36
36
|
extern void setUp(void);
|
37
37
|
extern void tearDown(void);
|
38
38
|
extern void test_TheFirstThingToTest(void);
|
39
39
|
extern void test_TheSecondThingToTest(void);
|
40
40
|
|
41
41
|
|
42
|
-
|
42
|
+
/*=======Mock Management=====*/
|
43
43
|
static void CMock_Init(void)
|
44
44
|
{
|
45
45
|
Mockstanky_Init();
|
@@ -53,7 +53,7 @@ static void CMock_Destroy(void)
|
|
53
53
|
Mockstanky_Destroy();
|
54
54
|
}
|
55
55
|
|
56
|
-
|
56
|
+
/*=======Test Reset Option=====*/
|
57
57
|
void resetTest(void);
|
58
58
|
void resetTest(void)
|
59
59
|
{
|
@@ -65,7 +65,7 @@ void resetTest(void)
|
|
65
65
|
}
|
66
66
|
|
67
67
|
|
68
|
-
|
68
|
+
/*=======MAIN=====*/
|
69
69
|
int main(void)
|
70
70
|
{
|
71
71
|
UnityBegin("testdata/mocksample.c");
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/* AUTOGENERATED FILE. DO NOT EDIT. */
|
2
2
|
|
3
|
-
|
3
|
+
/*=======Test Runner Used To Run Each Test Below=====*/
|
4
4
|
#define RUN_TEST(TestFunc, TestLineNum) \
|
5
5
|
{ \
|
6
6
|
Unity.CurrentTestName = #TestFunc; \
|
@@ -25,7 +25,7 @@
|
|
25
25
|
UnityConcludeTest(); \
|
26
26
|
}
|
27
27
|
|
28
|
-
|
28
|
+
/*=======Automagically Detected Files To Include=====*/
|
29
29
|
#include "unity.h"
|
30
30
|
#include "cmock.h"
|
31
31
|
#include <setjmp.h>
|
@@ -41,14 +41,14 @@ int GlobalExpectCount;
|
|
41
41
|
int GlobalVerifyOrder;
|
42
42
|
char* GlobalOrderError;
|
43
43
|
|
44
|
-
|
44
|
+
/*=======External Functions This Runner Calls=====*/
|
45
45
|
extern void setUp(void);
|
46
46
|
extern void tearDown(void);
|
47
47
|
extern void test_TheFirstThingToTest(void);
|
48
48
|
extern void test_TheSecondThingToTest(void);
|
49
49
|
|
50
50
|
|
51
|
-
|
51
|
+
/*=======Mock Management=====*/
|
52
52
|
static void CMock_Init(void)
|
53
53
|
{
|
54
54
|
GlobalExpectCount = 0;
|
@@ -65,7 +65,7 @@ static void CMock_Destroy(void)
|
|
65
65
|
Mockstanky_Destroy();
|
66
66
|
}
|
67
67
|
|
68
|
-
|
68
|
+
/*=======Test Reset Option=====*/
|
69
69
|
void resetTest(void);
|
70
70
|
void resetTest(void)
|
71
71
|
{
|
@@ -77,7 +77,7 @@ void resetTest(void)
|
|
77
77
|
}
|
78
78
|
|
79
79
|
|
80
|
-
|
80
|
+
/*=======MAIN=====*/
|
81
81
|
int main(void)
|
82
82
|
{
|
83
83
|
UnityBegin("testdata/mocksample.c");
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/* AUTOGENERATED FILE. DO NOT EDIT. */
|
2
2
|
|
3
|
-
|
3
|
+
/*=======Test Runner Used To Run Each Test Below=====*/
|
4
4
|
#define RUN_TEST(TestFunc, TestLineNum) \
|
5
5
|
{ \
|
6
6
|
Unity.CurrentTestName = #TestFunc; \
|
@@ -22,7 +22,7 @@
|
|
22
22
|
UnityConcludeTest(); \
|
23
23
|
}
|
24
24
|
|
25
|
-
|
25
|
+
/*=======Automagically Detected Files To Include=====*/
|
26
26
|
#include "unity.h"
|
27
27
|
#include "cmock.h"
|
28
28
|
#include <setjmp.h>
|
@@ -31,14 +31,14 @@
|
|
31
31
|
#include <setjmp.h>
|
32
32
|
#include "Mockstanky.h"
|
33
33
|
|
34
|
-
|
34
|
+
/*=======External Functions This Runner Calls=====*/
|
35
35
|
extern void setUp(void);
|
36
36
|
extern void tearDown(void);
|
37
37
|
extern void test_TheFirstThingToTest(void);
|
38
38
|
extern void test_TheSecondThingToTest(void);
|
39
39
|
|
40
40
|
|
41
|
-
|
41
|
+
/*=======Mock Management=====*/
|
42
42
|
static void CMock_Init(void)
|
43
43
|
{
|
44
44
|
Mockstanky_Init();
|
@@ -52,19 +52,19 @@ static void CMock_Destroy(void)
|
|
52
52
|
Mockstanky_Destroy();
|
53
53
|
}
|
54
54
|
|
55
|
-
|
55
|
+
/*=======Suite Setup=====*/
|
56
56
|
static int suite_setup(void)
|
57
57
|
{
|
58
58
|
a_custom_setup();
|
59
59
|
}
|
60
60
|
|
61
|
-
|
61
|
+
/*=======Suite Teardown=====*/
|
62
62
|
static int suite_teardown(int num_failures)
|
63
63
|
{
|
64
64
|
a_custom_teardown();
|
65
65
|
}
|
66
66
|
|
67
|
-
|
67
|
+
/*=======Test Reset Option=====*/
|
68
68
|
void resetTest(void);
|
69
69
|
void resetTest(void)
|
70
70
|
{
|
@@ -76,7 +76,7 @@ void resetTest(void)
|
|
76
76
|
}
|
77
77
|
|
78
78
|
|
79
|
-
|
79
|
+
/*=======MAIN=====*/
|
80
80
|
int main(void)
|
81
81
|
{
|
82
82
|
suite_setup();
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/* AUTOGENERATED FILE. DO NOT EDIT. */
|
2
2
|
|
3
|
-
|
3
|
+
/*=======Test Runner Used To Run Each Test Below=====*/
|
4
4
|
#define RUN_TEST(TestFunc, TestLineNum) \
|
5
5
|
{ \
|
6
6
|
Unity.CurrentTestName = #TestFunc; \
|
@@ -25,7 +25,7 @@
|
|
25
25
|
UnityConcludeTest(); \
|
26
26
|
}
|
27
27
|
|
28
|
-
|
28
|
+
/*=======Automagically Detected Files To Include=====*/
|
29
29
|
#include "unity.h"
|
30
30
|
#include "cmock.h"
|
31
31
|
#include <setjmp.h>
|
@@ -38,14 +38,14 @@
|
|
38
38
|
#include <setjmp.h>
|
39
39
|
#include "Mockstanky.h"
|
40
40
|
|
41
|
-
|
41
|
+
/*=======External Functions This Runner Calls=====*/
|
42
42
|
extern void setUp(void);
|
43
43
|
extern void tearDown(void);
|
44
44
|
extern void test_TheFirstThingToTest(void);
|
45
45
|
extern void test_TheSecondThingToTest(void);
|
46
46
|
|
47
47
|
|
48
|
-
|
48
|
+
/*=======Mock Management=====*/
|
49
49
|
static void CMock_Init(void)
|
50
50
|
{
|
51
51
|
Mockstanky_Init();
|
@@ -59,13 +59,13 @@ static void CMock_Destroy(void)
|
|
59
59
|
Mockstanky_Destroy();
|
60
60
|
}
|
61
61
|
|
62
|
-
|
62
|
+
/*=======Suite Setup=====*/
|
63
63
|
static int suite_setup(void)
|
64
64
|
{
|
65
65
|
a_yaml_setup();
|
66
66
|
}
|
67
67
|
|
68
|
-
|
68
|
+
/*=======Test Reset Option=====*/
|
69
69
|
void resetTest(void);
|
70
70
|
void resetTest(void)
|
71
71
|
{
|
@@ -77,7 +77,7 @@ void resetTest(void)
|
|
77
77
|
}
|
78
78
|
|
79
79
|
|
80
|
-
|
80
|
+
/*=======MAIN=====*/
|
81
81
|
int main(void)
|
82
82
|
{
|
83
83
|
suite_setup();
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/* AUTOGENERATED FILE. DO NOT EDIT. */
|
2
2
|
|
3
|
-
|
3
|
+
/*=======Test Runner Used To Run Each Test Below=====*/
|
4
4
|
#define RUN_TEST(TestFunc, TestLineNum) \
|
5
5
|
{ \
|
6
6
|
Unity.CurrentTestName = #TestFunc; \
|
@@ -21,7 +21,7 @@
|
|
21
21
|
UnityConcludeTest(); \
|
22
22
|
}
|
23
23
|
|
24
|
-
|
24
|
+
/*=======Automagically Detected Files To Include=====*/
|
25
25
|
#include "unity.h"
|
26
26
|
#include <setjmp.h>
|
27
27
|
#include <stdio.h>
|
@@ -36,7 +36,7 @@ int GlobalExpectCount;
|
|
36
36
|
int GlobalVerifyOrder;
|
37
37
|
char* GlobalOrderError;
|
38
38
|
|
39
|
-
|
39
|
+
/*=======External Functions This Runner Calls=====*/
|
40
40
|
extern void setUp(void);
|
41
41
|
extern void tearDown(void);
|
42
42
|
extern void test_TheFirstThingToTest(void);
|
@@ -45,7 +45,7 @@ extern void test_TheThirdThingToTest(void);
|
|
45
45
|
extern void test_TheFourthThingToTest(void);
|
46
46
|
|
47
47
|
|
48
|
-
|
48
|
+
/*=======Test Reset Option=====*/
|
49
49
|
void resetTest(void);
|
50
50
|
void resetTest(void)
|
51
51
|
{
|
@@ -54,7 +54,7 @@ void resetTest(void)
|
|
54
54
|
}
|
55
55
|
|
56
56
|
|
57
|
-
|
57
|
+
/*=======MAIN=====*/
|
58
58
|
int main(void)
|
59
59
|
{
|
60
60
|
UnityBegin("testdata/testsample.c");
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/* AUTOGENERATED FILE. DO NOT EDIT. */
|
2
2
|
|
3
|
-
|
3
|
+
/*=======Test Runner Used To Run Each Test Below=====*/
|
4
4
|
#define RUN_TEST(TestFunc, TestLineNum) \
|
5
5
|
{ \
|
6
6
|
Unity.CurrentTestName = #TestFunc; \
|
@@ -18,7 +18,7 @@
|
|
18
18
|
UnityConcludeTest(); \
|
19
19
|
}
|
20
20
|
|
21
|
-
|
21
|
+
/*=======Automagically Detected Files To Include=====*/
|
22
22
|
#include "unity.h"
|
23
23
|
#include <setjmp.h>
|
24
24
|
#include <stdio.h>
|
@@ -26,7 +26,7 @@
|
|
26
26
|
#include "stanky.h"
|
27
27
|
#include <setjmp.h>
|
28
28
|
|
29
|
-
|
29
|
+
/*=======External Functions This Runner Calls=====*/
|
30
30
|
extern void setUp(void);
|
31
31
|
extern void tearDown(void);
|
32
32
|
extern void test_TheFirstThingToTest(void);
|
@@ -35,19 +35,19 @@ extern void test_TheThirdThingToTest(void);
|
|
35
35
|
extern void test_TheFourthThingToTest(void);
|
36
36
|
|
37
37
|
|
38
|
-
|
38
|
+
/*=======Suite Setup=====*/
|
39
39
|
static int suite_setup(void)
|
40
40
|
{
|
41
41
|
a_custom_setup();
|
42
42
|
}
|
43
43
|
|
44
|
-
|
44
|
+
/*=======Suite Teardown=====*/
|
45
45
|
static int suite_teardown(int num_failures)
|
46
46
|
{
|
47
47
|
a_custom_teardown();
|
48
48
|
}
|
49
49
|
|
50
|
-
|
50
|
+
/*=======Test Reset Option=====*/
|
51
51
|
void resetTest(void);
|
52
52
|
void resetTest(void)
|
53
53
|
{
|
@@ -56,7 +56,7 @@ void resetTest(void)
|
|
56
56
|
}
|
57
57
|
|
58
58
|
|
59
|
-
|
59
|
+
/*=======MAIN=====*/
|
60
60
|
int main(void)
|
61
61
|
{
|
62
62
|
suite_setup();
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/* AUTOGENERATED FILE. DO NOT EDIT. */
|
2
2
|
|
3
|
-
|
3
|
+
/*=======Test Runner Used To Run Each Test Below=====*/
|
4
4
|
#define RUN_TEST_NO_ARGS
|
5
5
|
#define RUN_TEST(TestFunc, TestLineNum, ...) \
|
6
6
|
{ \
|
@@ -19,7 +19,7 @@
|
|
19
19
|
UnityConcludeTest(); \
|
20
20
|
}
|
21
21
|
|
22
|
-
|
22
|
+
/*=======Automagically Detected Files To Include=====*/
|
23
23
|
#include "unity.h"
|
24
24
|
#include <setjmp.h>
|
25
25
|
#include <stdio.h>
|
@@ -27,7 +27,7 @@
|
|
27
27
|
#include "stanky.h"
|
28
28
|
#include <setjmp.h>
|
29
29
|
|
30
|
-
|
30
|
+
/*=======External Functions This Runner Calls=====*/
|
31
31
|
extern void setUp(void);
|
32
32
|
extern void tearDown(void);
|
33
33
|
extern void test_TheFirstThingToTest(void);
|
@@ -36,7 +36,7 @@ extern void test_TheThirdThingToTest(void);
|
|
36
36
|
extern void test_TheFourthThingToTest(void);
|
37
37
|
|
38
38
|
|
39
|
-
|
39
|
+
/*=======Test Reset Option=====*/
|
40
40
|
void resetTest(void);
|
41
41
|
void resetTest(void)
|
42
42
|
{
|
@@ -45,7 +45,7 @@ void resetTest(void)
|
|
45
45
|
}
|
46
46
|
|
47
47
|
|
48
|
-
|
48
|
+
/*=======MAIN=====*/
|
49
49
|
int main(void)
|
50
50
|
{
|
51
51
|
UnityBegin("testdata/testsample.c");
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/* AUTOGENERATED FILE. DO NOT EDIT. */
|
2
2
|
|
3
|
-
|
3
|
+
/*=======Test Runner Used To Run Each Test Below=====*/
|
4
4
|
#define RUN_TEST(TestFunc, TestLineNum) \
|
5
5
|
{ \
|
6
6
|
Unity.CurrentTestName = #TestFunc; \
|
@@ -21,7 +21,7 @@
|
|
21
21
|
UnityConcludeTest(); \
|
22
22
|
}
|
23
23
|
|
24
|
-
|
24
|
+
/*=======Automagically Detected Files To Include=====*/
|
25
25
|
#include "unity.h"
|
26
26
|
#include <setjmp.h>
|
27
27
|
#include <stdio.h>
|
@@ -36,7 +36,7 @@ int GlobalExpectCount;
|
|
36
36
|
int GlobalVerifyOrder;
|
37
37
|
char* GlobalOrderError;
|
38
38
|
|
39
|
-
|
39
|
+
/*=======External Functions This Runner Calls=====*/
|
40
40
|
extern void setUp(void);
|
41
41
|
extern void tearDown(void);
|
42
42
|
extern void test_TheFirstThingToTest(void);
|
@@ -45,7 +45,7 @@ extern void test_TheThirdThingToTest(void);
|
|
45
45
|
extern void test_TheFourthThingToTest(void);
|
46
46
|
|
47
47
|
|
48
|
-
|
48
|
+
/*=======Test Reset Option=====*/
|
49
49
|
void resetTest(void);
|
50
50
|
void resetTest(void)
|
51
51
|
{
|
@@ -54,7 +54,7 @@ void resetTest(void)
|
|
54
54
|
}
|
55
55
|
|
56
56
|
|
57
|
-
|
57
|
+
/*=======MAIN=====*/
|
58
58
|
int main(void)
|
59
59
|
{
|
60
60
|
UnityBegin("testdata/testsample.c");
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/* AUTOGENERATED FILE. DO NOT EDIT. */
|
2
2
|
|
3
|
-
|
3
|
+
/*=======Test Runner Used To Run Each Test Below=====*/
|
4
4
|
#define RUN_TEST(TestFunc, TestLineNum) \
|
5
5
|
{ \
|
6
6
|
Unity.CurrentTestName = #TestFunc; \
|
@@ -18,7 +18,7 @@
|
|
18
18
|
UnityConcludeTest(); \
|
19
19
|
}
|
20
20
|
|
21
|
-
|
21
|
+
/*=======Automagically Detected Files To Include=====*/
|
22
22
|
#include "unity.h"
|
23
23
|
#include <setjmp.h>
|
24
24
|
#include <stdio.h>
|
@@ -26,7 +26,7 @@
|
|
26
26
|
#include "stanky.h"
|
27
27
|
#include <setjmp.h>
|
28
28
|
|
29
|
-
|
29
|
+
/*=======External Functions This Runner Calls=====*/
|
30
30
|
extern void setUp(void);
|
31
31
|
extern void tearDown(void);
|
32
32
|
extern void test_TheFirstThingToTest(void);
|
@@ -35,19 +35,19 @@ extern void test_TheThirdThingToTest(void);
|
|
35
35
|
extern void test_TheFourthThingToTest(void);
|
36
36
|
|
37
37
|
|
38
|
-
|
38
|
+
/*=======Suite Setup=====*/
|
39
39
|
static int suite_setup(void)
|
40
40
|
{
|
41
41
|
a_custom_setup();
|
42
42
|
}
|
43
43
|
|
44
|
-
|
44
|
+
/*=======Suite Teardown=====*/
|
45
45
|
static int suite_teardown(int num_failures)
|
46
46
|
{
|
47
47
|
a_custom_teardown();
|
48
48
|
}
|
49
49
|
|
50
|
-
|
50
|
+
/*=======Test Reset Option=====*/
|
51
51
|
void resetTest(void);
|
52
52
|
void resetTest(void)
|
53
53
|
{
|
@@ -56,7 +56,7 @@ void resetTest(void)
|
|
56
56
|
}
|
57
57
|
|
58
58
|
|
59
|
-
|
59
|
+
/*=======MAIN=====*/
|
60
60
|
int main(void)
|
61
61
|
{
|
62
62
|
suite_setup();
|