Lines Matching refs:mock_foo
241 MockFoo mock_foo;
242 EXPECT_CALL(mock_foo, DoThis());
243 ... code that uses mock_foo ...
247 If a method of `mock_foo` other than `DoThis()` is called, it will be
256 NiceMock<MockFoo> mock_foo;
257 EXPECT_CALL(mock_foo, DoThis());
258 ... code that uses mock_foo ...
272 NiceMock<MockFoo> mock_foo(5, "hi"); // Calls MockFoo(5, "hi").
273 EXPECT_CALL(mock_foo, DoThis());
274 ... code that uses mock_foo ...
285 StrictMock<MockFoo> mock_foo;
286 EXPECT_CALL(mock_foo, DoThis());
287 ... code that uses mock_foo ...
289 // The test will fail if a method of mock_foo other than DoThis()
2424 // File mock_foo.h.
2441 // File mock_foo.h.
2456 // File mock_foo.cpp.
2457 #include "path/to/mock_foo.h"
2860 // Expects mock_foo.Bar(n) to be called where n is divisible by 7.
2861 EXPECT_CALL(mock_foo, Bar(IsDivisibleBy7()));