Public Types | Public Member Functions | Private Attributes | List of all members
testing::internal::OnCallSpec< F > Class Template Reference

#include <gmock.h>

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

Public Types

typedef Function< F >::ArgumentMatcherTuple ArgumentMatcherTuple
 
typedef Function< F >::ArgumentTuple ArgumentTuple
 

Public Member Functions

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

Private Attributes

Action< F > action_
 
Matcher< const ArgumentTuple & > extra_matcher_
 
ArgumentMatcherTuple matchers_
 

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_
 
Clause last_clause_
 
int line_
 

Detailed Description

template<typename F>
class testing::internal::OnCallSpec< F >

Definition at line 9463 of file cares/cares/test/gmock-1.8.0/gmock/gmock.h.

Member Typedef Documentation

◆ ArgumentMatcherTuple

Definition at line 9466 of file cares/cares/test/gmock-1.8.0/gmock/gmock.h.

◆ ArgumentTuple

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

Definition at line 9465 of file cares/cares/test/gmock-1.8.0/gmock/gmock.h.

Constructor & Destructor Documentation

◆ OnCallSpec()

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

Definition at line 9470 of file cares/cares/test/gmock-1.8.0/gmock/gmock.h.

Member Function Documentation

◆ GetAction()

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

Definition at line 9512 of file cares/cares/test/gmock-1.8.0/gmock/gmock.h.

◆ Matches()

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

Definition at line 9507 of file cares/cares/test/gmock-1.8.0/gmock/gmock.h.

◆ WillByDefault()

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

Definition at line 9494 of file cares/cares/test/gmock-1.8.0/gmock/gmock.h.

◆ With()

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

Definition at line 9482 of file cares/cares/test/gmock-1.8.0/gmock/gmock.h.

Member Data Documentation

◆ action_

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

Definition at line 9535 of file cares/cares/test/gmock-1.8.0/gmock/gmock.h.

◆ extra_matcher_

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

Definition at line 9534 of file cares/cares/test/gmock-1.8.0/gmock/gmock.h.

◆ matchers_

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

Definition at line 9533 of file cares/cares/test/gmock-1.8.0/gmock/gmock.h.


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


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:50