Search code examples
Why can't I do an assertion in a GMock `EXPECT_CALL`?...


multithreadinglambdagoogletestassertgooglemock

Read More
How to test a C++ program if it fork() and exec() another process?...


c++forkexecgoogletestgooglemock

Read More
Google Test return value...


c++googletestgooglemock

Read More
Mocking functions with multiple template arguments...


c++googletestgooglemock

Read More
Can you specify expectations in mocked class constructor in GMock?...


c++mockinggooglemock

Read More
How to mock const& methods with gmock...


c++unit-testingmockinggoogletestgooglemock

Read More
Practical example for Dependency Injection and mocking with Googlemock...


c++unit-testingdependency-injectiongooglemock

Read More
Why does GMOCK object not return values set by EXPECT_CALL in dependency injection...


c++unit-testingmockinggooglemock

Read More
How to use gmock MOCK_METHOD for overloaded object reference?...


c++operator-overloadinggooglemock

Read More
How to mock a template class with gmock (Google Mock)?...


c++unit-testingtemplatesmockinggooglemock

Read More
How to write a google mock matcher to match a void pointer argument?...


c++c++14googlemock

Read More
Injecting a map of std::string and StrictMock<MockClass> into a class under test...


c++googletestgooglemock

Read More
How to disambiguate a pointer and a reference version of a function?...


c++googlemock

Read More
Mocking problem on Non-Virtual functions with NVI Idiom...


c++c++20googletestgooglemocknon-virtual-interface

Read More
GMock / Virtual Functions / Boost MSM how to correctly combine?...


c++boostembeddedstate-machinegooglemock

Read More
Avoid matching .WillOnce multiple times in Google Mock...


c++tddgooglemock

Read More
How to pass extra argument to google mock EXPECT_CALL...


c++googletestgooglemock

Read More
How can I match one element from a C++ tuple using gmock?...


c++googletestgooglemock

Read More
Why does Google Mocks find this function call ambiguous?...


c++templatescompilationcppunitgooglemock

Read More
When mocking a class via MOCK_METHOD, does it need the override keyword?...


c++googletestgooglemock

Read More
Mocking non-virtual methods in C++ without editing production code?...


c++unit-testingmockinggooglemock

Read More
Test a std::vector argument from a MOCK_METHOD call with gtest...


c++googletestgooglemock

Read More
How do you create a templated custom matcher with gmock...


c++unit-testingtestinggooglemock

Read More
Initializer list with more than initialization value...


c++testinggooglemock

Read More
Set expectation for input value for overloaded function where value does not matter...


googlemock

Read More
googlemock ON_CALL with SetArgPointee will not change from test case to test case...


googletestgooglemock

Read More
Why does void * pointer to SetArgPointee in gmock cause error...


c++googlemock

Read More
google mock : how can I " EXPECT " that no method will be called on a mock...


c++googletestgooglemock

Read More
What is the difference between TEST, TEST_F and TEST_P?...


googletestgooglemock

Read More
Google Mock unit testing static methods c++...


c++googletestgooglemock

Read More
BackNext