template <typename Container>
class ContainerEqMatcher
Defined at line 2478 of file ../../third_party/googletest/src/googlemock/include/gmock/gmock-matchers.h
Implements an equality matcher for any STL-style container whose elements
support ==. This matcher is like Eq(), but its failure explanations provide
more detailed information that is useful when the container is used as a set.
The failure message reports elements that are in one of the operands but not
the other. The failure messages do not report duplicate or out-of-order
elements in the containers (which don't properly matter to sets, but can
occur if the containers are vectors or lists, for example).
Uses the container's const_iterator, value_type, operator ==,
begin(), and end().
Public Methods
void ContainerEqMatcher<Container> (const Container & expected)
We make a copy of expected in case the elements in it are modified
after this matcher is created.
Defined at line 2491 of file ../../third_party/googletest/src/googlemock/include/gmock/gmock-matchers.h
void DescribeTo (::std::ostream * os)
Defined at line 2494 of file ../../third_party/googletest/src/googlemock/include/gmock/gmock-matchers.h
void DescribeNegationTo (::std::ostream * os)
Defined at line 2498 of file ../../third_party/googletest/src/googlemock/include/gmock/gmock-matchers.h
template <typename LhsContainer>
bool MatchAndExplain (const LhsContainer & lhs, MatchResultListener * listener)
Defined at line 2504 of file ../../third_party/googletest/src/googlemock/include/gmock/gmock-matchers.h