Lines Matching refs:Bar2
56 MOCK_METHOD2(Bar2, bool(int x, int y));
71 EXPECT_CALL(foo_, Bar2(0, _)); in TEST_F()
72 foo_.Bar2(0, 0); // Expected call in TEST_F()
87 EXPECT_CALL(foo_, Bar2(_, _)) in TEST_F()
90 foo_.Bar2(2, 2); in TEST_F()
91 foo_.Bar2(1, 1); // Explicit actions in EXPECT_CALL run out. in TEST_F()
95 EXPECT_CALL(foo_, Bar2(0, _)); in TEST_F()
97 foo_.Bar2(1, 0); // Unexpected call in TEST_F()
98 foo_.Bar2(0, 0); // Expected call in TEST_F()
109 EXPECT_CALL(foo_, Bar2(0, _)); in TEST_F()
111 foo_.Bar2(0, 0); // Expected call in TEST_F()
112 foo_.Bar2(0, 1); // Excessive call in TEST_F()
123 foo_.Bar2(0, 1); // Uninteresting call in TEST_F()
131 EXPECT_CALL(foo_, Bar2(_, _)) 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()
159 EXPECT_CALL(foo_, Bar2(0, 0)) in TEST_F()
161 EXPECT_CALL(foo_, Bar2(1, _)) in TEST_F()
164 foo_.Bar2(1, 0); // Has two immediate unsatisfied pre-requisites in TEST_F()
166 foo_.Bar2(0, 0); in TEST_F()
167 foo_.Bar2(1, 0); in TEST_F()
171 EXPECT_CALL(foo_, Bar2(_, _)).With(Ge()); in TEST_F()
176 EXPECT_CALL(foo_, Bar2(0, _)) in TEST_F()
179 foo_.Bar2(0, 1); in TEST_F()
191 EXPECT_CALL(foo_, Bar2(Ge(2), Ge(1))) in TEST_F()
194 foo_.Bar2(2, 3); // Mismatch With() in TEST_F()
195 foo_.Bar2(2, 1); in TEST_F()
199 EXPECT_CALL(foo_, Bar2(Ge(2), Ge(1))) in TEST_F()
202 foo_.Bar2(1, 3); // Mismatch arguments and mismatch With() in TEST_F()
203 foo_.Bar2(2, 1); in TEST_F()
207 ON_CALL(foo_, Bar2(_, _)) in TEST_F()
209 ON_CALL(foo_, Bar2(1, _)) in TEST_F()
212 EXPECT_CALL(foo_, Bar2(2, 2)); in TEST_F()
213 foo_.Bar2(1, 0); // Unexpected call, takes default action #2. in TEST_F()
214 foo_.Bar2(0, 0); // Unexpected call, takes default action #1. in TEST_F()
215 foo_.Bar2(2, 2); // Expected call. in TEST_F()
219 ON_CALL(foo_, Bar2(_, _)) in TEST_F()
221 ON_CALL(foo_, Bar2(1, _)) in TEST_F()
224 EXPECT_CALL(foo_, Bar2(2, 2)); in TEST_F()
225 EXPECT_CALL(foo_, Bar2(1, 1)); in TEST_F()
227 foo_.Bar2(2, 2); // Expected call. in TEST_F()
228 foo_.Bar2(2, 2); // Excessive call, takes default action #1. in TEST_F()
229 foo_.Bar2(1, 1); // Expected call. in TEST_F()
230 foo_.Bar2(1, 1); // Excessive call, takes default action #2. in TEST_F()
234 ON_CALL(foo_, Bar2(_, _)) in TEST_F()
236 ON_CALL(foo_, Bar2(1, _)) in TEST_F()
239 foo_.Bar2(2, 2); // Uninteresting call, takes default action #1. in TEST_F()
240 foo_.Bar2(1, 1); // Uninteresting call, takes default action #2. in TEST_F()
244 ON_CALL(foo_, Bar2(_, _)) in TEST_F()
247 EXPECT_CALL(foo_, Bar2(_, _)) in TEST_F()
250 foo_.Bar2(2, 2); in TEST_F()
251 foo_.Bar2(1, 1); // Explicit actions in EXPECT_CALL run out. in TEST_F()
262 EXPECT_CALL(*foo2, Bar2(_, _)); in TEST_F()
263 EXPECT_CALL(*foo2, Bar2(1, _)); in TEST_F()
265 foo2->Bar2(2, 1); in TEST_F()
266 foo2->Bar2(1, 1); in TEST_F()
275 EXPECT_CALL(*foo, Bar2(_, _)); in TestCatchesLeakedMocksInAdHocTests()
276 foo->Bar2(2, 1); in TestCatchesLeakedMocksInAdHocTests()