Home
last modified time | relevance | path

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

/freebsd-12-stable/contrib/googletest/googlemock/include/gmock/
Dgmock-spec-builders.h89 class ExpectationSet; variable
525 friend class ExpectationSet;
572 class ExpectationSet {
581 ExpectationSet() {} in ExpectationSet() function
586 ExpectationSet(internal::ExpectationBase& exp) { // NOLINT in ExpectationSet() function
593 ExpectationSet(const Expectation& e) { // NOLINT in ExpectationSet() function
602 bool operator==(const ExpectationSet& rhs) const {
606 bool operator!=(const ExpectationSet& rhs) const { return !(*this == rhs); }
610 ExpectationSet& operator+=(const Expectation& e) {
822 void FindUnsatisfiedPrerequisites(ExpectationSet* result) const
[all …]
/freebsd-12-stable/contrib/googletest/googlemock/test/
Dgmock-spec-builders_test.cc77 using testing::ExpectationSet;
1514 ::testing::StaticAssertTypeEq<Expectation, ExpectationSet::value_type>(); in TEST()
1522 ExpectationSet es1; // Default ctor. in TEST()
1523 ExpectationSet es2 = EXPECT_CALL(a, DoA(1)); // Ctor from EXPECT_CALL. in TEST()
1524 ExpectationSet es3 = e1; // Ctor from Expectation. in TEST()
1525 ExpectationSet es4(e1); // Ctor from Expectation; alternative syntax. in TEST()
1526 ExpectationSet es5 = e2; // Ctor from const Expectation. in TEST()
1527 ExpectationSet es6(e2); // Ctor from const Expectation; alternative syntax. in TEST()
1528 ExpectationSet es7 = es2; // Copy ctor. in TEST()
1547 ExpectationSet es1; in TEST()
[all …]
/freebsd-12-stable/contrib/googletest/googlemock/src/
Dgmock-spec-builders.cc116 for (ExpectationSet::const_iterator it = in RetireAllPreRequisites()
138 for (ExpectationSet::const_iterator it = in AllPrerequisitesAreSatisfied()
150 void ExpectationBase::FindUnsatisfiedPrerequisites(ExpectationSet* result) const in FindUnsatisfiedPrerequisites()
158 for (ExpectationSet::const_iterator it = in FindUnsatisfiedPrerequisites()
/freebsd-12-stable/contrib/googletest/googlemock/docs/
DCheatSheet.md468 write it, you can use an `ExpectationSet` to collect them:
471 using ::testing::ExpectationSet;
473 ExpectationSet all_inits;
484 Modifying an `ExpectationSet` after using it in an `.After()` doesn't