This commit is contained in:
Wenyuan Yan 2019-06-06 11:47:40 +08:00 committed by GitHub
parent 02400d0ba0
commit 29eec11805

View File

@ -70,7 +70,7 @@ class Foo {
class MockFoo : public Foo { class MockFoo : public Foo {
... ...
MOCK_METHOD1(Add, int(Element x)); MOCK_METHOD1(Add, int(Element x));
MOCK_METHOD2(Add, int(int times, Element x); MOCK_METHOD2(Add, int(int times, Element x));
MOCK_METHOD0(GetBar, Bar&()); MOCK_METHOD0(GetBar, Bar&());
MOCK_CONST_METHOD0(GetBar, const Bar&()); MOCK_CONST_METHOD0(GetBar, const Bar&());