Monero
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Private Attributes | List of all members
testing::internal::OnCallSpec< F > Class Template Reference

#include <gmock-spec-builders.h>

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

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)
 
OnCallSpecWith (const Matcher< const ArgumentTuple & > &m)
 
OnCallSpecWillByDefault (const Action< F > &action)
 
bool Matches (const ArgumentTuple &args) const
 
const Action< F > & GetAction () const
 
- Public Member Functions inherited from testing::internal::UntypedOnCallSpecBase
 UntypedOnCallSpecBase (const char *a_file, int a_line)
 
const char * file () const
 
int line () const
 

Private Attributes

ArgumentMatcherTuple matchers_
 
Matcher< const ArgumentTuple & > extra_matcher_
 
Action< Faction_
 

Additional Inherited Members

- Protected Types inherited from testing::internal::UntypedOnCallSpecBase
enum  Clause { kNone , kWith , kWillByDefault }
 
- Protected Member Functions inherited from testing::internal::UntypedOnCallSpecBase
void AssertSpecProperty (bool property, const string &failure_message) const
 
void ExpectSpecProperty (bool property, const string &failure_message) const
 
- Protected Attributes inherited from testing::internal::UntypedOnCallSpecBase
const char * file_
 
int line_
 
Clause last_clause_
 

Member Typedef Documentation

◆ ArgumentMatcherTuple

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

◆ ArgumentTuple

template<typename F >
typedef Function<F>::ArgumentTuple testing::internal::OnCallSpec< F >::ArgumentTuple

Constructor & Destructor Documentation

◆ OnCallSpec()

template<typename F >
testing::internal::OnCallSpec< F >::OnCallSpec ( const char * a_file,
int a_line,
const ArgumentMatcherTuple & matchers )
inline

Member Function Documentation

◆ GetAction()

template<typename F >
const Action< F > & testing::internal::OnCallSpec< F >::GetAction ( ) const
inline

◆ Matches()

template<typename F >
bool testing::internal::OnCallSpec< F >::Matches ( const ArgumentTuple & args) const
inline

◆ WillByDefault()

template<typename F >
OnCallSpec & testing::internal::OnCallSpec< F >::WillByDefault ( const Action< F > & action)
inline

◆ With()

template<typename F >
OnCallSpec & testing::internal::OnCallSpec< F >::With ( const Matcher< const ArgumentTuple & > & m)
inline

Member Data Documentation

◆ action_

template<typename F >
Action<F> testing::internal::OnCallSpec< F >::action_
private

◆ extra_matcher_

template<typename F >
Matcher<const ArgumentTuple&> testing::internal::OnCallSpec< F >::extra_matcher_
private

◆ matchers_

template<typename F >
ArgumentMatcherTuple testing::internal::OnCallSpec< F >::matchers_
private

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