class ExpectationSet

Defined at line 560 of file ../../third_party/googletest/src/googlemock/include/gmock/gmock-spec-builders.h

A set of expectation handles.

Public Methods

void ExpectationSet ()

Constructs an empty set.

Defined at line 569 of file ../../third_party/googletest/src/googlemock/include/gmock/gmock-spec-builders.h

void ExpectationSet (internal::ExpectationBase & exp)

This single-argument ctor must not be explicit, in order to support the

ExpectationSet es = EXPECT_CALL(...);

syntax.

Defined at line 574 of file ../../third_party/googletest/src/googlemock/include/gmock/gmock-spec-builders.h

void ExpectationSet (const Expectation & e)

This single-argument ctor implements implicit conversion from

Expectation and thus must not be explicit. This allows either an

Expectation or an ExpectationSet to be used in .After().

Defined at line 581 of file ../../third_party/googletest/src/googlemock/include/gmock/gmock-spec-builders.h

bool operator== (const ExpectationSet & rhs)

Returns true if and only if rhs contains the same set of Expectation

objects as this does.

Defined at line 590 of file ../../third_party/googletest/src/googlemock/include/gmock/gmock-spec-builders.h

bool operator!= (const ExpectationSet & rhs)

Defined at line 594 of file ../../third_party/googletest/src/googlemock/include/gmock/gmock-spec-builders.h

ExpectationSet & operator+= (const Expectation & e)

Implements the syntax

expectation_set += EXPECT_CALL(...);

Defined at line 598 of file ../../third_party/googletest/src/googlemock/include/gmock/gmock-spec-builders.h

int size ()

Defined at line 603 of file ../../third_party/googletest/src/googlemock/include/gmock/gmock-spec-builders.h

const_iterator begin ()

Defined at line 605 of file ../../third_party/googletest/src/googlemock/include/gmock/gmock-spec-builders.h

const_iterator end ()

Defined at line 606 of file ../../third_party/googletest/src/googlemock/include/gmock/gmock-spec-builders.h