Searched refs:ACTION_P (Results 1 - 4 of 4) sorted by relevance
/third_party/googletest/googlemock/test/ |
H A D | gmock-more-actions_test.cc | 1124 // Tests that ACTION_P can define a parameterized action. 1125 ACTION_P(Plus, n) { return arg0 + n; } in ACTION_P() function 1132 // Tests that the body of ACTION_P can reference the argument types 1134 ACTION_P(TypedPlus, n) { in ACTION_P() function 1159 ACTION_P(OverloadedAction, default_value) { in ACTION_P() function 1333 ACTION_P(DoFoo, p) {} in ACTION_P() function 1373 // Tests that an ACTION_P*() action can be explicitly instantiated 1376 ACTION_P(Plus1, x) { return x; } in ACTION_P() function 1514 // Tests that ACTION_TEMPLATE and ACTION/ACTION_P* can be overloaded 1519 ACTION_P(ReturnSu function [all...] |
H A D | gmock_link_test.h | 61 // ACTION_P()-generated 443 // Tests the linkage of actions created using ACTION_P macro. 445 ACTION_P(ReturnArgument, ret_value) { return ret_value; } in ACTION_P() function
|
H A D | gmock-spec-builders_test.cc | 1787 ACTION_P(Delete, ptr) { delete ptr; } in ACTION_P() function
|
/third_party/googletest/googlemock/include/gmock/ |
H A D | gmock-actions.h | 65 // ACTION_P(name, param_name) { statements; } 69 // ACTION_P(Add, n) { return arg0 + n; } 78 // ACTION_P(Add, n) above, you can write 'n_type' to refer to the type 102 // ACTION_P(Plus, a) { ... } 2266 #define ACTION_P(name, ...) \
|
Completed in 11 milliseconds