Lines Matching refs:spec
242 // Where in the source file was the default action spec defined?
276 // This template class implements an ON_CALL spec.
689 // Where in the source file was the expectation spec defined?
693 // Returns the cardinality specified in the expectation spec.
758 // Sets the cardinality of this expectation spec.
840 // This group of fields are part of the spec and won't change after
1286 // that the spec is associated with.
1291 // Adds a new default action spec to the function mocker and returns
1292 // the newly created spec.
1301 // Adds a new expectation spec to the function mocker and returns
1302 // the newly created spec.
1324 // The function mocker that owns this spec.
1326 // The argument matchers specified in the spec.
1438 // Returns the ON_CALL spec that matches this mock function with the
1445 const OnCallSpec<F>* spec = static_cast<const OnCallSpec<F>*>(*it);
1446 if (spec->Matches(args)) return spec;
1461 const OnCallSpec<F>* const spec = this->FindOnCallSpec(args);
1462 if (spec != nullptr) {
1463 return spec->GetAction().Perform(std::move(args));
1521 // Adds and returns a default action spec for this mock function.
1531 // Adds and returns an expectation spec for this mock function.
1564 const OnCallSpec<F>* const spec = FindOnCallSpec(args);
1566 if (spec == nullptr) {
1571 << FormatFileLocation(spec->file(), spec->line()) << "\n";
1966 // The expectation spec says that the first Bar("a") must happen
2041 // tests in internal/gmock-spec-builders_test.cc for more details.