Lines Matching refs:rhs
508 // Returns true iff rhs references the same expectation as this object does.
509 bool operator==(const Expectation& rhs) const {
510 return expectation_base_ == rhs.expectation_base_;
513 bool operator!=(const Expectation& rhs) const { return !(*this == rhs); }
530 bool operator()(const Expectation& lhs, const Expectation& rhs) const {
531 return lhs.expectation_base_.get() < rhs.expectation_base_.get();
591 // Returns true iff rhs contains the same set of Expectation objects
593 bool operator==(const ExpectationSet& rhs) const {
594 return expectations_ == rhs.expectations_;
597 bool operator!=(const ExpectationSet& rhs) const { return !(*this == rhs); }