Lines Matching full:action
9 | Action | Description |
12 …ed to the latter type <i>at the time the expectation is set</i>, not when the action is executed. |
18 …alue)` | Return a reference to a copy of `value`; the copy lives as long as the action. |
23 | Action | Description |
32 …th (0-based) argument, which can be either a pointer or an iterator. The action does not take owne…
36 ## Using a Function, Functor, or Lambda as an Action
41 | Action | Description |
51 action.
87 ## Default Action
89 | Action | Description |
91 | `DoDefault()` | Do the default action (specified by `ON_CALL()` or the built-in one). |
95 composite action - trying to do so will result in a run-time error.
99 | Action | Description |
102 | `IgnoreResult(a)` | Perform action `a` and ignore its result. `a` must not return vo…
103 … | Pass the `N`-th (0-based) argument of the mock function to action `a` and perform it…
104 … Nk>(a)` | Pass the selected (0-based) arguments of the mock function to action `a` and perform it…
105 | `WithoutArgs(a)` | Perform action `a` without any arguments. |
111 | `ACTION(Sum) { return arg0 + arg1; }` | Defines an action `Sum()` to return the sum of the mock f…
112 | `ACTION_P(Plus, n) { return arg0 + n; }` | Defines an action `Plus(n)` to return the sum of the m…
113 | `ACTION_Pk(Foo, p1, ..., pk) { statements; }` | Defines a parameterized action `Foo(p1, ..., pk)`…
115 The `ACTION*` macros cannot be used inside a function or class.