From a60383ec348fd5d445192401806b7215bbf88e8b Mon Sep 17 00:00:00 2001 From: Mark VanderVoord Date: Wed, 1 Jan 2025 12:05:55 -0500 Subject: [PATCH] Update licenses to new standards... plus New Years bump --- LICENSE.txt | 4 +++- config/production_environment.rb | 11 ++++++----- config/test_environment.rb | 11 ++++++----- examples/make_example/src/foo.c | 7 +++++++ examples/make_example/src/foo.h | 7 +++++++ examples/make_example/src/main.c | 7 +++++++ examples/make_example/test/test_foo.c | 7 +++++++ examples/make_example/test/test_main.c | 7 +++++++ examples/temp_sensor/rakefile.rb | 7 +++++++ examples/temp_sensor/rakefile_helper.rb | 7 +++++++ examples/temp_sensor/src/AT91SAM7X256.h | 7 +++++++ examples/temp_sensor/src/AdcConductor.c | 7 +++++++ examples/temp_sensor/src/AdcConductor.h | 7 +++++++ examples/temp_sensor/src/AdcHardware.c | 7 +++++++ examples/temp_sensor/src/AdcHardware.h | 7 +++++++ examples/temp_sensor/src/AdcHardwareConfigurator.c | 7 +++++++ examples/temp_sensor/src/AdcHardwareConfigurator.h | 7 +++++++ examples/temp_sensor/src/AdcModel.c | 7 +++++++ examples/temp_sensor/src/AdcModel.h | 7 +++++++ examples/temp_sensor/src/AdcTemperatureSensor.c | 7 +++++++ examples/temp_sensor/src/AdcTemperatureSensor.h | 7 +++++++ examples/temp_sensor/src/Executor.c | 7 +++++++ examples/temp_sensor/src/Executor.h | 7 +++++++ examples/temp_sensor/src/IntrinsicsWrapper.c | 7 +++++++ examples/temp_sensor/src/IntrinsicsWrapper.h | 7 +++++++ examples/temp_sensor/src/Main.c | 7 +++++++ examples/temp_sensor/src/Main.h | 7 +++++++ examples/temp_sensor/src/Model.c | 7 +++++++ examples/temp_sensor/src/Model.h | 7 +++++++ examples/temp_sensor/src/ModelConfig.h | 7 +++++++ examples/temp_sensor/src/TaskScheduler.c | 7 +++++++ examples/temp_sensor/src/TaskScheduler.h | 7 +++++++ examples/temp_sensor/src/TemperatureCalculator.c | 7 +++++++ examples/temp_sensor/src/TemperatureCalculator.h | 7 +++++++ examples/temp_sensor/src/TemperatureFilter.c | 7 +++++++ examples/temp_sensor/src/TemperatureFilter.h | 7 +++++++ examples/temp_sensor/src/TimerConductor.c | 7 +++++++ examples/temp_sensor/src/TimerConductor.h | 7 +++++++ examples/temp_sensor/src/TimerConfigurator.c | 7 +++++++ examples/temp_sensor/src/TimerConfigurator.h | 7 +++++++ examples/temp_sensor/src/TimerHardware.c | 7 +++++++ examples/temp_sensor/src/TimerHardware.h | 7 +++++++ examples/temp_sensor/src/TimerInterruptConfigurator.c | 7 +++++++ examples/temp_sensor/src/TimerInterruptConfigurator.h | 7 +++++++ examples/temp_sensor/src/TimerInterruptHandler.c | 7 +++++++ examples/temp_sensor/src/TimerInterruptHandler.h | 7 +++++++ examples/temp_sensor/src/TimerModel.c | 7 +++++++ examples/temp_sensor/src/TimerModel.h | 7 +++++++ examples/temp_sensor/src/Types.h | 7 +++++++ .../temp_sensor/src/UsartBaudRateRegisterCalculator.c | 7 +++++++ .../temp_sensor/src/UsartBaudRateRegisterCalculator.h | 7 +++++++ examples/temp_sensor/src/UsartConductor.c | 7 +++++++ examples/temp_sensor/src/UsartConductor.h | 7 +++++++ examples/temp_sensor/src/UsartConfigurator.c | 7 +++++++ examples/temp_sensor/src/UsartConfigurator.h | 7 +++++++ examples/temp_sensor/src/UsartHardware.c | 7 +++++++ examples/temp_sensor/src/UsartHardware.h | 7 +++++++ examples/temp_sensor/src/UsartModel.c | 7 +++++++ examples/temp_sensor/src/UsartModel.h | 7 +++++++ examples/temp_sensor/src/UsartPutChar.c | 7 +++++++ examples/temp_sensor/src/UsartPutChar.h | 7 +++++++ examples/temp_sensor/src/UsartTransmitBufferStatus.c | 7 +++++++ examples/temp_sensor/src/UsartTransmitBufferStatus.h | 7 +++++++ examples/temp_sensor/targets/gcc.yml | 7 +++++++ examples/temp_sensor/targets/iar_v4.yml | 7 +++++++ examples/temp_sensor/targets/iar_v5.yml | 7 +++++++ examples/temp_sensor/test/TestAdcConductor.c | 7 +++++++ examples/temp_sensor/test/TestAdcHardware.c | 7 +++++++ .../temp_sensor/test/TestAdcHardwareConfigurator.c | 7 +++++++ examples/temp_sensor/test/TestAdcModel.c | 7 +++++++ examples/temp_sensor/test/TestAdcTemperatureSensor.c | 7 +++++++ examples/temp_sensor/test/TestExecutor.c | 7 +++++++ examples/temp_sensor/test/TestMain.c | 7 +++++++ examples/temp_sensor/test/TestModel.c | 7 +++++++ examples/temp_sensor/test/TestTaskScheduler.c | 7 +++++++ examples/temp_sensor/test/TestTemperatureCalculator.c | 7 +++++++ examples/temp_sensor/test/TestTemperatureFilter.c | 7 +++++++ examples/temp_sensor/test/TestTimerConductor.c | 7 +++++++ examples/temp_sensor/test/TestTimerConfigurator.c | 7 +++++++ examples/temp_sensor/test/TestTimerHardware.c | 7 +++++++ .../temp_sensor/test/TestTimerInterruptConfigurator.c | 7 +++++++ examples/temp_sensor/test/TestTimerInterruptHandler.c | 7 +++++++ examples/temp_sensor/test/TestTimerModel.c | 7 +++++++ .../test/TestUsartBaudRateRegisterCalculator.c | 7 +++++++ examples/temp_sensor/test/TestUsartConductor.c | 7 +++++++ examples/temp_sensor/test/TestUsartConfigurator.c | 7 +++++++ examples/temp_sensor/test/TestUsartHardware.c | 7 +++++++ examples/temp_sensor/test/TestUsartModel.c | 7 +++++++ examples/temp_sensor/test/TestUsartPutChar.c | 7 +++++++ .../temp_sensor/test/TestUsartTransmitBufferStatus.c | 7 +++++++ lib/cmock.rb | 11 ++++++----- lib/cmock_config.rb | 11 ++++++----- lib/cmock_file_writer.rb | 11 ++++++----- lib/cmock_generator.rb | 11 ++++++----- lib/cmock_generator_plugin_array.rb | 11 ++++++----- lib/cmock_generator_plugin_callback.rb | 11 ++++++----- lib/cmock_generator_plugin_cexception.rb | 11 ++++++----- lib/cmock_generator_plugin_expect.rb | 11 ++++++----- lib/cmock_generator_plugin_expect_any_args.rb | 11 ++++++----- lib/cmock_generator_plugin_ignore.rb | 11 ++++++----- lib/cmock_generator_plugin_ignore_arg.rb | 7 +++++++ lib/cmock_generator_plugin_ignore_stateless.rb | 11 ++++++----- lib/cmock_generator_plugin_return_thru_ptr.rb | 7 +++++++ lib/cmock_generator_utils.rb | 11 ++++++----- lib/cmock_header_parser.rb | 11 ++++++----- lib/cmock_plugin_manager.rb | 11 ++++++----- lib/cmock_unityhelper_parser.rb | 11 ++++++----- lib/cmock_version.rb | 7 +++++++ scripts/create_makefile.rb | 7 +++++++ scripts/create_mock.rb | 7 +++++++ scripts/create_runner.rb | 7 +++++++ scripts/test_summary.rb | 7 +++++++ src/cmock.c | 7 +++++++ src/cmock.h | 7 +++++++ src/cmock_internals.h | 7 +++++++ test/c/TestCMockC.c | 7 +++++++ test/c/TestCMockC.yml | 7 +++++++ test/c/TestCMockCDynamic.c | 7 +++++++ test/c/TestCMockCDynamic.yml | 7 +++++++ test/c/TestCMockCDynamic_Runner.c | 7 +++++++ test/c/TestCMockC_Runner.c | 7 +++++++ test/iar/iar_v4/incIAR/AT91SAM7X-EK.h | 7 +++++++ test/iar/iar_v4/incIAR/AT91SAM7X256_inc.h | 7 +++++++ test/iar/iar_v4/incIAR/ioat91sam7x256.h | 7 +++++++ test/iar/iar_v4/srcIAR/Cstartup_SAM7.c | 7 +++++++ test/iar/iar_v5/incIAR/AT91SAM7X-EK.h | 7 +++++++ test/iar/iar_v5/incIAR/AT91SAM7X256_inc.h | 7 +++++++ test/iar/iar_v5/incIAR/project.h | 7 +++++++ test/iar/iar_v5/srcIAR/Cstartup_SAM7.c | 7 +++++++ test/rakefile_helper.rb | 11 ++++++----- test/system/systest_generator.rb | 11 ++++++----- test/system/test_compilation/callingconv.h | 7 +++++++ test/system/test_compilation/config.yml | 7 +++++++ test/system/test_compilation/const.h | 7 +++++++ test/system/test_compilation/inline.h | 7 +++++++ test/system/test_compilation/osek.h | 7 +++++++ test/system/test_compilation/parsing.h | 7 +++++++ .../all_plugins_but_other_limits.yml | 7 +++++++ test/system/test_interactions/all_plugins_coexist.yml | 7 +++++++ .../test_interactions/array_and_pointer_handling.yml | 7 +++++++ .../test_interactions/basic_expect_and_return.yml | 7 +++++++ .../test_interactions/const_primitives_handling.yml | 7 +++++++ .../test_interactions/doesnt_leave_details_behind.yml | 7 +++++++ .../test_interactions/enforce_strict_ordering.yml | 7 +++++++ .../expect_and_return_custom_types.yml | 7 +++++++ .../test_interactions/expect_and_return_treat_as.yml | 7 +++++++ test/system/test_interactions/expect_and_throw.yml | 7 +++++++ test/system/test_interactions/expect_any_args.yml | 7 +++++++ .../test_interactions/fancy_pointer_handling.yml | 7 +++++++ .../test_interactions/function_pointer_handling.yml | 7 +++++++ test/system/test_interactions/ignore_and_return.yml | 7 +++++++ .../test_interactions/ignore_and_return_stateless.yml | 7 +++++++ .../test_interactions/ignore_strict_mock_calling.yml | 7 +++++++ .../test_interactions/newer_standards_stuff1.yml | 7 +++++++ .../test_interactions/nonstandard_parsed_stuff_1.yml | 7 +++++++ .../test_interactions/nonstandard_parsed_stuff_2.yml | 7 +++++++ test/system/test_interactions/out_of_memory.yml | 7 +++++++ test/system/test_interactions/parsing_challenges.yml | 7 +++++++ .../return_thru_ptr_and_expect_any_args.yml | 7 +++++++ .../test_interactions/return_thru_ptr_ignore_arg.yml | 7 +++++++ test/system/test_interactions/skeleton.yml | 7 +++++++ test/system/test_interactions/skeleton_update.yml | 7 +++++++ .../struct_union_enum_expect_and_return.yml | 7 +++++++ ...ruct_union_enum_expect_and_return_with_plugins.yml | 7 +++++++ .../system/test_interactions/stubs_with_callbacks.yml | 7 +++++++ test/system/test_interactions/unity_64bit_support.yml | 7 +++++++ test/system/test_interactions/unity_ignores.yml | 7 +++++++ .../test_interactions/unity_void_pointer_compare.yml | 7 +++++++ .../test_interactions/wrong_expect_and_return.yml | 7 +++++++ test/targets/clang_strict.yml | 7 +++++++ test/targets/gcc.yml | 7 +++++++ test/targets/gcc_64.yml | 7 +++++++ test/targets/gcc_tiny.yml | 7 +++++++ test/targets/iar_arm_v4.yml | 7 +++++++ test/targets/iar_arm_v5.yml | 7 +++++++ test/test_helper.rb | 11 ++++++----- test/unit/cmock_config_test.rb | 11 ++++++----- test/unit/cmock_config_test.yml | 7 +++++++ test/unit/cmock_file_writer_test.rb | 11 ++++++----- test/unit/cmock_generator_main_test.rb | 6 ------ test/unit/cmock_generator_plugin_array_test.rb | 11 ++++++----- test/unit/cmock_generator_plugin_callback_test.rb | 11 ++++++----- test/unit/cmock_generator_plugin_cexception_test.rb | 11 ++++++----- test/unit/cmock_generator_plugin_expect_a_test.rb | 11 ++++++----- .../cmock_generator_plugin_expect_any_args_test.rb | 11 ++++++----- test/unit/cmock_generator_plugin_expect_b_test.rb | 11 ++++++----- test/unit/cmock_generator_plugin_ignore_arg_test.rb | 11 ++++++----- .../cmock_generator_plugin_ignore_stateless_test.rb | 11 ++++++----- test/unit/cmock_generator_plugin_ignore_test.rb | 11 ++++++----- .../cmock_generator_plugin_return_thru_ptr_test.rb | 11 ++++++----- test/unit/cmock_generator_utils_test.rb | 11 ++++++----- test/unit/cmock_header_parser_test.rb | 11 ++++++----- test/unit/cmock_plugin_manager_test.rb | 11 ++++++----- test/unit/cmock_unityhelper_parser_test.rb | 11 ++++++----- 194 files changed, 1311 insertions(+), 187 deletions(-) diff --git a/LICENSE.txt b/LICENSE.txt index 04fd3e8..9c507ba 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -1,4 +1,6 @@ -Copyright (c) 2007-24 Mike Karlesky, Mark VanderVoord, Greg Williams +The MIT License (MIT) + +Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/config/production_environment.rb b/config/production_environment.rb index 96d9e30..7ef33ce 100644 --- a/config/production_environment.rb +++ b/config/production_environment.rb @@ -1,8 +1,9 @@ -# ========================================== -# CMock Project - Automatic Mock Generation for C -# Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams -# [Released under MIT License. Please refer to license.txt for details] -# ========================================== +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= # Setup our load path: [ diff --git a/config/test_environment.rb b/config/test_environment.rb index d82f026..70f5acc 100644 --- a/config/test_environment.rb +++ b/config/test_environment.rb @@ -1,8 +1,9 @@ -# ========================================== -# CMock Project - Automatic Mock Generation for C -# Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams -# [Released under MIT License. Please refer to license.txt for details] -# ========================================== +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= # Setup our load path: [ diff --git a/examples/make_example/src/foo.c b/examples/make_example/src/foo.c index 5490203..172e48f 100644 --- a/examples/make_example/src/foo.c +++ b/examples/make_example/src/foo.c @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + #include "foo.h" void foo_init(void) diff --git a/examples/make_example/src/foo.h b/examples/make_example/src/foo.h index 3d2b5fb..73120bc 100644 --- a/examples/make_example/src/foo.h +++ b/examples/make_example/src/foo.h @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + #ifndef _foo_h void foo_init(void); diff --git a/examples/make_example/src/main.c b/examples/make_example/src/main.c index 52e8679..80fc1e5 100644 --- a/examples/make_example/src/main.c +++ b/examples/make_example/src/main.c @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + #include #include "foo.h" diff --git a/examples/make_example/test/test_foo.c b/examples/make_example/test/test_foo.c index 3531e68..4004021 100644 --- a/examples/make_example/test/test_foo.c +++ b/examples/make_example/test/test_foo.c @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + #include "unity.h" #include "foo.h" diff --git a/examples/make_example/test/test_main.c b/examples/make_example/test/test_main.c index f9b6749..3717bc0 100644 --- a/examples/make_example/test/test_main.c +++ b/examples/make_example/test/test_main.c @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + #include "unity.h" #include "mock_foo.h" diff --git a/examples/temp_sensor/rakefile.rb b/examples/temp_sensor/rakefile.rb index 00d817e..cf84256 100644 --- a/examples/temp_sensor/rakefile.rb +++ b/examples/temp_sensor/rakefile.rb @@ -1,3 +1,10 @@ +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= + HERE = "#{__dir__}//".freeze require 'rake' diff --git a/examples/temp_sensor/rakefile_helper.rb b/examples/temp_sensor/rakefile_helper.rb index 4d9bd50..55cd276 100644 --- a/examples/temp_sensor/rakefile_helper.rb +++ b/examples/temp_sensor/rakefile_helper.rb @@ -1,3 +1,10 @@ +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= + require 'yaml' require 'fileutils' require '../../vendor/unity/auto/unity_test_summary' diff --git a/examples/temp_sensor/src/AT91SAM7X256.h b/examples/temp_sensor/src/AT91SAM7X256.h index 990c97f..7715921 100644 --- a/examples/temp_sensor/src/AT91SAM7X256.h +++ b/examples/temp_sensor/src/AT91SAM7X256.h @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + // ---------------------------------------------------------------------------- // ATMEL Microcontroller Software Support - ROUSSET - // ---------------------------------------------------------------------------- diff --git a/examples/temp_sensor/src/AdcConductor.c b/examples/temp_sensor/src/AdcConductor.c index 28d9d20..1435c95 100644 --- a/examples/temp_sensor/src/AdcConductor.c +++ b/examples/temp_sensor/src/AdcConductor.c @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + #include "Types.h" #include "AdcConductor.h" #include "AdcModel.h" diff --git a/examples/temp_sensor/src/AdcConductor.h b/examples/temp_sensor/src/AdcConductor.h index 4280da3..36fde03 100644 --- a/examples/temp_sensor/src/AdcConductor.h +++ b/examples/temp_sensor/src/AdcConductor.h @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + #ifndef _ADCCONDUCTOR_H #define _ADCCONDUCTOR_H diff --git a/examples/temp_sensor/src/AdcHardware.c b/examples/temp_sensor/src/AdcHardware.c index 9807641..1b9759b 100644 --- a/examples/temp_sensor/src/AdcHardware.c +++ b/examples/temp_sensor/src/AdcHardware.c @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + #include "Types.h" #include "AdcHardware.h" #include "AdcHardwareConfigurator.h" diff --git a/examples/temp_sensor/src/AdcHardware.h b/examples/temp_sensor/src/AdcHardware.h index 3209a4c..383658c 100644 --- a/examples/temp_sensor/src/AdcHardware.h +++ b/examples/temp_sensor/src/AdcHardware.h @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + #ifndef _ADCHARDWARE_H #define _ADCHARDWARE_H diff --git a/examples/temp_sensor/src/AdcHardwareConfigurator.c b/examples/temp_sensor/src/AdcHardwareConfigurator.c index f7e08a2..b3ee2c0 100644 --- a/examples/temp_sensor/src/AdcHardwareConfigurator.c +++ b/examples/temp_sensor/src/AdcHardwareConfigurator.c @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + #include "Types.h" #include "AdcHardwareConfigurator.h" #include "ModelConfig.h" diff --git a/examples/temp_sensor/src/AdcHardwareConfigurator.h b/examples/temp_sensor/src/AdcHardwareConfigurator.h index 78b9e9f..89efe31 100644 --- a/examples/temp_sensor/src/AdcHardwareConfigurator.h +++ b/examples/temp_sensor/src/AdcHardwareConfigurator.h @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + #ifndef _ADCHARDWARECONFIGURATOR_H #define _ADCHARDWARECONFIGURATOR_H diff --git a/examples/temp_sensor/src/AdcModel.c b/examples/temp_sensor/src/AdcModel.c index ad9111d..1e2bcdd 100644 --- a/examples/temp_sensor/src/AdcModel.c +++ b/examples/temp_sensor/src/AdcModel.c @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + #include "AdcModel.h" #include "TaskScheduler.h" #include "TemperatureCalculator.h" diff --git a/examples/temp_sensor/src/AdcModel.h b/examples/temp_sensor/src/AdcModel.h index 6b871fd..a15749f 100644 --- a/examples/temp_sensor/src/AdcModel.h +++ b/examples/temp_sensor/src/AdcModel.h @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + #ifndef _ADCMODEL_H #define _ADCMODEL_H diff --git a/examples/temp_sensor/src/AdcTemperatureSensor.c b/examples/temp_sensor/src/AdcTemperatureSensor.c index b2a3f2c..cf12b71 100644 --- a/examples/temp_sensor/src/AdcTemperatureSensor.c +++ b/examples/temp_sensor/src/AdcTemperatureSensor.c @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + #include "Types.h" #include "AdcTemperatureSensor.h" diff --git a/examples/temp_sensor/src/AdcTemperatureSensor.h b/examples/temp_sensor/src/AdcTemperatureSensor.h index bf2cc5b..ac06bd4 100644 --- a/examples/temp_sensor/src/AdcTemperatureSensor.h +++ b/examples/temp_sensor/src/AdcTemperatureSensor.h @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + #ifndef _ADCTEMPERATURESENSOR_H #define _ADCTEMPERATURESENSOR_H diff --git a/examples/temp_sensor/src/Executor.c b/examples/temp_sensor/src/Executor.c index 7e45c3e..f813d11 100644 --- a/examples/temp_sensor/src/Executor.c +++ b/examples/temp_sensor/src/Executor.c @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + #include "Types.h" #include "Executor.h" #include "Model.h" diff --git a/examples/temp_sensor/src/Executor.h b/examples/temp_sensor/src/Executor.h index 51a61a9..e7b9bd9 100644 --- a/examples/temp_sensor/src/Executor.h +++ b/examples/temp_sensor/src/Executor.h @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + #ifndef _EXECUTOR_H #define _EXECUTOR_H diff --git a/examples/temp_sensor/src/IntrinsicsWrapper.c b/examples/temp_sensor/src/IntrinsicsWrapper.c index 8b082ae..88e8596 100644 --- a/examples/temp_sensor/src/IntrinsicsWrapper.c +++ b/examples/temp_sensor/src/IntrinsicsWrapper.c @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + #include "IntrinsicsWrapper.h" #ifdef __ICCARM__ #include diff --git a/examples/temp_sensor/src/IntrinsicsWrapper.h b/examples/temp_sensor/src/IntrinsicsWrapper.h index 9273317..c9f8d2a 100644 --- a/examples/temp_sensor/src/IntrinsicsWrapper.h +++ b/examples/temp_sensor/src/IntrinsicsWrapper.h @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + #ifndef _INTRINSICS_WRAPPER_H #define _INTRINSICS_WRAPPER_H diff --git a/examples/temp_sensor/src/Main.c b/examples/temp_sensor/src/Main.c index a784f47..97ea6e7 100644 --- a/examples/temp_sensor/src/Main.c +++ b/examples/temp_sensor/src/Main.c @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + #include "Types.h" #include "IntrinsicsWrapper.h" diff --git a/examples/temp_sensor/src/Main.h b/examples/temp_sensor/src/Main.h index 6cbe5f4..e8988e6 100644 --- a/examples/temp_sensor/src/Main.h +++ b/examples/temp_sensor/src/Main.h @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + #ifndef _MAIN_H_ #define _MAIN_H_ diff --git a/examples/temp_sensor/src/Model.c b/examples/temp_sensor/src/Model.c index 5b34c40..d7d2ad4 100644 --- a/examples/temp_sensor/src/Model.c +++ b/examples/temp_sensor/src/Model.c @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + #include "Model.h" #include "TaskScheduler.h" #include "TemperatureFilter.h" diff --git a/examples/temp_sensor/src/Model.h b/examples/temp_sensor/src/Model.h index d130938..48d2adc 100644 --- a/examples/temp_sensor/src/Model.h +++ b/examples/temp_sensor/src/Model.h @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + #ifndef _MODEL_H #define _MODEL_H diff --git a/examples/temp_sensor/src/ModelConfig.h b/examples/temp_sensor/src/ModelConfig.h index edc8e8d..9ebb973 100644 --- a/examples/temp_sensor/src/ModelConfig.h +++ b/examples/temp_sensor/src/ModelConfig.h @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + #ifndef _MODELCONFIG_H #define _MODELCONFIG_H diff --git a/examples/temp_sensor/src/TaskScheduler.c b/examples/temp_sensor/src/TaskScheduler.c index bcc0e64..0c7e9f1 100644 --- a/examples/temp_sensor/src/TaskScheduler.c +++ b/examples/temp_sensor/src/TaskScheduler.c @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + #include "Types.h" #include "TaskScheduler.h" diff --git a/examples/temp_sensor/src/TaskScheduler.h b/examples/temp_sensor/src/TaskScheduler.h index cc58342..24048b7 100644 --- a/examples/temp_sensor/src/TaskScheduler.h +++ b/examples/temp_sensor/src/TaskScheduler.h @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + #ifndef _TASKSCHEDULER_H #define _TASKSCHEDULER_H diff --git a/examples/temp_sensor/src/TemperatureCalculator.c b/examples/temp_sensor/src/TemperatureCalculator.c index 04cec59..1295792 100644 --- a/examples/temp_sensor/src/TemperatureCalculator.c +++ b/examples/temp_sensor/src/TemperatureCalculator.c @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + #include "Types.h" #include "TemperatureCalculator.h" #include diff --git a/examples/temp_sensor/src/TemperatureCalculator.h b/examples/temp_sensor/src/TemperatureCalculator.h index b606c2d..4e3da11 100644 --- a/examples/temp_sensor/src/TemperatureCalculator.h +++ b/examples/temp_sensor/src/TemperatureCalculator.h @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + #ifndef _TEMPERATURECALCULATOR_H #define _TEMPERATURECALCULATOR_H diff --git a/examples/temp_sensor/src/TemperatureFilter.c b/examples/temp_sensor/src/TemperatureFilter.c index cd2b4a2..39951a9 100644 --- a/examples/temp_sensor/src/TemperatureFilter.c +++ b/examples/temp_sensor/src/TemperatureFilter.c @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + #include "Types.h" #include "TemperatureFilter.h" #include diff --git a/examples/temp_sensor/src/TemperatureFilter.h b/examples/temp_sensor/src/TemperatureFilter.h index 31413f4..c1ee177 100644 --- a/examples/temp_sensor/src/TemperatureFilter.h +++ b/examples/temp_sensor/src/TemperatureFilter.h @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + #ifndef _TEMPERATUREFILTER_H #define _TEMPERATUREFILTER_H diff --git a/examples/temp_sensor/src/TimerConductor.c b/examples/temp_sensor/src/TimerConductor.c index 569b489..07313f3 100644 --- a/examples/temp_sensor/src/TimerConductor.c +++ b/examples/temp_sensor/src/TimerConductor.c @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + #include "Types.h" #include "TimerConductor.h" #include "TimerModel.h" diff --git a/examples/temp_sensor/src/TimerConductor.h b/examples/temp_sensor/src/TimerConductor.h index 7cd4109..b4efd45 100644 --- a/examples/temp_sensor/src/TimerConductor.h +++ b/examples/temp_sensor/src/TimerConductor.h @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + #ifndef _TIMERCONDUCTOR_H #define _TIMERCONDUCTOR_H diff --git a/examples/temp_sensor/src/TimerConfigurator.c b/examples/temp_sensor/src/TimerConfigurator.c index 996cede..9361d7d 100644 --- a/examples/temp_sensor/src/TimerConfigurator.c +++ b/examples/temp_sensor/src/TimerConfigurator.c @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + #include "Types.h" #include "TimerConfigurator.h" #include "TimerInterruptConfigurator.h" diff --git a/examples/temp_sensor/src/TimerConfigurator.h b/examples/temp_sensor/src/TimerConfigurator.h index d078c54..84e97c7 100644 --- a/examples/temp_sensor/src/TimerConfigurator.h +++ b/examples/temp_sensor/src/TimerConfigurator.h @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + #ifndef _TIMERCONFIGURATOR_H #define _TIMERCONFIGURATOR_H diff --git a/examples/temp_sensor/src/TimerHardware.c b/examples/temp_sensor/src/TimerHardware.c index d5e983f..57fbeba 100644 --- a/examples/temp_sensor/src/TimerHardware.c +++ b/examples/temp_sensor/src/TimerHardware.c @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + #include "Types.h" #include "TimerHardware.h" #include "TimerConfigurator.h" diff --git a/examples/temp_sensor/src/TimerHardware.h b/examples/temp_sensor/src/TimerHardware.h index 92fa287..b7af8c8 100644 --- a/examples/temp_sensor/src/TimerHardware.h +++ b/examples/temp_sensor/src/TimerHardware.h @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + #ifndef _TIMERHARDWARE_H #define _TIMERHARDWARE_H diff --git a/examples/temp_sensor/src/TimerInterruptConfigurator.c b/examples/temp_sensor/src/TimerInterruptConfigurator.c index ab1283d..277922c 100644 --- a/examples/temp_sensor/src/TimerInterruptConfigurator.c +++ b/examples/temp_sensor/src/TimerInterruptConfigurator.c @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + #include "Types.h" #include "TimerInterruptConfigurator.h" #include "TimerInterruptHandler.h" diff --git a/examples/temp_sensor/src/TimerInterruptConfigurator.h b/examples/temp_sensor/src/TimerInterruptConfigurator.h index bdf6471..3dd19e5 100644 --- a/examples/temp_sensor/src/TimerInterruptConfigurator.h +++ b/examples/temp_sensor/src/TimerInterruptConfigurator.h @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + #ifndef _TIMERINTERRUPTCONFIGURATOR_H #define _TIMERINTERRUPTCONFIGURATOR_H diff --git a/examples/temp_sensor/src/TimerInterruptHandler.c b/examples/temp_sensor/src/TimerInterruptHandler.c index ebb543d..6f4ac7b 100644 --- a/examples/temp_sensor/src/TimerInterruptHandler.c +++ b/examples/temp_sensor/src/TimerInterruptHandler.c @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + #include "Types.h" #include "TimerInterruptHandler.h" #include "TimerInterruptConfigurator.h" diff --git a/examples/temp_sensor/src/TimerInterruptHandler.h b/examples/temp_sensor/src/TimerInterruptHandler.h index 29c0413..8cf322c 100644 --- a/examples/temp_sensor/src/TimerInterruptHandler.h +++ b/examples/temp_sensor/src/TimerInterruptHandler.h @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + #ifndef _TIMERINTERRUPTHANDLER_H #define _TIMERINTERRUPTHANDLER_H diff --git a/examples/temp_sensor/src/TimerModel.c b/examples/temp_sensor/src/TimerModel.c index fcc9db9..12110ee 100644 --- a/examples/temp_sensor/src/TimerModel.c +++ b/examples/temp_sensor/src/TimerModel.c @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + #include "Types.h" #include "TimerModel.h" #include "TaskScheduler.h" diff --git a/examples/temp_sensor/src/TimerModel.h b/examples/temp_sensor/src/TimerModel.h index 54be21a..4430990 100644 --- a/examples/temp_sensor/src/TimerModel.h +++ b/examples/temp_sensor/src/TimerModel.h @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + #ifndef _TIMERMODEL_H #define _TIMERMODEL_H diff --git a/examples/temp_sensor/src/Types.h b/examples/temp_sensor/src/Types.h index 6a0f824..467bf20 100644 --- a/examples/temp_sensor/src/Types.h +++ b/examples/temp_sensor/src/Types.h @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + #ifndef _MYTYPES_H_ #define _MYTYPES_H_ diff --git a/examples/temp_sensor/src/UsartBaudRateRegisterCalculator.c b/examples/temp_sensor/src/UsartBaudRateRegisterCalculator.c index f4ad147..833db52 100644 --- a/examples/temp_sensor/src/UsartBaudRateRegisterCalculator.c +++ b/examples/temp_sensor/src/UsartBaudRateRegisterCalculator.c @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + #include "Types.h" #include "UsartBaudRateRegisterCalculator.h" diff --git a/examples/temp_sensor/src/UsartBaudRateRegisterCalculator.h b/examples/temp_sensor/src/UsartBaudRateRegisterCalculator.h index 50e9048..e3dfb6d 100644 --- a/examples/temp_sensor/src/UsartBaudRateRegisterCalculator.h +++ b/examples/temp_sensor/src/UsartBaudRateRegisterCalculator.h @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + #ifndef _USARTBAUDRATEREGISTERCALCULATOR_H #define _USARTBAUDRATEREGISTERCALCULATOR_H diff --git a/examples/temp_sensor/src/UsartConductor.c b/examples/temp_sensor/src/UsartConductor.c index 3eeec3c..37dc40e 100644 --- a/examples/temp_sensor/src/UsartConductor.c +++ b/examples/temp_sensor/src/UsartConductor.c @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + #include "Types.h" #include "UsartConductor.h" #include "UsartHardware.h" diff --git a/examples/temp_sensor/src/UsartConductor.h b/examples/temp_sensor/src/UsartConductor.h index f420736..34d0d53 100644 --- a/examples/temp_sensor/src/UsartConductor.h +++ b/examples/temp_sensor/src/UsartConductor.h @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + #ifndef _USARTCONDUCTOR_H #define _USARTCONDUCTOR_H diff --git a/examples/temp_sensor/src/UsartConfigurator.c b/examples/temp_sensor/src/UsartConfigurator.c index b8c2cdc..047c06f 100644 --- a/examples/temp_sensor/src/UsartConfigurator.c +++ b/examples/temp_sensor/src/UsartConfigurator.c @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + #include "Types.h" #include "UsartConfigurator.h" diff --git a/examples/temp_sensor/src/UsartConfigurator.h b/examples/temp_sensor/src/UsartConfigurator.h index 02bede2..8dc9154 100644 --- a/examples/temp_sensor/src/UsartConfigurator.h +++ b/examples/temp_sensor/src/UsartConfigurator.h @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + #ifndef _USARTCONFIGURATOR_H #define _USARTCONFIGURATOR_H diff --git a/examples/temp_sensor/src/UsartHardware.c b/examples/temp_sensor/src/UsartHardware.c index e37c2c6..da836b9 100644 --- a/examples/temp_sensor/src/UsartHardware.c +++ b/examples/temp_sensor/src/UsartHardware.c @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + #include "Types.h" #include "UsartHardware.h" #include "UsartConfigurator.h" diff --git a/examples/temp_sensor/src/UsartHardware.h b/examples/temp_sensor/src/UsartHardware.h index 041e280..f47da86 100644 --- a/examples/temp_sensor/src/UsartHardware.h +++ b/examples/temp_sensor/src/UsartHardware.h @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + #ifndef _USARTHARDWARE_H #define _USARTHARDWARE_H diff --git a/examples/temp_sensor/src/UsartModel.c b/examples/temp_sensor/src/UsartModel.c index d722a2f..2fa7e61 100644 --- a/examples/temp_sensor/src/UsartModel.c +++ b/examples/temp_sensor/src/UsartModel.c @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + #include "Types.h" #include "UsartModel.h" #include "ModelConfig.h" diff --git a/examples/temp_sensor/src/UsartModel.h b/examples/temp_sensor/src/UsartModel.h index 7d94854..8e5cea8 100644 --- a/examples/temp_sensor/src/UsartModel.h +++ b/examples/temp_sensor/src/UsartModel.h @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + #ifndef _USARTMODEL_H #define _USARTMODEL_H diff --git a/examples/temp_sensor/src/UsartPutChar.c b/examples/temp_sensor/src/UsartPutChar.c index 9e3ce2c..bfa86b9 100644 --- a/examples/temp_sensor/src/UsartPutChar.c +++ b/examples/temp_sensor/src/UsartPutChar.c @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + #include "Types.h" #include "UsartPutChar.h" #include "UsartTransmitBufferStatus.h" diff --git a/examples/temp_sensor/src/UsartPutChar.h b/examples/temp_sensor/src/UsartPutChar.h index 924446a..460ebd0 100644 --- a/examples/temp_sensor/src/UsartPutChar.h +++ b/examples/temp_sensor/src/UsartPutChar.h @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + #ifndef _USARTPUT_HAR_H #define _USARTPUT_HAR_H diff --git a/examples/temp_sensor/src/UsartTransmitBufferStatus.c b/examples/temp_sensor/src/UsartTransmitBufferStatus.c index 914b2e1..1f6c444 100644 --- a/examples/temp_sensor/src/UsartTransmitBufferStatus.c +++ b/examples/temp_sensor/src/UsartTransmitBufferStatus.c @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + #include "Types.h" #include "UsartTransmitBufferStatus.h" diff --git a/examples/temp_sensor/src/UsartTransmitBufferStatus.h b/examples/temp_sensor/src/UsartTransmitBufferStatus.h index b5925ba..fa85321 100644 --- a/examples/temp_sensor/src/UsartTransmitBufferStatus.h +++ b/examples/temp_sensor/src/UsartTransmitBufferStatus.h @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + #ifndef _USARTTRANSMITBUFFERSTATUS_H #define _USARTTRANSMITBUFFERSTATUS_H diff --git a/examples/temp_sensor/targets/gcc.yml b/examples/temp_sensor/targets/gcc.yml index 76f724e..b121509 100644 --- a/examples/temp_sensor/targets/gcc.yml +++ b/examples/temp_sensor/targets/gcc.yml @@ -1,3 +1,10 @@ +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= + compiler: path: gcc source_path: 'src/' diff --git a/examples/temp_sensor/targets/iar_v4.yml b/examples/temp_sensor/targets/iar_v4.yml index 24febba..de42425 100644 --- a/examples/temp_sensor/targets/iar_v4.yml +++ b/examples/temp_sensor/targets/iar_v4.yml @@ -1,3 +1,10 @@ +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= + tools_root: &tools_root 'C:\Program Files\IAR Systems\Embedded Workbench 4.0 Kickstart\' compiler: path: [*tools_root, 'arm\bin\iccarm.exe'] diff --git a/examples/temp_sensor/targets/iar_v5.yml b/examples/temp_sensor/targets/iar_v5.yml index 69a39ee..a2ff71a 100644 --- a/examples/temp_sensor/targets/iar_v5.yml +++ b/examples/temp_sensor/targets/iar_v5.yml @@ -1,3 +1,10 @@ +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= + tools_root: &tools_root 'C:\Program Files\IAR Systems\Embedded Workbench 5.3\' compiler: path: [*tools_root, 'arm\bin\iccarm.exe'] diff --git a/examples/temp_sensor/test/TestAdcConductor.c b/examples/temp_sensor/test/TestAdcConductor.c index a15d7d1..00813a5 100644 --- a/examples/temp_sensor/test/TestAdcConductor.c +++ b/examples/temp_sensor/test/TestAdcConductor.c @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + #include "unity.h" #include "UnityHelper.h" #include "Types.h" diff --git a/examples/temp_sensor/test/TestAdcHardware.c b/examples/temp_sensor/test/TestAdcHardware.c index 7aabaa7..971da04 100644 --- a/examples/temp_sensor/test/TestAdcHardware.c +++ b/examples/temp_sensor/test/TestAdcHardware.c @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + #include "unity.h" #include "Types.h" #include "AdcHardware.h" diff --git a/examples/temp_sensor/test/TestAdcHardwareConfigurator.c b/examples/temp_sensor/test/TestAdcHardwareConfigurator.c index c1feceb..d92aff7 100644 --- a/examples/temp_sensor/test/TestAdcHardwareConfigurator.c +++ b/examples/temp_sensor/test/TestAdcHardwareConfigurator.c @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + #include "unity.h" #include "Types.h" #include "AdcHardwareConfigurator.h" diff --git a/examples/temp_sensor/test/TestAdcModel.c b/examples/temp_sensor/test/TestAdcModel.c index f1dcb4a..c863e0c 100644 --- a/examples/temp_sensor/test/TestAdcModel.c +++ b/examples/temp_sensor/test/TestAdcModel.c @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + #include "unity.h" #include "Types.h" #include "AdcModel.h" diff --git a/examples/temp_sensor/test/TestAdcTemperatureSensor.c b/examples/temp_sensor/test/TestAdcTemperatureSensor.c index 0be339f..2d77126 100644 --- a/examples/temp_sensor/test/TestAdcTemperatureSensor.c +++ b/examples/temp_sensor/test/TestAdcTemperatureSensor.c @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + #include "unity.h" #include "Types.h" #include "AdcTemperatureSensor.h" diff --git a/examples/temp_sensor/test/TestExecutor.c b/examples/temp_sensor/test/TestExecutor.c index 8e48326..758bba5 100644 --- a/examples/temp_sensor/test/TestExecutor.c +++ b/examples/temp_sensor/test/TestExecutor.c @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + #include "unity.h" #include "Types.h" #include "Executor.h" diff --git a/examples/temp_sensor/test/TestMain.c b/examples/temp_sensor/test/TestMain.c index baf3382..cd720e5 100644 --- a/examples/temp_sensor/test/TestMain.c +++ b/examples/temp_sensor/test/TestMain.c @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + #include "unity.h" #include "Types.h" #include "MockExecutor.h" diff --git a/examples/temp_sensor/test/TestModel.c b/examples/temp_sensor/test/TestModel.c index 59dda1d..06f4337 100644 --- a/examples/temp_sensor/test/TestModel.c +++ b/examples/temp_sensor/test/TestModel.c @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + #include "unity.h" #include "Types.h" #include "Model.h" diff --git a/examples/temp_sensor/test/TestTaskScheduler.c b/examples/temp_sensor/test/TestTaskScheduler.c index 29d1edf..8975520 100644 --- a/examples/temp_sensor/test/TestTaskScheduler.c +++ b/examples/temp_sensor/test/TestTaskScheduler.c @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + #include "unity.h" #include "Types.h" #include "TaskScheduler.h" diff --git a/examples/temp_sensor/test/TestTemperatureCalculator.c b/examples/temp_sensor/test/TestTemperatureCalculator.c index dbb7dea..e8d21aa 100644 --- a/examples/temp_sensor/test/TestTemperatureCalculator.c +++ b/examples/temp_sensor/test/TestTemperatureCalculator.c @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + #include "unity.h" #include "Types.h" #include "TemperatureCalculator.h" diff --git a/examples/temp_sensor/test/TestTemperatureFilter.c b/examples/temp_sensor/test/TestTemperatureFilter.c index 58fb178..bc3262a 100644 --- a/examples/temp_sensor/test/TestTemperatureFilter.c +++ b/examples/temp_sensor/test/TestTemperatureFilter.c @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + #include "unity.h" #include "Types.h" #include "TemperatureFilter.h" diff --git a/examples/temp_sensor/test/TestTimerConductor.c b/examples/temp_sensor/test/TestTimerConductor.c index 8064a8c..65ddb9c 100644 --- a/examples/temp_sensor/test/TestTimerConductor.c +++ b/examples/temp_sensor/test/TestTimerConductor.c @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + #include "unity.h" #include "Types.h" #include "TimerConductor.h" diff --git a/examples/temp_sensor/test/TestTimerConfigurator.c b/examples/temp_sensor/test/TestTimerConfigurator.c index 5c7d4e0..3e941d9 100644 --- a/examples/temp_sensor/test/TestTimerConfigurator.c +++ b/examples/temp_sensor/test/TestTimerConfigurator.c @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + #include "unity.h" #include "Types.h" #include "TimerConfigurator.h" diff --git a/examples/temp_sensor/test/TestTimerHardware.c b/examples/temp_sensor/test/TestTimerHardware.c index 16339d0..d31689e 100644 --- a/examples/temp_sensor/test/TestTimerHardware.c +++ b/examples/temp_sensor/test/TestTimerHardware.c @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + #include "unity.h" #include "Types.h" #include "TimerHardware.h" diff --git a/examples/temp_sensor/test/TestTimerInterruptConfigurator.c b/examples/temp_sensor/test/TestTimerInterruptConfigurator.c index a32ff26..4e52947 100644 --- a/examples/temp_sensor/test/TestTimerInterruptConfigurator.c +++ b/examples/temp_sensor/test/TestTimerInterruptConfigurator.c @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + #include "unity.h" #include "Types.h" #include "TimerInterruptConfigurator.h" diff --git a/examples/temp_sensor/test/TestTimerInterruptHandler.c b/examples/temp_sensor/test/TestTimerInterruptHandler.c index 8e2e64e..ad1bba1 100644 --- a/examples/temp_sensor/test/TestTimerInterruptHandler.c +++ b/examples/temp_sensor/test/TestTimerInterruptHandler.c @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + #include "unity.h" #include "Types.h" #include "TimerInterruptHandler.h" diff --git a/examples/temp_sensor/test/TestTimerModel.c b/examples/temp_sensor/test/TestTimerModel.c index e92a96a..2b67511 100644 --- a/examples/temp_sensor/test/TestTimerModel.c +++ b/examples/temp_sensor/test/TestTimerModel.c @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + #include "unity.h" #include "Types.h" #include "TimerModel.h" diff --git a/examples/temp_sensor/test/TestUsartBaudRateRegisterCalculator.c b/examples/temp_sensor/test/TestUsartBaudRateRegisterCalculator.c index 08dc045..5bef0ec 100644 --- a/examples/temp_sensor/test/TestUsartBaudRateRegisterCalculator.c +++ b/examples/temp_sensor/test/TestUsartBaudRateRegisterCalculator.c @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + #include "unity.h" #include "Types.h" #include "UsartBaudRateRegisterCalculator.h" diff --git a/examples/temp_sensor/test/TestUsartConductor.c b/examples/temp_sensor/test/TestUsartConductor.c index fd6de6e..acf7b11 100644 --- a/examples/temp_sensor/test/TestUsartConductor.c +++ b/examples/temp_sensor/test/TestUsartConductor.c @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + #include "unity.h" #include "Types.h" #include "UsartConductor.h" diff --git a/examples/temp_sensor/test/TestUsartConfigurator.c b/examples/temp_sensor/test/TestUsartConfigurator.c index b23029e..26000ae 100644 --- a/examples/temp_sensor/test/TestUsartConfigurator.c +++ b/examples/temp_sensor/test/TestUsartConfigurator.c @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + #include "unity.h" #include "Types.h" #include "UsartConfigurator.h" diff --git a/examples/temp_sensor/test/TestUsartHardware.c b/examples/temp_sensor/test/TestUsartHardware.c index b4a0d0c..2b0016b 100644 --- a/examples/temp_sensor/test/TestUsartHardware.c +++ b/examples/temp_sensor/test/TestUsartHardware.c @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + #include "unity.h" #include "Types.h" #include "UsartHardware.h" diff --git a/examples/temp_sensor/test/TestUsartModel.c b/examples/temp_sensor/test/TestUsartModel.c index 6ab23bc..5849010 100644 --- a/examples/temp_sensor/test/TestUsartModel.c +++ b/examples/temp_sensor/test/TestUsartModel.c @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + #include "unity.h" #include "Types.h" #include "UsartModel.h" diff --git a/examples/temp_sensor/test/TestUsartPutChar.c b/examples/temp_sensor/test/TestUsartPutChar.c index 766a889..ee4d8df 100644 --- a/examples/temp_sensor/test/TestUsartPutChar.c +++ b/examples/temp_sensor/test/TestUsartPutChar.c @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + #include "unity.h" #include "Types.h" #include "UsartPutChar.h" diff --git a/examples/temp_sensor/test/TestUsartTransmitBufferStatus.c b/examples/temp_sensor/test/TestUsartTransmitBufferStatus.c index c06084f..9aff02b 100644 --- a/examples/temp_sensor/test/TestUsartTransmitBufferStatus.c +++ b/examples/temp_sensor/test/TestUsartTransmitBufferStatus.c @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + #include "unity.h" #include "Types.h" #include "UsartTransmitBufferStatus.h" diff --git a/lib/cmock.rb b/lib/cmock.rb index daa3404..67405ad 100755 --- a/lib/cmock.rb +++ b/lib/cmock.rb @@ -1,9 +1,10 @@ #!/bin/ruby -# ========================================== -# CMock Project - Automatic Mock Generation for C -# Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams -# [Released under MIT License. Please refer to license.txt for details] -# ========================================== +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= ['../config/production_environment', 'cmock_header_parser', diff --git a/lib/cmock_config.rb b/lib/cmock_config.rb index 8bb6b5a..ccbf4dc 100644 --- a/lib/cmock_config.rb +++ b/lib/cmock_config.rb @@ -1,8 +1,9 @@ -# ========================================== -# CMock Project - Automatic Mock Generation for C -# Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams -# [Released under MIT License. Please refer to license.txt for details] -# ========================================== +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= class CMockConfig CMOCK_DEFAULT_OPTIONS = diff --git a/lib/cmock_file_writer.rb b/lib/cmock_file_writer.rb index 5793f29..e31edeb 100644 --- a/lib/cmock_file_writer.rb +++ b/lib/cmock_file_writer.rb @@ -1,8 +1,9 @@ -# ========================================== -# CMock Project - Automatic Mock Generation for C -# Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams -# [Released under MIT License. Please refer to license.txt for details] -# ========================================== +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= class CMockFileWriter attr_reader :config diff --git a/lib/cmock_generator.rb b/lib/cmock_generator.rb index 2713e50..6f2a353 100644 --- a/lib/cmock_generator.rb +++ b/lib/cmock_generator.rb @@ -1,8 +1,9 @@ -# ========================================== -# CMock Project - Automatic Mock Generation for C -# Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams -# [Released under MIT License. Please refer to license.txt for details] -# ========================================== +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= class CMockGenerator attr_accessor :config, :file_writer, :module_name, :module_ext, :clean_mock_name, :mock_name, :utils, :plugins, :weak, :ordered diff --git a/lib/cmock_generator_plugin_array.rb b/lib/cmock_generator_plugin_array.rb index b36a816..d8eaa84 100644 --- a/lib/cmock_generator_plugin_array.rb +++ b/lib/cmock_generator_plugin_array.rb @@ -1,8 +1,9 @@ -# ========================================== -# CMock Project - Automatic Mock Generation for C -# Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams -# [Released under MIT License. Please refer to license.txt for details] -# ========================================== +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= class CMockGeneratorPluginArray attr_reader :priority diff --git a/lib/cmock_generator_plugin_callback.rb b/lib/cmock_generator_plugin_callback.rb index db71722..eaee329 100644 --- a/lib/cmock_generator_plugin_callback.rb +++ b/lib/cmock_generator_plugin_callback.rb @@ -1,8 +1,9 @@ -# ========================================== -# CMock Project - Automatic Mock Generation for C -# Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams -# [Released under MIT License. Please refer to license.txt for details] -# ========================================== +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= class CMockGeneratorPluginCallback attr_accessor :include_count diff --git a/lib/cmock_generator_plugin_cexception.rb b/lib/cmock_generator_plugin_cexception.rb index 28f9eb5..32b686d 100644 --- a/lib/cmock_generator_plugin_cexception.rb +++ b/lib/cmock_generator_plugin_cexception.rb @@ -1,8 +1,9 @@ -# ========================================== -# CMock Project - Automatic Mock Generation for C -# Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams -# [Released under MIT License. Please refer to license.txt for details] -# ========================================== +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= class CMockGeneratorPluginCexception attr_reader :priority, :config, :utils diff --git a/lib/cmock_generator_plugin_expect.rb b/lib/cmock_generator_plugin_expect.rb index d034c95..2b3778e 100644 --- a/lib/cmock_generator_plugin_expect.rb +++ b/lib/cmock_generator_plugin_expect.rb @@ -1,8 +1,9 @@ -# ========================================== -# CMock Project - Automatic Mock Generation for C -# Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams -# [Released under MIT License. Please refer to license.txt for details] -# ========================================== +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= class CMockGeneratorPluginExpect attr_reader :priority diff --git a/lib/cmock_generator_plugin_expect_any_args.rb b/lib/cmock_generator_plugin_expect_any_args.rb index e7de7ef..348c7df 100644 --- a/lib/cmock_generator_plugin_expect_any_args.rb +++ b/lib/cmock_generator_plugin_expect_any_args.rb @@ -1,8 +1,9 @@ -# ========================================== -# CMock Project - Automatic Mock Generation for C -# Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams -# [Released under MIT License. Please refer to license.txt for details] -# ========================================== +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= class CMockGeneratorPluginExpectAnyArgs attr_reader :priority, :config, :utils diff --git a/lib/cmock_generator_plugin_ignore.rb b/lib/cmock_generator_plugin_ignore.rb index d3ab46b..467ca7a 100644 --- a/lib/cmock_generator_plugin_ignore.rb +++ b/lib/cmock_generator_plugin_ignore.rb @@ -1,8 +1,9 @@ -# ========================================== -# CMock Project - Automatic Mock Generation for C -# Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams -# [Released under MIT License. Please refer to license.txt for details] -# ========================================== +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= class CMockGeneratorPluginIgnore attr_reader :priority, :config, :utils diff --git a/lib/cmock_generator_plugin_ignore_arg.rb b/lib/cmock_generator_plugin_ignore_arg.rb index d55e84c..5ce85a3 100644 --- a/lib/cmock_generator_plugin_ignore_arg.rb +++ b/lib/cmock_generator_plugin_ignore_arg.rb @@ -1,3 +1,10 @@ +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= + class CMockGeneratorPluginIgnoreArg attr_reader :priority attr_accessor :utils diff --git a/lib/cmock_generator_plugin_ignore_stateless.rb b/lib/cmock_generator_plugin_ignore_stateless.rb index bce8b89..fb5ebc7 100644 --- a/lib/cmock_generator_plugin_ignore_stateless.rb +++ b/lib/cmock_generator_plugin_ignore_stateless.rb @@ -1,8 +1,9 @@ -# ========================================== -# CMock Project - Automatic Mock Generation for C -# Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams -# [Released under MIT License. Please refer to license.txt for details] -# ========================================== +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= class CMockGeneratorPluginIgnoreStateless attr_reader :priority, :config, :utils diff --git a/lib/cmock_generator_plugin_return_thru_ptr.rb b/lib/cmock_generator_plugin_return_thru_ptr.rb index 7fd19c7..e15e540 100644 --- a/lib/cmock_generator_plugin_return_thru_ptr.rb +++ b/lib/cmock_generator_plugin_return_thru_ptr.rb @@ -1,3 +1,10 @@ +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= + class CMockGeneratorPluginReturnThruPtr attr_reader :priority attr_accessor :utils diff --git a/lib/cmock_generator_utils.rb b/lib/cmock_generator_utils.rb index 77da6d0..777e6e4 100644 --- a/lib/cmock_generator_utils.rb +++ b/lib/cmock_generator_utils.rb @@ -1,8 +1,9 @@ -# ========================================== -# CMock Project - Automatic Mock Generation for C -# Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams -# [Released under MIT License. Please refer to license.txt for details] -# ========================================== +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= class CMockGeneratorUtils attr_accessor :config, :helpers, :ordered, :ptr_handling, :arrays, :cexception diff --git a/lib/cmock_header_parser.rb b/lib/cmock_header_parser.rb index bf99cba..070b658 100644 --- a/lib/cmock_header_parser.rb +++ b/lib/cmock_header_parser.rb @@ -1,8 +1,9 @@ -# ========================================== -# CMock Project - Automatic Mock Generation for C -# Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams -# [Released under MIT License. Please refer to license.txt for details] -# ========================================== +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= class CMockHeaderParser attr_accessor :funcs, :c_attr_noconst, :c_attributes, :treat_as_void, :treat_externs, :treat_inlines, :inline_function_patterns diff --git a/lib/cmock_plugin_manager.rb b/lib/cmock_plugin_manager.rb index c92f7c4..b752774 100644 --- a/lib/cmock_plugin_manager.rb +++ b/lib/cmock_plugin_manager.rb @@ -1,8 +1,9 @@ -# ========================================== -# CMock Project - Automatic Mock Generation for C -# Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams -# [Released under MIT License. Please refer to license.txt for details] -# ========================================== +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= class CMockPluginManager attr_accessor :plugins diff --git a/lib/cmock_unityhelper_parser.rb b/lib/cmock_unityhelper_parser.rb index 64fc081..e8f1d67 100644 --- a/lib/cmock_unityhelper_parser.rb +++ b/lib/cmock_unityhelper_parser.rb @@ -1,8 +1,9 @@ -# ========================================== -# CMock Project - Automatic Mock Generation for C -# Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams -# [Released under MIT License. Please refer to license.txt for details] -# ========================================== +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= class CMockUnityHelperParser attr_accessor :c_types diff --git a/lib/cmock_version.rb b/lib/cmock_version.rb index d4fa78f..feabf10 100644 --- a/lib/cmock_version.rb +++ b/lib/cmock_version.rb @@ -1,3 +1,10 @@ +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= + module CMockVersion # Where is the header file from here? path = File.expand_path(File.join(File.dirname(__FILE__), '..', 'src', 'cmock.h')) diff --git a/scripts/create_makefile.rb b/scripts/create_makefile.rb index 80ffad1..a0690c1 100644 --- a/scripts/create_makefile.rb +++ b/scripts/create_makefile.rb @@ -1,3 +1,10 @@ +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= + require 'fileutils' ABS_ROOT = FileUtils.pwd CMOCK_DIR = File.expand_path(ENV.fetch('CMOCK_DIR', File.join(ABS_ROOT, '..', '..'))) diff --git a/scripts/create_mock.rb b/scripts/create_mock.rb index 93107a9..f998f6c 100644 --- a/scripts/create_mock.rb +++ b/scripts/create_mock.rb @@ -1,3 +1,10 @@ +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= + require "#{ENV['CMOCK_DIR']}/lib/cmock" raise 'Header file to mock must be specified!' unless ARGV.length >= 1 diff --git a/scripts/create_runner.rb b/scripts/create_runner.rb index 6219805..bf8f140 100644 --- a/scripts/create_runner.rb +++ b/scripts/create_runner.rb @@ -1,3 +1,10 @@ +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= + if $0 == __FILE__ # make sure there is at least one parameter left (the input file) diff --git a/scripts/test_summary.rb b/scripts/test_summary.rb index cbcbaf8..0a0d767 100644 --- a/scripts/test_summary.rb +++ b/scripts/test_summary.rb @@ -1,3 +1,10 @@ +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= + suppress_error = !ARGV.nil? && !ARGV.empty? && (ARGV[0].casecmp('--SILENT') == 0) begin diff --git a/src/cmock.c b/src/cmock.c index e6a1197..7bc9e40 100644 --- a/src/cmock.c +++ b/src/cmock.c @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + /* ========================================== CMock Project - Automatic Mock Generation for C Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams diff --git a/src/cmock.h b/src/cmock.h index 44792f6..0918cc0 100644 --- a/src/cmock.h +++ b/src/cmock.h @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + /* ========================================== CMock Project - Automatic Mock Generation for C Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams diff --git a/src/cmock_internals.h b/src/cmock_internals.h index 56fb33b..4416e1b 100644 --- a/src/cmock_internals.h +++ b/src/cmock_internals.h @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + /* ========================================== CMock Project - Automatic Mock Generation for C Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams diff --git a/test/c/TestCMockC.c b/test/c/TestCMockC.c index a5c2194..7076810 100644 --- a/test/c/TestCMockC.c +++ b/test/c/TestCMockC.c @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + /* ========================================== CMock Project - Automatic Mock Generation for C Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams diff --git a/test/c/TestCMockC.yml b/test/c/TestCMockC.yml index 06067b1..cc74ec9 100644 --- a/test/c/TestCMockC.yml +++ b/test/c/TestCMockC.yml @@ -1,3 +1,10 @@ +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= + --- :files: - '../src/cmock.c' diff --git a/test/c/TestCMockCDynamic.c b/test/c/TestCMockCDynamic.c index b81d9d0..e26c1e2 100644 --- a/test/c/TestCMockCDynamic.c +++ b/test/c/TestCMockCDynamic.c @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + /* ========================================== CMock Project - Automatic Mock Generation for C Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams diff --git a/test/c/TestCMockCDynamic.yml b/test/c/TestCMockCDynamic.yml index 393d8dd..8d3ba08 100644 --- a/test/c/TestCMockCDynamic.yml +++ b/test/c/TestCMockCDynamic.yml @@ -1,3 +1,10 @@ +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= + --- :files: - '../src/cmock.c' diff --git a/test/c/TestCMockCDynamic_Runner.c b/test/c/TestCMockCDynamic_Runner.c index d686080..7c80d9b 100644 --- a/test/c/TestCMockCDynamic_Runner.c +++ b/test/c/TestCMockCDynamic_Runner.c @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + /* ========================================== CMock Project - Automatic Mock Generation for C Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams diff --git a/test/c/TestCMockC_Runner.c b/test/c/TestCMockC_Runner.c index af559d8..62969a7 100644 --- a/test/c/TestCMockC_Runner.c +++ b/test/c/TestCMockC_Runner.c @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + /* ========================================== CMock Project - Automatic Mock Generation for C Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams diff --git a/test/iar/iar_v4/incIAR/AT91SAM7X-EK.h b/test/iar/iar_v4/incIAR/AT91SAM7X-EK.h index 9834675..5d5b2b0 100644 --- a/test/iar/iar_v4/incIAR/AT91SAM7X-EK.h +++ b/test/iar/iar_v4/incIAR/AT91SAM7X-EK.h @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + // ---------------------------------------------------------------------------- // ATMEL Microcontroller Software Support - ROUSSET - // ---------------------------------------------------------------------------- diff --git a/test/iar/iar_v4/incIAR/AT91SAM7X256_inc.h b/test/iar/iar_v4/incIAR/AT91SAM7X256_inc.h index b393d05..1ac2f1a 100644 --- a/test/iar/iar_v4/incIAR/AT91SAM7X256_inc.h +++ b/test/iar/iar_v4/incIAR/AT91SAM7X256_inc.h @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + // ---------------------------------------------------------------------------- // ATMEL Microcontroller Software Support - ROUSSET - // ---------------------------------------------------------------------------- diff --git a/test/iar/iar_v4/incIAR/ioat91sam7x256.h b/test/iar/iar_v4/incIAR/ioat91sam7x256.h index ab71b93..7c2e059 100644 --- a/test/iar/iar_v4/incIAR/ioat91sam7x256.h +++ b/test/iar/iar_v4/incIAR/ioat91sam7x256.h @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + // - ---------------------------------------------------------------------------- // - ATMEL Microcontroller Software Support - ROUSSET - // - ---------------------------------------------------------------------------- diff --git a/test/iar/iar_v4/srcIAR/Cstartup_SAM7.c b/test/iar/iar_v4/srcIAR/Cstartup_SAM7.c index 0913da3..6b33238 100644 --- a/test/iar/iar_v4/srcIAR/Cstartup_SAM7.c +++ b/test/iar/iar_v4/srcIAR/Cstartup_SAM7.c @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + // ---------------------------------------------------------------------------- // ATMEL Microcontroller Software Support - ROUSSET - // ---------------------------------------------------------------------------- diff --git a/test/iar/iar_v5/incIAR/AT91SAM7X-EK.h b/test/iar/iar_v5/incIAR/AT91SAM7X-EK.h index 9834675..5d5b2b0 100644 --- a/test/iar/iar_v5/incIAR/AT91SAM7X-EK.h +++ b/test/iar/iar_v5/incIAR/AT91SAM7X-EK.h @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + // ---------------------------------------------------------------------------- // ATMEL Microcontroller Software Support - ROUSSET - // ---------------------------------------------------------------------------- diff --git a/test/iar/iar_v5/incIAR/AT91SAM7X256_inc.h b/test/iar/iar_v5/incIAR/AT91SAM7X256_inc.h index 18e58d4..5f70baa 100644 --- a/test/iar/iar_v5/incIAR/AT91SAM7X256_inc.h +++ b/test/iar/iar_v5/incIAR/AT91SAM7X256_inc.h @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + // ---------------------------------------------------------------------------- // ATMEL Microcontroller Software Support - ROUSSET - // ---------------------------------------------------------------------------- diff --git a/test/iar/iar_v5/incIAR/project.h b/test/iar/iar_v5/incIAR/project.h index 24fb698..6a68d6b 100644 --- a/test/iar/iar_v5/incIAR/project.h +++ b/test/iar/iar_v5/incIAR/project.h @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + //----------------------------------------------------------------------------- // ATMEL Microcontroller Software Support - ROUSSET - //----------------------------------------------------------------------------- diff --git a/test/iar/iar_v5/srcIAR/Cstartup_SAM7.c b/test/iar/iar_v5/srcIAR/Cstartup_SAM7.c index a7c72b9..3232a28 100644 --- a/test/iar/iar_v5/srcIAR/Cstartup_SAM7.c +++ b/test/iar/iar_v5/srcIAR/Cstartup_SAM7.c @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + //----------------------------------------------------------------------------- // ATMEL Microcontroller Software Support - ROUSSET - //----------------------------------------------------------------------------- diff --git a/test/rakefile_helper.rb b/test/rakefile_helper.rb index 01c9252..73ab121 100644 --- a/test/rakefile_helper.rb +++ b/test/rakefile_helper.rb @@ -1,8 +1,9 @@ -# ========================================== -# CMock Project - Automatic Mock Generation for C -# Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams -# [Released under MIT License. Please refer to license.txt for details] -# ========================================== +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= require 'yaml' require 'fileutils' diff --git a/test/system/systest_generator.rb b/test/system/systest_generator.rb index 490a56e..ac40807 100644 --- a/test/system/systest_generator.rb +++ b/test/system/systest_generator.rb @@ -1,8 +1,9 @@ -# ========================================== -# CMock Project - Automatic Mock Generation for C -# Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams -# [Released under MIT License. Please refer to license.txt for details] -# ========================================== +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= require 'yaml' diff --git a/test/system/test_compilation/callingconv.h b/test/system/test_compilation/callingconv.h index beae061..10eb049 100644 --- a/test/system/test_compilation/callingconv.h +++ b/test/system/test_compilation/callingconv.h @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + /* ========================================== CMock Project - Automatic Mock Generation for C Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams diff --git a/test/system/test_compilation/config.yml b/test/system/test_compilation/config.yml index 787e2e1..b10c076 100644 --- a/test/system/test_compilation/config.yml +++ b/test/system/test_compilation/config.yml @@ -1,3 +1,10 @@ +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= + --- :cmock: :plugins: [] diff --git a/test/system/test_compilation/const.h b/test/system/test_compilation/const.h index 71426bc..9f25dac 100644 --- a/test/system/test_compilation/const.h +++ b/test/system/test_compilation/const.h @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + /* ========================================== CMock Project - Automatic Mock Generation for C Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams diff --git a/test/system/test_compilation/inline.h b/test/system/test_compilation/inline.h index 06e33c1..7b295ba 100644 --- a/test/system/test_compilation/inline.h +++ b/test/system/test_compilation/inline.h @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + static inline int dummy_func_0(void) { return 5; diff --git a/test/system/test_compilation/osek.h b/test/system/test_compilation/osek.h index 8db9cb8..13cb97e 100644 --- a/test/system/test_compilation/osek.h +++ b/test/system/test_compilation/osek.h @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + /* ========================================== CMock Project - Automatic Mock Generation for C Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams diff --git a/test/system/test_compilation/parsing.h b/test/system/test_compilation/parsing.h index 1c4bcd1..f19186e 100644 --- a/test/system/test_compilation/parsing.h +++ b/test/system/test_compilation/parsing.h @@ -1,3 +1,10 @@ +/* ========================================================================= + CMock - Automatic Mock Generation for C + ThrowTheSwitch.org + Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams + SPDX-License-Identifier: MIT +========================================================================= */ + /* ========================================== CMock Project - Automatic Mock Generation for C Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams diff --git a/test/system/test_interactions/all_plugins_but_other_limits.yml b/test/system/test_interactions/all_plugins_but_other_limits.yml index 9349c00..5fbc38b 100644 --- a/test/system/test_interactions/all_plugins_but_other_limits.yml +++ b/test/system/test_interactions/all_plugins_but_other_limits.yml @@ -1,3 +1,10 @@ +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= + --- #this test is different than all_plugins_coexist primarily because of these options :cmock: diff --git a/test/system/test_interactions/all_plugins_coexist.yml b/test/system/test_interactions/all_plugins_coexist.yml index f1c4e38..1345c5c 100644 --- a/test/system/test_interactions/all_plugins_coexist.yml +++ b/test/system/test_interactions/all_plugins_coexist.yml @@ -1,3 +1,10 @@ +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= + --- :cmock: :enforce_strict_ordering: 1 diff --git a/test/system/test_interactions/array_and_pointer_handling.yml b/test/system/test_interactions/array_and_pointer_handling.yml index ce89287..245d36b 100644 --- a/test/system/test_interactions/array_and_pointer_handling.yml +++ b/test/system/test_interactions/array_and_pointer_handling.yml @@ -1,3 +1,10 @@ +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= + --- :cmock: :when_ptr: :smart diff --git a/test/system/test_interactions/basic_expect_and_return.yml b/test/system/test_interactions/basic_expect_and_return.yml index 38d4edf..b112e61 100644 --- a/test/system/test_interactions/basic_expect_and_return.yml +++ b/test/system/test_interactions/basic_expect_and_return.yml @@ -1,3 +1,10 @@ +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= + --- :cmock: :plugins: diff --git a/test/system/test_interactions/const_primitives_handling.yml b/test/system/test_interactions/const_primitives_handling.yml index 2fc1b21..6f20799 100644 --- a/test/system/test_interactions/const_primitives_handling.yml +++ b/test/system/test_interactions/const_primitives_handling.yml @@ -1,3 +1,10 @@ +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= + --- :cmock: :plugins: diff --git a/test/system/test_interactions/doesnt_leave_details_behind.yml b/test/system/test_interactions/doesnt_leave_details_behind.yml index a077839..a8548b7 100644 --- a/test/system/test_interactions/doesnt_leave_details_behind.yml +++ b/test/system/test_interactions/doesnt_leave_details_behind.yml @@ -1,3 +1,10 @@ +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= + --- :cmock: :enforce_strict_ordering: 1 diff --git a/test/system/test_interactions/enforce_strict_ordering.yml b/test/system/test_interactions/enforce_strict_ordering.yml index 7d777a4..69c12c6 100644 --- a/test/system/test_interactions/enforce_strict_ordering.yml +++ b/test/system/test_interactions/enforce_strict_ordering.yml @@ -1,3 +1,10 @@ +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= + --- :cmock: :enforce_strict_ordering: 1 diff --git a/test/system/test_interactions/expect_and_return_custom_types.yml b/test/system/test_interactions/expect_and_return_custom_types.yml index 5d9d446..92fe9c3 100644 --- a/test/system/test_interactions/expect_and_return_custom_types.yml +++ b/test/system/test_interactions/expect_and_return_custom_types.yml @@ -1,3 +1,10 @@ +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= + --- :cmock: :plugins: diff --git a/test/system/test_interactions/expect_and_return_treat_as.yml b/test/system/test_interactions/expect_and_return_treat_as.yml index 2c24f35..ccf2049 100644 --- a/test/system/test_interactions/expect_and_return_treat_as.yml +++ b/test/system/test_interactions/expect_and_return_treat_as.yml @@ -1,3 +1,10 @@ +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= + --- :cmock: :plugins: diff --git a/test/system/test_interactions/expect_and_throw.yml b/test/system/test_interactions/expect_and_throw.yml index c22524c..525324b 100644 --- a/test/system/test_interactions/expect_and_throw.yml +++ b/test/system/test_interactions/expect_and_throw.yml @@ -1,3 +1,10 @@ +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= + --- :cmock: :plugins: diff --git a/test/system/test_interactions/expect_any_args.yml b/test/system/test_interactions/expect_any_args.yml index 06eb6bb..1b40591 100644 --- a/test/system/test_interactions/expect_any_args.yml +++ b/test/system/test_interactions/expect_any_args.yml @@ -1,3 +1,10 @@ +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= + --- :cmock: :plugins: diff --git a/test/system/test_interactions/fancy_pointer_handling.yml b/test/system/test_interactions/fancy_pointer_handling.yml index 2a47d23..c6eedca 100644 --- a/test/system/test_interactions/fancy_pointer_handling.yml +++ b/test/system/test_interactions/fancy_pointer_handling.yml @@ -1,3 +1,10 @@ +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= + --- :cmock: :plugins: diff --git a/test/system/test_interactions/function_pointer_handling.yml b/test/system/test_interactions/function_pointer_handling.yml index d286bdb..5c54e96 100644 --- a/test/system/test_interactions/function_pointer_handling.yml +++ b/test/system/test_interactions/function_pointer_handling.yml @@ -1,3 +1,10 @@ +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= + --- :cmock: :plugins: diff --git a/test/system/test_interactions/ignore_and_return.yml b/test/system/test_interactions/ignore_and_return.yml index 17f95be..ac81668 100644 --- a/test/system/test_interactions/ignore_and_return.yml +++ b/test/system/test_interactions/ignore_and_return.yml @@ -1,3 +1,10 @@ +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= + --- :cmock: :plugins: diff --git a/test/system/test_interactions/ignore_and_return_stateless.yml b/test/system/test_interactions/ignore_and_return_stateless.yml index aefe4dd..8c7cb34 100644 --- a/test/system/test_interactions/ignore_and_return_stateless.yml +++ b/test/system/test_interactions/ignore_and_return_stateless.yml @@ -1,3 +1,10 @@ +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= + --- :cmock: :plugins: diff --git a/test/system/test_interactions/ignore_strict_mock_calling.yml b/test/system/test_interactions/ignore_strict_mock_calling.yml index bcfe04c..ba38539 100644 --- a/test/system/test_interactions/ignore_strict_mock_calling.yml +++ b/test/system/test_interactions/ignore_strict_mock_calling.yml @@ -1,3 +1,10 @@ +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= + --- :cmock: :plugins: diff --git a/test/system/test_interactions/newer_standards_stuff1.yml b/test/system/test_interactions/newer_standards_stuff1.yml index 6843eae..0b1a670 100644 --- a/test/system/test_interactions/newer_standards_stuff1.yml +++ b/test/system/test_interactions/newer_standards_stuff1.yml @@ -1,3 +1,10 @@ +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= + --- #The purpose of this test is to pull in some standard library stuff from C99 :cmock: diff --git a/test/system/test_interactions/nonstandard_parsed_stuff_1.yml b/test/system/test_interactions/nonstandard_parsed_stuff_1.yml index 01538ea..061dc28 100644 --- a/test/system/test_interactions/nonstandard_parsed_stuff_1.yml +++ b/test/system/test_interactions/nonstandard_parsed_stuff_1.yml @@ -1,3 +1,10 @@ +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= + --- #The purpose of this test is to play with things like "const char const *" which isn't supported by some compilers :cmock: diff --git a/test/system/test_interactions/nonstandard_parsed_stuff_2.yml b/test/system/test_interactions/nonstandard_parsed_stuff_2.yml index 506e7ee..38503a6 100644 --- a/test/system/test_interactions/nonstandard_parsed_stuff_2.yml +++ b/test/system/test_interactions/nonstandard_parsed_stuff_2.yml @@ -1,3 +1,10 @@ +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= + --- #The purpose of this test is to play with our really rough multidimensional array support, which involves an implicit cast not supported everywhere :cmock: diff --git a/test/system/test_interactions/out_of_memory.yml b/test/system/test_interactions/out_of_memory.yml index ed7bed5..0d4e907 100644 --- a/test/system/test_interactions/out_of_memory.yml +++ b/test/system/test_interactions/out_of_memory.yml @@ -1,3 +1,10 @@ +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= + --- :cmock: :plugins: [] diff --git a/test/system/test_interactions/parsing_challenges.yml b/test/system/test_interactions/parsing_challenges.yml index 77e857d..6bce8b5 100644 --- a/test/system/test_interactions/parsing_challenges.yml +++ b/test/system/test_interactions/parsing_challenges.yml @@ -1,3 +1,10 @@ +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= + --- :cmock: :plugins: diff --git a/test/system/test_interactions/return_thru_ptr_and_expect_any_args.yml b/test/system/test_interactions/return_thru_ptr_and_expect_any_args.yml index 40e0e7f..d2fe884 100644 --- a/test/system/test_interactions/return_thru_ptr_and_expect_any_args.yml +++ b/test/system/test_interactions/return_thru_ptr_and_expect_any_args.yml @@ -1,3 +1,10 @@ +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= + --- :cmock: :mock_path: test/mocks diff --git a/test/system/test_interactions/return_thru_ptr_ignore_arg.yml b/test/system/test_interactions/return_thru_ptr_ignore_arg.yml index 8b07be9..445a7ea 100644 --- a/test/system/test_interactions/return_thru_ptr_ignore_arg.yml +++ b/test/system/test_interactions/return_thru_ptr_ignore_arg.yml @@ -1,3 +1,10 @@ +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= + --- :cmock: :mock_path: test/mocks diff --git a/test/system/test_interactions/skeleton.yml b/test/system/test_interactions/skeleton.yml index 7720800..8a3f4db 100644 --- a/test/system/test_interactions/skeleton.yml +++ b/test/system/test_interactions/skeleton.yml @@ -1,3 +1,10 @@ +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= + --- :cmock: :plugins: diff --git a/test/system/test_interactions/skeleton_update.yml b/test/system/test_interactions/skeleton_update.yml index e4031e8..403b54c 100644 --- a/test/system/test_interactions/skeleton_update.yml +++ b/test/system/test_interactions/skeleton_update.yml @@ -1,3 +1,10 @@ +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= + --- :cmock: :plugins: diff --git a/test/system/test_interactions/struct_union_enum_expect_and_return.yml b/test/system/test_interactions/struct_union_enum_expect_and_return.yml index d4cf6af..ef95390 100644 --- a/test/system/test_interactions/struct_union_enum_expect_and_return.yml +++ b/test/system/test_interactions/struct_union_enum_expect_and_return.yml @@ -1,3 +1,10 @@ +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= + --- :cmock: :plugins: diff --git a/test/system/test_interactions/struct_union_enum_expect_and_return_with_plugins.yml b/test/system/test_interactions/struct_union_enum_expect_and_return_with_plugins.yml index a54826c..3edf6c5 100644 --- a/test/system/test_interactions/struct_union_enum_expect_and_return_with_plugins.yml +++ b/test/system/test_interactions/struct_union_enum_expect_and_return_with_plugins.yml @@ -1,3 +1,10 @@ +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= + --- :cmock: :plugins: diff --git a/test/system/test_interactions/stubs_with_callbacks.yml b/test/system/test_interactions/stubs_with_callbacks.yml index 1f25754..0d32859 100644 --- a/test/system/test_interactions/stubs_with_callbacks.yml +++ b/test/system/test_interactions/stubs_with_callbacks.yml @@ -1,3 +1,10 @@ +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= + --- :cmock: :plugins: diff --git a/test/system/test_interactions/unity_64bit_support.yml b/test/system/test_interactions/unity_64bit_support.yml index 861b151..91de486 100644 --- a/test/system/test_interactions/unity_64bit_support.yml +++ b/test/system/test_interactions/unity_64bit_support.yml @@ -1,3 +1,10 @@ +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= + --- #The purpose of this test is to play with things 64-bit integers, which aren't supported by all compilers :cmock: diff --git a/test/system/test_interactions/unity_ignores.yml b/test/system/test_interactions/unity_ignores.yml index 8595122..63e7515 100644 --- a/test/system/test_interactions/unity_ignores.yml +++ b/test/system/test_interactions/unity_ignores.yml @@ -1,3 +1,10 @@ +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= + --- :cmock: :plugins: diff --git a/test/system/test_interactions/unity_void_pointer_compare.yml b/test/system/test_interactions/unity_void_pointer_compare.yml index 1a49b0c..2467242 100644 --- a/test/system/test_interactions/unity_void_pointer_compare.yml +++ b/test/system/test_interactions/unity_void_pointer_compare.yml @@ -1,3 +1,10 @@ +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= + --- #The purpose of this test is to verify we handle void pointers as memory compares :cmock: diff --git a/test/system/test_interactions/wrong_expect_and_return.yml b/test/system/test_interactions/wrong_expect_and_return.yml index 74fc4c3..21561f1 100644 --- a/test/system/test_interactions/wrong_expect_and_return.yml +++ b/test/system/test_interactions/wrong_expect_and_return.yml @@ -1,3 +1,10 @@ +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= + --- :cmock: :plugins: diff --git a/test/targets/clang_strict.yml b/test/targets/clang_strict.yml index c86f1e1..cdbf3a3 100644 --- a/test/targets/clang_strict.yml +++ b/test/targets/clang_strict.yml @@ -1,3 +1,10 @@ +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= + --- compiler: path: clang diff --git a/test/targets/gcc.yml b/test/targets/gcc.yml index 56ed82f..31455df 100644 --- a/test/targets/gcc.yml +++ b/test/targets/gcc.yml @@ -1,3 +1,10 @@ +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= + --- compiler: path: gcc diff --git a/test/targets/gcc_64.yml b/test/targets/gcc_64.yml index 2702d5b..e4f7603 100644 --- a/test/targets/gcc_64.yml +++ b/test/targets/gcc_64.yml @@ -1,3 +1,10 @@ +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= + --- compiler: path: gcc diff --git a/test/targets/gcc_tiny.yml b/test/targets/gcc_tiny.yml index f7ab5e7..f387ea0 100644 --- a/test/targets/gcc_tiny.yml +++ b/test/targets/gcc_tiny.yml @@ -1,3 +1,10 @@ +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= + --- compiler: path: gcc diff --git a/test/targets/iar_arm_v4.yml b/test/targets/iar_arm_v4.yml index 61e0331..84ccf52 100644 --- a/test/targets/iar_arm_v4.yml +++ b/test/targets/iar_arm_v4.yml @@ -1,3 +1,10 @@ +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= + tools_root: &tools_root 'C:\Program Files\IAR Systems\Embedded Workbench 4.0\' compiler: path: [*tools_root, 'arm\bin\iccarm.exe'] diff --git a/test/targets/iar_arm_v5.yml b/test/targets/iar_arm_v5.yml index bac2f7a..7ee15e7 100644 --- a/test/targets/iar_arm_v5.yml +++ b/test/targets/iar_arm_v5.yml @@ -1,3 +1,10 @@ +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= + tools_root: &tools_root 'C:\Program Files\IAR Systems\Embedded Workbench 5.3\' compiler: path: [*tools_root, 'arm\bin\iccarm.exe'] diff --git a/test/test_helper.rb b/test/test_helper.rb index 486196c..1428c37 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -1,8 +1,9 @@ -# ========================================== -# CMock Project - Automatic Mock Generation for C -# Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams -# [Released under MIT License. Please refer to license.txt for details] -# ========================================== +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= require 'minitest/autorun' diff --git a/test/unit/cmock_config_test.rb b/test/unit/cmock_config_test.rb index 8c5e410..19b58d9 100644 --- a/test/unit/cmock_config_test.rb +++ b/test/unit/cmock_config_test.rb @@ -1,8 +1,9 @@ -# ========================================== -# CMock Project - Automatic Mock Generation for C -# Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams -# [Released under MIT License. Please refer to license.txt for details] -# ========================================== +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= require File.expand_path(File.dirname(__FILE__)) + "/../test_helper" diff --git a/test/unit/cmock_config_test.yml b/test/unit/cmock_config_test.yml index eaee14b..d55aaf8 100644 --- a/test/unit/cmock_config_test.yml +++ b/test/unit/cmock_config_test.yml @@ -1,3 +1,10 @@ +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= + :cmock: :plugins: - 'soda' diff --git a/test/unit/cmock_file_writer_test.rb b/test/unit/cmock_file_writer_test.rb index 932e7dc..67ec925 100644 --- a/test/unit/cmock_file_writer_test.rb +++ b/test/unit/cmock_file_writer_test.rb @@ -1,8 +1,9 @@ -# ========================================== -# CMock Project - Automatic Mock Generation for C -# Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams -# [Released under MIT License. Please refer to license.txt for details] -# ========================================== +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= require File.expand_path(File.dirname(__FILE__)) + "/../test_helper" require File.expand_path(File.dirname(__FILE__)) + '/../../lib/cmock_file_writer' diff --git a/test/unit/cmock_generator_main_test.rb b/test/unit/cmock_generator_main_test.rb index 57d147f..aeecded 100644 --- a/test/unit/cmock_generator_main_test.rb +++ b/test/unit/cmock_generator_main_test.rb @@ -1,9 +1,3 @@ -# ========================================== -# CMock Project - Automatic Mock Generation for C -# Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams -# [Released under MIT License. Please refer to license.txt for details] -# ========================================== - $ThisIsOnlyATest = true require File.expand_path(File.dirname(__FILE__)) + "/../test_helper" diff --git a/test/unit/cmock_generator_plugin_array_test.rb b/test/unit/cmock_generator_plugin_array_test.rb index 2c42c0a..5af9eaa 100644 --- a/test/unit/cmock_generator_plugin_array_test.rb +++ b/test/unit/cmock_generator_plugin_array_test.rb @@ -1,8 +1,9 @@ -# ========================================== -# CMock Project - Automatic Mock Generation for C -# Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams -# [Released under MIT License. Please refer to license.txt for details] -# ========================================== +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= require File.expand_path(File.dirname(__FILE__)) + "/../test_helper" require File.expand_path(File.dirname(__FILE__)) + '/../../lib/cmock_generator_plugin_array' diff --git a/test/unit/cmock_generator_plugin_callback_test.rb b/test/unit/cmock_generator_plugin_callback_test.rb index 0b5ce1e..109555b 100644 --- a/test/unit/cmock_generator_plugin_callback_test.rb +++ b/test/unit/cmock_generator_plugin_callback_test.rb @@ -1,8 +1,9 @@ -# ========================================== -# CMock Project - Automatic Mock Generation for C -# Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams -# [Released under MIT License. Please refer to license.txt for details] -# ========================================== +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= require File.expand_path(File.dirname(__FILE__)) + "/../test_helper" require File.expand_path(File.dirname(__FILE__)) + '/../../lib/cmock_generator_plugin_callback' diff --git a/test/unit/cmock_generator_plugin_cexception_test.rb b/test/unit/cmock_generator_plugin_cexception_test.rb index 8bd2c92..9507639 100644 --- a/test/unit/cmock_generator_plugin_cexception_test.rb +++ b/test/unit/cmock_generator_plugin_cexception_test.rb @@ -1,8 +1,9 @@ -# ========================================== -# CMock Project - Automatic Mock Generation for C -# Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams -# [Released under MIT License. Please refer to license.txt for details] -# ========================================== +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= require File.expand_path(File.dirname(__FILE__)) + "/../test_helper" require File.expand_path(File.dirname(__FILE__)) + '/../../lib/cmock_generator_plugin_cexception' diff --git a/test/unit/cmock_generator_plugin_expect_a_test.rb b/test/unit/cmock_generator_plugin_expect_a_test.rb index db57996..ec155ba 100644 --- a/test/unit/cmock_generator_plugin_expect_a_test.rb +++ b/test/unit/cmock_generator_plugin_expect_a_test.rb @@ -1,8 +1,9 @@ -# ========================================== -# CMock Project - Automatic Mock Generation for C -# Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams -# [Released under MIT License. Please refer to license.txt for details] -# ========================================== +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= require File.expand_path(File.dirname(__FILE__)) + "/../test_helper" require File.expand_path(File.dirname(__FILE__)) + '/../../lib/cmock_generator_plugin_expect' diff --git a/test/unit/cmock_generator_plugin_expect_any_args_test.rb b/test/unit/cmock_generator_plugin_expect_any_args_test.rb index 9d1c9bd..83aaf86 100644 --- a/test/unit/cmock_generator_plugin_expect_any_args_test.rb +++ b/test/unit/cmock_generator_plugin_expect_any_args_test.rb @@ -1,8 +1,9 @@ -# ========================================== -# CMock Project - Automatic Mock Generation for C -# Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams -# [Released under MIT License. Please refer to license.txt for details] -# ========================================== +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= require File.expand_path(File.dirname(__FILE__)) + "/../test_helper" require File.expand_path(File.dirname(__FILE__)) + '/../../lib/cmock_generator_plugin_expect_any_args.rb' diff --git a/test/unit/cmock_generator_plugin_expect_b_test.rb b/test/unit/cmock_generator_plugin_expect_b_test.rb index 2ba2622..a33e1f0 100644 --- a/test/unit/cmock_generator_plugin_expect_b_test.rb +++ b/test/unit/cmock_generator_plugin_expect_b_test.rb @@ -1,8 +1,9 @@ -# ========================================== -# CMock Project - Automatic Mock Generation for C -# Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams -# [Released under MIT License. Please refer to license.txt for details] -# ========================================== +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= require File.expand_path(File.dirname(__FILE__)) + "/../test_helper" require File.expand_path(File.dirname(__FILE__)) + '/../../lib/cmock_generator_plugin_expect' diff --git a/test/unit/cmock_generator_plugin_ignore_arg_test.rb b/test/unit/cmock_generator_plugin_ignore_arg_test.rb index 5fa18e8..8b3d79f 100644 --- a/test/unit/cmock_generator_plugin_ignore_arg_test.rb +++ b/test/unit/cmock_generator_plugin_ignore_arg_test.rb @@ -1,8 +1,9 @@ -# ========================================== -# CMock Project - Automatic Mock Generation for C -# Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams -# [Released under MIT License. Please refer to license.txt for details] -# ========================================== +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= require File.expand_path(File.dirname(__FILE__)) + "/../test_helper" require File.expand_path(File.dirname(__FILE__)) + '/../../lib/cmock_generator_plugin_ignore_arg' diff --git a/test/unit/cmock_generator_plugin_ignore_stateless_test.rb b/test/unit/cmock_generator_plugin_ignore_stateless_test.rb index 4962d0a..5f3dc90 100644 --- a/test/unit/cmock_generator_plugin_ignore_stateless_test.rb +++ b/test/unit/cmock_generator_plugin_ignore_stateless_test.rb @@ -1,8 +1,9 @@ -# ========================================== -# CMock Project - Automatic Mock Generation for C -# Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams -# [Released under MIT License. Please refer to license.txt for details] -# ========================================== +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= require File.expand_path(File.dirname(__FILE__)) + "/../test_helper" require File.expand_path(File.dirname(__FILE__)) + '/../../lib/cmock_generator_plugin_ignore_stateless' diff --git a/test/unit/cmock_generator_plugin_ignore_test.rb b/test/unit/cmock_generator_plugin_ignore_test.rb index d213efb..b955d85 100644 --- a/test/unit/cmock_generator_plugin_ignore_test.rb +++ b/test/unit/cmock_generator_plugin_ignore_test.rb @@ -1,8 +1,9 @@ -# ========================================== -# CMock Project - Automatic Mock Generation for C -# Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams -# [Released under MIT License. Please refer to license.txt for details] -# ========================================== +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= require File.expand_path(File.dirname(__FILE__)) + "/../test_helper" require File.expand_path(File.dirname(__FILE__)) + '/../../lib/cmock_generator_plugin_ignore' diff --git a/test/unit/cmock_generator_plugin_return_thru_ptr_test.rb b/test/unit/cmock_generator_plugin_return_thru_ptr_test.rb index 9ed5a12..4851e4c 100644 --- a/test/unit/cmock_generator_plugin_return_thru_ptr_test.rb +++ b/test/unit/cmock_generator_plugin_return_thru_ptr_test.rb @@ -1,8 +1,9 @@ -# ========================================== -# CMock Project - Automatic Mock Generation for C -# Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams -# [Released under MIT License. Please refer to license.txt for details] -# ========================================== +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= require File.expand_path(File.dirname(__FILE__)) + "/../test_helper" require File.expand_path(File.dirname(__FILE__)) + '/../../lib/cmock_generator_plugin_return_thru_ptr' diff --git a/test/unit/cmock_generator_utils_test.rb b/test/unit/cmock_generator_utils_test.rb index 1535663..17fa061 100644 --- a/test/unit/cmock_generator_utils_test.rb +++ b/test/unit/cmock_generator_utils_test.rb @@ -1,8 +1,9 @@ -# ========================================== -# CMock Project - Automatic Mock Generation for C -# Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams -# [Released under MIT License. Please refer to license.txt for details] -# ========================================== +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= require File.expand_path(File.dirname(__FILE__)) + "/../test_helper" require File.expand_path(File.dirname(__FILE__)) + '/../../lib/cmock_generator_utils' diff --git a/test/unit/cmock_header_parser_test.rb b/test/unit/cmock_header_parser_test.rb index a04adaf..ee9d8ee 100644 --- a/test/unit/cmock_header_parser_test.rb +++ b/test/unit/cmock_header_parser_test.rb @@ -1,8 +1,9 @@ -# ========================================== -# CMock Project - Automatic Mock Generation for C -# Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams -# [Released under MIT License. Please refer to license.txt for details] -# ========================================== +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= $ThisIsOnlyATest = true diff --git a/test/unit/cmock_plugin_manager_test.rb b/test/unit/cmock_plugin_manager_test.rb index abe012a..b6faa17 100644 --- a/test/unit/cmock_plugin_manager_test.rb +++ b/test/unit/cmock_plugin_manager_test.rb @@ -1,8 +1,9 @@ -# ========================================== -# CMock Project - Automatic Mock Generation for C -# Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams -# [Released under MIT License. Please refer to license.txt for details] -# ========================================== +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= require File.expand_path(File.dirname(__FILE__)) + "/../test_helper" require File.expand_path(File.dirname(__FILE__)) + '/../../lib/cmock_plugin_manager' diff --git a/test/unit/cmock_unityhelper_parser_test.rb b/test/unit/cmock_unityhelper_parser_test.rb index 987b0d6..1b31686 100644 --- a/test/unit/cmock_unityhelper_parser_test.rb +++ b/test/unit/cmock_unityhelper_parser_test.rb @@ -1,8 +1,9 @@ -# ========================================== -# CMock Project - Automatic Mock Generation for C -# Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams -# [Released under MIT License. Please refer to license.txt for details] -# ========================================== +# ========================================================================= +# CMock - Automatic Mock Generation for C +# ThrowTheSwitch.org +# Copyright (c) 2007-25 Mike Karlesky, Mark VanderVoord, & Greg Williams +# SPDX-License-Identifier: MIT +# ========================================================================= require File.expand_path(File.dirname(__FILE__)) + "/../test_helper" require File.expand_path(File.dirname(__FILE__)) + '/../../lib/cmock_unityhelper_parser'