umock-c
umock-c copied to clipboard
let's have #include "umock_end_mocks.h" and #include "umock_begin_mocks.h"
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
- "umock_begin_mocks.h" after "umock_begin_mocks.h" is error
- "umock_end_mocks.h" without "umock_begin_mocks.h" is error
- "umock_end_mocks.h" after "umock_end_mocks.h" is error