Home
last modified time | relevance | path

Searched refs:InvokeArgument (Results 1 - 3 of 3) sorted by relevance

/third_party/googletest/googlemock/test/
H A Dgmock-more-actions_test.cc692 // Tests InvokeArgument<N>(...).
694 // Tests using InvokeArgument with a nullary function.
696 Action<int(int, int (*)())> a = InvokeArgument<1>(); // NOLINT in TEST()
700 // Tests using InvokeArgument with a unary function.
702 Action<int(UnaryFunctor)> a = InvokeArgument<0>(true); // NOLINT in TEST()
706 // Tests using InvokeArgument with a 5-ary function.
709 InvokeArgument<0>(10000, 2000, 300, 40, 5); in TEST()
713 // Tests using InvokeArgument with a 5-ary functor.
716 InvokeArgument<0>(10000, 2000, 300, 40, 5); in TEST()
720 // Tests using InvokeArgument wit
[all...]
H A Dgmock_link_test.h52 // InvokeArgument
150 using testing::InvokeArgument;
348 // Tests the linkage of the InvokeArgument action.
353 EXPECT_CALL(mock, VoidFromFunc(_)).WillOnce(InvokeArgument<0>(&ch)); in TEST()
/third_party/googletest/googlemock/include/gmock/
H A Dgmock-more-actions.h592 // internal::InvokeArgument - a helper for InvokeArgument action.
597 auto InvokeArgument(F f, Args... args) -> decltype(f(args...)) { in f()
605 auto operator()(Args&&... args) const -> decltype(internal::InvokeArgument(
612 return internal::InvokeArgument( in declval()
622 // The InvokeArgument<N>(a1, a2, ..., a_k) action invokes the N-th
632 // InvokeArgument<1>(5, string("Hello"), std::ref(foo))
642 // InvokeArgument<0>(string("Hello"))
647 // InvokeArgument action from temporary values and have it performed
651 InvokeArgument(Param function
[all...]

Completed in 5 milliseconds