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.
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!