Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
testing::internal::FunctionMocker< R()> 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()>:
+ Collaboration diagram for testing::internal::FunctionMocker< R()>:

Public Types

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

Public Member Functions

MockSpec< F > & With ()
 
Invoke ()
 
- Public Member Functions inherited from testing::internal::FunctionMockerBase< R()>
 FunctionMockerBase ()
 
virtual ~FunctionMockerBase () GTEST_LOCK_EXCLUDED_(g_gmock_mutex)
 
const OnCallSpec< R() > * 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()>
typedef ActionResultHolder
< Result
ResultHolder
 
- Protected Member Functions inherited from testing::internal::FunctionMockerBase< R()>
Result InvokeWith (const ArgumentTuple &args) GTEST_LOCK_EXCLUDED_(g_gmock_mutex)
 
OnCallSpec< R() > & AddNewOnCallSpec (const char *file, int line, const ArgumentMatcherTuple &m) GTEST_LOCK_EXCLUDED_(g_gmock_mutex)
 
TypedExpectation< R() > & AddNewExpectation (const char *file, int line, const string &source_text, const ArgumentMatcherTuple &m) GTEST_LOCK_EXCLUDED_(g_gmock_mutex)
 
MockSpec< R() > & 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>
class testing::internal::FunctionMocker< R()>

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

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

Member Typedef Documentation

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

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

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

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

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

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

Member Function Documentation

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

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

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

template<typename R >
MockSpec<F>& testing::internal::FunctionMocker< R()>::With ( )
inline

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

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


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