Electroneum
Loading...
Searching...
No Matches
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 ( )
Here is the caller graph for this function:

◆ ~Expectation()

testing::Expectation::~Expectation ( )
Here is the call graph for this function:

◆ 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()) {}
Here is the call graph for this function:

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); }
Here is the call graph for this function:

◆ 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 }
Here is the call graph for this function:

◆ ::testing::internal::ExpectationBase

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:
  • /home/abuild/rpmbuild/BUILD/electroneum-5.1.3.1-build/electroneum-5.1.3.1/external/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-spec-builders.h