Variable.h
....
#define BLAH = "blahstring"
.....
Hi, How do we mock a variable under #define? Google mock docs talks about mostly methods and objects, but not mocking constants. Closest I can think of delegating call to fake class have it returned test value.
I have header file with list of variables, I want to mock it so that when calling BLAH in test, I get "mockblahstring" instead of "blahstring".
Any example code would help.
thanks.