mirror of
https://github.com/google/googletest.git
synced 2025-01-14 16:37:56 +08:00
Googletest export
Internal changes PiperOrigin-RevId: 262994110
This commit is contained in:
parent
3835e15d72
commit
a92e4a8e92
@ -178,7 +178,7 @@ class MockStack : public StackInterface<Elem> {
|
|||||||
#### Mocking Non-virtual Methods {#MockingNonVirtualMethods}
|
#### Mocking Non-virtual Methods {#MockingNonVirtualMethods}
|
||||||
|
|
||||||
gMock can mock non-virtual functions to be used in Hi-perf dependency
|
gMock can mock non-virtual functions to be used in Hi-perf dependency
|
||||||
injection.<!-- GOOGLETEST_CM0017 DO NOT DELETE -->.
|
injection.[See this](http://go/tott/33).
|
||||||
|
|
||||||
In this case, instead of sharing a common base class with the real class, your
|
In this case, instead of sharing a common base class with the real class, your
|
||||||
mock class will be *unrelated* to the real class, but contain methods with the
|
mock class will be *unrelated* to the real class, but contain methods with the
|
||||||
|
Loading…
x
Reference in New Issue
Block a user