Lines Matching defs:ACTION
1018 // The ACTION*() macros trigger warning C4100 (unreferenced formal
1025 // Tests the ACTION*() macro family.
1027 // Tests that ACTION() can define an action that doesn't reference the
1029 ACTION(Return5) { return 5; }
1039 // Tests that ACTION() can define an action that returns void.
1040 ACTION(IncrementArg1) { (*arg1)++; }
1049 // Tests that the body of ACTION() can reference the type of the
1051 ACTION(IncrementArg2) {
1064 // Tests that the body of ACTION() can reference the argument tuple
1066 ACTION(Sum2) {
1080 // Tests that the body of ACTION() can reference the mock function
1086 ACTION(InvokeDummy) {
1098 // Tests that the body of ACTION() can reference the mock function's
1100 ACTION(InvokeDummy2) {
1112 // Tests that ACTION() works for arguments passed by const reference.
1113 ACTION(ReturnAddrOfConstBoolReferenceArg) {
1124 // Tests that ACTION() works for arguments passed by non-const reference.
1125 ACTION(ReturnAddrOfIntReferenceArg) {
1136 // Tests that ACTION() can be used in a namespace.
1138 ACTION(Sum) { return arg0 + arg1; }
1146 // Tests that the same ACTION definition works for mock functions with
1148 ACTION(PlusTwo) { return arg0 + 2; }
1189 // Tests that we can use ACTION*() to define actions overloaded on the
1192 ACTION(OverloadedAction) { return arg0 ? arg1 : "hello"; }
1365 // Verifies the type of an ACTION*.
1367 ACTION(DoFoo) {}
1549 // Tests that ACTION_TEMPLATE and ACTION/ACTION_P* can be overloaded
1552 ACTION(ReturnSum) { return 0; }