You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi I'm new with Cmock and I'm porting existing cmocka test cases for a project.
In cmocka, there is expect_not_value() which allows to check a certain parameter of a mocked call to NOT accept a certain value, e.g.
expecting that the mocked function does not get passed a NULL pointer in its (pointer) argument.
Is there an equivalent solution in CMock? So far I can't find any _Expect or _Ignore functions that would offer such option.
Thanks in advance!
The text was updated successfully, but these errors were encountered:
Hi I'm new with Cmock and I'm porting existing cmocka test cases for a project.
In cmocka, there is expect_not_value() which allows to check a certain parameter of a mocked call to NOT accept a certain value, e.g.
expecting that the mocked function does not get passed a NULL pointer in its (pointer) argument.
Is there an equivalent solution in CMock? So far I can't find any _Expect or _Ignore functions that would offer such option.
Thanks in advance!
The text was updated successfully, but these errors were encountered: