Home | History | Annotate | Download | only in src

Lines Matching refs:Expectation

87 // Explicitly specifies the cardinality of this expectation.  Used by
94 // Retires all pre-requisites of this expectation.
97 // We can take this short-cut as we never retire an expectation
112 // Returns true iff all pre-requisites of this expectation have been
126 // Adds unsatisfied pre-requisites of this expectation to 'result'.
149 // expectation has occurred.
160 // Describes the state of the expectation (e.g. is it satisfied?
332 // No expectation is set on this mock method - we have an
406 // In case the action deletes a piece of the expectation, we
421 // No expectation matches this call - reports a failure.
428 // We had an expected call and the matching expectation is
436 // Returns an Expectation object that references and co-owns exp,
437 // which must be an expectation on this mock function.
438 Expectation UntypedFunctionMockerBase::GetHandleOf(ExpectationBase* exp) {
443 return Expectation(*it);
447 Assert(false, __FILE__, __LINE__, "Cannot find expectation.");
448 return Expectation();
474 // No need to show the source file location of the expectation
759 Expectation::Expectation() {}
761 Expectation::Expectation(
765 Expectation::~Expectation() {}
767 // Adds an expectation to a sequence.
768 void Sequence::AddExpectation(const Expectation& expectation) const {
769 if (*last_expectation_ != expectation) {
771 expectation.expectation_base()->immediate_prerequisites_
774 *last_expectation_ = expectation;