Monero
Public Member Functions | Private Member Functions | Private Attributes | List of all members
testing::internal::HasSubstrMatcher< StringType > Class Template Reference

#include <gmock-matchers.h>

Public Member Functions

 HasSubstrMatcher (const StringType &substring)
 
template<typename CharType >
bool MatchAndExplain (CharType *s, MatchResultListener *listener) const
 
template<typename MatcheeStringType >
bool MatchAndExplain (const MatcheeStringType &s, MatchResultListener *) const
 
void DescribeTo (::std::ostream *os) const
 
void DescribeNegationTo (::std::ostream *os) const
 

Private Member Functions

 GTEST_DISALLOW_ASSIGN_ (HasSubstrMatcher)
 

Private Attributes

const StringType substring_
 

Constructor & Destructor Documentation

◆ HasSubstrMatcher()

template<typename StringType >
testing::internal::HasSubstrMatcher< StringType >::HasSubstrMatcher ( const StringType &  substring)
inlineexplicit

Member Function Documentation

◆ DescribeNegationTo()

template<typename StringType >
void testing::internal::HasSubstrMatcher< StringType >::DescribeNegationTo ( ::std::ostream *  os) const
inline

◆ DescribeTo()

template<typename StringType >
void testing::internal::HasSubstrMatcher< StringType >::DescribeTo ( ::std::ostream *  os) const
inline

◆ GTEST_DISALLOW_ASSIGN_()

template<typename StringType >
testing::internal::HasSubstrMatcher< StringType >::GTEST_DISALLOW_ASSIGN_ ( HasSubstrMatcher< StringType >  )
private

◆ MatchAndExplain() [1/2]

template<typename StringType >
template<typename CharType >
bool testing::internal::HasSubstrMatcher< StringType >::MatchAndExplain ( CharType *  s,
MatchResultListener listener 
) const
inline

◆ MatchAndExplain() [2/2]

template<typename StringType >
template<typename MatcheeStringType >
bool testing::internal::HasSubstrMatcher< StringType >::MatchAndExplain ( const MatcheeStringType &  s,
MatchResultListener  
) const
inline

Member Data Documentation

◆ substring_

template<typename StringType >
const StringType testing::internal::HasSubstrMatcher< StringType >::substring_
private

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