Open kfabian opened 5 years ago
I have the following overloaded mock functions MOCK_METHOD1_T(function, void(int value)); MOCK_METHOD1_T(function, void(std::shared_ptr pointer));
if expect the call EXPECT_CALL(*mock_object, function(testing::Pointee(10))). Times(2);
I can't compile it, because the call of the overloaded function is ambiguous. How can I solve this problem.
I have the following overloaded mock functions pointer));
MOCK_METHOD1_T(function, void(int value)); MOCK_METHOD1_T(function, void(std::shared_ptr
if expect the call EXPECT_CALL(*mock_object, function(testing::Pointee(10))). Times(2);
I can't compile it, because the call of the overloaded function is ambiguous. How can I solve this problem.