Orxonox
0.0.5 Codename: Arcturus
|
Public Types | |
typedef Function< F >::ArgumentMatcherTuple | ArgumentMatcherTuple |
typedef Function< F >::ArgumentTuple | ArgumentTuple |
typedef Function< F >::Result | Result |
Public Member Functions | |
FunctionMockerBase () | |
virtual | ~FunctionMockerBase () |
virtual void | ClearDefaultActionsLocked () |
const OnCallSpec< F > * | FindOnCallSpec (const ArgumentTuple &args) 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 * | UntypedPerformDefaultAction (const void *untyped_args, const string &call_description) const |
Public Member Functions inherited from testing::internal::UntypedFunctionMockerBase | |
UntypedFunctionMockerBase () | |
virtual | ~UntypedFunctionMockerBase () |
const void * | MockObject () const |
const char * | Name () const |
void | RegisterOwner (const void *mock_obj) |
void | SetOwnerAndName (const void *mock_obj, const char *name) |
const UntypedActionResultHolderBase * | UntypedInvokeWith (const void *untyped_args) |
bool | VerifyAndClearExpectationsLocked () |
Protected Types | |
typedef ActionResultHolder< Result > | ResultHolder |
Protected Types inherited from testing::internal::UntypedFunctionMockerBase | |
typedef std::vector< internal::linked_ptr< ExpectationBase > > | UntypedExpectations |
typedef std::vector< const void * > | UntypedOnCallSpecs |
Protected Member Functions | |
TypedExpectation< F > & | AddNewExpectation (const char *file, int line, const string &source_text, const ArgumentMatcherTuple &m) |
OnCallSpec< F > & | AddNewOnCallSpec (const char *file, int line, const ArgumentMatcherTuple &m) |
MockSpec< F > & | current_spec () |
Result | InvokeWith (const ArgumentTuple &args) |
Protected Member Functions inherited from testing::internal::UntypedFunctionMockerBase | |
Expectation | GetHandleOf (ExpectationBase *exp) |
Private Member Functions | |
void | DescribeDefaultActionTo (const ArgumentTuple &args,::std::ostream *os) const |
TypedExpectation< F > * | FindMatchingExpectationLocked (const ArgumentTuple &args) const |
void | FormatUnexpectedCallMessageLocked (const ArgumentTuple &args,::std::ostream *os,::std::ostream *why) const |
GTEST_DISALLOW_COPY_AND_ASSIGN_ (FunctionMockerBase) | |
void | PrintTriedExpectationsLocked (const ArgumentTuple &args,::std::ostream *why) const |
virtual void | UntypedDescribeUninterestingCall (const void *untyped_args,::std::ostream *os) const |
virtual const ExpectationBase * | UntypedFindMatchingExpectation (const void *untyped_args, const void **untyped_action, bool *is_excessive,::std::ostream *what,::std::ostream *why) |
virtual void | UntypedPrintArgs (const void *untyped_args,::std::ostream *os) const |
Private Attributes | |
MockSpec< F > | current_spec_ |
Friends | |
template<typename Function > | |
class | MockSpec |
template<typename Func > | |
class | TypedExpectation |
Additional Inherited Members | |
Protected Attributes inherited from testing::internal::UntypedFunctionMockerBase | |
const void * | mock_obj_ |
const char * | name_ |
UntypedExpectations | untyped_expectations_ |
UntypedOnCallSpecs | untyped_on_call_specs_ |
typedef Function<F>::ArgumentMatcherTuple testing::internal::FunctionMockerBase< F >::ArgumentMatcherTuple |
typedef Function<F>::ArgumentTuple testing::internal::FunctionMockerBase< F >::ArgumentTuple |
typedef Function<F>::Result testing::internal::FunctionMockerBase< F >::Result |
|
protected |
|
inline |
|
inlinevirtual |
|
inlineprotected |
|
inlineprotected |
|
inlinevirtual |
Implements testing::internal::UntypedFunctionMockerBase.
|
inlineprotected |
|
inlineprivate |
|
inlineprivate |
|
inline |
|
inlineprivate |
|
private |
|
inlineprotected |
|
inline |
|
inlineprivate |
|
inlineprivatevirtual |
Implements testing::internal::UntypedFunctionMockerBase.
|
inlineprivatevirtual |
Implements testing::internal::UntypedFunctionMockerBase.
|
inlinevirtual |
Implements testing::internal::UntypedFunctionMockerBase.
|
inlinevirtual |
Implements testing::internal::UntypedFunctionMockerBase.
|
inlineprivatevirtual |
Implements testing::internal::UntypedFunctionMockerBase.
|
private |