Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WTB umock_c regions #161

Open
anporumb opened this issue Apr 4, 2020 · 0 comments
Open

WTB umock_c regions #161

anporumb opened this issue Apr 4, 2020 · 0 comments

Comments

@anporumb
Copy link
Contributor

anporumb commented Apr 4, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant