Monero
Loading...
Searching...
No Matches
testing::internal::SetErrnoAndReturnAction< T > Class Template Reference

#include <gmock-actions.h>

Public Member Functions

 SetErrnoAndReturnAction (int errno_value, T result)
template<typename Result, typename ArgumentTuple>
Result Perform (const ArgumentTuple &) const

Private Member Functions

 GTEST_DISALLOW_ASSIGN_ (SetErrnoAndReturnAction)

Private Attributes

const int errno_
const T result_

Constructor & Destructor Documentation

◆ SetErrnoAndReturnAction()

template<typename T>
testing::internal::SetErrnoAndReturnAction< T >::SetErrnoAndReturnAction ( int errno_value,
T result )
inline

Member Function Documentation

◆ GTEST_DISALLOW_ASSIGN_()

template<typename T>
testing::internal::SetErrnoAndReturnAction< T >::GTEST_DISALLOW_ASSIGN_ ( SetErrnoAndReturnAction< T > )
private

◆ Perform()

template<typename T>
template<typename Result, typename ArgumentTuple>
Result testing::internal::SetErrnoAndReturnAction< T >::Perform ( const ArgumentTuple & ) const
inline

Member Data Documentation

◆ errno_

template<typename T>
const int testing::internal::SetErrnoAndReturnAction< T >::errno_
private

◆ result_

template<typename T>
const T testing::internal::SetErrnoAndReturnAction< T >::result_
private

The documentation for this class was generated from the following file: