From b0c6296cbf0f7287db910a9188b335fcea2e01fa Mon Sep 17 00:00:00 2001 From: Moral-Hao Date: Mon, 29 Jan 2024 15:05:30 +0800 Subject: [PATCH] Update all CMock configuration to compare_ptr. (#1123) Bring the change of CMock configuration in directory tasks to all other directories. Co-authored-by: Soren Ptak Co-authored-by: Nikhil Kamath <110539926+amazonKamath@users.noreply.github.com> Co-authored-by: Rahul Kar <118818625+kar-rahul-aws@users.noreply.github.com> --- FreeRTOS/Test/CMock/event_groups/event_groups.yml | 2 +- FreeRTOS/Test/CMock/list/list.yml | 2 +- FreeRTOS/Test/CMock/message_buffer/message_buffer.yml | 2 +- FreeRTOS/Test/CMock/queue/queue.yml | 2 +- FreeRTOS/Test/CMock/smp/smp.yml | 2 +- FreeRTOS/Test/CMock/stream_buffer/stream_buffer.yml | 2 +- FreeRTOS/Test/CMock/timers/timers.yml | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/FreeRTOS/Test/CMock/event_groups/event_groups.yml b/FreeRTOS/Test/CMock/event_groups/event_groups.yml index de9ad9be4..e149b08f2 100644 --- a/FreeRTOS/Test/CMock/event_groups/event_groups.yml +++ b/FreeRTOS/Test/CMock/event_groups/event_groups.yml @@ -1,13 +1,13 @@ :cmock: :mock_prefix: mock_ :when_no_prototypes: :warn + :when_ptr: :compare_ptr :treat_externs: :include :enforce_strict_ordering: TRUE :plugins: - :ignore - :ignore_arg - :expect_any_args - - :array - :callback - :return_thru_ptr :callback_include_count: true # include a count arg when calling the callback diff --git a/FreeRTOS/Test/CMock/list/list.yml b/FreeRTOS/Test/CMock/list/list.yml index de9ad9be4..e149b08f2 100644 --- a/FreeRTOS/Test/CMock/list/list.yml +++ b/FreeRTOS/Test/CMock/list/list.yml @@ -1,13 +1,13 @@ :cmock: :mock_prefix: mock_ :when_no_prototypes: :warn + :when_ptr: :compare_ptr :treat_externs: :include :enforce_strict_ordering: TRUE :plugins: - :ignore - :ignore_arg - :expect_any_args - - :array - :callback - :return_thru_ptr :callback_include_count: true # include a count arg when calling the callback diff --git a/FreeRTOS/Test/CMock/message_buffer/message_buffer.yml b/FreeRTOS/Test/CMock/message_buffer/message_buffer.yml index de9ad9be4..e149b08f2 100644 --- a/FreeRTOS/Test/CMock/message_buffer/message_buffer.yml +++ b/FreeRTOS/Test/CMock/message_buffer/message_buffer.yml @@ -1,13 +1,13 @@ :cmock: :mock_prefix: mock_ :when_no_prototypes: :warn + :when_ptr: :compare_ptr :treat_externs: :include :enforce_strict_ordering: TRUE :plugins: - :ignore - :ignore_arg - :expect_any_args - - :array - :callback - :return_thru_ptr :callback_include_count: true # include a count arg when calling the callback diff --git a/FreeRTOS/Test/CMock/queue/queue.yml b/FreeRTOS/Test/CMock/queue/queue.yml index 1ebd268bf..c9ba70e6a 100644 --- a/FreeRTOS/Test/CMock/queue/queue.yml +++ b/FreeRTOS/Test/CMock/queue/queue.yml @@ -1,13 +1,13 @@ :cmock: :mock_prefix: mock_ :when_no_prototypes: :warn + :when_ptr: :compare_ptr :treat_externs: :include :enforce_strict_ordering: TRUE :plugins: - :ignore - :ignore_arg - :expect_any_args - - :array - :callback - :return_thru_ptr :callback_include_count: true # include a count arg when calling the callback diff --git a/FreeRTOS/Test/CMock/smp/smp.yml b/FreeRTOS/Test/CMock/smp/smp.yml index 5f50def2f..d766527c5 100644 --- a/FreeRTOS/Test/CMock/smp/smp.yml +++ b/FreeRTOS/Test/CMock/smp/smp.yml @@ -1,13 +1,13 @@ :cmock: :mock_prefix: mock_ :when_no_prototypes: :warn + :when_ptr: :compare_ptr :treat_externs: :include :enforce_strict_ordering: TRUE :plugins: - :ignore - :ignore_arg - :expect_any_args - - :array - :callback - :return_thru_ptr - :cexception diff --git a/FreeRTOS/Test/CMock/stream_buffer/stream_buffer.yml b/FreeRTOS/Test/CMock/stream_buffer/stream_buffer.yml index de9ad9be4..e149b08f2 100644 --- a/FreeRTOS/Test/CMock/stream_buffer/stream_buffer.yml +++ b/FreeRTOS/Test/CMock/stream_buffer/stream_buffer.yml @@ -1,13 +1,13 @@ :cmock: :mock_prefix: mock_ :when_no_prototypes: :warn + :when_ptr: :compare_ptr :treat_externs: :include :enforce_strict_ordering: TRUE :plugins: - :ignore - :ignore_arg - :expect_any_args - - :array - :callback - :return_thru_ptr :callback_include_count: true # include a count arg when calling the callback diff --git a/FreeRTOS/Test/CMock/timers/timers.yml b/FreeRTOS/Test/CMock/timers/timers.yml index de9ad9be4..e149b08f2 100644 --- a/FreeRTOS/Test/CMock/timers/timers.yml +++ b/FreeRTOS/Test/CMock/timers/timers.yml @@ -1,13 +1,13 @@ :cmock: :mock_prefix: mock_ :when_no_prototypes: :warn + :when_ptr: :compare_ptr :treat_externs: :include :enforce_strict_ordering: TRUE :plugins: - :ignore - :ignore_arg - :expect_any_args - - :array - :callback - :return_thru_ptr :callback_include_count: true # include a count arg when calling the callback