Closed
Description
CheckMacros.h has a ifdef to check if
CHECK, CHECK_EQUAL, etc have been already defined.
This gives me problems when some code which links to other libraries (like glog) which have a CHECK macro (but with different definition) are being tested.
Namespaces cant help with preprocessor macros.
How can I work around this?
If the check macros made calls to static methods within a class thats in the UnitTest namespace, maybe this can be solved by calling the static methods instead of macros in such cases.