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

#include <gmock.h>

Public Member Functions

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

Private Member Functions

 GTEST_DISALLOW_ASSIGN_ (HasSubstrMatcher)
 

Private Attributes

const StringType substring_
 

Detailed Description

template<typename StringType>
class testing::internal::HasSubstrMatcher< StringType >

Definition at line 6006 of file cares/cares/test/gmock-1.8.0/gmock/gmock.h.

Constructor & Destructor Documentation

◆ HasSubstrMatcher()

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

Definition at line 6008 of file cares/cares/test/gmock-1.8.0/gmock/gmock.h.

Member Function Documentation

◆ DescribeNegationTo()

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

Definition at line 6038 of file cares/cares/test/gmock-1.8.0/gmock/gmock.h.

◆ DescribeTo()

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

Definition at line 6033 of file cares/cares/test/gmock-1.8.0/gmock/gmock.h.

◆ 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

Definition at line 6017 of file cares/cares/test/gmock-1.8.0/gmock/gmock.h.

◆ MatchAndExplain() [2/2]

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

Definition at line 6026 of file cares/cares/test/gmock-1.8.0/gmock/gmock.h.

Member Data Documentation

◆ substring_

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

Definition at line 6044 of file cares/cares/test/gmock-1.8.0/gmock/gmock.h.


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


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:49