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

#include <gmock-matchers.h>

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

Public Member Functions

 NotMatcherImpl (const Matcher< T > &matcher)
virtual bool MatchAndExplain (T x, MatchResultListener *listener) 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::NotMatcherImpl< T >

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

Constructor & Destructor Documentation

◆ NotMatcherImpl()

template<typename T>
testing::internal::NotMatcherImpl< T >::NotMatcherImpl ( const Matcher< T > & matcher)
inlineexplicit

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

Member Function Documentation

◆ DescribeNegationTo()

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

Reimplemented from testing::MatcherDescriberInterface.

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

1457 {
1458 matcher_.DescribeTo(os);
1459 }

◆ DescribeTo()

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

Implements testing::MatcherDescriberInterface.

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

1453 {
1454 matcher_.DescribeNegationTo(os);
1455 }

◆ MatchAndExplain()

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

Implements testing::MatcherInterface< T >.

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

1449 {
1450 return !matcher_.MatchAndExplain(x, listener);
1451 }

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