proxygen
testing::ExpectationSet Class Reference

#include <gmock-spec-builders.h>

Public Types

typedef Expectation::Set::const_iterator const_iterator
 
typedef Expectation::Set::value_type value_type
 
typedef Expectation::Set::const_iterator const_iterator
 
typedef Expectation::Set::value_type value_type
 
typedef Expectation::Set::const_iterator const_iterator
 
typedef Expectation::Set::value_type value_type
 

Public Member Functions

 ExpectationSet ()
 
 ExpectationSet (internal::ExpectationBase &exp)
 
 ExpectationSet (const Expectation &e)
 
bool operator== (const ExpectationSet &rhs) const
 
bool operator!= (const ExpectationSet &rhs) const
 
ExpectationSetoperator+= (const Expectation &e)
 
int size () const
 
const_iterator begin () const
 
const_iterator end () const
 
 ExpectationSet ()
 
 ExpectationSet (internal::ExpectationBase &exp)
 
 ExpectationSet (const Expectation &e)
 
bool operator== (const ExpectationSet &rhs) const
 
bool operator!= (const ExpectationSet &rhs) const
 
ExpectationSetoperator+= (const Expectation &e)
 
int size () const
 
const_iterator begin () const
 
const_iterator end () const
 
 ExpectationSet ()
 
 ExpectationSet (internal::ExpectationBase &exp)
 
 ExpectationSet (const Expectation &e)
 
bool operator== (const ExpectationSet &rhs) const
 
bool operator!= (const ExpectationSet &rhs) const
 
ExpectationSetoperator+= (const Expectation &e)
 
int size () const
 
const_iterator begin () const
 
const_iterator end () const
 

Private Attributes

Expectation::Set expectations_
 

Detailed Description

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

Member Typedef Documentation

typedef Expectation::Set::const_iterator testing::ExpectationSet::const_iterator

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

typedef Expectation::Set::const_iterator testing::ExpectationSet::const_iterator

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

typedef Expectation::Set::const_iterator testing::ExpectationSet::const_iterator

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

typedef Expectation::Set::value_type testing::ExpectationSet::value_type

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

typedef Expectation::Set::value_type testing::ExpectationSet::value_type

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

typedef Expectation::Set::value_type testing::ExpectationSet::value_type

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

Constructor & Destructor Documentation

testing::ExpectationSet::ExpectationSet ( )
inline

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

572 {}
testing::ExpectationSet::ExpectationSet ( internal::ExpectationBase exp)
inline

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

577  { // NOLINT
578  *this += Expectation(exp);
579  }
testing::ExpectationSet::ExpectationSet ( const Expectation e)
inline

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

584  { // NOLINT
585  *this += e;
586  }
testing::ExpectationSet::ExpectationSet ( )
inline

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

572 {}
testing::ExpectationSet::ExpectationSet ( internal::ExpectationBase exp)
inline

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

577  { // NOLINT
578  *this += Expectation(exp);
579  }
testing::ExpectationSet::ExpectationSet ( const Expectation e)
inline

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

584  { // NOLINT
585  *this += e;
586  }
testing::ExpectationSet::ExpectationSet ( )
inline

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

572 {}
testing::ExpectationSet::ExpectationSet ( internal::ExpectationBase exp)
inline

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

577  { // NOLINT
578  *this += Expectation(exp);
579  }
testing::ExpectationSet::ExpectationSet ( const Expectation e)
inline

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

584  { // NOLINT
585  *this += e;
586  }

Member Function Documentation

const_iterator testing::ExpectationSet::begin ( ) const
inline

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

608 { return expectations_.begin(); }
Expectation::Set expectations_
const_iterator testing::ExpectationSet::begin ( ) const
inline

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

608 { return expectations_.begin(); }
Expectation::Set expectations_
const_iterator testing::ExpectationSet::end ( ) const
inline

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

References GTEST_API_.

609 { return expectations_.end(); }
Expectation::Set expectations_
const_iterator testing::ExpectationSet::end ( ) const
inline

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

References GTEST_API_.

609 { return expectations_.end(); }
Expectation::Set expectations_
bool testing::ExpectationSet::operator!= ( const ExpectationSet rhs) const
inline

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

References folly::detail::rhs.

597 { return !(*this == rhs); }
FOLLY_PUSH_WARNING RHS rhs
Definition: Traits.h:649
bool testing::ExpectationSet::operator!= ( const ExpectationSet rhs) const
inline

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

References folly::detail::rhs.

597 { return !(*this == rhs); }
FOLLY_PUSH_WARNING RHS rhs
Definition: Traits.h:649
bool testing::ExpectationSet::operator!= ( const ExpectationSet rhs) const
inline

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

References folly::detail::rhs.

597 { return !(*this == rhs); }
FOLLY_PUSH_WARNING RHS rhs
Definition: Traits.h:649
ExpectationSet& testing::ExpectationSet::operator+= ( const Expectation e)
inline

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

601  {
602  expectations_.insert(e);
603  return *this;
604  }
Expectation::Set expectations_
ExpectationSet& testing::ExpectationSet::operator+= ( const Expectation e)
inline

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

601  {
602  expectations_.insert(e);
603  return *this;
604  }
Expectation::Set expectations_
ExpectationSet& testing::ExpectationSet::operator+= ( const Expectation e)
inline

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

601  {
602  expectations_.insert(e);
603  return *this;
604  }
Expectation::Set expectations_
bool testing::ExpectationSet::operator== ( const ExpectationSet rhs) const
inline

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

References expectations_.

593  {
594  return expectations_ == rhs.expectations_;
595  }
FOLLY_PUSH_WARNING RHS rhs
Definition: Traits.h:649
Expectation::Set expectations_
bool testing::ExpectationSet::operator== ( const ExpectationSet rhs) const
inline

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

References expectations_.

593  {
594  return expectations_ == rhs.expectations_;
595  }
FOLLY_PUSH_WARNING RHS rhs
Definition: Traits.h:649
Expectation::Set expectations_
bool testing::ExpectationSet::operator== ( const ExpectationSet rhs) const
inline

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

References expectations_.

593  {
594  return expectations_ == rhs.expectations_;
595  }
FOLLY_PUSH_WARNING RHS rhs
Definition: Traits.h:649
Expectation::Set expectations_
int testing::ExpectationSet::size ( ) const
inline

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

606 { return static_cast<int>(expectations_.size()); }
Expectation::Set expectations_
int testing::ExpectationSet::size ( ) const
inline

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

606 { return static_cast<int>(expectations_.size()); }
Expectation::Set expectations_
int testing::ExpectationSet::size ( ) const
inline

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

606 { return static_cast<int>(expectations_.size()); }
Expectation::Set expectations_

Member Data Documentation

Expectation::Set testing::ExpectationSet::expectations_
private

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

Referenced by operator==().


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