umock-c icon indicating copy to clipboard operation
umock-c copied to clipboard

STRICT_EXPECTED_CALL should have an optional variable number of arguments to describe the call

Open anporumb opened this issue 4 years ago • 0 comments

Right now I have:

STRICT_EXPECTED_CALL(create_something("a", 1));

But I want to have:

STRICT_EXPECTED_CALL(create_something("a", 1), "%s %d", "create_something for source", __LINE__);

And these printf-ish arguments would be printed in the get_expected_calls somehow as hints/pointers.

anporumb avatar Dec 17 '21 15:12 anporumb