Home | History | Annotate | Download | only in gmock

Lines Matching defs:match

68 // used by a matcher to explain why a value matches or doesn't match.
72 // to indicate whether the listener is interested in why the match
94 // the match result. A matcher's MatchAndExplain() method can use
114 // Returns true iff the matcher matches x; also explains the match
152 // A match result listener that ignores the explanation.
161 // A match result listener that forwards the explanation to a given
173 // A match result listener that stores the explanation in a string.
193 // Returns true iff the matcher matches x; also explains the match
213 // Explains why x matches, or doesn't match, the matcher.
305 // polymorphic matcher (i.e. a matcher that can match values of more
583 // the match result to the listener. Returns the match result.
597 const bool match = matcher.MatchAndExplain(value, &inner_listener);
607 return match;
682 // matchers in matcher_tuple match the corresponding fields in
740 // used to match an int, a short, a double, etc). Therefore we use
826 // 'variable'. This matcher is polymorphic as it can match any
831 // from mistakenly using Ref(x) to match a non-reference function
871 // in order to match the interface MatcherInterface<Super&>.
1119 // true, a full match is done; otherwise a partial match is done.
1138 *os << "doesn't " << (full_match_ ? "match" : "contain")
1155 // used to match a tuple<int, short>, a tuple<const long&, double>,
1233 // match matcher m.
1240 // to match any type m can match.
1279 // If either matcher1_ or matcher2_ doesn't match x, we only need
1293 // Otherwise we need to explain why *both* of them match.
1324 // BothOfMatcher<Matcher1, Matcher2> object to match any type that
1325 // both Matcher1 and Matcher2 can match.
1412 // EitherOfMatcher<Matcher1, Matcher2> object to match any type that
1413 // both Matcher1 and Matcher2 can match.
1744 // true_type iff the Field() matcher is used to match a pointer.
1805 // true_type iff the Property() matcher is used to match a pointer.
2079 const bool match = matcher_.MatchAndExplain(sorted_container,
2082 return match;
2182 *listener << ") at index #" << i << " don't match";
2225 // * All elements in the container match, if all_elements_should_match.
2239 << (matches ? " matches" : " doesn't match");
2347 // inner_matcher. For example, Contains(Key(Ge(5))) can be used to match an
2365 const bool match = inner_matcher_.MatchAndExplain(key_value.first,
2371 return match;
2455 *listener << "whose first field does not match";
2462 *listener << "whose second field does not match";
2475 *listener << "whose both fields match";
2579 // The element count doesn't match. If the container is empty,
2598 // doesn't match its expectation.
2599 *listener << "whose element #" << i << " doesn't match";
3023 // match.
3146 // inner_matcher. For example, Contains(Key(Ge(5))) can be used to match an
3156 // to match a std::map<int, string> that contains exactly one element whose key
3178 // Matches the value against the given matcher and explains the match