Home
last modified time | relevance | path

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

/third_party/googletest/googlemock/include/gmock/
Dgmock-spec-builders.h93 class ExpectationSet; variable
537 friend class ExpectationSet;
583 class ExpectationSet {
592 ExpectationSet() {} in ExpectationSet() function
597 ExpectationSet(internal::ExpectationBase& exp) { // NOLINT in ExpectationSet() function
604 ExpectationSet(const Expectation& e) { // NOLINT in ExpectationSet() function
613 bool operator==(const ExpectationSet& rhs) const {
617 bool operator!=(const ExpectationSet& rhs) const { return !(*this == rhs); }
621 ExpectationSet& operator+=(const Expectation& e) {
831 void FindUnsatisfiedPrerequisites(ExpectationSet* result) const
[all …]
/third_party/googletest/googlemock/test/
Dgmock-spec-builders_test.cc78 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 …]
/third_party/googletest/docs/reference/
Dmocking.md189 [`Expectation`](#Expectation) or [`ExpectationSet`](#ExpectationSet) objects.
205 The `ExpectationSet` object is helpful when the number of prerequisites for an
209 using ::testing::ExpectationSet;
211 ExpectationSet all_inits;
572 ### ExpectationSet {#ExpectationSet}
574 `::testing::ExpectationSet`
581 using ::testing::ExpectationSet;
582 ExpectationSet my_expectations;
/third_party/googletest/googlemock/src/
Dgmock-spec-builders.cc121 for (ExpectationSet::const_iterator it = in RetireAllPreRequisites()
143 for (ExpectationSet::const_iterator it = in AllPrerequisitesAreSatisfied()
155 void ExpectationBase::FindUnsatisfiedPrerequisites(ExpectationSet* result) const in FindUnsatisfiedPrerequisites()
163 for (ExpectationSet::const_iterator it = in FindUnsatisfiedPrerequisites()