esp-idf/tools/mocks/freertos/mock/mock_config.yaml
Euripedes Rocha c0f99f5a28 [MQTT] Simplifies MQTT CMakeLists file
- Uses mocks from tools instead of creating them.
- Move host based definition to test code.
2022-11-24 08:48:00 +01:00

23 lines
689 B
YAML

:cmock:
:includes_h_pre_orig_header:
- FreeRTOSConfig.h
- FreeRTOS.h
:plugins:
- expect
- expect_any_args
- return_thru_ptr
- array
- ignore
- ignore_arg
- callback
:strippables:
- '(?:__attribute__\s*\(+.*?\)+)'
# following functions are disabled by configQUEUE_REGISTRY_SIZE
- '(?:vQueueAddToRegistry\s*\([\s\w\*_,]*\))'
- '(?:vQueueUnregisterQueue\s*\([\s\w\*_,]*\))'
- '(?:pcQueueGetName\s*\([\s\w\*_,]*\))'
# following function is disabled by configTHREAD_LOCAL_STORAGE_DELETE_CALLBACKS
- '(?:vTaskSetThreadLocalStoragePointerAndDelCallback\s*\([\s\w\*_,]*\))'
- PRIVILEGED_FUNCTION
- portDONT_DISCARD