Searched refs:EXPECT_CALL (Results 1 - 12 of 12) sorted by relevance

/gem5/ext/googletest/googlemock/test/
H A Dgmock_output_test_.cc71 EXPECT_CALL(foo_, Bar2(0, _));
80 EXPECT_CALL(foo_, Bar3(0, _));
87 EXPECT_CALL(foo_, Bar2(_, _))
91 foo_.Bar2(1, 1); // Explicit actions in EXPECT_CALL run out.
95 EXPECT_CALL(foo_, Bar2(0, _));
102 EXPECT_CALL(foo_, Bar3(0, _));
109 EXPECT_CALL(foo_, Bar2(0, _));
116 EXPECT_CALL(foo_, Bar3(0, _));
131 EXPECT_CALL(foo_, Bar2(_, _))
133 EXPECT_CALL(foo
[all...]
H A Dgmock-spec-builders_test.cc126 EXPECT_CALL(incomplete, ByRefFunc(_))
179 // Tests that EXPECT_CALL and ON_CALL compile in a presence of macro
218 EXPECT_CALL(cc, Method());
225 EXPECT_CALL(cc, Method()).WillOnce(Return(42));
291 // Tests that EXPECT_CALL evaluates its arguments exactly once as
297 EXPECT_CALL(*pa++, DoA(_));
306 EXPECT_CALL(a, DoA(n++));
311 // Tests that the syntax of EXPECT_CALL() is enforced at run time.
316 EXPECT_CALL(a, DoA(5))
318 EXPECT_CALL(
[all...]
H A Dgmock_leak_test_.cc62 EXPECT_CALL(*foo, DoThis());
89 EXPECT_CALL(*foo2, DoThis());
H A Dgmock-generated-function-mockers_test.cc192 EXPECT_CALL(mock_foo_, VoidReturning(Lt(100)));
198 EXPECT_CALL(mock_foo_, Nullary())
208 EXPECT_CALL(mock_foo_, Unary(Eq(2)))
218 EXPECT_CALL(mock_foo_, Binary(2, _))
226 EXPECT_CALL(mock_foo_, Decimal(true, 'a', 0, 0, 1L, A<float>(),
236 EXPECT_CALL(mock_foo_, TakesNonConstReference(Ref(a)))
245 EXPECT_CALL(mock_foo_, TakesConstReference(Ref(a)))
254 EXPECT_CALL(mock_foo_, TakesConst(Lt(10)))
263 EXPECT_CALL(mock_foo_, OverloadedOnArgumentNumber())
265 EXPECT_CALL(mock_foo
[all...]
H A Dgmock_stress_test.cc158 EXPECT_CALL(foo, Bar(0))
160 EXPECT_CALL(foo, Baz(_, _));
161 EXPECT_CALL(foo, Baz("hi", "you"))
204 EXPECT_CALL(foo, Baz(_, "b"))
207 EXPECT_CALL(foo, Baz(_, "c")); // Expected to be unsatisfied.
244 EXPECT_CALL(foo, Bar(0));
245 EXPECT_CALL(foo, Bar(1))
249 EXPECT_CALL(foo, Bar(2))
253 EXPECT_CALL(foo, Bar(3))
259 EXPECT_CALL(fo
[all...]
H A Dgmock-nice-strict_test.cc207 EXPECT_CALL(nice_foo, DoThis());
215 EXPECT_CALL(nice_foo, DoThis()).Times(0);
251 EXPECT_CALL(nice, DoThis());
299 EXPECT_CALL(naggy_foo, DoThis());
307 EXPECT_CALL(naggy_foo, DoThis()).Times(0);
344 EXPECT_CALL(naggy, DoThis());
353 EXPECT_CALL(strict_foo, DoThis());
361 EXPECT_CALL(strict_foo, DoThis()).Times(0);
418 EXPECT_CALL(strict, DoThis());
H A Dgmock_link_test.h245 EXPECT_CALL(mock, VoidFromString(_)).WillOnce(Return());
254 EXPECT_CALL(mock, StringFromString(_)).WillOnce(Return(&ch));
262 EXPECT_CALL(mock, VoidFromString(_)).WillOnce(Return());
271 EXPECT_CALL(mock, IntRefFromString(_)).WillOnce(ReturnRef(n));
280 EXPECT_CALL(mock, VoidFromString(_)).WillOnce(Assign(&ch, 'y'));
289 EXPECT_CALL(mock, VoidFromString(_)).WillOnce(SetArgPointee<0>('y'));
299 EXPECT_CALL(mock, VoidFromString(_)).WillOnce(SetArrayArgument<0>(&ch2,
311 EXPECT_CALL(mock, IntFromString(_)).WillOnce(SetErrnoAndReturn(1, -1));
323 EXPECT_CALL(mock, VoidFromString(_))
335 EXPECT_CALL(moc
[all...]
H A Dgmock-actions_test.cc713 EXPECT_CALL(mock, IntFunc(_))
722 EXPECT_CALL(mock, Foo())
740 EXPECT_CALL(mock, IntFunc(_))
758 EXPECT_CALL(mock, IntFunc(_))
769 EXPECT_CALL(mock, IntFunc(_))
1353 EXPECT_CALL(mock, MakeUnique()).WillOnce(Return(ByMove(std::move(i))));
1354 EXPECT_CALL(mock, MakeVectorUnique())
1357 EXPECT_CALL(mock, MakeUniqueBase())
1376 EXPECT_CALL(mock_function, Call());
1377 EXPECT_CALL(moc
[all...]
H A Dgmock-internal-utils_test.cc566 EXPECT_CALL(mock, TestMethod());
570 // Verifies that EXPECT_CALL logs if the --gmock_verbose flag is set to "info".
573 HasSubstr("EXPECT_CALL(mock, TestMethod())"));
576 // Verifies that EXPECT_CALL doesn't log
582 // Verifies that EXPECT_CALL doesn't log
H A Dgmock-generated-matchers_test.cc515 EXPECT_CALL(helper, Helper(_, _))
H A Dgmock-matchers_test.cc2611 EXPECT_CALL(helper, Helper(_, _));
2612 EXPECT_CALL(helper, Helper(_, _))
/gem5/ext/googletest/googlemock/include/gmock/
H A Dgmock-spec-builders.h34 // This file implements the ON_CALL() and EXPECT_CALL() macros.
45 // A user can use the EXPECT_CALL() macro to specify an expectation on
48 // EXPECT_CALL(mock_object, Method(argument-matchers))
187 // whenever an EXPECT_CALL() or ON_CALL() is executed on this mock
230 // ON_CALL/EXPECT_CALL has been invoked on it.
452 // ON_CALL or EXPECT_CALL. In case mock_obj is leaked, this
467 // clause of EXPECT_CALL() for setting the (partial) order of
470 // Expectation e1 = EXPECT_CALL(...)...;
471 // EXPECT_CALL(...).After(e1)...;
495 // Expectation e = EXPECT_CALL(
1845 #define EXPECT_CALL macro
[all...]

Completed in 54 milliseconds