Home
last modified time | relevance | path

Searched refs:mock_function (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/googletest/googlemock/test/
H A Dgmock-actions_test.cc1790 testing::MockFunction<void()> mock_function; in TEST() local
1793 EXPECT_CALL(mock_function, Call()); in TEST()
1795 .WillOnce(DoAll(InvokeWithoutArgs(&mock_function, in TEST()
/freebsd/contrib/googletest/docs/
H A Dgmock_cook_book.md4357 MockFunction<int(string)> mock_function;
4360 EXPECT_CALL(mock_function, Call("bar")).WillOnce(Return(1));
4363 Foo(mock_function.AsStdFunction());
4368 // 4. All expectations will be verified when mock_function