Lines Matching defs:ACTION
980 // The ACTION*() macros trigger warning C4100 (unreferenced formal
987 // Tests the ACTION*() macro family.
989 // Tests that ACTION() can define an action that doesn't reference the
991 ACTION(Return5) { return 5; }
1001 // Tests that ACTION() can define an action that returns void.
1002 ACTION(IncrementArg1) { (*arg1)++; }
1011 // Tests that the body of ACTION() can reference the type of the
1013 ACTION(IncrementArg2) {
1026 // Tests that the body of ACTION() can reference the argument tuple
1028 ACTION(Sum2) {
1042 // Tests that the body of ACTION() can reference the mock function
1048 ACTION(InvokeDummy) {
1060 // Tests that the body of ACTION() can reference the mock function's
1062 ACTION(InvokeDummy2) {
1074 // Tests that ACTION() works for arguments passed by const reference.
1075 ACTION(ReturnAddrOfConstBoolReferenceArg) {
1086 // Tests that ACTION() works for arguments passed by non-const reference.
1087 ACTION(ReturnAddrOfIntReferenceArg) {
1098 // Tests that ACTION() can be used in a namespace.
1100 ACTION(Sum) { return arg0 + arg1; }
1108 // Tests that the same ACTION definition works for mock functions with
1110 ACTION(PlusTwo) { return arg0 + 2; }
1151 // Tests that we can use ACTION*() to define actions overloaded on the
1154 ACTION(OverloadedAction) { return arg0 ? arg1 : "hello"; }
1327 // Verifies the type of an ACTION*.
1329 ACTION(DoFoo) {}
1511 // Tests that ACTION_TEMPLATE and ACTION/ACTION_P* can be overloaded
1514 ACTION(ReturnSum) { return 0; }