Public Types | Public Member Functions | Protected Types | Protected Member Functions | Private Member Functions | Private Attributes | Friends
testing::internal::FunctionMockerBase< F > Class Template Reference

#include <gmock.h>

Inheritance diagram for testing::internal::FunctionMockerBase< F >:
Inheritance graph
[legend]

List of all members.

Public Types

typedef Function< F >
::ArgumentMatcherTuple 
ArgumentMatcherTuple
typedef Function< F >
::ArgumentMatcherTuple 
ArgumentMatcherTuple
typedef Function< F >
::ArgumentTuple 
ArgumentTuple
typedef Function< F >
::ArgumentTuple 
ArgumentTuple
typedef Function< F >::Result Result
typedef Function< F >::Result Result

Public Member Functions

virtual void ClearDefaultActionsLocked () GTEST_EXCLUSIVE_LOCK_REQUIRED_(g_gmock_mutex)
virtual void ClearDefaultActionsLocked () GTEST_EXCLUSIVE_LOCK_REQUIRED_(g_gmock_mutex)
const OnCallSpec< F > * FindOnCallSpec (const ArgumentTuple &args) const
const OnCallSpec< F > * FindOnCallSpec (const ArgumentTuple &args) const
 FunctionMockerBase ()
 FunctionMockerBase ()
Result PerformDefaultAction (const ArgumentTuple &args, const string &call_description) const
Result PerformDefaultAction (const ArgumentTuple &args, const string &call_description) const
virtual
UntypedActionResultHolderBase
UntypedPerformAction (const void *untyped_action, const void *untyped_args) const
virtual
UntypedActionResultHolderBase
UntypedPerformAction (const void *untyped_action, const void *untyped_args) const
virtual
UntypedActionResultHolderBase
UntypedPerformDefaultAction (const void *untyped_args, const string &call_description) const
virtual
UntypedActionResultHolderBase
UntypedPerformDefaultAction (const void *untyped_args, const string &call_description) const
virtual ~FunctionMockerBase () GTEST_LOCK_EXCLUDED_(g_gmock_mutex)
virtual ~FunctionMockerBase () GTEST_LOCK_EXCLUDED_(g_gmock_mutex)

Protected Types

typedef ActionResultHolder
< Result
ResultHolder
typedef ActionResultHolder
< Result
ResultHolder

Protected Member Functions

TypedExpectation< F > & AddNewExpectation (const char *file, int line, const string &source_text, const ArgumentMatcherTuple &m) GTEST_LOCK_EXCLUDED_(g_gmock_mutex)
TypedExpectation< F > & AddNewExpectation (const char *file, int line, const string &source_text, const ArgumentMatcherTuple &m) GTEST_LOCK_EXCLUDED_(g_gmock_mutex)
OnCallSpec< F > & AddNewOnCallSpec (const char *file, int line, const ArgumentMatcherTuple &m) GTEST_LOCK_EXCLUDED_(g_gmock_mutex)
OnCallSpec< F > & AddNewOnCallSpec (const char *file, int line, const ArgumentMatcherTuple &m) GTEST_LOCK_EXCLUDED_(g_gmock_mutex)
MockSpec< F > & current_spec ()
MockSpec< F > & current_spec ()
Result InvokeWith (const ArgumentTuple &args) GTEST_LOCK_EXCLUDED_(g_gmock_mutex)
Result InvokeWith (const ArgumentTuple &args) GTEST_LOCK_EXCLUDED_(g_gmock_mutex)

Private Member Functions

void DescribeDefaultActionTo (const ArgumentTuple &args,::std::ostream *os) const
void DescribeDefaultActionTo (const ArgumentTuple &args,::std::ostream *os) const
TypedExpectation< F > * FindMatchingExpectationLocked (const ArgumentTuple &args) const GTEST_EXCLUSIVE_LOCK_REQUIRED_(g_gmock_mutex)
TypedExpectation< F > * FindMatchingExpectationLocked (const ArgumentTuple &args) const GTEST_EXCLUSIVE_LOCK_REQUIRED_(g_gmock_mutex)
void FormatUnexpectedCallMessageLocked (const ArgumentTuple &args,::std::ostream *os,::std::ostream *why) const GTEST_EXCLUSIVE_LOCK_REQUIRED_(g_gmock_mutex)
void FormatUnexpectedCallMessageLocked (const ArgumentTuple &args,::std::ostream *os,::std::ostream *why) const GTEST_EXCLUSIVE_LOCK_REQUIRED_(g_gmock_mutex)
 GTEST_DISALLOW_COPY_AND_ASSIGN_ (FunctionMockerBase)
 GTEST_DISALLOW_COPY_AND_ASSIGN_ (FunctionMockerBase)
void PrintTriedExpectationsLocked (const ArgumentTuple &args,::std::ostream *why) const GTEST_EXCLUSIVE_LOCK_REQUIRED_(g_gmock_mutex)
void PrintTriedExpectationsLocked (const ArgumentTuple &args,::std::ostream *why) const GTEST_EXCLUSIVE_LOCK_REQUIRED_(g_gmock_mutex)
virtual void UntypedDescribeUninterestingCall (const void *untyped_args,::std::ostream *os) const GTEST_LOCK_EXCLUDED_(g_gmock_mutex)
virtual void UntypedDescribeUninterestingCall (const void *untyped_args,::std::ostream *os) const GTEST_LOCK_EXCLUDED_(g_gmock_mutex)
virtual const ExpectationBaseUntypedFindMatchingExpectation (const void *untyped_args, const void **untyped_action, bool *is_excessive,::std::ostream *what,::std::ostream *why) GTEST_LOCK_EXCLUDED_(g_gmock_mutex)
virtual const ExpectationBaseUntypedFindMatchingExpectation (const void *untyped_args, const void **untyped_action, bool *is_excessive,::std::ostream *what,::std::ostream *why) GTEST_LOCK_EXCLUDED_(g_gmock_mutex)
virtual void UntypedPrintArgs (const void *untyped_args,::std::ostream *os) const
virtual void UntypedPrintArgs (const void *untyped_args,::std::ostream *os) const

Private Attributes

MockSpec< F > current_spec_

Friends

class MockSpec
class TypedExpectation

Detailed Description

template<typename F>
class testing::internal::FunctionMockerBase< F >

Definition at line 9961 of file fused-src/gmock/gmock.h.


Member Typedef Documentation

template<typename F>
typedef Function<F>::ArgumentMatcherTuple testing::internal::FunctionMockerBase< F >::ArgumentMatcherTuple

Definition at line 1405 of file gmock-spec-builders.h.

template<typename F>
typedef Function<F>::ArgumentMatcherTuple testing::internal::FunctionMockerBase< F >::ArgumentMatcherTuple

Definition at line 9965 of file fused-src/gmock/gmock.h.

template<typename F>
typedef Function<F>::ArgumentTuple testing::internal::FunctionMockerBase< F >::ArgumentTuple
template<typename F>
typedef Function<F>::ArgumentTuple testing::internal::FunctionMockerBase< F >::ArgumentTuple
template<typename F>
typedef Function<F>::Result testing::internal::FunctionMockerBase< F >::Result

Definition at line 1403 of file gmock-spec-builders.h.

template<typename F>
typedef Function<F>::Result testing::internal::FunctionMockerBase< F >::Result

Definition at line 9963 of file fused-src/gmock/gmock.h.

template<typename F>
typedef ActionResultHolder<Result> testing::internal::FunctionMockerBase< F >::ResultHolder [protected]

Definition at line 1522 of file gmock-spec-builders.h.

template<typename F>
typedef ActionResultHolder<Result> testing::internal::FunctionMockerBase< F >::ResultHolder [protected]

Definition at line 10082 of file fused-src/gmock/gmock.h.


Constructor & Destructor Documentation

template<typename F>
testing::internal::FunctionMockerBase< F >::FunctionMockerBase ( ) [inline]

Definition at line 9967 of file fused-src/gmock/gmock.h.

template<typename F>
virtual testing::internal::FunctionMockerBase< F >::~FunctionMockerBase ( ) [inline, virtual]

Definition at line 9972 of file fused-src/gmock/gmock.h.

template<typename F>
testing::internal::FunctionMockerBase< F >::FunctionMockerBase ( ) [inline]

Definition at line 1407 of file gmock-spec-builders.h.

template<typename F>
virtual testing::internal::FunctionMockerBase< F >::~FunctionMockerBase ( ) [inline, virtual]

Definition at line 1412 of file gmock-spec-builders.h.


Member Function Documentation

template<typename F>
TypedExpectation<F>& testing::internal::FunctionMockerBase< F >::AddNewExpectation ( const char *  file,
int  line,
const string source_text,
const ArgumentMatcherTuple m 
) [inline, protected]

Definition at line 1545 of file gmock-spec-builders.h.

template<typename F>
TypedExpectation<F>& testing::internal::FunctionMockerBase< F >::AddNewExpectation ( const char *  file,
int  line,
const string source_text,
const ArgumentMatcherTuple m 
) [inline, protected]

Definition at line 10105 of file fused-src/gmock/gmock.h.

template<typename F>
OnCallSpec<F>& testing::internal::FunctionMockerBase< F >::AddNewOnCallSpec ( const char *  file,
int  line,
const ArgumentMatcherTuple m 
) [inline, protected]

Definition at line 1534 of file gmock-spec-builders.h.

template<typename F>
OnCallSpec<F>& testing::internal::FunctionMockerBase< F >::AddNewOnCallSpec ( const char *  file,
int  line,
const ArgumentMatcherTuple m 
) [inline, protected]

Definition at line 10094 of file fused-src/gmock/gmock.h.

template<typename F>
virtual void testing::internal::FunctionMockerBase< F >::ClearDefaultActionsLocked ( ) [inline, virtual]
template<typename F>
virtual void testing::internal::FunctionMockerBase< F >::ClearDefaultActionsLocked ( ) [inline, virtual]
template<typename F>
MockSpec<F>& testing::internal::FunctionMockerBase< F >::current_spec ( ) [inline, protected]

Definition at line 1568 of file gmock-spec-builders.h.

template<typename F>
MockSpec<F>& testing::internal::FunctionMockerBase< F >::current_spec ( ) [inline, protected]

Definition at line 10128 of file fused-src/gmock/gmock.h.

template<typename F>
void testing::internal::FunctionMockerBase< F >::DescribeDefaultActionTo ( const ArgumentTuple args,
::std::ostream *  os 
) const [inline, private]

Definition at line 1578 of file gmock-spec-builders.h.

template<typename F>
void testing::internal::FunctionMockerBase< F >::DescribeDefaultActionTo ( const ArgumentTuple args,
::std::ostream *  os 
) const [inline, private]

Definition at line 10138 of file fused-src/gmock/gmock.h.

template<typename F>
TypedExpectation<F>* testing::internal::FunctionMockerBase< F >::FindMatchingExpectationLocked ( const ArgumentTuple args) const [inline, private]

Definition at line 1658 of file gmock-spec-builders.h.

template<typename F>
TypedExpectation<F>* testing::internal::FunctionMockerBase< F >::FindMatchingExpectationLocked ( const ArgumentTuple args) const [inline, private]

Definition at line 10218 of file fused-src/gmock/gmock.h.

template<typename F>
const OnCallSpec<F>* testing::internal::FunctionMockerBase< F >::FindOnCallSpec ( const ArgumentTuple args) const [inline]

Definition at line 1423 of file gmock-spec-builders.h.

template<typename F>
const OnCallSpec<F>* testing::internal::FunctionMockerBase< F >::FindOnCallSpec ( const ArgumentTuple args) const [inline]

Definition at line 9983 of file fused-src/gmock/gmock.h.

template<typename F>
void testing::internal::FunctionMockerBase< F >::FormatUnexpectedCallMessageLocked ( const ArgumentTuple args,
::std::ostream *  os,
::std::ostream *  why 
) const [inline, private]

Definition at line 1675 of file gmock-spec-builders.h.

template<typename F>
void testing::internal::FunctionMockerBase< F >::FormatUnexpectedCallMessageLocked ( const ArgumentTuple args,
::std::ostream *  os,
::std::ostream *  why 
) const [inline, private]

Definition at line 10235 of file fused-src/gmock/gmock.h.

template<typename F>
Result testing::internal::FunctionMockerBase< F >::InvokeWith ( const ArgumentTuple args) [inline, protected]

Definition at line 1527 of file gmock-spec-builders.h.

template<typename F>
Result testing::internal::FunctionMockerBase< F >::InvokeWith ( const ArgumentTuple args) [inline, protected]

Definition at line 10087 of file fused-src/gmock/gmock.h.

template<typename F>
Result testing::internal::FunctionMockerBase< F >::PerformDefaultAction ( const ArgumentTuple args,
const string call_description 
) const [inline]

Definition at line 1443 of file gmock-spec-builders.h.

template<typename F>
Result testing::internal::FunctionMockerBase< F >::PerformDefaultAction ( const ArgumentTuple args,
const string call_description 
) const [inline]

Definition at line 10003 of file fused-src/gmock/gmock.h.

template<typename F>
void testing::internal::FunctionMockerBase< F >::PrintTriedExpectationsLocked ( const ArgumentTuple args,
::std::ostream *  why 
) const [inline, private]

Definition at line 1688 of file gmock-spec-builders.h.

template<typename F>
void testing::internal::FunctionMockerBase< F >::PrintTriedExpectationsLocked ( const ArgumentTuple args,
::std::ostream *  why 
) const [inline, private]

Definition at line 10248 of file fused-src/gmock/gmock.h.

template<typename F>
virtual void testing::internal::FunctionMockerBase< F >::UntypedDescribeUninterestingCall ( const void *  untyped_args,
::std::ostream *  os 
) const [inline, private, virtual]
template<typename F>
virtual void testing::internal::FunctionMockerBase< F >::UntypedDescribeUninterestingCall ( const void *  untyped_args,
::std::ostream *  os 
) const [inline, private, virtual]
template<typename F>
virtual const ExpectationBase* testing::internal::FunctionMockerBase< F >::UntypedFindMatchingExpectation ( const void *  untyped_args,
const void **  untyped_action,
bool *  is_excessive,
::std::ostream *  what,
::std::ostream *  why 
) [inline, private, virtual]
template<typename F>
virtual const ExpectationBase* testing::internal::FunctionMockerBase< F >::UntypedFindMatchingExpectation ( const void *  untyped_args,
const void **  untyped_action,
bool *  is_excessive,
::std::ostream *  what,
::std::ostream *  why 
) [inline, private, virtual]
template<typename F>
virtual UntypedActionResultHolderBase* testing::internal::FunctionMockerBase< F >::UntypedPerformAction ( const void *  untyped_action,
const void *  untyped_args 
) const [inline, virtual]
template<typename F>
virtual UntypedActionResultHolderBase* testing::internal::FunctionMockerBase< F >::UntypedPerformAction ( const void *  untyped_action,
const void *  untyped_args 
) const [inline, virtual]
template<typename F>
virtual UntypedActionResultHolderBase* testing::internal::FunctionMockerBase< F >::UntypedPerformDefaultAction ( const void *  untyped_args,
const string call_description 
) const [inline, virtual]
template<typename F>
virtual UntypedActionResultHolderBase* testing::internal::FunctionMockerBase< F >::UntypedPerformDefaultAction ( const void *  untyped_args,
const string call_description 
) const [inline, virtual]
template<typename F>
virtual void testing::internal::FunctionMockerBase< F >::UntypedPrintArgs ( const void *  untyped_args,
::std::ostream *  os 
) const [inline, private, virtual]
template<typename F>
virtual void testing::internal::FunctionMockerBase< F >::UntypedPrintArgs ( const void *  untyped_args,
::std::ostream *  os 
) const [inline, private, virtual]

Friends And Related Function Documentation

template<typename F>
MockSpec [friend]

Definition at line 10080 of file fused-src/gmock/gmock.h.

template<typename F>
TypedExpectation [friend]

Definition at line 10131 of file fused-src/gmock/gmock.h.


Member Data Documentation

template<typename F>
MockSpec< F > testing::internal::FunctionMockerBase< F >::current_spec_ [private]

Definition at line 10274 of file fused-src/gmock/gmock.h.


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


ros_opcua_impl_freeopcua
Author(s): Denis Štogl
autogenerated on Sat Jun 8 2019 18:25:01