Electroneum
Loading...
Searching...
No Matches
testing::internal::AnyMatcherImpl< T > Class Template Reference

#include <gmock-matchers.h>

Inheritance diagram for testing::internal::AnyMatcherImpl< T >:
Collaboration diagram for testing::internal::AnyMatcherImpl< T >:

Public Member Functions

virtual bool MatchAndExplain (T, MatchResultListener *) const
virtual void DescribeTo (::std::ostream *os) const
virtual void DescribeNegationTo (::std::ostream *os) const
Public Member Functions inherited from testing::MatcherDescriberInterface
virtual ~MatcherDescriberInterface ()

Detailed Description

template<typename T>
class testing::internal::AnyMatcherImpl< T >

Definition at line 859 of file gmock-matchers.h.

Member Function Documentation

◆ DescribeNegationTo()

template<typename T>
virtual void testing::internal::AnyMatcherImpl< T >::DescribeNegationTo ( ::std::ostream * os) const
inlinevirtual

Reimplemented from testing::MatcherDescriberInterface.

Definition at line 864 of file gmock-matchers.h.

864 {
865 // This is mostly for completeness' safe, as it's not very useful
866 // to write Not(A<bool>()). However we cannot completely rule out
867 // such a possibility, and it doesn't hurt to be prepared.
868 *os << "never matches";
869 }

◆ DescribeTo()

template<typename T>
virtual void testing::internal::AnyMatcherImpl< T >::DescribeTo ( ::std::ostream * os) const
inlinevirtual

Implements testing::MatcherDescriberInterface.

Definition at line 863 of file gmock-matchers.h.

863{ *os << "is anything"; }

◆ MatchAndExplain()

template<typename T>
virtual bool testing::internal::AnyMatcherImpl< T >::MatchAndExplain ( T ,
MatchResultListener *  ) const
inlinevirtual

Implements testing::MatcherInterface< T >.

Definition at line 861 of file gmock-matchers.h.

862 { return true; }

The documentation for this class was generated from the following file:
  • /home/abuild/rpmbuild/BUILD/electroneum-5.1.3.1-build/electroneum-5.1.3.1/external/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-matchers.h