Searched refs:Invoke (Results 1 - 11 of 11) sorted by relevance

/gem5/ext/googletest/googlemock/test/
H A Dgmock-more-actions_test.cc58 using testing::Invoke;
75 // Sample functions and functors for testing Invoke() and etc.
233 // Tests using Invoke() with a nullary function.
235 Action<int()> a = Invoke(Nullary); // NOLINT
239 // Tests using Invoke() with a unary function.
241 Action<bool(int)> a = Invoke(Unary); // NOLINT
246 // Tests using Invoke() with a binary function.
248 Action<const char*(const char*, short)> a = Invoke(Binary); // NOLINT
253 // Tests using Invoke() with a ternary function.
255 Action<int(int, char, short)> a = Invoke(Ternar
[all...]
H A Dgmock-nice-strict_test.cc138 .WillByDefault(Invoke(raw_foo, &MockFoo::Delete));
179 .WillByDefault(Invoke(nice_foo, &MockFoo::Delete));
283 .WillByDefault(Invoke(naggy_foo, &MockFoo::Delete));
380 .WillByDefault(Invoke(strict_foo, &MockFoo::Delete));
H A Dgmock-generated-actions_test.cc58 using testing::Invoke;
286 Action<bool(double x, int n)> a = WithArgs<1>(Invoke(Unary)); // NOLINT
294 WithArgs<0, 2>(Invoke(Binary));
302 WithArgs<0, 2, 3>(Invoke(Ternary));
309 WithArgs<4, 3, 1, 0>(Invoke(Concat4));
318 WithArgs<4, 3, 2, 1, 0>(Invoke(Concat5));
327 WithArgs<0, 1, 2, 2, 1, 0>(Invoke(Concat6));
335 WithArgs<0, 1, 2, 3, 2, 1, 0>(Invoke(Concat7));
344 WithArgs<0, 1, 2, 3, 0, 1, 2, 3>(Invoke(Concat8));
353 WithArgs<0, 1, 2, 3, 1, 2, 3, 2, 3>(Invoke(Concat
[all...]
H A Dgmock_link_test.h50 // Invoke(function)
51 // Invoke(object, method)
147 using testing::Invoke;
318 // Tests the linkage of the Invoke(function) and Invoke(object, method) actions.
324 .WillOnce(Invoke(&InvokeHelper::StaticVoidFromString))
325 .WillOnce(Invoke(&test_invoke_helper, &InvokeHelper::VoidFromString));
357 .WillOnce(WithArg<0>(Invoke(&InvokeHelper::StaticVoidFromString)));
366 .WillOnce(WithArgs<0>(Invoke(&InvokeHelper::StaticVoidFromString)));
H A Dgmock-actions_test.cc57 using testing::Invoke;
741 .WillRepeatedly(DoAll(Invoke(VoidFunc),
1099 // Sample functions and functors for testing Invoke() and etc.
1183 Action<void()> a = IgnoreResult(Invoke(ReturnOne));
1198 IgnoreResult(Invoke(ReturnMyNonDefaultConstructible)); // NOLINT
1394 EXPECT_CALL(mock, MakeUnique()).WillRepeatedly(Invoke(UniquePtrSource));
1396 .WillRepeatedly(Invoke(VectorUniquePtrSource));
H A Dgmock-spec-builders_test.cc82 using testing::Invoke;
2615 .WillOnce(Invoke(&a, &MockA::DoA))
/gem5/ext/googletest/googlemock/include/gmock/
H A Dgmock-more-actions.h46 // Implements the Invoke(f) action. The template argument
48 // function pointer or a functor. Invoke(f) can be used as an
61 return InvokeHelper<Result, ArgumentTuple>::Invoke(function_impl_, args);
70 // Implements the Invoke(object_ptr, &Class::Method) action.
109 // Various overloads for Invoke().
114 PolymorphicAction<internal::InvokeAction<FunctionImpl> > Invoke( function in namespace:testing
123 PolymorphicAction<internal::InvokeMethodAction<Class, MethodPtr> > Invoke( function in namespace:testing
H A Dgmock-generated-function-mockers.h75 R Invoke() { function in class:testing::internal::FunctionMocker
96 R Invoke(A1 a1) { function in class:testing::internal::FunctionMocker
117 R Invoke(A1 a1, A2 a2) { function in class:testing::internal::FunctionMocker
139 R Invoke(A1 a1, A2 a2, A3 a3) { function in class:testing::internal::FunctionMocker
161 R Invoke(A1 a1, A2 a2, A3 a3, A4 a4) { function in class:testing::internal::FunctionMocker
184 R Invoke(A1 a1, A2 a2, A3 a3, A4 a4, A5 a5) { function in class:testing::internal::FunctionMocker
209 R Invoke(A1 a1, A2 a2, A3 a3, A4 a4, A5 a5, A6 a6) { function in class:testing::internal::FunctionMocker
234 R Invoke(A1 a1, A2 a2, A3 a3, A4 a4, A5 a5, A6 a6, A7 a7) { function in class:testing::internal::FunctionMocker
259 R Invoke(A1 a1, A2 a2, A3 a3, A4 a4, A5 a5, A6 a6, A7 a7, A8 a8) { function in class:testing::internal::FunctionMocker
285 R Invoke(A function in class:testing::internal::FunctionMocker
312 R Invoke(A1 a1, A2 a2, A3 a3, A4 a4, A5 a5, A6 a6, A7 a7, A8 a8, A9 a9, function in class:testing::internal::FunctionMocker
[all...]
H A Dgmock-generated-actions.h57 static R Invoke(Function function, const ::testing::tuple<>&) { function in class:testing::internal::InvokeHelper
73 static R Invoke(Function function, const ::testing::tuple<A1>& args) { function in class:testing::internal::InvokeHelper
89 static R Invoke(Function function, const ::testing::tuple<A1, A2>& args) { function in class:testing::internal::InvokeHelper
105 static R Invoke(Function function, const ::testing::tuple<A1, A2, A3>& args) { function in class:testing::internal::InvokeHelper
122 static R Invoke(Function function, const ::testing::tuple<A1, A2, A3, function in class:testing::internal::InvokeHelper
142 static R Invoke(Function function, const ::testing::tuple<A1, A2, A3, A4, function in class:testing::internal::InvokeHelper
162 static R Invoke(Function function, const ::testing::tuple<A1, A2, A3, A4, A5, function in class:testing::internal::InvokeHelper
182 static R Invoke(Function function, const ::testing::tuple<A1, A2, A3, A4, A5, function in class:testing::internal::InvokeHelper
204 static R Invoke(Function function, const ::testing::tuple<A1, A2, A3, A4, A5, function in class:testing::internal::InvokeHelper
227 static R Invoke(Functio function in class:testing::internal::InvokeHelper
252 static R Invoke(Function function, const ::testing::tuple<A1, A2, A3, A4, A5, function in class:testing::internal::InvokeHelper
[all...]
H A Dgmock-matchers.h2315 static ResultType Invoke(Functor f, T arg) { return f(arg); } function in struct:testing::internal::CallableTraits
2329 static ResType Invoke(ResType(*f)(ArgType), T arg) { function in struct:testing::internal::CallableTraits
2375 CallableTraits<Callable>::template Invoke<T>(callable_, obj);
/gem5/ext/googletest/googlemock/scripts/
H A Dgmock_doctor.py96 'Invoke',
307 r'\'Invoke\(<unresolved overloaded function type>')
309 r'function for call to \'Invoke\'\r?\n'
315 Function you are passing to Invoke is overloaded. Please tell your compiler
321 Invoke(static_cast<bool (*)(int n, double x)>(MyFunction))"""
332 r'call to \'Invoke\(.+, <unresolved overloaded function '
335 r'for call to \'Invoke\'\r?\n'
341 The second argument you gave to Invoke() is an overloaded method. Please
350 Invoke(foo, static_cast<bool (Foo::*)(int n, double x)>(&Foo::Bar))"""

Completed in 59 milliseconds