gmock-global
gmock-global copied to clipboard
Provides ability to mock global functions with gmock
How can I use calls with namespace? In my code I use different functions with namespaces (`filesystem::exists` etc.). But gmock-global not working correctly with namespaces. I will show what I...
Please update the project to be compatible with new powerful MOCK_METHOD macro introduced in GoogleTest release v1.10.0.
Introduces two sets of macro `MOCK_GLOBAL_FUNC*_DECL` - for mock function declaration in a header file `MOCK_GLOBAL_FUNC*_DEF` - for mock function definition in a source file example of usage mocs.hpp `MOCK_GLOBAL_FUNC0_DECL(mul00,...
allows to declare mocs in header and define it in source only for functions 0-4
add EXTERN_GLOBAL_FUNC* define fix muitiple definition of two file use one global function