• Home
  • Raw
  • Download

Lines Matching refs:Bar2

62   MOCK_METHOD2(Bar2, bool(int x, int y));
77 EXPECT_CALL(foo_, Bar2(0, _)); in TEST_F()
78 foo_.Bar2(0, 0); // Expected call in TEST_F()
93 EXPECT_CALL(foo_, Bar2(_, _)) in TEST_F()
96 foo_.Bar2(2, 2); in TEST_F()
97 foo_.Bar2(1, 1); // Explicit actions in EXPECT_CALL run out. in TEST_F()
101 EXPECT_CALL(foo_, Bar2(0, _)); in TEST_F()
103 foo_.Bar2(1, 0); // Unexpected call in TEST_F()
104 foo_.Bar2(0, 0); // Expected call in TEST_F()
115 EXPECT_CALL(foo_, Bar2(0, _)); in TEST_F()
117 foo_.Bar2(0, 0); // Expected call in TEST_F()
118 foo_.Bar2(0, 1); // Excessive call in TEST_F()
129 foo_.Bar2(0, 1); // Uninteresting call in TEST_F()
137 EXPECT_CALL(foo_, Bar2(_, _)) in TEST_F()
139 EXPECT_CALL(foo_, Bar2(0, 0)); in TEST_F()
141 foo_.Bar2(1, 1); in TEST_F()
142 foo_.Bar2(1, 1); // Matches a retired expectation in TEST_F()
143 foo_.Bar2(0, 0); in TEST_F()
150 EXPECT_CALL(foo_, Bar2(0, 0)); in TEST_F()
151 EXPECT_CALL(foo_, Bar2(1, _)); in TEST_F()
154 foo_.Bar2(1, 0); // Has one immediate unsatisfied pre-requisite in TEST_F()
156 foo_.Bar2(0, 0); in TEST_F()
157 foo_.Bar2(1, 0); in TEST_F()
165 EXPECT_CALL(foo_, Bar2(0, 0)) in TEST_F()
167 EXPECT_CALL(foo_, Bar2(1, _)) in TEST_F()
170 foo_.Bar2(1, 0); // Has two immediate unsatisfied pre-requisites in TEST_F()
172 foo_.Bar2(0, 0); in TEST_F()
173 foo_.Bar2(1, 0); in TEST_F()
177 EXPECT_CALL(foo_, Bar2(_, _)).With(Ge()); in TEST_F()
182 EXPECT_CALL(foo_, Bar2(0, _)) in TEST_F()
185 foo_.Bar2(0, 1); in TEST_F()
197 EXPECT_CALL(foo_, Bar2(Ge(2), Ge(1))) in TEST_F()
200 foo_.Bar2(2, 3); // Mismatch With() in TEST_F()
201 foo_.Bar2(2, 1); in TEST_F()
205 EXPECT_CALL(foo_, Bar2(Ge(2), Ge(1))) in TEST_F()
208 foo_.Bar2(1, 3); // Mismatch arguments and mismatch With() in TEST_F()
209 foo_.Bar2(2, 1); in TEST_F()
213 ON_CALL(foo_, Bar2(_, _)) in TEST_F()
215 ON_CALL(foo_, Bar2(1, _)) in TEST_F()
218 EXPECT_CALL(foo_, Bar2(2, 2)); in TEST_F()
219 foo_.Bar2(1, 0); // Unexpected call, takes default action #2. in TEST_F()
220 foo_.Bar2(0, 0); // Unexpected call, takes default action #1. in TEST_F()
221 foo_.Bar2(2, 2); // Expected call. in TEST_F()
225 ON_CALL(foo_, Bar2(_, _)) in TEST_F()
227 ON_CALL(foo_, Bar2(1, _)) in TEST_F()
230 EXPECT_CALL(foo_, Bar2(2, 2)); in TEST_F()
231 EXPECT_CALL(foo_, Bar2(1, 1)); in TEST_F()
233 foo_.Bar2(2, 2); // Expected call. in TEST_F()
234 foo_.Bar2(2, 2); // Excessive call, takes default action #1. in TEST_F()
235 foo_.Bar2(1, 1); // Expected call. in TEST_F()
236 foo_.Bar2(1, 1); // Excessive call, takes default action #2. in TEST_F()
240 ON_CALL(foo_, Bar2(_, _)) in TEST_F()
242 ON_CALL(foo_, Bar2(1, _)) in TEST_F()
245 foo_.Bar2(2, 2); // Uninteresting call, takes default action #1. in TEST_F()
246 foo_.Bar2(1, 1); // Uninteresting call, takes default action #2. in TEST_F()
250 ON_CALL(foo_, Bar2(_, _)) in TEST_F()
253 EXPECT_CALL(foo_, Bar2(_, _)) in TEST_F()
256 foo_.Bar2(2, 2); in TEST_F()
257 foo_.Bar2(1, 1); // Explicit actions in EXPECT_CALL run out. in TEST_F()
268 EXPECT_CALL(*foo2, Bar2(_, _)); in TEST_F()
269 EXPECT_CALL(*foo2, Bar2(1, _)); in TEST_F()
271 foo2->Bar2(2, 1); in TEST_F()
272 foo2->Bar2(1, 1); in TEST_F()
290 EXPECT_CALL(*foo, Bar2(_, _)); in TestCatchesLeakedMocksInAdHocTests()
291 foo->Bar2(2, 1); in TestCatchesLeakedMocksInAdHocTests()