]> begriffs open source - cmsis-freertos/blob - Test/CMock/list/list.yml
Update README.md - branch main is now the base branch
[cmsis-freertos] / Test / CMock / list / list.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   :includes:        # This will add these includes to each mock.
22     - <stdbool.h>
23     - "FreeRTOS.h"
24   :treat_externs: :exclude  # Now the extern-ed functions will be mocked.
25   :weak: __attribute__((weak))
26   :verbosity: 3
27   :attributes:
28     - PRIVILEGED_FUNCTION
29   :strippables:
30     - PRIVILEGED_FUNCTION
31     - portDONT_DISCARD
32   :treat_externs: :include