be a class/struct/union s:\repo_file\gmock-1.6.0\include\gmock\gmock-matchers.h 2535 1 Project_TestsNote: C++ does not support default-int s:\repo_file\gmock-1.6.0\include\gmock\gmock-matchers.h 2536: is not a member of '`gl
这是我第一次使用gmock,并且有这个Mock类的例子 class MockInterface : public ExpInterfacepublic:
MockInterface()mockInt = std::make_shared<MockInterface>(); 当调用mockInt->func(vec);时,我需要用传递给func函数的向量填充_testVec,如何使用gMock