Monero
Loading...
Searching...
No Matches
testing::internal::EitherOfMatcherImpl< T > Class Template Reference

#include <gmock-matchers.h>

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

Public Member Functions

 EitherOfMatcherImpl (const Matcher< T > &matcher1, const Matcher< T > &matcher2)
virtual void DescribeTo (::std::ostream *os) const
virtual void DescribeNegationTo (::std::ostream *os) const
virtual bool MatchAndExplain (T x, MatchResultListener *listener) const
Public Member Functions inherited from testing::MatcherDescriberInterface
virtual ~MatcherDescriberInterface ()

Private Member Functions

 GTEST_DISALLOW_ASSIGN_ (EitherOfMatcherImpl)

Private Attributes

const Matcher< Tmatcher1_
const Matcher< Tmatcher2_

Constructor & Destructor Documentation

◆ EitherOfMatcherImpl()

template<typename T>
testing::internal::EitherOfMatcherImpl< T >::EitherOfMatcherImpl ( const Matcher< T > & matcher1,
const Matcher< T > & matcher2 )
inline

Member Function Documentation

◆ DescribeNegationTo()

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

◆ DescribeTo()

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

◆ GTEST_DISALLOW_ASSIGN_()

template<typename T>
testing::internal::EitherOfMatcherImpl< T >::GTEST_DISALLOW_ASSIGN_ ( EitherOfMatcherImpl< T > )
private

◆ MatchAndExplain()

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

Member Data Documentation

◆ matcher1_

template<typename T>
const Matcher<T> testing::internal::EitherOfMatcherImpl< T >::matcher1_
private

◆ matcher2_

template<typename T>
const Matcher<T> testing::internal::EitherOfMatcherImpl< T >::matcher2_
private

The documentation for this class was generated from the following file: