Lines Matching full:bar2
58 MOCK_METHOD2(Bar2, bool(int x, int y));
74 EXPECT_CALL(foo_, Bar2(0, _)); in TEST_F()
75 foo_.Bar2(0, 0); // Expected call in TEST_F()
90 EXPECT_CALL(foo_, Bar2(_, _)).Times(2).WillOnce(Return(false)); in TEST_F()
91 foo_.Bar2(2, 2); in TEST_F()
92 foo_.Bar2(1, 1); // Explicit actions in EXPECT_CALL run out. in TEST_F()
96 EXPECT_CALL(foo_, Bar2(0, _)); in TEST_F()
98 foo_.Bar2(1, 0); // Unexpected call in TEST_F()
99 foo_.Bar2(0, 0); // Expected call in TEST_F()
110 EXPECT_CALL(foo_, Bar2(0, _)); in TEST_F()
112 foo_.Bar2(0, 0); // Expected call in TEST_F()
113 foo_.Bar2(0, 1); // Excessive call in TEST_F()
124 foo_.Bar2(0, 1); // Uninteresting call in TEST_F()
132 EXPECT_CALL(foo_, Bar2(_, _)).RetiresOnSaturation(); in TEST_F()
133 EXPECT_CALL(foo_, Bar2(0, 0)); in TEST_F()
135 foo_.Bar2(1, 1); in TEST_F()
136 foo_.Bar2(1, 1); // Matches a retired expectation in TEST_F()
137 foo_.Bar2(0, 0); in TEST_F()
144 EXPECT_CALL(foo_, Bar2(0, 0)); in TEST_F()
145 EXPECT_CALL(foo_, Bar2(1, _)); in TEST_F()
148 foo_.Bar2(1, 0); // Has one immediate unsatisfied pre-requisite in TEST_F()
150 foo_.Bar2(0, 0); in TEST_F()
151 foo_.Bar2(1, 0); in TEST_F()
158 EXPECT_CALL(foo_, Bar2(0, 0)).InSequence(s2); in TEST_F()
159 EXPECT_CALL(foo_, Bar2(1, _)).InSequence(s1, s2); in TEST_F()
161 foo_.Bar2(1, 0); // Has two immediate unsatisfied pre-requisites in TEST_F()
163 foo_.Bar2(0, 0); in TEST_F()
164 foo_.Bar2(1, 0); in TEST_F()
168 EXPECT_CALL(foo_, Bar2(_, _)).With(Ge()); in TEST_F()
173 EXPECT_CALL(foo_, Bar2(0, _)).Times(2); in TEST_F()
175 foo_.Bar2(0, 1); in TEST_F()
187 EXPECT_CALL(foo_, Bar2(Ge(2), Ge(1))).With(Ge()); in TEST_F()
189 foo_.Bar2(2, 3); // Mismatch With() in TEST_F()
190 foo_.Bar2(2, 1); in TEST_F()
194 EXPECT_CALL(foo_, Bar2(Ge(2), Ge(1))).With(Ge()); in TEST_F()
196 foo_.Bar2(1, 3); // Mismatch arguments and mismatch With() in TEST_F()
197 foo_.Bar2(2, 1); in TEST_F()
201 ON_CALL(foo_, Bar2(_, _)).WillByDefault(Return(true)); // Default action #1 in TEST_F()
202 ON_CALL(foo_, Bar2(1, _)).WillByDefault(Return(false)); // Default action #2 in TEST_F()
204 EXPECT_CALL(foo_, Bar2(2, 2)); in TEST_F()
205 foo_.Bar2(1, 0); // Unexpected call, takes default action #2. in TEST_F()
206 foo_.Bar2(0, 0); // Unexpected call, takes default action #1. in TEST_F()
207 foo_.Bar2(2, 2); // Expected call. in TEST_F()
211 ON_CALL(foo_, Bar2(_, _)).WillByDefault(Return(true)); // Default action #1 in TEST_F()
212 ON_CALL(foo_, Bar2(1, _)).WillByDefault(Return(false)); // Default action #2 in TEST_F()
214 EXPECT_CALL(foo_, Bar2(2, 2)); in TEST_F()
215 EXPECT_CALL(foo_, Bar2(1, 1)); in TEST_F()
217 foo_.Bar2(2, 2); // Expected call. in TEST_F()
218 foo_.Bar2(2, 2); // Excessive call, takes default action #1. in TEST_F()
219 foo_.Bar2(1, 1); // Expected call. in TEST_F()
220 foo_.Bar2(1, 1); // Excessive call, takes default action #2. in TEST_F()
224 ON_CALL(foo_, Bar2(_, _)).WillByDefault(Return(true)); // Default action #1 in TEST_F()
225 ON_CALL(foo_, Bar2(1, _)).WillByDefault(Return(false)); // Default action #2 in TEST_F()
227 foo_.Bar2(2, 2); // Uninteresting call, takes default action #1. in TEST_F()
228 foo_.Bar2(1, 1); // Uninteresting call, takes default action #2. in TEST_F()
232 ON_CALL(foo_, Bar2(_, _)).WillByDefault(Return(true)); // Default action #1 in TEST_F()
234 EXPECT_CALL(foo_, Bar2(_, _)).Times(2).WillOnce(Return(false)); in TEST_F()
235 foo_.Bar2(2, 2); in TEST_F()
236 foo_.Bar2(1, 1); // Explicit actions in EXPECT_CALL run out. in TEST_F()
247 EXPECT_CALL(*foo2, Bar2(_, _)); in TEST_F()
248 EXPECT_CALL(*foo2, Bar2(1, _)); in TEST_F()
250 foo2->Bar2(2, 1); in TEST_F()
251 foo2->Bar2(1, 1); in TEST_F()
269 EXPECT_CALL(*foo, Bar2(_, _)); in TestCatchesLeakedMocksInAdHocTests()
270 foo->Bar2(2, 1); in TestCatchesLeakedMocksInAdHocTests()