v8toolkit
0.0.1
Utility library for embedding V8 Javascript engine in a c++ program
|
#include <gmock-generated-function-mockers.h>
Public Types | |
typedef Function< F >::Result | Result |
typedef Function< F >::ArgumentTuple | ArgumentTuple |
typedef Function< F >::ArgumentMatcherTuple | ArgumentMatcherTuple |
Public Member Functions | |
FunctionMockerBase () | |
virtual | ~FunctionMockerBase () GTEST_LOCK_EXCLUDED_(g_gmock_mutex) |
const OnCallSpec< F > * | 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) |
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) |
UntypedActionResultHolderBase * | UntypedInvokeWith (const void *untyped_args) GTEST_LOCK_EXCLUDED_(g_gmock_mutex) |
Protected Types | |
typedef ActionResultHolder< Result > | ResultHolder |
typedef std::vector< const void * > | UntypedOnCallSpecs |
typedef std::vector< internal::linked_ptr< ExpectationBase > > | UntypedExpectations |
Protected Member Functions | |
Result | InvokeWith (const ArgumentTuple &args) GTEST_LOCK_EXCLUDED_(g_gmock_mutex) |
OnCallSpec< F > & | AddNewOnCallSpec (const char *file, int line, 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) |
MockSpec< F > & | current_spec () |
Expectation | GetHandleOf (ExpectationBase *exp) |
Protected Attributes | |
const void * | mock_obj_ |
const char * | name_ |
UntypedOnCallSpecs | untyped_on_call_specs_ |
UntypedExpectations | untyped_expectations_ |
Friends | |
template<typename Function > | |
class | MockSpec |
template<typename Func > | |
class | TypedExpectation |
Definition at line 54 of file gmock-generated-function-mockers.h.
typedef Function<F>::Result testing::internal::FunctionMockerBase< F >::Result |
Definition at line 1458 of file gmock-spec-builders.h.
typedef Function<F>::ArgumentTuple testing::internal::FunctionMockerBase< F >::ArgumentTuple |
Definition at line 1459 of file gmock-spec-builders.h.
typedef Function<F>::ArgumentMatcherTuple testing::internal::FunctionMockerBase< F >::ArgumentMatcherTuple |
Definition at line 1460 of file gmock-spec-builders.h.
|
protected |
Definition at line 1577 of file gmock-spec-builders.h.
|
protectedinherited |
Definition at line 219 of file gmock-spec-builders.h.
|
protectedinherited |
Definition at line 222 of file gmock-spec-builders.h.
|
inline |
Definition at line 1462 of file gmock-spec-builders.h.
|
inlinevirtual |
Definition at line 1467 of file gmock-spec-builders.h.
|
inline |
Definition at line 1478 of file gmock-spec-builders.h.
|
inline |
Definition at line 1498 of file gmock-spec-builders.h.
Referenced by testing::internal::ActionResultHolder< T >::PerformDefaultAction(), and testing::internal::ActionResultHolder< void >::PerformDefaultAction().
|
inlinevirtual |
Implements testing::internal::UntypedFunctionMockerBase.
Definition at line 1523 of file gmock-spec-builders.h.
|
inlinevirtual |
Implements testing::internal::UntypedFunctionMockerBase.
Definition at line 1535 of file gmock-spec-builders.h.
|
inlinevirtual |
Implements testing::internal::UntypedFunctionMockerBase.
Definition at line 1547 of file gmock-spec-builders.h.
|
inlineprotected |
Definition at line 1582 of file gmock-spec-builders.h.
|
inlineprotected |
Definition at line 1590 of file gmock-spec-builders.h.
|
inlineprotected |
Definition at line 1601 of file gmock-spec-builders.h.
|
inlineprotected |
Definition at line 1624 of file gmock-spec-builders.h.
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
protectedinherited |
Definition at line 1575 of file gmock-spec-builders.h.
Definition at line 1627 of file gmock-spec-builders.h.
|
protectedinherited |
Definition at line 231 of file gmock-spec-builders.h.
|
protectedinherited |
Definition at line 235 of file gmock-spec-builders.h.
|
protectedinherited |
Definition at line 238 of file gmock-spec-builders.h.
|
protectedinherited |
Definition at line 241 of file gmock-spec-builders.h.