Classes | Public Member Functions | Private Types | Private Member Functions | Private Attributes | Friends | List of all members
testing::Expectation Class Reference

#include <gmock.h>

Classes

class  Less
 

Public Member Functions

 Expectation ()
 
 Expectation (internal::ExpectationBase &exp)
 
bool operator!= (const Expectation &rhs) const
 
bool operator== (const Expectation &rhs) const
 
 ~Expectation ()
 

Private Types

typedef ::std::set< Expectation, LessSet
 

Private Member Functions

 Expectation (const internal::linked_ptr< internal::ExpectationBase > &expectation_base)
 
const internal::linked_ptr< internal::ExpectationBase > & expectation_base () const
 

Private Attributes

internal::linked_ptr< internal::ExpectationBaseexpectation_base_
 

Friends

class ::testing::internal::ExpectationBase
 
template<typename F >
class ::testing::internal::FunctionMockerBase
 
template<typename F >
class ::testing::internal::TypedExpectation
 
class ::testing::internal::UntypedFunctionMockerBase
 
class ExpectationSet
 
class Sequence
 

Detailed Description

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

Member Typedef Documentation

◆ Set

typedef ::std::set<Expectation, Less> testing::Expectation::Set
private

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

Constructor & Destructor Documentation

◆ Expectation() [1/3]

Expectation::Expectation ( )

◆ ~Expectation()

Expectation::~Expectation ( )

◆ Expectation() [2/3]

Expectation::Expectation ( internal::ExpectationBase exp)
inline

◆ Expectation() [3/3]

Expectation::Expectation ( const internal::linked_ptr< internal::ExpectationBase > &  expectation_base)
private

Definition at line 12048 of file gmock-gtest-all.cc.

Member Function Documentation

◆ expectation_base()

const internal::linked_ptr<internal::ExpectationBase>& testing::Expectation::expectation_base ( ) const
inlineprivate

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

◆ operator!=()

bool testing::Expectation::operator!= ( const Expectation rhs) const
inline

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

◆ operator==()

bool testing::Expectation::operator== ( const Expectation rhs) const
inline

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

Friends And Related Function Documentation

◆ ::testing::internal::ExpectationBase

friend class ::testing::internal::ExpectationBase
friend

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

◆ ::testing::internal::FunctionMockerBase

template<typename F >
friend class ::testing::internal::FunctionMockerBase
friend

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

◆ ::testing::internal::TypedExpectation

template<typename F >
friend class ::testing::internal::TypedExpectation
friend

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

◆ ::testing::internal::UntypedFunctionMockerBase

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

◆ ExpectationSet

friend class ExpectationSet
friend

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

◆ Sequence

friend class Sequence
friend

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

Member Data Documentation

◆ expectation_base_

internal::linked_ptr<internal::ExpectationBase> testing::Expectation::expectation_base_
private

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


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


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