Electroneum
Loading...
Searching...
No Matches
testing::internal::DoBothAction< Action1, Action2 > Class Template Reference

#include <gmock-actions.h>

Public Member Functions

 DoBothAction (Action1 action1, Action2 action2)
template<typename F>
 operator Action< F > () const

Detailed Description

template<typename Action1, typename Action2>
class testing::internal::DoBothAction< Action1, Action2 >

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

Constructor & Destructor Documentation

◆ DoBothAction()

template<typename Action1, typename Action2>
testing::internal::DoBothAction< Action1, Action2 >::DoBothAction ( Action1 action1,
Action2 action2 )
inline

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

975 : action1_(action1), action2_(action2) {}

Member Function Documentation

◆ operator Action< F >()

template<typename Action1, typename Action2>
template<typename F>
testing::internal::DoBothAction< Action1, Action2 >::operator Action< F > ( ) const
inline

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

980 {
981 return Action<F>(new Impl<F>(action1_, action2_));
982 }

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