Uninteresting mock function call; no success to match trivial call #4709
Replies: 1 comment
-
EXPECT_CALL had to be done BEFORE the actual call to sut :-) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm struggling with a (trivial) function to mock; the call is made and even reported by gmock but i can't seem to match the expectation. I have been reading a lot on this, code seems fine to me, no issue's with const, virtual, etc...
Are there maybe any compile flags/optimizations that could screw-up the matching?
Giving following output:
Beta Was this translation helpful? Give feedback.
All reactions