Lines Matching defs:action

457 // Implements the WithArgs action.
463 explicit WithArgsAction(const InnerAction& action) : action_(action) {}
475 explicit Impl(const InnerAction& action) : action_(action) {}
495 // defines an action that can be used in a mock function. Typically,
497 // function. For example, if such an action only uses the second
501 // Therefore, the action implementation must be prepared to take more
618 // WithArgs<N1, N2, ..., Nk>(an_action) creates an action that passes
625 WithArgs(const InnerAction& action) {
626 return internal::WithArgsAction<InnerAction, k1>(action);
631 WithArgs(const InnerAction& action) {
632 return internal::WithArgsAction<InnerAction, k1, k2>(action);
637 WithArgs(const InnerAction& action) {
638 return internal::WithArgsAction<InnerAction, k1, k2, k3>(action);
643 WithArgs(const InnerAction& action) {
644 return internal::WithArgsAction<InnerAction, k1, k2, k3, k4>(action);
649 WithArgs(const InnerAction& action) {
650 return internal::WithArgsAction<InnerAction, k1, k2, k3, k4, k5>(action);
655 WithArgs(const InnerAction& action) {
656 return internal::WithArgsAction<InnerAction, k1, k2, k3, k4, k5, k6>(action);
662 WithArgs(const InnerAction& action) {
664 k7>(action);
670 WithArgs(const InnerAction& action) {
672 k8>(action);
678 WithArgs(const InnerAction& action) {
680 k9>(action);
687 WithArgs(const InnerAction& action) {
689 k9, k10>(action);
692 // Creates an action that does actions a1, a2, ..., sequentially in
789 // will define an action with the given name that executes the
791 // the return value of the action. Inside the statements, you can
814 // Sometimes you'll want to parameterize the action. For that you can use
858 // a new action, you should also consider implementing ActionInterface
860 // use the action a lot. While these approaches require more work,
862 // arguments and the action parameters, which in general leads to
894 // Sometimes you want to give an action explicit template parameters
905 // defines an action template that takes m explicit template
925 // To create an instance of an action template, write:
945 // Are we using a single-template-parameter action where 'bool' refers
946 // to the type of x, or are we using a two-template-parameter action
970 // allows us to implement action templates using O(N) code, where N is
1224 // The suffix of the class template implementing the action template.
1240 // The name of the class template implementing the action template.
2096 // The InvokeArgument<N>(a1, a2, ..., a_k) action invokes the N-th
2114 // argument of the mock function takes a const string&, the action
2121 // InvokeArgument action from temporary values and have it performed
2297 // The ReturnNew<T>(a1, a2, ..., a_k) action returns a pointer to a new