Searched refs:ACTION_P (Results 1 - 5 of 5) sorted by relevance
/freebsd-13-stable/contrib/googletest/googlemock/include/gmock/ |
H A D | gmock-more-actions.h | 223 ACTION_P(ReturnPointee, pointer) { return *pointer; } function in namespace:testing 234 ACTION_P(Throw, exception) { throw exception; } function in namespace:testing
|
H A D | gmock-generated-actions.h | 893 // ACTION_P(name, param_name) { statements; } 897 // ACTION_P(Add, n) { return arg0 + n; } 906 // ACTION_P(Add, n) above, you can write 'n_type' to refer to the type 930 // ACTION_P(Plus, a) { ... } 972 // ACTION_P*() don't support that. ACTION_TEMPLATE() remedies that 973 // and can be viewed as an extension to ACTION() and ACTION_P*(). 1014 // ACTION_TEMPLATE and ACTION/ACTION_P* can be overloaded on the 1467 #define ACTION_P(name, p0)\ macro
|
/freebsd-13-stable/contrib/googletest/googlemock/test/ |
H A D | gmock-generated-actions_test.cc | 730 // Tests that ACTION_P can define a parameterized action. 731 ACTION_P(Plus, n) { return arg0 + n; } function in namespace:testing::gmock_generated_actions_test 738 // Tests that the body of ACTION_P can reference the argument types 740 ACTION_P(TypedPlus, n) { function in namespace:testing::gmock_generated_actions_test 765 ACTION_P(OverloadedAction, default_value) { function in namespace:testing::gmock_generated_actions_test 938 ACTION_P(DoFoo, p) {} function in namespace:testing::gmock_generated_actions_test 978 // Tests that an ACTION_P*() action can be explicitly instantiated 981 ACTION_P(Plus1, x) { return x; } function in namespace:testing::gmock_generated_actions_test 1186 // Tests that ACTION_TEMPLATE and ACTION/ACTION_P* can be overloaded 1191 ACTION_P(ReturnSu function in namespace:testing::gmock_generated_actions_test [all...] |
H A D | gmock_link_test.h | 62 // ACTION_P()-generated 443 // Tests the linkage of actions created using ACTION_P macro. 445 ACTION_P(ReturnArgument, ret_value) { return ret_value; } function in namespace:__anon804
|
H A D | gmock-spec-builders_test.cc | 1883 ACTION_P(Delete, ptr) { delete ptr; } function in namespace:__anon800
|
Completed in 111 milliseconds