Lines Matching refs:ACTION
591 // The ACTION*() macros trigger warning C4100 (unreferenced formal
601 // Tests the ACTION*() macro family.
603 // Tests that ACTION() can define an action that doesn't reference the
605 ACTION(Return5) { return 5; }
615 // Tests that ACTION() can define an action that returns void.
616 ACTION(IncrementArg1) { (*arg1)++; }
625 // Tests that the body of ACTION() can reference the type of the
627 ACTION(IncrementArg2) {
640 // Tests that the body of ACTION() can reference the argument tuple
642 ACTION(Sum2) {
654 // Tests that the body of ACTION() can reference the mock function
658 ACTION(InvokeDummy) {
670 // Tests that the body of ACTION() can reference the mock function's
672 ACTION(InvokeDummy2) {
684 // Tests that ACTION() works for arguments passed by const reference.
685 ACTION(ReturnAddrOfConstBoolReferenceArg) {
696 // Tests that ACTION() works for arguments passed by non-const reference.
697 ACTION(ReturnAddrOfIntReferenceArg) {
708 // Tests that ACTION() can be used in a namespace.
710 ACTION(Sum) { return arg0 + arg1; }
718 // Tests that the same ACTION definition works for mock functions with
720 ACTION(PlusTwo) { return arg0 + 2; }
760 // Tests that we can use ACTION*() to define actions overloaded on the
763 ACTION(OverloadedAction) { return arg0 ? arg1 : "hello"; }
934 // Verifies the type of an ACTION*.
936 ACTION(DoFoo) {}
1185 // Tests that ACTION_TEMPLATE and ACTION/ACTION_P* can be overloaded
1188 ACTION(ReturnSum) { return 0; }