-
Notifications
You must be signed in to change notification settings - Fork 169
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
Mocking static methods of the class #128
Comments
jkrajniak
changed the title
Mocking static methods of the classes
Mocking static methods of the class
Sep 19, 2023
Hi, just passing by. FFF is supposed to be used for C, not C++. For C++ better use GoogleTest, CppUTest, etc. |
True, although I have a project that mixes C and C++ (with extern C) and then the standard mocking is almost impossible... |
I haven't yet been in that situation, I guess using FFF for C and Google Mock for C++ is out of the question? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
Is there any way to mock static methods of the class. I've tried but it fails. Basically
where setModel is a static method of BaselineCalib class. Now it returns with the error
The text was updated successfully, but these errors were encountered: