Home
last modified time | relevance | path

Searched refs:ExpectationSet (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/googletest/googlemock/include/gmock/
H A Dgmock-spec-builders.h96 class ExpectationSet; variable
514 friend class ExpectationSet;
560 class ExpectationSet {
569 ExpectationSet() = default;
574 ExpectationSet(internal::ExpectationBase& exp) { // NOLINT in ExpectationSet() function
581 ExpectationSet(const Expectation& e) { // NOLINT in ExpectationSet() function
590 bool operator==(const ExpectationSet& rhs) const {
594 bool operator!=(const ExpectationSet& rhs) const { return !(*this == rhs); }
598 ExpectationSet& operator+=(const Expectation& e) {
813 void FindUnsatisfiedPrerequisites(ExpectationSet* result) const
[all …]
/freebsd/contrib/googletest/googlemock/test/
H A Dgmock-spec-builders_test.cc1438 ::testing::StaticAssertTypeEq<Expectation, ExpectationSet::value_type>(); in TEST()
1446 ExpectationSet es1; // Default ctor. in TEST()
1447 ExpectationSet es2 = EXPECT_CALL(a, DoA(1)); // Ctor from EXPECT_CALL. in TEST()
1448 ExpectationSet es3 = e1; // Ctor from Expectation. in TEST()
1449 ExpectationSet es4(e1); // Ctor from Expectation; alternative syntax. in TEST()
1450 ExpectationSet es5 = e2; // Ctor from const Expectation. in TEST()
1451 ExpectationSet es6(e2); // Ctor from const Expectation; alternative syntax. in TEST()
1452 ExpectationSet es7 = es2; // Copy ctor. in TEST()
1471 ExpectationSet es1; in TEST()
1472 ExpectationSet es2 = Expectation(); in TEST()
[all …]
/freebsd/contrib/googletest/docs/reference/
H A Dmocking.md188 [`Expectation`](#Expectation) or [`ExpectationSet`](#ExpectationSet) objects.
204 The `ExpectationSet` object is helpful when the number of prerequisites for an
208 using ::testing::ExpectationSet;
210 ExpectationSet all_inits;
573 ### ExpectationSet {#ExpectationSet}
575 `::testing::ExpectationSet`
582 using ::testing::ExpectationSet;
583 ExpectationSet my_expectations;
/freebsd/contrib/googletest/googlemock/src/
H A Dgmock-spec-builders.cc122 for (ExpectationSet::const_iterator it = in RetireAllPreRequisites()
144 for (ExpectationSet::const_iterator it = in AllPrerequisitesAreSatisfied()
156 void ExpectationBase::FindUnsatisfiedPrerequisites(ExpectationSet* result) const in FindUnsatisfiedPrerequisites()
164 for (ExpectationSet::const_iterator it = in FindUnsatisfiedPrerequisites()