This commit is contained in:
Wenyuan Yan 2019-06-06 11:47:40 +08:00 committed by GitHub
parent 31200def0d
commit 3ff7cd0f1b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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&());