Lines Matching refs:Expectation

83 class Expectation;
101 // Helper class for testing the Expectation class template.
224 // Returns an Expectation object that references and co-owns exp,
226 Expectation GetHandleOf(ExpectationBase* exp);
470 // Expectation e1 = EXPECT_CALL(...)...;
478 // - Constness is shallow: a const Expectation object itself cannot
487 class GTEST_API_ Expectation {
490 Expectation();
492 ~Expectation();
495 // Expectation e = EXPECT_CALL(...);
499 // Expectation objects, and needs to call the non-const Retire()
501 // Expectation must receive a *non-const* reference to the
503 Expectation(internal::ExpectationBase& exp); // NOLINT
509 bool operator==(const Expectation& rhs) const {
513 bool operator!=(const Expectation& rhs) const { return !(*this == rhs); }
527 // This comparator is needed for putting Expectation objects into a set.
530 bool operator()(const Expectation& lhs, const Expectation& rhs) const {
535 typedef ::std::set<Expectation, Less> Set;
537 Expectation(
566 typedef Expectation::Set::const_iterator const_iterator;
568 // An object stored in the set. This is an alias of Expectation.
569 typedef Expectation::Set::value_type value_type;
578 *this += Expectation(exp);
582 // Expectation and thus must not be explicit. This allows either an
583 // Expectation or an ExpectationSet to be used in .After().
584 ExpectationSet(const Expectation& e) { // NOLINT
591 // Returns true iff rhs contains the same set of Expectation objects
601 ExpectationSet& operator+=(const Expectation& e) {
612 Expectation::Set expectations_;
622 Sequence() : last_expectation_(new Expectation) {}
626 void AddExpectation(const Expectation& expectation) const;
632 // the same Expectation object.
633 internal::linked_ptr<Expectation> last_expectation_;
679 // Expectation:
687 // on the template argument of Expectation to the base class.
692 // source_text is the EXPECT_CALL(...) source that created this Expectation.
719 friend class ::testing::Expectation;
736 // Returns an Expectation object that references and co-owns this
738 virtual Expectation GetHandle() = 0;
855 // Expectation object to be co-owned by its FunctionMocker and its
1074 // Returns an Expectation object that references and co-owns this
1076 virtual Expectation GetHandle() {
1616 implicit_sequence->AddExpectation(Expectation(untyped_expectation));
1828 // Constructs an Expectation object that references and co-owns exp.
1829 inline Expectation::Expectation(internal::ExpectationBase& exp) // NOLINT