Lines Matching refs:Bar
33 virtual void Bar(const int i) = 0;
38 MOCK_METHOD(void, Bar, (const int i), (override));
45 warning C4301: 'MockFoo::Bar': overriding virtual function only differs from 'Foo::Bar' by const/vo…
52 warning C4373: 'MockFoo::Bar': virtual function overrides 'Foo::Bar', previous versions of the comp…
61 virtual void Bar(int i) = 0; // int or const int? Makes no difference.
65 In fact, you can *declare* `Bar()` with an `int` parameter, and define it with a
78 void Bar(int* p); // Neither p nor *p is const.
79 void Bar(const int* p); // p is not const, but *p is.
121 EXPECT_CALL(foo, Bar(_))
177 // foo.Bar() should be called twice, return 1 the first time, and return
180 EXPECT_CALL(foo, Bar())
183 EXPECT_CALL(foo, Bar())
202 // foo.Bar() should be called twice, return 1 the first time, and return
207 EXPECT_CALL(foo, Bar())
210 EXPECT_CALL(foo, Bar())
221 // foo.Bar() should be called twice, return 1 the first time, and return
223 EXPECT_CALL(foo, Bar())
253 EXPECT_CALL(foo, Bar(_))
262 ON_CALL(foo, Bar(_))
281 MOCK_METHOD(void, Bar, (X* x, const Y& y));
283 EXPECT_CALL(mock_foo_, Bar(_, _))
299 MOCK_METHOD(void, Bar, (X* p));
301 EXPECT_CALL(mock_foo_, Bar(_))
354 write `EXPECT_CALL(foo, Bar()).Times(0)`? While one can argue that it's the