]> begriffs open source - cmsis-freertos/blob - Test/CMock/queue/queue.yml
Update README.md - branch main is now the base branch
[cmsis-freertos] / Test / CMock / queue / queue.yml
1 :cmock:
2   :mock_prefix: mock_
3   :when_no_prototypes: :warn
4   :treat_externs: :include
5   :enforce_strict_ordering: TRUE
6   :plugins:
7     - :ignore
8     - :ignore_arg
9     - :expect_any_args
10     - :array
11     - :callback
12     - :return_thru_ptr
13   :callback_include_count: true # include a count arg when calling the callback
14   :callback_after_arg_check: false # check arguments before calling the callback
15   :treat_as:
16     uint8:        HEX8
17     uint16:       HEX16
18     uint32:       UINT32
19     int8:         INT8
20     bool:         UINT8
21     UBaseType_t:  UINT32
22     BaseType_t:   UINT32
23   :includes:        # This will add these includes to each mock.
24     - <stdbool.h>
25     - "FreeRTOS.h"
26   :treat_externs: :exclude  # Now the extern-ed functions will be mocked.
27   :weak: __attribute__((weak))
28   :verbosity: 3
29   :attributes:
30     - PRIVILEGED_FUNCTION
31   :strippables:
32     - PRIVILEGED_FUNCTION
33     - portDONT_DISCARD
34   :treat_externs: :include