Home
last modified time | relevance | path

Searched refs:ACTION_P (Results 1 – 6 of 6) sorted by relevance

/freebsd/contrib/googletest/googlemock/test/
H A Dgmock-more-actions_test.cc1189 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 Dgmock_link_test.h451 ACTION_P(ReturnArgument, ret_value) { return ret_value; } in ACTION_P() function
H A Dgmock-spec-builders_test.cc1776 ACTION_P(Delete, ptr) { delete ptr; } in ACTION_P() function
/freebsd/contrib/googletest/docs/reference/
H A Dactions.md113 | `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 Dgmock_cook_book.md2090 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 Dgmock-actions.h2370 #define ACTION_P(name, ...) \