Lines Matching refs:ACTION
979 // The ACTION*() macros trigger warning C4100 (unreferenced formal
990 // Tests the ACTION*() macro family.
992 // Tests that ACTION() can define an action that doesn't reference the
994 ACTION(Return5) { return 5; }
1004 // Tests that ACTION() can define an action that returns void.
1005 ACTION(IncrementArg1) { (*arg1)++; }
1014 // Tests that the body of ACTION() can reference the type of the
1016 ACTION(IncrementArg2) {
1029 // Tests that the body of ACTION() can reference the argument tuple
1031 ACTION(Sum2) {
1045 // Tests that the body of ACTION() can reference the mock function
1051 ACTION(InvokeDummy) {
1063 // Tests that the body of ACTION() can reference the mock function's
1065 ACTION(InvokeDummy2) {
1077 // Tests that ACTION() works for arguments passed by const reference.
1078 ACTION(ReturnAddrOfConstBoolReferenceArg) {
1089 // Tests that ACTION() works for arguments passed by non-const reference.
1090 ACTION(ReturnAddrOfIntReferenceArg) {
1101 // Tests that ACTION() can be used in a namespace.
1103 ACTION(Sum) { return arg0 + arg1; }
1111 // Tests that the same ACTION definition works for mock functions with
1113 ACTION(PlusTwo) { return arg0 + 2; }
1154 // Tests that we can use ACTION*() to define actions overloaded on the
1157 ACTION(OverloadedAction) { return arg0 ? arg1 : "hello"; }
1330 // Verifies the type of an ACTION*.
1332 ACTION(DoFoo) {}
1514 // Tests that ACTION_TEMPLATE and ACTION/ACTION_P* can be overloaded
1517 ACTION(ReturnSum) { return 0; }