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

WTB umock_c regions

Open anporumb opened this issue 5 years ago • 0 comments

At the moment umock_c mechanism of expected/actual call matching is enables globally.

There's a mechanism to reset all the calls (umock_c_reset_all_calls()). But that is rather brutal.

I propose to have (in addition) umock_c_disable() and umock_c_enable().

umock_c_disable() would simply not do any matching of actual calls to expected calls.

umock_c_enable() would (re-)start matching actual calls to expected call.

Best Regards, Andrei Porumb

anporumb avatar Apr 04 '20 00:04 anporumb