Searched refs:ACTION_P (Results 1 – 6 of 6) sorted by relevance
| /freebsd/contrib/googletest/googlemock/test/ |
| H A D | gmock-more-actions_test.cc | 1189 ACTION_P(Plus, n) { return arg0 + n; } in ACTION_P() function 1198 ACTION_P(TypedPlus, n) { in ACTION_P() function 1223 ACTION_P(OverloadedAction, default_value) { in ACTION_P() function 1397 ACTION_P(DoFoo, p) {} in ACTION_P() function 1440 ACTION_P(Plus1, x) { return x; } in ACTION_P() function 1583 ACTION_P(ReturnSum, x) { return x; } in ACTION_P() function
|
| H A D | gmock_link_test.h | 451 ACTION_P(ReturnArgument, ret_value) { return ret_value; } in ACTION_P() function
|
| H A D | gmock-spec-builders_test.cc | 1776 ACTION_P(Delete, ptr) { delete ptr; } in ACTION_P() function
|
| /freebsd/contrib/googletest/docs/reference/ |
| H A D | actions.md | 113 | `ACTION_P(Plus, n) { return arg0 + n; }` | Defines an action `Plus(n)` to return the sum of the m…
|
| /freebsd/contrib/googletest/docs/ |
| H A D | gmock_cook_book.md | 2090 ACTION_P(ReturnPointee, p) { return *p; } 4037 ACTION_P(name, param) { statements; } 4043 ACTION_P(Add, n) { return arg0 + n; } 4060 For example, in the body of `ACTION_P(Add, n)` above, you can write `n_type` for 4086 ACTION_P(Plus, a) { ... } 4106 ACTION_P(Bar, param) { 4122 viewed as an extension to `ACTION()` and `ACTION_P*()`. 4176 `ACTION_TEMPLATE` and `ACTION`/`ACTION_P*` can be overloaded on the number of 4199 | `ACTION_P(Bar, param)` | `Bar(int_value)` | `BarActionP<int>` |
|
| /freebsd/contrib/googletest/googlemock/include/gmock/ |
| H A D | gmock-actions.h | 2370 #define ACTION_P(name, ...) \
|