Searched refs:ACTION_P (Results 1 - 5 of 5) sorted by relevance

/gem5/ext/googletest/googlemock/include/gmock/
H A Dgmock-more-actions.h222 ACTION_P(ReturnPointee, pointer) { return *pointer; } function in namespace:testing
233 ACTION_P(Throw, exception) { throw exception; } function in namespace:testing
H A Dgmock-generated-actions.h817 // ACTION_P(name, param_name) { statements; }
821 // ACTION_P(Add, n) { return arg0 + n; }
830 // ACTION_P(Add, n) above, you can write 'n_type' to refer to the type
854 // ACTION_P(Plus, a) { ... }
896 // ACTION_P*() don't support that. ACTION_TEMPLATE() remedies that
897 // and can be viewed as an extension to ACTION() and ACTION_P*().
938 // ACTION_TEMPLATE and ACTION/ACTION_P* can be overloaded on the
1353 #define ACTION_P(name, p0)\ macro
/gem5/ext/googletest/googlemock/test/
H A Dgmock-generated-actions_test.cc731 // Tests that ACTION_P can define a parameterized action.
732 ACTION_P(Plus, n) { return arg0 + n; } function in namespace:testing::gmock_generated_actions_test
739 // Tests that the body of ACTION_P can reference the argument types
741 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
937 ACTION_P(DoFoo, p) {} function in namespace:testing::gmock_generated_actions_test
977 // Tests that an ACTION_P*() action can be explicitly instantiated
980 ACTION_P(Plus1, x) { return x; } function in namespace:testing::gmock_generated_actions_test
1185 // Tests that ACTION_TEMPLATE and ACTION/ACTION_P* can be overloaded
1190 ACTION_P(ReturnSu function in namespace:testing::gmock_generated_actions_test
[all...]
H A Dgmock_link_test.h63 // ACTION_P()-generated
438 // Tests the linkage of actions created using ACTION_P macro.
440 ACTION_P(ReturnArgument, ret_value) { return ret_value; } function in namespace:__anon24
H A Dgmock-spec-builders_test.cc1826 ACTION_P(Delete, ptr) { delete ptr; } function in namespace:__anon20

Completed in 31 milliseconds