#include <gmock.h>

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 ExpectationBase * | UntypedFindMatchingExpectation (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 ExpectationBase * | UntypedFindMatchingExpectation (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 |
Definition at line 9961 of file fused-src/gmock/gmock.h.
| typedef Function<F>::ArgumentMatcherTuple testing::internal::FunctionMockerBase< F >::ArgumentMatcherTuple |
Definition at line 1405 of file gmock-spec-builders.h.
| typedef Function<F>::ArgumentMatcherTuple testing::internal::FunctionMockerBase< F >::ArgumentMatcherTuple |
Definition at line 9965 of file fused-src/gmock/gmock.h.
| typedef Function<F>::ArgumentTuple testing::internal::FunctionMockerBase< F >::ArgumentTuple |
Reimplemented in testing::internal::FunctionMocker< R(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10)>, testing::internal::FunctionMocker< R(A1, A2, A3, A4, A5, A6, A7, A8, A9)>, testing::internal::FunctionMocker< R(A1, A2, A3, A4, A5, A6, A7, A8)>, testing::internal::FunctionMocker< R(A1, A2, A3, A4, A5, A6, A7)>, testing::internal::FunctionMocker< R(A1, A2, A3, A4, A5, A6)>, testing::internal::FunctionMocker< R(A1, A2, A3, A4, A5)>, testing::internal::FunctionMocker< R(A1, A2, A3, A4)>, testing::internal::FunctionMocker< R(A1, A2, A3)>, testing::internal::FunctionMocker< R(A1, A2)>, testing::internal::FunctionMocker< R(A1)>, testing::internal::FunctionMocker< R()>, testing::internal::FunctionMocker< R(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10)>, testing::internal::FunctionMocker< R(A1, A2, A3, A4, A5, A6, A7, A8, A9)>, testing::internal::FunctionMocker< R(A1, A2, A3, A4, A5, A6, A7, A8)>, testing::internal::FunctionMocker< R(A1, A2, A3, A4, A5, A6, A7)>, testing::internal::FunctionMocker< R(A1, A2, A3, A4, A5, A6)>, testing::internal::FunctionMocker< R(A1, A2, A3, A4, A5)>, testing::internal::FunctionMocker< R(A1, A2, A3, A4)>, testing::internal::FunctionMocker< R(A1, A2, A3)>, testing::internal::FunctionMocker< R(A1, A2)>, testing::internal::FunctionMocker< R(A1)>, and testing::internal::FunctionMocker< R()>.
Definition at line 1404 of file gmock-spec-builders.h.
| typedef Function<F>::ArgumentTuple testing::internal::FunctionMockerBase< F >::ArgumentTuple |
Reimplemented in testing::internal::FunctionMocker< R(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10)>, testing::internal::FunctionMocker< R(A1, A2, A3, A4, A5, A6, A7, A8, A9)>, testing::internal::FunctionMocker< R(A1, A2, A3, A4, A5, A6, A7, A8)>, testing::internal::FunctionMocker< R(A1, A2, A3, A4, A5, A6, A7)>, testing::internal::FunctionMocker< R(A1, A2, A3, A4, A5, A6)>, testing::internal::FunctionMocker< R(A1, A2, A3, A4, A5)>, testing::internal::FunctionMocker< R(A1, A2, A3, A4)>, testing::internal::FunctionMocker< R(A1, A2, A3)>, testing::internal::FunctionMocker< R(A1, A2)>, testing::internal::FunctionMocker< R(A1)>, testing::internal::FunctionMocker< R()>, testing::internal::FunctionMocker< R(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10)>, testing::internal::FunctionMocker< R(A1, A2, A3, A4, A5, A6, A7, A8, A9)>, testing::internal::FunctionMocker< R(A1, A2, A3, A4, A5, A6, A7, A8)>, testing::internal::FunctionMocker< R(A1, A2, A3, A4, A5, A6, A7)>, testing::internal::FunctionMocker< R(A1, A2, A3, A4, A5, A6)>, testing::internal::FunctionMocker< R(A1, A2, A3, A4, A5)>, testing::internal::FunctionMocker< R(A1, A2, A3, A4)>, testing::internal::FunctionMocker< R(A1, A2, A3)>, testing::internal::FunctionMocker< R(A1, A2)>, testing::internal::FunctionMocker< R(A1)>, and testing::internal::FunctionMocker< R()>.
Definition at line 9964 of file fused-src/gmock/gmock.h.
| typedef Function<F>::Result testing::internal::FunctionMockerBase< F >::Result |
Definition at line 1403 of file gmock-spec-builders.h.
| typedef Function<F>::Result testing::internal::FunctionMockerBase< F >::Result |
Definition at line 9963 of file fused-src/gmock/gmock.h.
typedef ActionResultHolder<Result> testing::internal::FunctionMockerBase< F >::ResultHolder [protected] |
Definition at line 1522 of file gmock-spec-builders.h.
typedef ActionResultHolder<Result> testing::internal::FunctionMockerBase< F >::ResultHolder [protected] |
Definition at line 10082 of file fused-src/gmock/gmock.h.
| testing::internal::FunctionMockerBase< F >::FunctionMockerBase | ( | ) | [inline] |
Definition at line 9967 of file fused-src/gmock/gmock.h.
| virtual testing::internal::FunctionMockerBase< F >::~FunctionMockerBase | ( | ) | [inline, virtual] |
Definition at line 9972 of file fused-src/gmock/gmock.h.
| testing::internal::FunctionMockerBase< F >::FunctionMockerBase | ( | ) | [inline] |
Definition at line 1407 of file gmock-spec-builders.h.
| virtual testing::internal::FunctionMockerBase< F >::~FunctionMockerBase | ( | ) | [inline, virtual] |
Definition at line 1412 of file gmock-spec-builders.h.
| 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.
| 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.
| 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.
| 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.
| virtual void testing::internal::FunctionMockerBase< F >::ClearDefaultActionsLocked | ( | ) | [inline, virtual] |
Implements testing::internal::UntypedFunctionMockerBase.
Definition at line 1492 of file gmock-spec-builders.h.
| virtual void testing::internal::FunctionMockerBase< F >::ClearDefaultActionsLocked | ( | ) | [inline, virtual] |
Implements testing::internal::UntypedFunctionMockerBase.
Definition at line 10052 of file fused-src/gmock/gmock.h.
| MockSpec<F>& testing::internal::FunctionMockerBase< F >::current_spec | ( | ) | [inline, protected] |
Definition at line 1568 of file gmock-spec-builders.h.
| MockSpec<F>& testing::internal::FunctionMockerBase< F >::current_spec | ( | ) | [inline, protected] |
Definition at line 10128 of file fused-src/gmock/gmock.h.
| 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.
| 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.
| TypedExpectation<F>* testing::internal::FunctionMockerBase< F >::FindMatchingExpectationLocked | ( | const ArgumentTuple & | args | ) | const [inline, private] |
Definition at line 1658 of file gmock-spec-builders.h.
| TypedExpectation<F>* testing::internal::FunctionMockerBase< F >::FindMatchingExpectationLocked | ( | const ArgumentTuple & | args | ) | const [inline, private] |
Definition at line 10218 of file fused-src/gmock/gmock.h.
| const OnCallSpec<F>* testing::internal::FunctionMockerBase< F >::FindOnCallSpec | ( | const ArgumentTuple & | args | ) | const [inline] |
Definition at line 1423 of file gmock-spec-builders.h.
| const OnCallSpec<F>* testing::internal::FunctionMockerBase< F >::FindOnCallSpec | ( | const ArgumentTuple & | args | ) | const [inline] |
Definition at line 9983 of file fused-src/gmock/gmock.h.
| 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.
| 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.
| testing::internal::FunctionMockerBase< F >::GTEST_DISALLOW_COPY_AND_ASSIGN_ | ( | FunctionMockerBase< F > | ) | [private] |
| testing::internal::FunctionMockerBase< F >::GTEST_DISALLOW_COPY_AND_ASSIGN_ | ( | FunctionMockerBase< F > | ) | [private] |
| Result testing::internal::FunctionMockerBase< F >::InvokeWith | ( | const ArgumentTuple & | args | ) | [inline, protected] |
Definition at line 1527 of file gmock-spec-builders.h.
| Result testing::internal::FunctionMockerBase< F >::InvokeWith | ( | const ArgumentTuple & | args | ) | [inline, protected] |
Definition at line 10087 of file fused-src/gmock/gmock.h.
| 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.
| 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.
| 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.
| 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.
| virtual void testing::internal::FunctionMockerBase< F >::UntypedDescribeUninterestingCall | ( | const void * | untyped_args, |
| ::std::ostream * | os | ||
| ) | const [inline, private, virtual] |
Implements testing::internal::UntypedFunctionMockerBase.
Definition at line 1595 of file gmock-spec-builders.h.
| virtual void testing::internal::FunctionMockerBase< F >::UntypedDescribeUninterestingCall | ( | const void * | untyped_args, |
| ::std::ostream * | os | ||
| ) | const [inline, private, virtual] |
Implements testing::internal::UntypedFunctionMockerBase.
Definition at line 10155 of file fused-src/gmock/gmock.h.
| 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] |
Implements testing::internal::UntypedFunctionMockerBase.
Definition at line 1623 of file gmock-spec-builders.h.
| 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] |
Implements testing::internal::UntypedFunctionMockerBase.
Definition at line 10183 of file fused-src/gmock/gmock.h.
| virtual UntypedActionResultHolderBase* testing::internal::FunctionMockerBase< F >::UntypedPerformAction | ( | const void * | untyped_action, |
| const void * | untyped_args | ||
| ) | const [inline, virtual] |
Implements testing::internal::UntypedFunctionMockerBase.
Definition at line 1480 of file gmock-spec-builders.h.
| virtual UntypedActionResultHolderBase* testing::internal::FunctionMockerBase< F >::UntypedPerformAction | ( | const void * | untyped_action, |
| const void * | untyped_args | ||
| ) | const [inline, virtual] |
Implements testing::internal::UntypedFunctionMockerBase.
Definition at line 10040 of file fused-src/gmock/gmock.h.
| virtual UntypedActionResultHolderBase* testing::internal::FunctionMockerBase< F >::UntypedPerformDefaultAction | ( | const void * | untyped_args, |
| const string & | call_description | ||
| ) | const [inline, virtual] |
Implements testing::internal::UntypedFunctionMockerBase.
Definition at line 1468 of file gmock-spec-builders.h.
| virtual UntypedActionResultHolderBase* testing::internal::FunctionMockerBase< F >::UntypedPerformDefaultAction | ( | const void * | untyped_args, |
| const string & | call_description | ||
| ) | const [inline, virtual] |
Implements testing::internal::UntypedFunctionMockerBase.
Definition at line 10028 of file fused-src/gmock/gmock.h.
| virtual void testing::internal::FunctionMockerBase< F >::UntypedPrintArgs | ( | const void * | untyped_args, |
| ::std::ostream * | os | ||
| ) | const [inline, private, virtual] |
Implements testing::internal::UntypedFunctionMockerBase.
Definition at line 1649 of file gmock-spec-builders.h.
| virtual void testing::internal::FunctionMockerBase< F >::UntypedPrintArgs | ( | const void * | untyped_args, |
| ::std::ostream * | os | ||
| ) | const [inline, private, virtual] |
Implements testing::internal::UntypedFunctionMockerBase.
Definition at line 10209 of file fused-src/gmock/gmock.h.
MockSpec [friend] |
Definition at line 10080 of file fused-src/gmock/gmock.h.
TypedExpectation [friend] |
Definition at line 10131 of file fused-src/gmock/gmock.h.
MockSpec< F > testing::internal::FunctionMockerBase< F >::current_spec_ [private] |
Definition at line 10274 of file fused-src/gmock/gmock.h.