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

let's have #include "umock_end_mocks.h" and #include "umock_begin_mocks.h" #191

Open
anporumb opened this issue Feb 18, 2021 · 0 comments
Open

Comments

@anporumb
Copy link
Contributor

Those 2 headers would contain

#define ENABLE_MOCKS

respectively
#undef ENABLE_MOCKS
#include "umock_c/umock_c_prod.h"

and should have a mechanism where

  1. "umock_begin_mocks.h" after "umock_begin_mocks.h" is error
  2. "umock_end_mocks.h" without "umock_begin_mocks.h" is error
  3. "umock_end_mocks.h" after "umock_end_mocks.h" is error
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