-
Notifications
You must be signed in to change notification settings - Fork 250
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mock static inline functions in a header file #938
Comments
@MichaelBMiner So sorry about this. From your previous post #933, it appears you're using Ceedling 0.31.1. Ceedling 0.31.1 does indeed have a problem working with CMock's abilities to handle mocking |
@MichaelBMiner Quick update… Sadly, 1.0.0 does not fully fix this problem. In certain basic scenarios it works correctly. This is actually quite a thorny problem, and we're wrestling with it again before publishing 1.0.0. |
I'm going to close this issue but only to cull the list of open issues. I will reference it in the older issue #706 with a longer discussion thread (now pinned in the issue list) so we can keep everything together. |
I am writing tests for code written on an MXCA153 NXP dev kit. I am writing tests for my led module and running into the following.
Now the function RESET_ReleasePeripheralReset is implemented in fsl_reset.h as
This function is never mocked in mock_fsl_reset.c or mock_fsl_reset.h
In the project.yml if I add the setting :treat_inlines: :include I believe my issue would be resolved, but then it gives me a new error which I posted in 933
The text was updated successfully, but these errors were encountered: