:cmock: :mock_prefix: mock_ :mock_path: ./ :when_no_prototypes: :warn :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 :callback_after_arg_check: false # check arguments before calling the callback :treat_as: uint8: HEX8 uint16: HEX16 uint32: UINT32 int8: INT8 bool: UINT8 CK_ULONG_PTR: UINT32* :includes: # This will add these includes to each mock. - - :treat_externs: :exclude # Now the extern-ed functions will be mocked. :weak: __attribute__((weak)) :verbosity: 3 :attributes: - MBEDTLS_DEPRECATED - 'int fcntl(int s, int cmd, ...);' :strippables: - MBEDTLS_DEPRECATED - '(?:fcntl\s*\(+.*?\)+)' # this function is causing some trouble with code coverage as the annotations are calling the mocked one, so we won't mock it :treat_externs: :include