Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
testing::internal::FunctionMocker< R(A1)> Class Template Reference

#include <JETSCAPE/blob/main/external_packages/googletest/googlemock/include/gmock/gmock-generated-function-mockers.h>

+ Inheritance diagram for testing::internal::FunctionMocker< R(A1)>:
+ Collaboration diagram for testing::internal::FunctionMocker< R(A1)>:

Public Types

typedef R F (A1)
 
typedef internal::Function< F >
::ArgumentTuple 
ArgumentTuple
 
- Public Types inherited from testing::internal::FunctionMockerBase< R(A1)>
typedef Function< R(A1) >::Result Result
 
typedef Function< R(A1) >
::ArgumentTuple 
ArgumentTuple
 
typedef Function< R(A1) >
::ArgumentMatcherTuple 
ArgumentMatcherTuple
 

Public Member Functions

MockSpec< F > & With (const Matcher< A1 > &m1)
 
Invoke (A1 a1)
 
- Public Member Functions inherited from testing::internal::FunctionMockerBase< R(A1)>
 FunctionMockerBase ()
 
virtual ~FunctionMockerBase () GTEST_LOCK_EXCLUDED_(g_gmock_mutex)
 
const OnCallSpec< R(A1) > * FindOnCallSpec (const ArgumentTuple &args) const
 
Result PerformDefaultAction (const ArgumentTuple &args, const string &call_description) const
 
virtual
UntypedActionResultHolderBase
UntypedPerformDefaultAction (const void *untyped_args, const string &call_description) const
 
virtual
UntypedActionResultHolderBase
UntypedPerformAction (const void *untyped_action, const void *untyped_args) const
 
virtual void ClearDefaultActionsLocked () GTEST_EXCLUSIVE_LOCK_REQUIRED_(g_gmock_mutex)
 
- Public Member Functions inherited from testing::internal::UntypedFunctionMockerBase
 UntypedFunctionMockerBase ()
 
virtual ~UntypedFunctionMockerBase ()
 
bool VerifyAndClearExpectationsLocked () GTEST_EXCLUSIVE_LOCK_REQUIRED_(g_gmock_mutex)
 
void RegisterOwner (const void *mock_obj) GTEST_LOCK_EXCLUDED_(g_gmock_mutex)
 
void SetOwnerAndName (const void *mock_obj, const char *name) GTEST_LOCK_EXCLUDED_(g_gmock_mutex)
 
const void * MockObject () const GTEST_LOCK_EXCLUDED_(g_gmock_mutex)
 
const char * Name () const GTEST_LOCK_EXCLUDED_(g_gmock_mutex)
 
UntypedActionResultHolderBaseUntypedInvokeWith (const void *untyped_args) GTEST_LOCK_EXCLUDED_(g_gmock_mutex)
 

Additional Inherited Members

- Protected Types inherited from testing::internal::FunctionMockerBase< R(A1)>
typedef ActionResultHolder
< Result
ResultHolder
 
- Protected Member Functions inherited from testing::internal::FunctionMockerBase< R(A1)>
Result InvokeWith (const ArgumentTuple &args) GTEST_LOCK_EXCLUDED_(g_gmock_mutex)
 
OnCallSpec< R(A1) > & AddNewOnCallSpec (const char *file, int line, const ArgumentMatcherTuple &m) GTEST_LOCK_EXCLUDED_(g_gmock_mutex)
 
TypedExpectation< R(A1) > & AddNewExpectation (const char *file, int line, const string &source_text, const ArgumentMatcherTuple &m) GTEST_LOCK_EXCLUDED_(g_gmock_mutex)
 
MockSpec< R(A1) > & current_spec ()
 
- Protected Attributes inherited from testing::internal::UntypedFunctionMockerBase
const void * mock_obj_
 
const char * name_
 
UntypedOnCallSpecs untyped_on_call_specs_
 
UntypedExpectations untyped_expectations_
 

Detailed Description

template<typename R, typename A1>
class testing::internal::FunctionMocker< R(A1)>

Definition at line 85 of file gmock-generated-function-mockers.h.

View newest version in sPHENIX GitHub at line 85 of file gmock-generated-function-mockers.h

Member Typedef Documentation

template<typename R , typename A1 >
typedef internal::Function<F>::ArgumentTuple testing::internal::FunctionMocker< R(A1)>::ArgumentTuple

Definition at line 89 of file gmock-generated-function-mockers.h.

View newest version in sPHENIX GitHub at line 89 of file gmock-generated-function-mockers.h

template<typename R , typename A1 >
typedef R testing::internal::FunctionMocker< R(A1)>::F(A1)

Definition at line 88 of file gmock-generated-function-mockers.h.

View newest version in sPHENIX GitHub at line 88 of file gmock-generated-function-mockers.h

Member Function Documentation

template<typename R , typename A1 >
R testing::internal::FunctionMocker< R(A1)>::Invoke ( A1  a1)
inline

Definition at line 96 of file gmock-generated-function-mockers.h.

View newest version in sPHENIX GitHub at line 96 of file gmock-generated-function-mockers.h

template<typename R , typename A1 >
MockSpec<F>& testing::internal::FunctionMocker< R(A1)>::With ( const Matcher< A1 > &  m1)
inline

Definition at line 91 of file gmock-generated-function-mockers.h.

View newest version in sPHENIX GitHub at line 91 of file gmock-generated-function-mockers.h

References std::tr1::make_tuple().

+ Here is the call graph for this function:


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