class Expectation
Defined at line 481 of file ../../third_party/googletest/src/googlemock/include/gmock/gmock-spec-builders.h
An abstract handle of an expectation.
Public Methods
void Expectation ()
Constructs a null object that doesn't reference any expectation.
void Expectation (Expectation && )
Defined at line 485 of file ../../third_party/googletest/src/googlemock/include/gmock/gmock-spec-builders.h
void Expectation (const Expectation & )
Defined at line 486 of file ../../third_party/googletest/src/googlemock/include/gmock/gmock-spec-builders.h
Expectation & operator= (Expectation && )
Defined at line 487 of file ../../third_party/googletest/src/googlemock/include/gmock/gmock-spec-builders.h
Expectation & operator= (const Expectation & )
Defined at line 488 of file ../../third_party/googletest/src/googlemock/include/gmock/gmock-spec-builders.h
bool operator== (const Expectation & rhs)
Returns true if and only if rhs references the same expectation as this
object does.
Defined at line 507 of file ../../third_party/googletest/src/googlemock/include/gmock/gmock-spec-builders.h
bool operator!= (const Expectation & rhs)
Defined at line 511 of file ../../third_party/googletest/src/googlemock/include/gmock/gmock-spec-builders.h
void ~Expectation ()
void Expectation (internal::ExpectationBase & exp)
This single-argument ctor must not be explicit, in order to support the
Expectation e = EXPECT_CALL(...);
syntax.
A TypedExpectation object stores its pre-requisites as
Expectation objects, and needs to call the non-const Retire()
method on the ExpectationBase objects they reference. Therefore
Expectation must receive a *non-const* reference to the
ExpectationBase object.
Defined at line 2066 of file ../../third_party/googletest/src/googlemock/include/gmock/gmock-spec-builders.h
Friends
template <typename F>
class TypedExpectation
template <typename F>
class FunctionMocker
class UntypedFunctionMockerBase
class ExpectationBase
class Sequence
class ExpectationSet