Electroneum
testing::Expectation Class Reference

#include <gmock-spec-builders.h>

Public Member Functions

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

Friends

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

Detailed Description

Definition at line 487 of file gmock-spec-builders.h.

Constructor & Destructor Documentation

◆ Expectation() [1/2]

testing::Expectation::Expectation ( )

◆ ~Expectation()

testing::Expectation::~Expectation ( )

◆ Expectation() [2/2]

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

Definition at line 1829 of file gmock-spec-builders.h.

1830  : expectation_base_(exp.GetHandle().expectation_base()) {}

Member Function Documentation

◆ operator!=()

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

Definition at line 513 of file gmock-spec-builders.h.

513 { return !(*this == rhs); }

◆ operator==()

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

Definition at line 509 of file gmock-spec-builders.h.

509  {
510  return expectation_base_ == rhs.expectation_base_;
511  }

Friends And Related Function Documentation

◆ ::testing::internal::ExpectationBase

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

Definition at line 518 of file gmock-spec-builders.h.

◆ ::testing::internal::FunctionMockerBase

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

Definition at line 522 of file gmock-spec-builders.h.

◆ ::testing::internal::TypedExpectation

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

Definition at line 525 of file gmock-spec-builders.h.

◆ ::testing::internal::UntypedFunctionMockerBase

Definition at line 519 of file gmock-spec-builders.h.

◆ ExpectationSet

friend class ExpectationSet
friend

Definition at line 516 of file gmock-spec-builders.h.

◆ Sequence

friend class Sequence
friend

Definition at line 517 of file gmock-spec-builders.h.


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