Searched refs:expectations_ (Results 1 – 6 of 6) sorted by relevance
62 expectations_[tag(i)] = expect_ok; in Expect()79 GPR_ASSERT(!expectations_.empty()); in Verify()80 while (!expectations_.empty()) { in Verify()87 auto it = expectations_.find(got_tag); in GotTag()88 if (it != expectations_.end()) { in GotTag()92 expectations_.erase(it); in GotTag()96 std::map<void*, bool> expectations_; member in grpc::testing::__anonef537dfa0111::Verifier
72 expectations_[tag(i)] = expect_ok; in ExpectUnless()115 GPR_ASSERT(!expectations_.empty() || !maybe_expectations_.empty()); in Verify()116 while (!expectations_.empty()) { in Verify()124 if (expectations_.empty()) { in Verify()130 while (!expectations_.empty()) { in Verify()146 if (expectations_.empty()) { in Verify()152 while (!expectations_.empty()) { in Verify()164 auto it = expectations_.find(got_tag); in GotTag()165 if (it != expectations_.end()) { in GotTag()169 expectations_.erase(it); in GotTag()[all …]
586 return expectations_ == rhs.expectations_;594 expectations_.insert(e);598 int size() const { return static_cast<int>(expectations_.size()); } in size()600 const_iterator begin() const { return expectations_.begin(); } in begin()601 const_iterator end() const { return expectations_.end(); } in end()604 Expectation::Set expectations_;
594 return expectations_ == rhs.expectations_;602 expectations_.insert(e);606 int size() const { return static_cast<int>(expectations_.size()); } in size()608 const_iterator begin() const { return expectations_.begin(); } in begin()609 const_iterator end() const { return expectations_.end(); } in end()612 Expectation::Set expectations_;
602 return expectations_ == rhs.expectations_;610 expectations_.insert(e);614 int size() const { return static_cast<int>(expectations_.size()); } in size()616 const_iterator begin() const { return expectations_.begin(); } in begin()617 const_iterator end() const { return expectations_.end(); } in end()620 Expectation::Set expectations_;
201 The key to using a mock object successfully is to set the _right expectations_ on it. If you set th…