Relative Content

Tag Archive for c++googletestgooglemock

Multiple Inheritance, use one method in child

In CPP, gTest, version does not matter too much, I have a class that I would like to mock in order to use gMock. I therefore defined an interface and implement it once with the Mock class and once with something like a wrapper that just forwards the mocked methods to the original.