umock-c
umock-c copied to clipboard
WTB umock_c regions
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