v8toolkit
0.0.1
Utility library for embedding V8 Javascript engine in a c++ program
|
#include <gmock-spec-builders.h>
Public Types | |
typedef Function< F >::ArgumentTuple | ArgumentTuple |
typedef Function< F >::ArgumentMatcherTuple | ArgumentMatcherTuple |
Public Member Functions | |
OnCallSpec (const char *a_file, int a_line, const ArgumentMatcherTuple &matchers) | |
OnCallSpec & | With (const Matcher< const ArgumentTuple & > &m) |
OnCallSpec & | WillByDefault (const Action< F > &action) |
bool | Matches (const ArgumentTuple &args) const |
const Action< F > & | GetAction () const |
const char * | file () const |
int | line () const |
Protected Types | |
enum | Clause { kNone, kWith, kWillByDefault } |
Protected Member Functions | |
void | AssertSpecProperty (bool property, const string &failure_message) const |
void | ExpectSpecProperty (bool property, const string &failure_message) const |
Protected Attributes | |
const char * | file_ |
int | line_ |
Clause | last_clause_ |
Definition at line 285 of file gmock-spec-builders.h.
typedef Function<F>::ArgumentTuple testing::internal::OnCallSpec< F >::ArgumentTuple |
Definition at line 287 of file gmock-spec-builders.h.
typedef Function<F>::ArgumentMatcherTuple testing::internal::OnCallSpec< F >::ArgumentMatcherTuple |
Definition at line 288 of file gmock-spec-builders.h.
|
protectedinherited |
Enumerator | |
---|---|
kNone | |
kWith | |
kWillByDefault |
Definition at line 257 of file gmock-spec-builders.h.
|
inline |
Definition at line 292 of file gmock-spec-builders.h.
|
inline |
Definition at line 304 of file gmock-spec-builders.h.
|
inline |
Definition at line 316 of file gmock-spec-builders.h.
References testing::Action< F >::IsDoDefault().
|
inline |
Definition at line 329 of file gmock-spec-builders.h.
References testing::internal::TupleMatches().
Referenced by testing::internal::FunctionMockerBase< R(A1, A2)>::FindOnCallSpec().
|
inline |
Definition at line 334 of file gmock-spec-builders.h.
Referenced by testing::internal::FunctionMockerBase< R(A1, A2)>::PerformDefaultAction().
|
inlineinherited |
Definition at line 252 of file gmock-spec-builders.h.
|
inlineinherited |
Definition at line 253 of file gmock-spec-builders.h.
|
inlineprotectedinherited |
Definition at line 266 of file gmock-spec-builders.h.
References testing::internal::Assert().
|
inlineprotectedinherited |
Definition at line 271 of file gmock-spec-builders.h.
References testing::internal::Expect().
|
protectedinherited |
Definition at line 275 of file gmock-spec-builders.h.
|
protectedinherited |
Definition at line 276 of file gmock-spec-builders.h.
|
protectedinherited |
Definition at line 280 of file gmock-spec-builders.h.