Electroneum
Loading...
Searching...
No Matches
testing::internal::InvokeMethodWithoutArgsAction< Class, MethodPtr > Class Template Reference

#include <gmock-actions.h>

Public Member Functions

 InvokeMethodWithoutArgsAction (Class *obj_ptr, MethodPtr method_ptr)
template<typename Result, typename ArgumentTuple>
Result Perform (const ArgumentTuple &) const

Detailed Description

template<class Class, typename MethodPtr>
class testing::internal::InvokeMethodWithoutArgsAction< Class, MethodPtr >

Definition at line 871 of file gmock-actions.h.

Constructor & Destructor Documentation

◆ InvokeMethodWithoutArgsAction()

template<class Class, typename MethodPtr>
testing::internal::InvokeMethodWithoutArgsAction< Class, MethodPtr >::InvokeMethodWithoutArgsAction ( Class * obj_ptr,
MethodPtr method_ptr )
inline

Definition at line 873 of file gmock-actions.h.

Member Function Documentation

◆ Perform()

template<class Class, typename MethodPtr>
template<typename Result, typename ArgumentTuple>
Result testing::internal::InvokeMethodWithoutArgsAction< Class, MethodPtr >::Perform ( const ArgumentTuple & ) const
inline

Definition at line 877 of file gmock-actions.h.

877 {
878 return (obj_ptr_->*method_ptr_)();
879 }

The documentation for this class was generated from the following file:
  • /home/abuild/rpmbuild/BUILD/electroneum-5.1.3.1-build/electroneum-5.1.3.1/external/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-actions.h