• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/googletest/googlemock/include/gmock/

Lines Matching defs:Container

2718   template <typename Container>
2719 operator Matcher<Container>() const {
2720 return MakeMatcher(new Impl<Container>(size_matcher_));
2723 template <typename Container>
2724 class Impl : public MatcherInterface<Container> {
2727 GTEST_REMOVE_REFERENCE_AND_CONST_(Container)> ContainerView;
2741 virtual bool MatchAndExplain(Container container,
2770 template <typename Container>
2771 operator Matcher<Container>() const {
2772 return MakeMatcher(new Impl<Container>(distance_matcher_));
2775 template <typename Container>
2776 class Impl : public MatcherInterface<Container> {
2779 GTEST_REMOVE_REFERENCE_AND_CONST_(Container)> ContainerView;
2795 virtual bool MatchAndExplain(Container container,
2833 template <typename Container>
2836 typedef internal::StlContainerView<Container> View;
2842 explicit ContainerEqMatcher(const Container& expected)
2846 (void)testing::StaticAssertTypeEq<Container,
2847 GTEST_REMOVE_REFERENCE_AND_CONST_(Container)>();
3125 template <typename Container>
3126 class QuantifierMatcherImpl : public MatcherInterface<Container> {
3128 typedef GTEST_REMOVE_REFERENCE_AND_CONST_(Container) RawContainer;
3143 Container container,
3168 // Implements Contains(element_matcher) for the given argument type Container.
3170 template <typename Container>
3171 class ContainsMatcherImpl : public QuantifierMatcherImpl<Container> {
3175 : QuantifierMatcherImpl<Container>(inner_matcher) {}
3188 virtual bool MatchAndExplain(Container container,
3197 // Implements Each(element_matcher) for the given argument type Container.
3199 template <typename Container>
3200 class EachMatcherImpl : public QuantifierMatcherImpl<Container> {
3204 : QuantifierMatcherImpl<Container>(inner_matcher) {}
3217 virtual bool MatchAndExplain(Container container,
3232 template <typename Container>
3233 operator Matcher<Container>() const {
3234 return MakeMatcher(new ContainsMatcherImpl<Container>(inner_matcher_));
3249 template <typename Container>
3250 operator Matcher<Container>() const {
3251 return MakeMatcher(new EachMatcherImpl<Container>(inner_matcher_));
3477 template <typename Container>
3478 class ElementsAreMatcherImpl : public MatcherInterface<Container> {
3480 typedef GTEST_REMOVE_REFERENCE_AND_CONST_(Container) RawContainer;
3531 virtual bool MatchAndExplain(Container container,
3729 template <typename Container>
3731 : public MatcherInterface<Container>,
3734 typedef GTEST_REMOVE_REFERENCE_AND_CONST_(Container) RawContainer;
3761 virtual bool MatchAndExplain(Container container,
3839 template <typename Container>
3840 operator Matcher<Container>() const {
3841 typedef GTEST_REMOVE_REFERENCE_AND_CONST_(Container) RawContainer;
3849 return MakeMatcher(new UnorderedElementsAreMatcherImpl<Container>(
3864 template <typename Container>
3865 operator Matcher<Container>() const {
3867 !IsHashTable<GTEST_REMOVE_REFERENCE_AND_CONST_(Container)>::value ||
3871 typedef GTEST_REMOVE_REFERENCE_AND_CONST_(Container) RawContainer;
3879 return MakeMatcher(new ElementsAreMatcherImpl<Container>(
3897 template <typename Container>
3898 operator Matcher<Container>() const {
3899 return MakeMatcher(new UnorderedElementsAreMatcherImpl<Container>(
3917 template <typename Container>
3918 operator Matcher<Container>() const {
3920 !IsHashTable<GTEST_REMOVE_REFERENCE_AND_CONST_(Container)>::value,
3923 return MakeMatcher(new ElementsAreMatcherImpl<Container>(
4230 template <typename Container>
4231 inline internal::ElementsAreArrayMatcher<typename Container::value_type>
4232 ElementsAreArray(const Container& container) {
4278 template <typename Container>
4280 typename Container::value_type>
4281 UnorderedElementsAreArray(const Container& container) {
4829 template <typename Container>
4831 GTEST_REMOVE_CONST_(Container)> >
4832 ContainerEq(const Container& rhs) {
4834 // which causes Container to be a const type sometimes.
4835 typedef GTEST_REMOVE_CONST_(Container) RawContainer;
4866 template <typename TupleMatcher, typename Container>
4868 GTEST_REMOVE_CONST_(Container)>
4869 Pointwise(const TupleMatcher& tuple_matcher, const Container& rhs) {
4871 // which causes Container to be a const type sometimes (e.g. when
4873 typedef GTEST_REMOVE_CONST_(Container) RawContainer;
5016 template <typename Container>
5018 typename Container::value_type>
5019 IsSupersetOf(const Container& container) {
5075 template <typename Container>
5077 typename Container::value_type>
5078 IsSubsetOf(const Container& container) {