class ReturnNullAction

Defined at line 1125 of file ../../third_party/googletest/src/googlemock/include/gmock/gmock-actions.h

Implements the ReturnNull() action.

Public Methods

template <typename Result, typename ArgumentTuple>
Result Perform (const ArgumentTuple & )

Allows ReturnNull() to be used in any pointer-returning function. In C++11

this is enforced by returning nullptr, and in non-C++11 by asserting a

pointer type on compile time.

Defined at line 1131 of file ../../third_party/googletest/src/googlemock/include/gmock/gmock-actions.h